Increase the total number of camera ID's supported.
Change-Id: Ib1eb78eb1d6686b28c90b06b87fa57bcc1f45c07
Signed-off-by: Waseem Akhtar <quic_wakhtar@quicinc.com>
Add Page Read, writeDelayUSEC and Continuous Read support in
camera i2c operations.
Change-Id: I58e269477c8158dd1cc394925cb7a3d175546b0a
Signed-off-by: Gaurav Jindal <quic_gjindal@quicinc.com>
Introduce new uapi color format
COLOR_FMT_NV12_128 to map with NV12 128x32
alignment.
Change-Id: Ic9f4dea15108d05a49d9abdcab24459746111fe5
Signed-off-by: Ankush Agarwalla <agarwall@codeaurora.org>
Consider NV12 color format alignment differently for 32bit and
64 bit compilation.
Change-Id: Iffd2335f473b765085e9ffeb485b3015cccf1eab
Signed-off-by: Vikash Garodia <vgarodia@codeaurora.org>
1.Included header files in gen_headers_arm.bp
To fix the compilation.
Change-Id: Ie70ce68ed84f52b6eb2d854bd7ec7086d314b35b
Signed-off-by: Gurram Pravalika <gpravali@codeaurora.org>
This is snapshot of the video driver as of msm-4.14(vidc_3x)
commit 9dc1a255ba77c95 (" Fix qbuf error in gralloc buffers encoding").
Change-Id: I146b66cb0e0ce44d8414efaa8748c2de87b9fc74
Signed-off-by: Vasantha Balla <vballa@codeaurora.org>
Add controls to query supported ROI map type,
2-bit or 2-byte.
Add payload structure for 2-bit ROI map.
Change-Id: I18c5a00d65e9ccebb821e8e87b777a1897f14921
Signed-off-by: Qiwei Liu <qiweil@codeaurora.org>
Knowledge of break-down of CVP core sub-blocks cycle usage enables
driver to tune CVP clock and ddr vote in finer granularity. The change
is backward compatible with legacy power voting mechanism. The
enhancement only takes place when user mode provides extra knowledge
needed.
Change-Id: I596e2ad0e585723364e26db3547db41b1af45997
Signed-off-by: George Shen <sqiao@codeaurora.org>
Move camera codebase from kernel project to camera kernel
component. This change removes camera realted uapi headers.
Change-Id: Id232c409c67ebdaa372bb374474ecf27d0518d77
Signed-off-by: Jigarkumar Zala <jzala@codeaurora.org>
Signed-off-by: Mukund Madhusudan Atre <matre@codeaurora.org>
Signed-off-by: Pavan Kumar Chilamkurthi <pchilamk@codeaurora.org>
Enable fence support for face detection feature.
Change-Id: I2f91d133ba5a2e04b335c0ab25dd9a71b8e1e34f
Signed-off-by: Ruofei Ma <ruofeim@codeaurora.org>
For debugging, there are a set of register values that user
space needs. Based on the offset and range given, values can
be dumped into an out buffer to be further processed. Add
uapi support for this reg dump.
Change-Id: I6e6f89625a505158a6bf8932ebb9d0ae78bf0129
Signed-off-by: Mukund Madhusudan Atre <matre@codeaurora.org>
Userspace is sending slave address as 32bit, and in order to parse
the correct data kernel space needs to match this bit pattern.
This change updates the structure to accommodate it.
Change-Id: Ib136bbd1656dba9da75d3b07c494caeebf03dfcb
Signed-off-by: Jigarkumar Zala <jzala@codeaurora.org>
Add support for IPE/BPS semi real time device types.
Change-Id: I1d9974eb796ce1723205072651d53ecb84023e88
Signed-off-by: Karthik Anantha Ram <kartanan@codeaurora.org>
Signed-off-by: Vishalsingh Hajeri <vhajeri@codeaurora.org>
Interlace video playback is failed for resolutions like 1600x1200
due to insufficient buffer size. Avoid the issue by correcting
interlace video buffer size calculation condition.
Change-Id: Ieaf9b62c75c0766f268eb1178be83bf17f0de7d5
Signed-off-by: Govindaraj Rajagopal <grajagop@codeaurora.org>
CVP session create command allows user mode to set session
attributes before start using the session. CVP session delete
command allows user to shutdown session before close device.
Change-Id: I13ebf82f86733624f46f7bb876befbc7fb8ecc0c
Signed-off-by: George Shen <sqiao@codeaurora.org>
Increasing the device handles to 128 to support more
pipelines.
Change-Id: Id0322cba095091e6168d8541d432628d8422a641
Signed-off-by: Mangalaram ARCHANA <mangar@codeaurora.org>
Correct the buffer stride/scanline alignment description
to match with code.
Change-Id: Id3d53cd446fbfd64732256aa1729b286c3581872
Signed-off-by: Qiwei Liu <qiweil@codeaurora.org>
For better CVP debugability, the change provides HFI version
to user, clean up unnecessary driver logging.
Change-Id: I8685dfa76c0e61db48212d9ea900c061f07484cb
Signed-off-by: George Shen <sqiao@codeaurora.org>
Enable ICA async path with synx for camera use case.
Change-Id: I47fd81d487617a2173b43d67464f6af92a98afad
Signed-off-by: Ruofei Ma <ruofeim@codeaurora.org>
Signed-off-by: George Shen <sqiao@codeaurora.org>
Support CVP Pyramid feature with reduced number of
Octaves and scales per octave.
Change-Id: Id6c450ed2a0612bb5268c57d274ac006b07c4751
Signed-off-by: George Shen <sqiao@codeaurora.org>
This change adds support to enable the userspace to
update certain write master configurations on the fly.
Change-Id: I7bf4f46e5fa2f4d58b65d19d9d56947cc1bb7300
Signed-off-by: Venkat Chinta <vchinta@codeaurora.org>
1. Add support to listen multiple virtual channels and data
types from the input stream at CSID.
2. Update to user driver about the selected HW.
3. Add support for picking right HW when custom node is enabled.
Change-Id: I69f2b880892d3c23103ea5b5352303864932eb67
Signed-off-by: Viswanadha Raju Thotakura <viswanad@codeaurora.org>
Fix linear color format alignment. Alignment follows:
Y_Stride: Width should be aligned to 512.
UV_Stride: Width should be aligned to 512.
Y_Scanlines: Height should be aligned to 512.
UV_Scanlines: Height/2 should be aligned to 256.
Change-Id: Id858b656746b574a2b2ef0db6de5478e73eeb136
Signed-off-by: Amit Shekhar <ashekhar@codeaurora.org>
DSx, stats and input select are part of core config registers.
Add support to enable them.
Change-Id: I8e7ea618a57c235d23c4fb65c9fce8087f153cbc
Signed-off-by: Viswanadha Raju Thotakura <viswanad@codeaurora.org>
Remove redundant handling logic. Rename CVP system call
command structure to avoid name conflict with video driver.
Add new commands needed by camera processing pipeline.
Change-Id: I59a628f7ae2bf9ad7c6e075ed3e1a3794f25e05c
Signed-off-by: George Shen <sqiao@codeaurora.org>
Enable ICA (Independent Component Analysis) property of DME
(Descriptor-based Motion Estimate) feature.Increased size
of DME configuration packet to allow user space add ICA
properties into the HFI (Host Firmware Interface) packet.
Change-Id: I1ae87da8bf5589f238e2bfc17f3709f663fd3315
Signed-off-by: George Shen <sqiao@codeaurora.org>
Enable decoder HDR histogram as default extradata. Histogram
of luma values is generated by firmware for each scene.
Histogram data is provided to clients as extradata and clients
can use this for dynamic tone mapping.
CRs-Fixed: 2384822
Change-Id: If3c09ff718aa0a9951a1c1be2ea45a627d743d3a
Signed-off-by: Mihir Ganu <mganu@codeaurora.org>
Add support to enable DFS (depth from stereo) and DME
(descriptor motion estimate) features of CVP (computer
vision processor) on Kona.
Change-Id: Id8613c396bcfbecb8c39ddc3f0d64c2f6b85d57f
Signed-off-by: abhikran <abhikran@codeaurora.org>
Signed-off-by: George Shen <sqiao@codeaurora.org>
This change adds uapi and bus driver support to enable
UBWC 4.0 on version 480 hardware. The change also adds
a generic, expandable internal structure to handle all
api versions of ubwc blob updates.
Change-Id: I021c3bf5444575e03f5760ff5e7c3966045e443f
Signed-off-by: Jeyaprakash Soundrapandian <jsoundra@codeaurora.org>
Signed-off-by: Karthik Anantha Ram <kartanan@codeaurora.org>
Signed-off-by: Venkat Chinta <vchinta@codeaurora.org>