History log of /hardware/qcom/media/libc2dcolorconvert/C2DColorConverter.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
a19e2b5f4746d249b2910e577792336739cd5672 16-Sep-2014 Praveen Chavan <pchavan@codeaurora.org> mm-video-v4l2: vdec: Set correct filled-length for color-converted buffers

Query the image-size of color-converted buffer from converter, sans
the padding and alignment.

bug: 16353967
Change-Id: Ifbe7229b5e963a20538547fe543be019b161db7b
/hardware/qcom/media/libc2dcolorconvert/C2DColorConverter.cpp
e5957fde919e5e4f5921d3f8224981a4607d8fb1 06-Aug-2014 Praveen Chavan <pchavan@codeaurora.org> libc2dcolorconvert: Initialize c2d surface descriptors

and avoid random color-conversion failures during thumbnail
generation.

b/16690200 -- Media: Some mp4 videos cannot play

Change-Id: I89f52ec215b6183339a4567d14ab1f33f781deb4
/hardware/qcom/media/libc2dcolorconvert/C2DColorConverter.cpp
8767726b6d6b2194cbb3704d7d82f0c7ef34eeb3 17-Apr-2014 Praveen Chavan <pchavan@codeaurora.org> mm-video-v4l2: reconcile to CAF tip

merge up to: set native-color format (only) for surface mode

Change-Id: I1ed1f78cfb7c5f54d950ae3ce40e677bff0b5264
/hardware/qcom/media/libc2dcolorconvert/C2DColorConverter.cpp
073c5e91be587a9f90fe39719e1e9fa7cd2a3525 08-May-2014 Vineeta Srivastava <vsrivastava@google.com> Revert "Revert "Revert "mm-video-v4l2: reconcile to CAF tip"""

This reverts commit a66301743224ed885fc1b5275acd16f4843a03f5.

Change-Id: Ic7148d1fc268611b4feb2c6d37d1394d3fb273cb
/hardware/qcom/media/libc2dcolorconvert/C2DColorConverter.cpp
a66301743224ed885fc1b5275acd16f4843a03f5 08-May-2014 Vineeta Srivastava <vsrivastava@google.com> Revert "Revert "mm-video-v4l2: reconcile to CAF tip""

This reverts commit f84ff736ed4e9e3c52a6341f7f2f5f325d8b5bab.
/hardware/qcom/media/libc2dcolorconvert/C2DColorConverter.cpp
f84ff736ed4e9e3c52a6341f7f2f5f325d8b5bab 07-May-2014 Narayan Kamath <narayan@google.com> Revert "mm-video-v4l2: reconcile to CAF tip"

This reverts commit 7a9835a7abaf26e9b79648550ca8f99514cd0c7a.

Change-Id: I766b5dbe122a149cbaeb339c9176e8165f42f937
/hardware/qcom/media/libc2dcolorconvert/C2DColorConverter.cpp
7a9835a7abaf26e9b79648550ca8f99514cd0c7a 17-Apr-2014 Praveen Chavan <pchavan@codeaurora.org> mm-video-v4l2: reconcile to CAF tip

merge up to: set native-color format (only) for surface mode

Change-Id: I6a496c435c9efe99912a6e45b27d69f38254521f
/hardware/qcom/media/libc2dcolorconvert/C2DColorConverter.cpp
fb4dccc1ae68939547dea668cba09988b439bff6 05-Dec-2013 synergy dev <synergye@codefi.re> libc2dcolorconvert: fix arithmetic on a pointer to void

Use char* instead of void* for this
pointer arithmetic. Fixes the following:

hardware/qcom/media/libc2dcolorconvert/C2DColorConverter.cpp:321:70: error: arithmetic on a pointer to void
srcSurfaceDef->phys0 = getMappedGPUAddr(fd, data, mSrcSize) + ((uint8_t *)data - (uint8_t *)base);
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
hardware/qcom/media/libc2dcolorconvert/C2DColorConverter.cpp:333:70: error: arithmetic on a pointer to void
dstSurfaceDef->phys0 = getMappedGPUAddr(fd, data, mDstSize) + ((uint8_t *)data - (uint8_t *)base);
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^

Change-Id: Ia3d17a9e47811da118abc7802e64adc1d5c0cddf
/hardware/qcom/media/libc2dcolorconvert/C2DColorConverter.cpp
90c7926e64742b91ea81ad70b1572ef721ddf4cc 04-Oct-2013 Praveen Chavan <pchavan@codeaurora.org> libc2dcolorconvert: Use pre-multiplied flag for RGBA8888 format

Assume RGBA frames coming to encoder have premultipled alpha.
MDP comp does not set A-channel and video encode during wifi-
display session results in black frames on secondary display.
Enable this flag so C2D would not interpret alpha channel.

Bug: 8316155

Change-Id: Ib47d2b9021e2606bc467784db2367589feb2f97e
/hardware/qcom/media/libc2dcolorconvert/C2DColorConverter.cpp
61a2c6a19dbd06a317a419623020e02056661876 26-Jul-2013 Praveen Chavan <pchavan@codeaurora.org> Merge up to tip (906de570) of hardware/qcom/media from codeaurora.org

Change-Id: Iee6f5ea3781748209b02725b30f2c09a8f1392fa
Signed-off-by: Ajay Dudani <adudani@codeaurora.org>
/hardware/qcom/media/libc2dcolorconvert/C2DColorConverter.cpp
9e2fdc3bb7587a771a2e227af29fbad69a9c67d3 02-May-2013 Praveen Chavan <pchavan@codeaurora.org> am e5b03e41: libc2dcolorconvert: clear kgsl param struct before calling MAP_USER_MEM

* commit 'e5b03e41084814b12260bccb1395057d04eb4a7c':
libc2dcolorconvert: clear kgsl param struct before calling MAP_USER_MEM
e5b03e41084814b12260bccb1395057d04eb4a7c 01-May-2013 Praveen Chavan <pchavan@codeaurora.org> libc2dcolorconvert: clear kgsl param struct before calling MAP_USER_MEM

uinitialized struct members can fail mapping sporadically

Bug: 8764965 -- fix
Bug: 8329029 -- required
Change-Id: I594c2c51b4fed3403d419ad77a4d2ac919133ab2
Signed-off-by: Iliyan Malchev <malchev@google.com>
/hardware/qcom/media/libc2dcolorconvert/C2DColorConverter.cpp
6eec4d1ea65df853450a6e158718981cba900bf6 30-Apr-2013 Shashank Mittal <mittals@codeaurora.org> Update mm-video to get legacy and v4l2 interfaces to co-exist

* Move mm-video to mm-video-legacy
* Add mm-video-v4l2 from codeaurora.org

Change-Id: Idf13fa2780fd0359ccefc8b004286c5a356d3546
/hardware/qcom/media/libc2dcolorconvert/C2DColorConverter.cpp
dd5743ee305c8db17facba3e0176a3d07adc7499 12-Apr-2013 Rom Lemarchand <romlem@google.com> Revert "media: Initial support for msm8226 and msm8974"

This reverts commit b79c7e8bccc229ae7d431392c0cd7c5fe24f1cd0

Change-Id: Ic1bd5a54aa7775ee0df9661e08d056496bd21363
/hardware/qcom/media/libc2dcolorconvert/C2DColorConverter.cpp
b79c7e8bccc229ae7d431392c0cd7c5fe24f1cd0 10-Apr-2013 Rom Lemarchand <romlem@google.com> media: Initial support for msm8226 and msm8974

Initial merge from CAF drop M8626AAAAANLYA0070008

Change-Id: I79c1fc05b0f0b1b86f56cdfedcd5d4985a0d261e
/hardware/qcom/media/libc2dcolorconvert/C2DColorConverter.cpp
49738db7d709aa6f76c6c27c25a1c3eb09715a99 04-Mar-2013 Alex Wong <waiw@codeaurora.org> libc2dcolorconvert: Update usage of kgsl_map_user_mem structure

Remove the use of reserve parameter.

Change-Id: Icae7830a52d8b589df54cb87e2cf0513772741b7
/hardware/qcom/media/libc2dcolorconvert/C2DColorConverter.cpp
62f3c8efa800d9729e2ee46e6b81a8d92a08a379 25-Oct-2012 Iliyan Malchev <malchev@google.com> chmod uga-x

find -type f -perm +111 -name \*.[ch]\* -exec chmod uga-x {} \;

Bug: 7428209
Change-Id: I4c92cefc5784a2576369885a926c023281fc390f
Signed-off-by: Iliyan Malchev <malchev@google.com>
/hardware/qcom/media/libc2dcolorconvert/C2DColorConverter.cpp
a01b803ceb4959ceac2cbed8e099653de546e169 21-Sep-2012 Haynes Mathew George <hgeorge@codeaurora.org> colorconvert: YUV420 Planar support

Change-Id: I9b7c434033baddab10e7c98efc1e401d7c94a531
/hardware/qcom/media/libc2dcolorconvert/C2DColorConverter.cpp
19afafb391255a960f9da204ea55b7d628688946 12-Sep-2012 Haynes Mathew George <hgeorge@codeaurora.org> Add Tile4x2 support to color convertor

Change-Id: I47c606e92ca7936e7691e93a28453bc87e7c98ab
/hardware/qcom/media/libc2dcolorconvert/C2DColorConverter.cpp
2d1936c1b3a89f95bc155d306a76a3384797da00 14-Sep-2012 Haynes Mathew George <hgeorge@codeaurora.org> libc2dcolorconvert: Avoid excessive logging

Change-Id: I6f115f95f074018c61a9147a46e6ef6512bae0c1
/hardware/qcom/media/libc2dcolorconvert/C2DColorConverter.cpp
35720aac7dffc8cf1a3c855b0aa29945f4e1b7d3 12-Sep-2012 Haynes Mathew George <hgeorge@codeaurora.org> libc2dcolorconvert: Add flag for RGBA8888 endianness correctness

- C2D API by default expects the alpha byte in RGBA8888 at the LSB
- We add a flag requesting it to look for alpha at the MSB instead.

Change-Id: I9761564bc5e1381624becd56ee06fd5822c47597
/hardware/qcom/media/libc2dcolorconvert/C2DColorConverter.cpp
2a914b33529b826083ff39ec764426680367b157 05-Sep-2012 Haynes Mathew George <hgeorge@codeaurora.org> Buffer size calculation corrections for NV12_2K

Change-Id: I15c0c004b52f244aa7cd70e9859dfd363b37cd85
Signed-off-by: Iliyan Malchev <malchev@google.com>
/hardware/qcom/media/libc2dcolorconvert/C2DColorConverter.cpp
484f1df7f1e765c66ca73f37511a0ad090820b74 25-Aug-2012 Haynes Mathew George <hgeorge@codeaurora.org> libc2dcolorconvert: New API and color format support

- Add an API to query for buffer requirements
- Add an API to dump the converted output buffer
- Add support for NV12 color format

Change-Id: Ic958731752fda09bc2bc96472c9345e9653c2c6f
/hardware/qcom/media/libc2dcolorconvert/C2DColorConverter.cpp
c124ee03788d734aba7b4d79d8ee5e45a3ece26c 25-Aug-2012 Haynes Mathew George <hgeorge@codeaurora.org> libc2dcolorconvert: Initial commit
/hardware/qcom/media/libc2dcolorconvert/C2DColorConverter.cpp