summaryrefslogtreecommitdiff
path: root/mm-video-v4l2
AgeCommit message (Collapse)Author
2017-10-12Merge "mm-video-v4l2: Update extadata frame qp payload"Linux Build Service Account
2017-10-08Merge "mm-video-v4l2: vidc: venc: Optimize color align function"Linux Build Service Account
2017-10-08Merge "mm-video-v4l2: venc: Update validation for Hybrid HP"Linux Build Service Account
2017-10-08Merge "mm-video-v4l2: vidc: venc: Push input buffer for TP10 color format"Linux Build Service Account
2017-10-08Merge "mm-video-v4l2: venc: Amend intra and idr period settings"Linux Build Service Account
2017-10-08Merge "mm-video-v4l2: vdec: Advertise Main10HDR10 Profile"Linux Build Service Account
2017-10-08Merge "mm-video-v4l2: fix KW issues"Linux Build Service Account
2017-10-08Merge "mm-video-v4l2: add rotation support for H263 sw encoder"Linux Build Service Account
2017-10-05mm-video-v4l2: Update extadata frame qp payloadChinmay Sawarkar
Firmware now provides additional QP information per frame, through the FrameQP Extradata. Hence the new fields need to be introduced in the payload structure. CRs-Fixed: 2117016 Change-Id: Id790ccb249941d1a013f51eb5b920c697a0f8e14
2017-10-05mm-video-v4l2: vidc: venc: Optimize color align functionPraneeth Paladugu
For non-mod 16 resolutions memmove is taking long time. This may be due to the implementation of memmove. To enhance the performance, always memmove the pixels in 16 aligned blocks. FW ignores the padding in YUV anyways. Also allocate cache buffers so that color align is faster. These improve the color conversion performance significantly. Change-Id: I6569011aa35a4d3f621628e9009e21479c30f214 CRs-Fixed: 927541
2017-10-04Merge "mm-video-v4l2: venc: return correct supported color formats"Linux Build Service Account
2017-10-04Merge "mm-video-v4l2: vdec: add mark data support"Linux Build Service Account
2017-10-04mm-video-v4l2: vidc: venc: Push input buffer for TP10 color formatUmesh Pandey
Base class checks whether color format needs to go to C2D and if it does not requires C2D and is a Venus color format. Adding TP10 colorformat to the list of Venus color format supported so as to queue TP10 YUV to the driver. CRs-Fixed: 2101805 Change-Id: I1b814703a2443d25290066102f9311931850ca86
2017-10-04mm-video-v4l2: venc: Update validation for Hybrid HPSaurabh Kothawade
Update rate control check used while validating Hybrid HP. Allow encode sessions with CFR to enable Hybrid HP. CRs-Fixed: 2121341 Change-Id: Ibf86d72ec89efb3511bd901b346817b0d0aa7a9b
2017-10-03mm-video-v4l2: venc: Amend intra and idr period settingsMaheshwar Ajja
Amend intra period and idr period settings from client to resolve intra period settings issue for vp8 encoder. CRs-Fixed: 2114479 Change-Id: I9da75e0598f46682ab5789f8a917a162c38f9e14
2017-10-03mm-video-v4l2: add rotation support for H263 sw encoderDikshita Agarwal
Change-Id: I45ecbf3eece2a52ffd25b39c319154eee5a7ebe1
2017-10-03mm-vidoe- Fix C2D color conversion.Dikshita Agarwal
return false for is_streamon_done() to allow C2D color conversion to happen. CRs-Fixed: 2117251 Change-Id: Iacef1f9ad8d5bd79a45623f36a68597ec1754c8d
2017-09-28Merge "mm-video-v4l2: Implement set parameter for new QP interface."Linux Build Service Account
2017-09-28Merge "mm-video-v4l2: Implement Mirror control"Linux Build Service Account
2017-09-28Merge "mm-video-v4l2: venc: Update conditions for enabling HP"Linux Build Service Account
2017-09-28Merge "mm-video-v4l2: Use correct base address for src buffer"Linux Build Service Account
2017-09-27mm-video-v4l2: fix KW issuesDikshita Agarwal
-fix kw issues CRs-Fixed: 2117284 Change-Id: I3e2e203bcaf28f8da32c31b660c6d150c095a31a
2017-09-26mm-video-v4l2: vdec: Advertise Main10HDR10 ProfileUmesh Pandey
Main10HDR10 profile is a superset of Main10 profile, so advertise the clients of only supporting Main10HDR10 profile. CRs-Fixed: 2094617 Change-Id: Ica65e628856975c1e6dcedc31ef8b1302ab5ce8e
2017-09-26mm-core: Add support for sdm670 targetManikanta Kanamarlapudi
- Add registry files and corresponding makefile changes for sdm670 - Enable ubwc for sdm670 - Enable sw vdec and venc for sdm670 Change-Id: Ic35f867110b40545c945f0f0cb858e995e22d257 CRs-Fixed: 2105675
2017-09-26mm-video-v4l2: venc: return correct supported color formatsCong Jiajia
add new api dev_get_supported_color_format() and implement them in individual s/w and h/w components Change-Id: I4adf86bcc774e7881b068860154a4046d3b057b7
2017-09-25mm-video-v4l2: venc: Update conditions for enabling HPSaurabh Kothawade
Update validation logic to enable Hier P layers by default in video encode use-cases. If encoder resolution is 1080p or less and fps 60 or less, don't enable HP by default. Moreover, when resolution is more than 1080p, enable HP when fps is higher than 30. CRs-Fixed: 2112004 Change-Id: I9e05814d3603ada271d01d96b5703017dbc7124f
2017-09-21Merge "mm-video-v4l2: vidc: Handle special value of operating rate"Linux Build Service Account
2017-09-20mm-video-v4l2: vidc: venc: Add UBWC consumer usage bitsUmesh Pandey
To enable TP10 encoding, set GRALLOC1_CONSUMER_USAGE_PRIVATE_0 alongwith TP10 color format consumer usage bits. The flag is used to indicate UBWC flag. CRs-Fixed: 2101805 Change-Id: I7401527deb415007ec93f1bc23f5e28a79e6decd
2017-09-20Merge "mm-video-v4l2: vdec: Consider only preferred interlace formats"Linux Build Service Account
2017-09-20mm-video-v4l2: Use correct base address for src bufferSurajit Podder
Each output buffer uses a separate ion buffer, but the address of first buffer is still used as base address for color conversion. Add change to use buffer address as base address for color conversion. Change-Id: Ibf18d7d8bc8143d5cba944576b97d8ca8296e239
2017-09-14mm-video-v4l2: vdec: Consider only preferred interlace formatsMaheshwar Ajja
Video driver may enable other interlace information bits along with the required interlace bits. Consider only the required interlace bits in interlace format field to avoid interlace video playback failures. CRs-Fixed: 2110027 Change-Id: I0fe36453e73d0f5719b9b1b5a321b68928036049
2017-09-13mm-video-v4l2: Implement set parameter for new QP interface.Prateek Shrivastava
-Packing of QP at openmax which will be unpacked at sw encoder framework. -Update class member variable with new configuration. Change-Id: Ic2f220c2a4defaf15b8f07c104e4cdf24d78de94
2017-09-12mm-video-v4l2: Implement Mirror controlChinmay Sawarkar
Enable setting the index control OMX_IndexConfigCommonMirror Change-Id: I8cc28fdb4b7c757284a3d442347b4f6322d53869
2017-09-12mm-video-v4l2: vidc: Handle special value of operating rateSaurabh Kothawade
Check the value set by client for operating rate. If it is QOMX_VIDEO_HIGH_PERF_OPERATING_MODE, client wants to use perfmode. Update internal structures accordingly. CRs-Fixed: 2106077 Change-Id: Ib7f50bb2f5617d56e8bb776a2f3c8957d5f3e414
2017-09-08mm-core: Add support for msmpeafowl targetManikanta Kanamarlapudi
- Add registry files and corresponding makefile changes for msmpeafowl - Enable ubwc for msmpeafowl - Enable sw vdec and venc for msmpeafowl CRs-Fixed: 2105675 Change-Id: I16c4a57ca178649fe2b38abd66984a682ce1054f
2017-09-07Merge "mm-video-v4l2: vidc: vdec: Fix EOS handling"Linux Build Service Account
2017-09-07Merge "mm-video-v4l2: Enable Color Space Conversion"Linux Build Service Account
2017-09-07Merge "mm-video-v4l2: vidc: vdec: Set split mode in component init"Linux Build Service Account
2017-09-06mm-video-v4l2: vidc: vdec: Fix EOS handlingPraneeth Paladugu
When EOS flag is set with valid filled length by client, that ETB should go to HW. Only 0 length ETBs should convert to STOP command. Fix the condition to reflect the same. CRs-Fixed: 2104813 Change-Id: Ibd2510b215e4f3dcc7d239ac0f15fa9df19d8aa8
2017-09-06mm-video-v4l2: vdec: add mark data supportQiwei Liu
Use v4l2_buffer.m.planes[0].reserved[3,4] to pass pMarkData and hMarkTargetComponent in ETB buffer headers to decoder, and then from decoder to FBD buffer headers. CRs-fixed: 2104169 Change-Id: I60cf398614cdf07b326902aa235b042659b77649 Signed-off-by: Qiwei Liu <qiweil@codeaurora.org>
2017-09-01mm-video-v4l2: Enable Color Space ConversionChinmay Sawarkar
Enable Color Space Conversion, if camera provides colorspace 601 and client sets 709. CRs-Fixed: 2100064 Change-Id: I000f9481b46fad053e6a5d714fc32a7c438d89d7
2017-09-01Merge "mm-video-v4l2: venc: Call C2D APIs only when needed"Linux Build Service Account
2017-09-01Merge "mm-video-v4l2: Clear source frame after returning client buffer"Linux Build Service Account
2017-09-01Merge "mm-video-v4l2: vidc: venc: Enable 10bit encoding"Linux Build Service Account
2017-09-01Merge "mm-video-v4l2: Add support for TME encoding mode"Linux Build Service Account
2017-09-01Merge "mm-video-v4l2: vidc: venc: Color primaries from COLOR_METADATA"Linux Build Service Account
2017-09-01Merge "mm-video-v4l2: Return supported profile/level"Linux Build Service Account
2017-08-30mm-video-v4l2: vidc: vdec: Set split mode in component initPraneeth Paladugu
Before sending the first S_FMT on capture port, decide split mode based on NV12 decision and set the same decision to driver. This will make sure that driver sets the correct DPB color format to HW. CRs-Fixed: 2088183 Change-Id: I579878869c7726beed9ee6b164f3f80c625ae3ef
2017-08-30mm-video-v4l2: vidc: venc: Color primaries from COLOR_METADATAUmesh Pandey
Deprecate use of GET_COLOR_SPACE and instead use GET_COLOR_METADATA to retrieve color primaries from the gralloc handle. CRs-Fixed: 2101805 Change-Id: I7ae52da040d0d6a469f38e34df66f7423a76e582
2017-08-30mm-video-v4l2: vidc: venc: Enable 10bit encodingUmesh Pandey
From Android-O onwards, MediaRecorder app can set profile and level on the encoder. When app configures HEVCMain10 as the codec profile set the consumer usage bits on the gralloc handle to be TP10_UBWC so that the camera HAL understands that video is requesting for TP10_UBWC encoding. Camera HAL after reading TP10 consumer usage flags will produce TP10 ETB's and check is added on the encoder side to support TP10_UBWC buffers only for HEVCMain10Profile else throw error. CRs-Fixed: 2101805 Change-Id: Ia5fd2439c4036bf137688106f76a39fb695988bf