summaryrefslogtreecommitdiff
path: root/libc2dcolorconvert
AgeCommit message (Collapse)Author
2021-02-12[LSC] Add LOCAL_LICENSE_KINDS to hardware/qcom/sdm845/mediaBob Badour
Added SPDX-license-identifier-Apache-2.0 to: libstagefrighthw/Android.mk Added SPDX-license-identifier-BSD to: libc2dcolorconvert/Android.mk libplatformconfig/Android.mk mm-video-v4l2/vidc/common/Android.mk mm-video-v4l2/vidc/vdec/Android.mk mm-video-v4l2/vidc/venc/Android.mk Added SPDX-license-identifier-BSD SPDX-license-identifier-MIT to: mm-core/Android.mk Bug: 68860345 Bug: 151177513 Bug: 151953481 Test: m all Exempt-From-Owner-Approval: janitorial work Change-Id: Iead7f221951694cd9da8358ce5d18ac9f34b52dd
2018-04-10Merge remote-tracking branch ↵Daniel Mentz
'goog/qcom/release/LA.UM.7.3.9.08.00.00.385.245' into pi-dev Conflicts: libstagefrighthw/QComOMXMetadata.h mm-video-v4l2/vidc/vdec/Android.mk mm-video-v4l2/vidc/vdec/inc/omx_vdec.h mm-video-v4l2/vidc/vdec/inc/ts_parser.h mm-video-v4l2/vidc/venc/Android.mk Bug: 77871398 Change-Id: Iaade819caadef58cc7b1fdf64f0b549bec102eb9
2018-03-28Build libOmxVdec and libOmxVenc with VNDKJiyong Park
Missing media/hardware/*.h are resolved by adding media_plugin_headers explicitly. Missing system/graphics.h is resolved by switching system/window.h to cutils/native_handle.h as in I7214dcc1e57f2a0466fc28173dd5de5d54c9a721 for msm8998. Missing hardware/gralloc.h is resolved by adding libhardware_headers ui/ANativeObjectBase.h is not included as it isn't used. Bug: 69574580 Test: m -j Test: BOARD_VNDK_VERSION=current m -j libOmxVdec libOmxVenc Change-Id: I10c903701842c1953eeb99f9651a64e1ffbbbad9
2018-03-27media: change way of accessing aosp project headersManikanta Kanamarlapudi
- Remove hardcode paths of aosp headers in vendor make files. - Add aosp header libraries to access aosp headers. CRs-Fixed: 2206443 Change-Id: Ib2b4f1ddeb48397bbe2afdfb9ac54cc3cb3fd9ac
2017-11-22Merge 76a842b26ca88a3a4121ba467989d7d418886d88 on remote branchLinux Build Service Account
Change-Id: I60c797137a4437dbbf31d51e4f5bc7e08e8d3800
2017-11-08Merge "mm-video-v4l2: vdec: Add P010 color format supports"Linux Build Service Account
2017-11-06Merge 6604784e2bf1d67c17c5b5c525c6974089cb4cb4 on remote branchLinux Build Service Account
Change-Id: Ib8a786d4ecd8ce3af06f39665fd9532565ed50bf
2017-11-02mm-video-v4l2: vdec: Add P010 color format supportsShi Zhongbo
Add P010 10bit linear color format supports on HAL decoders Change-Id: Ia6ee6d256f4734da988b7e204711f76d193b2255
2017-10-23C2DCC: Fix wrong function pointerKarthikeyan Periasamy
C2DCC pointer pointed to compute_aligned_width_and_height which is for older GPUs. For newer GPUs, this function returns 0. For our newer GPUs, we should use compute_fmt_aligned_width_and_height. CRs-Fixed: 2126754 Change-Id: I67f0806636a68c381ab3d07f3ea512fce0978385
2017-10-23Merge 7f86817ce20e444f3712976c8be249f9cd40861c on remote branchLinux Build Service Account
Change-Id: Idf976def3c06edb3d8993f04ce76df7657315626
2017-10-09Merge a34d42348ca292f33ff732763705513b0a2de2e3 on remote branchLinux Build Service Account
Change-Id: I8968235481b334aaf44757e2b65eb962710190b9
2017-09-26libc2dcolorconvert: Initialize surface def to NULLVaibhav Deshu Venkatesh
Surface definition structures are not currently initialized to NULL and also make it NULL after delete just to be safe. CRs-Fixed: 2109336 Change-Id: I9843803b3a5faa55eccaf48bc1252a7d07230695
2017-09-21C2DCC: Fix ASAN segmetation faultKarthikeyan Periasamy
ASAN throws an exception when delete operator is called on NULL. CRs-Fixed: 2110126 Change-Id: I4c1fb58f8bcb639699836784e3b0361fb2705fa7
2017-09-11Merge 9866103c758615ce6f735e7dfb79e5f82485d234 on remote branchLinux Build Service Account
Change-Id: I1918e86b9895f234a800191426c4c3cd8bf1c33b
2017-08-29mm-video-v4l2: venc: Call C2D APIs only when neededKarthikeyan Periasamy
- Call setResolution when there is a change in frame properties and call convertC2D when conversion is really needed. - Fix the src format assignment for C2D color conversion. CRs-Fixed: 2101124 Change-Id: Iaf3b1b984fe35f392c96249567b0f159027bb63c
2017-08-25Merge 4725bf6cf339c683347c75ad692ae756979e2cba on remote branchLinux Build Service Account
Change-Id: I0b88d9b867b5c0c880d08fed63c93ffff70ef124
2017-08-14Merge 8d75312359b7f5e6d5deeaa4261d685dc0a8e6df on remote branchLinux Build Service Account
Change-Id: Idc17617c059cb1ae44064e62ff43c1eed53fac0c
2017-08-10mm-video-v4l2: vdec: Enable thumbnail for TP10Karthikeyan Periasamy
Added thumbnail generation support for TP10 clips using combined mode. Change-Id: I0dda5d74c37d720558e0b492822dd9321564dc5c CRs-Fixed: 2091107
2017-08-08libc2dcolorconvert: unmap surface memory after useKarthikeyan Periasamy
Fix the memory leak by unmapping the surface memory before requesting for a new surface memory. Change-Id: Iffca8eae692d148a2f0874ee7d9be7770d627f89 CRs-Fixed: 2089675
2017-08-07libc2dcolorconvert: Fix typo in the dlsymKarthikeyan Periasamy
Wrong symbol name was used when we call dlsym on C2D library. Change-Id: I912153561cb248d81a2ca025afe2100aa48b5e6e CRs-Fixed: 2088849
2017-08-04libc2dcolorconvert: Fix potential dead lockKarthikeyan Periasamy
Call unlock before the execution comes out of the function call. Change-Id: I197f6007771e15292f5212eae6c08cd92e6d9810 CRs-Fixed: 2088140
2017-08-01mm-video-v4l2: venc: Enable screen recordingKarthikeyan Periasamy
Added support to enable screen recording using C2D interface. Change-Id: I1a95947ca89a420250546f2c0df45db5b16901ad CRs-Fixed: 2086016
2017-07-26libc2dcolorconvert: Improve debug messagesKarthikeyan Periasamy
Modify the debug level and message to make them easily understandable. Change-Id: I6eb677acd4577229a9ffda997d21a4e739b317d4 CRs-Fixed: 2078471
2017-07-25Merge c989f7319c543164d6e0182a78a9ea1cddc29124 on remote branchLinux Build Service Account
Change-Id: I19f52ea49fe9e5b270f89cf23d148ebbca2cc245
2017-07-18mm-video-v4l2: C2D: Improve debug messagesKarthikeyan Periasamy
Marked right debug level and added/modified debug messages properly. Change-Id: I98589137822f741f89d53f946b24d38af32bf0ec CRs-Fixed: 2078471
2017-07-17mm-video-v4l2: C2D: Do not call c2dDestroySurface before C2D initKarthikeyan Periasamy
Avoid calling c2dDestroySurface when C2D driver not initialized. Change-Id: I59c8e3e147cd75a8740dad552b96d9a2810d9b12 CRs-Fixed: 2075562
2017-07-10Merge 9c75ca8604f4088f7ba12054ff1f5043ef2f147a on remote branchLinux Build Service Account
Change-Id: Ifbc684d32345e4ccc5c1e9b16805e883b077ddfd
2017-06-30libc2dcolorconvert: Fix address in unmap callKarthikeyan Periasamy
Unmap was being called with a modified address resulting in unmap failure. Call unmap with the exact address which we get from map call. Change-Id: I01148d89968865bb24c39733ed74b85931f3a5f1 CRs-Fixed: 2056867
2017-06-26Merge tag 'AU_LINUX_ANDROID_LA.UM.6.3.06.00.01.266.138' into HEADDivya Sharma
Conflicts: libc2dcolorconvert/Android.mk libstagefrighthw/Android.mk mm-core/Android.mk mm-video-v4l2/vidc/vdec/Android.mk mm-video-v4l2/vidc/venc/Android.mk mm-video-v4l2/vidc/venc/src/video_encoder_device_v4l2.cpp Change-Id: I62452320f642bbbdf697601cd60ab8637f436dc9
2017-05-31mm-video-v4l2: Redesign C2D interfaceKarthikeyan Periasamy
Removed dynamic linking of the intermediate library. Added more input/output color format support. CRs-Fixed: 2038471 Change-Id: Idbd6ad8c6f29b8257f8c8ddb5c7c55db4d3b61cb
2017-05-19Merge "mm-video-v4l2: Enable NV12 UBWC in C2D" into video-userspace.lnx.3.0-devLinux Build Service Account
2017-05-19mm-video-v4l2: Enable NV12 UBWC in C2DKarthikeyan Periasamy
Add the support to enable the color convertion in C2D using c2d graphic library. Change-Id: If26640952c43a9cf329a9a97b3b4f32f573adac0
2017-05-18media: Move Video HAL libraries to vendor image.Uma Mehta
Move video HAL libraries to vendor image with flag LOCAL_VENDOR_MODULE Change-Id: Ie9058b9bfc1148bed53e4496c58a874698f1f6d1
2017-05-17media: Move Video HAL libraries to vendor image.Uma Mehta
Move video HAL libraries from system/lib/ to /system/vendor/lib. Conflicts: libc2dcolorconvert/Android.mk libstagefrighthw/Android.mk mm-core/Android.mk mm-video-v4l2/vidc/vdec/Android.mk mm-video-v4l2/vidc/venc/Android.mk Change-Id: Ic7f89ce5d4b9cb4d86c12508d15b1d8e1a59e91a
2017-05-02media: Move Video HAL libraries to vendor imageUma Mehta
Move video HAL libraries from system/lib/ to /system/vendor/lib. Change-Id: I6a91af6ce3b310b92483c440cb6ee5a0f3096412 CRs-Fixed: 2037809
2017-05-01media: Move Video HAL libraries to vendor imageUma Mehta
Move video HAL libraries from system/lib/ to /system/vendor/lib. Remove libbinder instances from Video HAL. Change-Id: I7f2674fee7fc978281f777c25e26a0927a3964c8 CRs-Fixed: 2037809
2017-02-13mm-video-v4l2: mm-core: Remove unused legacy filesPraneeth Paladugu
Remove legacy files which are not useful anymore. These are not needed to carry further. Change-Id: I3bff03f4bbadd6160fe76d7343c387822c8572c3
2016-10-28mm-video-v4l2: Enable auto tools for video components compilationSrinu Gorle
Add configure and makefiles to compile video encoder code using auto tools. Change-Id: Ie3d0aa2b3510828c7c157ffb1f8704e32bc9372b
2016-06-24libc2dcolorconvert: Initialize V-plane-stride in YUV surface descriptorPraveen Chavan
Initialize stride2 that corresponds to the stride of V-plane CRs-Fixed: 1033135 Change-Id: I8330dadde19cd44444d4b37b09bdd0e00f581a7d
2016-05-17libc2dcolorconvert: Close adreno lib handle during cleanupPraveen Chavan
Close the adreno utils lib if it was opened successfully CRs-Fixed: 959338 Change-Id: I5e84efdc372b5c39ad9b569d87c7346cdd8869a8
2016-04-28libc2dcolorconvert: Fix clang compilation errors.Abdulla Anam
Fix CLANG compiler reported warnings/errors related to format specifiers. Change-Id: I959f2270fbc0d2610cb57e0294c390e5de664d65 CRs-Fixed: 963720
2016-01-18mm-video-v4l2: venc: send flags to color converterMaheshwar Ajja
Send flags to color converter to enable UBWC mode while opening color converter if flags contain UBWC mode. Change-Id: Id649fa30f08b45985f91ccb4b9e60941f24386eb
2015-10-13libc2dcolorconvert: Fix height alignment issue with RGBA formatsRajesh Sastrula
Graphics width and height alignments change based on hardware version, hence get this information from adreno utils library. Change-Id: I5134601ac918de86028d02b88339eacf1039a543
2015-09-21libc2dcolorconvert: Add support for NV12_UBWC formatRajesh Sastrula
Add supprt for color conversion from NV12_UBWC format to RGBA8888 and YV12. UBWC YUV formats are not supported on the destination buffer due to graphics hardware limitation Change-Id: I1c19005bc3ed74412f4b1437acac2118be78f17a
2015-07-07Merge "mm-video-v4l2: compilation fixes for C++11 compiler"Linux Build Service Account
2015-07-06libc2dcolorconvert: Modified stride and size calculationc_sisanj
For YCbCr420P color format, Stride and YUV plane size calculation is modified as per prescribed 16 byte alignement. Change-Id: I32f7b8b30152d9f7f2a32f9309925b38bf399118
2015-07-01mm-video-v4l2: compilation fixes for C++11 compilerPraveen Chavan
Fix compiler errors and remove inclusion of deprecated pmem headers Change-Id: I9ba321485fa8f20054a2bfebdadabddcdb84e7f5
2014-09-15mm-video-v4l2: vdec: Set correct filled-length for color-converted buffersPraveen Chavan
Query the image-size of color-converted buffer from converter, sans the padding and alignment. Change-Id: Ifbe7229b5e963a20538547fe543be019b161db7b
2014-08-04libc2dcolorconvert: Remove dependency on stagefrightShalaj Jain
No need to include ColorConvert.h Change-Id: I7f5e20bd6551a4c85a0024dbf280fd00c5566149
2014-05-12libc2dcolorconvert: refer c2d header from displayPraveen Chavan
refer c2d header from display as graphics path may not be available on some OSS builds Change-Id: I0737916d269c870adfed8beba827d2f9129aba88