summaryrefslogtreecommitdiff
path: root/include/uapi/media (follow)
Commit message (Collapse)AuthorAge
...
* mm: camera: isp: send PD stats buffer earlierJunzhe Zou2017-01-12
| | | | | | | | | Save pdaf buf address in sof event and send it with stats notify event. Change-Id: If147a229f3f007f30ef563469d11b678b887ed57 Signed-off-by: Shubhraprakash Das <sadas@codeaurora.org> Signed-off-by: Junzhe Zou <jnzhezou@codeaurora.org>
* uapi/media: add buffer size calculation for P010 ubwcRohit Kulkarni2016-12-28
| | | | | | | | Add support for P010 ubwc format in media buffer size calculation API. Change-Id: I3e99bb37ff3353b77dc1aa892ca017a7af28ec00 Signed-off-by: Rohit Kulkarni <rkulkarn@codeaurora.org>
* Merge "msm: sde: add compression ratio support to v4l2 rotator"Linux Build Service Account2016-12-21
|\
| * msm: sde: add compression ratio support to v4l2 rotatorAlan Kwong2016-11-15
| | | | | | | | | | | | | | | | | | | | Current v4l2 rotator does not support compression ratio for user buffer. This patch add new uapi for get/set compression ratio for v4l2 buffer. CRs-Fixed: 1088736 Change-Id: I15ed94a8b505a7bae4d7ad31fd4ad1be240d75d6 Signed-off-by: Alan Kwong <akwong@codeaurora.org>
* | Merge "msm: sde: secure camera changes for v4l2 rotator"Linux Build Service Account2016-12-21
|\ \
| * | msm: sde: secure camera changes for v4l2 rotatorAbhijit Kulkarni2016-12-11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add support for secure camera buffer handling in SDE rotator. This change adds detaching the secure context when the buffer with the secure camera flag is signaled and attaches the secure context when going back to normal non securer-camera usecases. Change-Id: Iaff45907e78775975fa3035404dcfd9b27e6e816 Signed-off-by: Abhijit Kulkarni <kabhijit@codeaurora.org>
* | | msm: camera: isp: Add secure mode to ispShubhraprakash Das2016-12-07
|/ / | | | | | | | | | | | | | | | | | | | | Add option to put the isp hardware in secure smmu mode. The isp stats will still be in non secure mode. Add ioctl to indicate which buffer queue will be in secure mode so that they can be mapped in secure mode CRs-Fixed: 1060631 Change-Id: Ibf2050d0814cc2aaf22a6f510847054d78fd7477 Signed-off-by: Shubhraprakash Das <sadas@codeaurora.org>
* | Merge "msm: camera: sensor: Validate eeprom_name string length"Linux Build Service Account2016-12-06
|\ \
| * | msm: camera: sensor: Validate eeprom_name string lengthRajesh Bondugula2016-11-22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Validate eeprom_name string length before copying into the userspace buffer. If more data than required is copied, userspace has the access to some of kernel data which is not intended. This change will fix the issue. CRs-Fixed: 1090007 Signed-off-by: Rajesh Bondugula <rajeshb@codeaurora.org> Change-Id: Id40a287e0b1a93cc15d9b02c757fe9f347e285f2
* | | Merge "msm: camera: isp: Dual camera sync feature"Linux Build Service Account2016-12-06
|\ \ \
| * | | msm: camera: isp: Dual camera sync featureShubhraprakash Das2016-12-01
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add ioctl to swicth dual camera mode from sync to unsync mode and vise versa. Also, change the logic of frame id sync to support unsync mode. CRs-Fixed: 1070296 Change-Id: I58e27c9ea66f1788d640bf523e7c6569cde162f7 Signed-off-by: Shubhraprakash Das <sadas@codeaurora.org> Signed-off-by: Junzhe Zou <jnzhezou@codeaurora.org>
* | | | uapi/media: add additional ubwc compressed formatsabeykun2016-12-01
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Patch adds RGB565, RGBA 10-bit and P010 10-bit ubwc compressed formats support to media API planes calculation. Also fix in align macro when alignment is not a power of 2. CRs-Fixed: 1096408 Change-Id: I4afcf7d5b22395eeda2e77131bd45592abaeb561 Signed-off-by: abeykun <abeykun@codeaurora.org> Signed-off-by: Umesh Pandey <umeshp@codeaurora.org>
* | | Merge "msm: isp: Add support to multipass offline ISP"Linux Build Service Account2016-11-29
|\ \ \ | |/ / |/| |
| * | msm: isp: Add support to multipass offline ISPAbhishek Kondaveeti2016-11-17
| |/ | | | | | | | | | | | | | | Process the input image in multiple passes using single ISP. Change-Id: I2b004c149b90ad03acf41d73e825976507a9a274 Signed-off-by: Abhishek Kondaveeti <akondave@codeaurora.org>
* / msm: sde: remove secure camera ctrl_id definitionAbhijit Kulkarni2016-11-15
|/ | | | | | | | | | | Remove the secure_camera ctrl_id unless the support is available from the sde rotator driver. If this id is defined and functionality is not present in the V4L2 driver it causes the rotator use cases to fail. CRs-Fixed: 1090525 Change-Id: I48c50bc320425c0db40cd4865e05c6b7a7fb5da3 Signed-off-by: Abhijit Kulkarni <kabhijit@codeaurora.org>
* Merge "msm: camera: Change CID array size to MAX_CID_CH_PARAM_ENTRY"Linux Build Service Account2016-11-10
|\
| * msm: camera: Change CID array size to MAX_CID_CH_PARAM_ENTRYTrishansh Bhardwaj2016-11-07
| | | | | | | | | | | | | | | | | | | | | | Define new macro MAX_CID_CH_PARAM_ENTRY as 3. Modify CID array size in msm_ispif_param_entry to MAX_CID_CH_PARAM_ENTRY. CRs-Fixed: 1064689 Change-Id: Ibb993839c1057fb62f43e99df3bee8328a4c702f Signed-off-by: Trishansh Bhardwaj <tbhardwa@codeaurora.org> Signed-off-by: Junzhe Zou <jnzhezou@codeaurora.org>
* | msm: mdss: Add support for secure cameraAbhijit Kulkarni2016-11-02
|/ | | | | | | | | | Add interface support for secure camera. This change adds the flag for the secure camera buffer in mdss and sde rotator driver interface. CRs-Fixed: 1085143 Change-Id: I3d4c1c7587b367836a151c3c988f58790611acd1 Signed-off-by: Abhijit Kulkarni <kabhijit@codeaurora.org>
* Merge "msm: camera: Add a driver to control IR CUT device"Linux Build Service Account2016-09-29
|\
| * msm: camera: Add a driver to control IR CUT deviceVivek Veenam2016-09-16
| | | | | | | | | | | | | | | | | | | | | | | | This driver is able to control a IR CUT device. The interface to user space is: CFG_IR_CUT_INIT CFG_IR_CUT_OFF CFG_IR_CUT_ON CFG_IR_CUT_RELEASE Change-Id: I30d1c4e6c40b8e58a70f06db9e05231b4c7f676f Signed-off-by: Vivek Veenam <vveenam@codeaurora.org>
| * msm: camera: Add a driver to control IR LED deviceVivek Veenam2016-09-11
| | | | | | | | | | | | | | | | | | | | | | | | This driver is able to control a IR LED device. The interface to user space is: CFG_IR_LED_INIT CFG_IR_LED_OFF CFG_IR_LED_ON with intensity field CFG_IR_LED_RELEASE. Change-Id: I2e04fa47efd1454bb487eca67bd9ceaeab3e9edf Signed-off-by: Vivek Veenam <vveenam@codeaurora.org>
* | msm: camera: Export IR CUT device to mm-qcamera-daemonVivek Veenam2016-09-16
| | | | | | | | | | | | | | | | Extend sensor_info structure with one more field to be able to export the IR CUT device to mm-qcamera-daemon. Change-Id: I63da161f90bce2c33d1e7e9d5822c8635e307fd5 Signed-off-by: Vivek Veenam <vveenam@codeaurora.org>
* | msm: camera: Export IR LED device to mm-qcamera-daemonVivek Veenam2016-09-11
|/ | | | | | | | Extend sensor_info structure with one more field to be able to export the LED IR device to mm-qcamera-daemon. Change-Id: Ibb8afffdc1e4780a48d085918cb6d6cf84cc0dba Signed-off-by: Vivek Veenam <vveenam@codeaurora.org>
* Merge "msm: isp: buffer queue management specific flags"Linux Build Service Account2016-09-08
|\
| * msm: isp: buffer queue management specific flagsSrikanth Uyyala2016-08-31
| | | | | | | | | | | | | | | | | | | | 1. Define SVHDR buffer queue management specific flags 2. Fetch engine state need not be checked during READ_DONE, it is handled during buf_divert 3. Extend the framedrop logic to RDI path Change-Id: Ie3ed9fd8a4d58d4664fa71b2d3da320fabc6a05b Signed-off-by: Srikanth Uyyala <suyyala@codeaurora.org>
* | Merge "msm: camera: isp: Use single stream for dual vfe"Linux Build Service Account2016-09-02
|\ \
| * | msm: camera: isp: Create union for update command payloadHarsh Shah2016-08-17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The update command can take different types of commands, new commands may have a different structure requirements. Create union for the payload so new commands can be added with their own payload structure. CRs-Fixed: 1012335 Change-Id: Ia43e47f13c112122baec87ee7b639c17b49366c4 Signed-off-by: Shubhraprakash Das <sadas@codeaurora.org> Signed-off-by: Harsh Shah <harshs@codeaurora.org>
* | | Merge "msm: sensor: Add support for querying flash max current"Linux Build Service Account2016-09-02
|\ \ \ | |_|/ |/| |
| * | msm: sensor: Add support for querying flash max currentSureshnaidu Laveti2016-08-22
| | | | | | | | | | | | | | | | | | | | | | | | Add support for querying maximum available system current for the flash. Change-Id: I63e40a5dc33e783951c0e946e85c7ca4a970cab4 Signed-off-by: Sureshnaidu Laveti <lsuresh@codeaurora.org>
* | | radio: iris: uapi header splitJeremy Gebben2016-08-21
| | | | | | | | | | | | | | | | | | | | | | | | | | | The uapi directory should only contain userspace visible definitions, move everything else to the regular include directory. Change-Id: I33a2f4511eef540c979a3880e7926cbe6cadafe6 Signed-off-by: Jeremy Gebben <jgebben@codeaurora.org> Signed-off-by: Rupesh Tatiya <rtatiya@codeaurora.org>
* | | Merge "msm: sde: add rotator pixel format to v4l2 enum ioctl"Linux Build Service Account2016-08-19
|\ \ \ | |_|/ |/| |
| * | msm: sde: add rotator pixel format to v4l2 enum ioctlAlan Kwong2016-08-18
| | | | | | | | | | | | | | | | | | | | | | | | | | | Import rotator pixel formats into v4l2 enum ioctl so rotator pixel formats will not generate kernel warning during format enumeration. CRs-Fixed: 1054825 Change-Id: Ie739fffa2d1faed64c2bf03eac92f38fa2ab6e55 Signed-off-by: Alan Kwong <akwong@codeaurora.org>
| * | msm: sde: change rotator BGRA4444 to unique fourcc codeAlan Kwong2016-08-17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | BGRA4444, defined currently as fourcc "BA12" in rotator driver, is already assigned to existing format V4L2_PIX_FMT_SGRBG12 as defined in videodev2.h. Change BGRA4444 to new fourcc definition "bA12" to avoid collision. CRs-Fixed: 1054825 Change-Id: I8b28dd3827cc9b540eef5955bbf9dbe77ce91f4b Signed-off-by: Alan Kwong <akwong@codeaurora.org>
| * | msm: sde: add format enumeration based on rotator versionAlan Kwong2016-08-16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Current pixel format enumeration reports pixel format supported by driver, and may include formats not supported by underlying hardware. This patch reorganizes pixel format enumeration to report hardware supported pixel formats based on hardware version as well I/O port direction. CRs-Fixed: 1054825 Change-Id: I1e42b11b43f69dba4a5ac68cfdfb8305136a307c Signed-off-by: Alan Kwong <akwong@codeaurora.org>
* | | Merge "msm: camera: sensor: Add META10 fourcc"Linux Build Service Account2016-08-16
|\ \ \ | |/ / |/| |
| * | msm: camera: sensor: Add META10 fourccRajesh Bondugula2016-08-02
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add META10 fourcc format in the header. 10 bit meta format is needed to distinguish from regular meta format which is 8-bit. CRs-Fixed: 1041251 Change-Id: I9014831c92a6ba16450f48d7f6eb831e47b5e0ab Signed-off-by: Rajesh Bondugula <rajeshb@codeaurora.org>
* | | msm: vidc: Add support for color space informationManikanta Sivapala2016-08-09
| |/ |/| | | | | | | | | | | | | | | | | | | | | | | When clients specify color space information, venus HW should embed it in the bit stream. This helps to regenerate original colors when decoded by decoder. When decoder detects the color space VUI, Venus fills the corresponding extradata CRs-Fixed: 1026204 Change-Id: Ie9523558c23a8edc7a7ee058937658dd87ef5b16 Signed-off-by: Praneeth Paladugu <ppaladug@codeaurora.org> Signed-off-by: Manikanta Sivapala <msivap@codeaurora.org>
* | msm: vidc: Add Override QP extradata supportPraneeth Paladugu2016-08-02
|/ | | | | | | | | | | When clients wants to send QP map to HW video encoder, they send through override extradata. This change adds support for the same. CRs-Fixed: 957844, 1025326 Change-Id: I25f9cc95bd50a37a4280eecb84bf93d2516d3dc2 Signed-off-by: Praneeth Paladugu <ppaladug@codeaurora.org> Signed-off-by: Amit Shekhar <ashekhar@codeaurora.org>
* Merge "msm: camera: isp: Add isp version"Linux Build Service Account2016-07-27
|\
| * msm: camera: isp: Add isp versionShubhraprakash Das2016-07-15
| | | | | | | | | | | | | | | | | | Add isp version for cobalt. The version is used by the driver to differentiate in the code paths based on the isp type. CRs-Fixed: 1038370 Change-Id: I81055befae23b95bd7ba7dbe32c13be642bee66d Signed-off-by: Shubhraprakash Das <sadas@codeaurora.org>
* | msm: camera: ispif: RDI Pack mode supportSagar Gore2016-07-14
|/ | | | | | | Add support for pack mode in ISPIF RDI path. Change-Id: I9472f3162a87b8a4255d9c684573093642d488a2 Signed-off-by: Sagar Gore <sgore@codeaurora.org>
* msm: sde: Updating linear format definition for v4l2 rotatorBenjamin Chan2016-07-11
| | | | | | | | | Providing additonal linear format support for v4l2 rotator in mdss 3.x hardware. CRs-Fixed: 1032294 Change-Id: Ie8a19341831d4ffaea36898a80c71ab25f5daf3c Signed-off-by: Benjamin Chan <bkchan@codeaurora.org>
* msm: camera: Return HAL buffer to fix drain issuesHariram Purushothaman2016-07-06
| | | | | | | | | | Return the HAL buffer to avoid drain issue and provide the get buf by index interface so clients can get buffer based on index. CRs-Fixed: 1018651 Change-Id: I20329a6834f5f1498388c39b1dd95db2896b3239 Signed-off-by: Hariram Purushothaman <hariramp@codeaurora.org>
* msm: camera: isp: Add drop reporting in RESUMING stateHarsh Shah2016-06-29
| | | | | | | | | | | In RESUMING state, WM is stopped causing skip in diverted buffers. Add drop reporting for these frames, so that modules down stream can be notified in case of reg_update miss. CRs-Fixed: 1012335 Change-Id: I67d700c5c844fd6be3bf6ded756fb93e0ebfb537 Signed-off-by: Harsh Shah <harshs@codeaurora.org> Signed-off-by: Shubhraprakash Das <sadas@codeaurora.org>
* msm: camera: isp: Implement new ioctlShubhraprakash Das2016-06-21
| | | | | | | | | Implement a new ioctl that sets the ahb clock vote. This can be used from user space to make register programming quicker. CRs-Fixed: 1001335 Change-Id: I1bc0253ada50040d55b57f0ed07ba66b5535106a Signed-off-by: Shubhraprakash Das <sadas@codeaurora.org>
* msm:camera: Enable/Disable camera daemonJignesh Mehta2016-06-15
| | | | | | | | | | | | | Camera daemon process is moving to mediaserver process. MCT will send contol command to indicate camera daemon is present or not. For backward compatibility, add check so kernel can support camera daemon present and camera daemon not present. Change-Id: Ia9e45f539bd5ec0d2edfe9bfb90942d88b6d30da Signed-off-by: Jignesh Mehta <jigneshm@codeaurora.org>
* msm: sensor: Add support for downloading OIS coefficient and frameworkSureshnaidu Laveti2016-06-14
| | | | | | | Add OIS framework and coefficient download in OIS driver. Change-Id: Iff8e1c0367d13bb0d89946d81fb79427b6ef070e Signed-off-by: Sureshnaidu Laveti <lsuresh@codeaurora.org>
* msm: camera: Add support for DPCM modesVijay kumar Tumati2016-06-01
| | | | | | | | | | | DPCM8 and DPCM6 are 10 bit to 8 and 10 bit to 6 bit compression formats respectively which sensor outputs and it is decompressed to 10 bit in CSID Change-Id: I8ec4de7d9cfa5e9c86d97bd9cb81feddc97dc7b8 Signed-off-by: Vijay kumar Tumati <vtumati@codeaurora.org> Signed-off-by: Sureshnaidu Laveti <lsuresh@codeaurora.org>
* msm: vidc: Add SEI extradataVikash Garodia2016-05-24
| | | | | | | | | | | The change extend the support in video driver to enable few SEI extradata. Also update the extradata menu V4L2 control with all the available list of extradata. CRs-Fixed: 1007521 Change-Id: I6d060afb48aca34c2bb54221c5babc0ac55aff7c Signed-off-by: Vikash Garodia <vgarodia@codeaurora.org>
* msm: vidc: Enabling DPB-OPB split for NV12 color formatPraneeth Paladugu2016-05-19
| | | | | | | | | | | | | Video firmware will send a HFI_PIC_STRUCT field in sequence changed event, which indicates whether the clip is interlaced or progressive. If the color format is NV12 and the clip is interlaced, DPB mode would be combined NV12 while the DPB mode is split i.e. DPB is in UBWC and OPB is in NV12. Also combining the pic struct change and bit depth change into a single event to the userspace. CRs-fixed: 1017209 Change-Id: Ife71e31622a53d0ea4cc418d434998e710352e10 Signed-off-by: Vikash Garodia <vgarodia@codeaurora.org>