summaryrefslogtreecommitdiff
path: root/tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp
diff options
context:
space:
mode:
authorZhijun He <zhijunhe@google.com>2016-02-17 17:24:04 -0800
committerZhijun He <zhijunhe@google.com>2016-02-17 18:27:55 -0800
commit3a171a764298f7667655231055d3d0f1905fdf73 (patch)
treebf9d0dc55268e3371a3075a1a09389b6e3e82095 /tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp
parent7416762be023e31b86bc71210c963d43522dedc5 (diff)
ImageReader: override the flexible YUV compatible formats
For gralloc HAL v0.1 devices, if the producer buffer format is NV21 or YV12, the returned flexFormat will be NV21 or YV12, which causes CTS failure for ImageReader decoder test. This change overrides the NV21 or YV12 image formats to HAL_PIXEL_FORMAT_YCbCr_420_888 for such case. With this, the ImageReader will work for the devices with older gralloc HAL implementations for HAL_PIXEL_FORMAT_YCbCr_420_888 compatible formats. Bug: 27136665 Change-Id: Ib4722f1f8dc20ad6561088755e4ab9d2e68f1b47
Diffstat (limited to 'tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp')
0 files changed, 0 insertions, 0 deletions