summaryrefslogtreecommitdiffstats
path: root/src/intel/tools/decoder.c
diff options
context:
space:
mode:
authorTomasz Figa <[email protected]>2016-11-10 16:55:53 +0900
committerEmil Velikov <[email protected]>2016-11-21 13:27:47 +0000
commit51727b1cf57e8c4630767eb9ead207b102ffa489 (patch)
tree7fc856a267bc2d7afe706742d04a7844fbce7ef8 /src/intel/tools/decoder.c
parent859d0b01217a0241a12a75899dcfb8263787f1ad (diff)
egl/android: Use gralloc::lock_ycbcr for resolving YUV formats (v2)
There is an interface that can be used to query YUV buffers for their internal format. Specifically, if gralloc:lock_ycbcr() is given no SW usage flags, it's supposed to return plane offsets instead of pointers. Let's use this interface to implement support for YUV formats in Android EGL backend. v2: Fixes from Emil's review: a) Added comments for parts that might be not clear, b) Changed get_fourcc_yuv() to return -1 on failure, c) Changed is_yuv() to use bool. Signed-off-by: Tomasz Figa <[email protected]> Reviewed-by: Emil Velikov <[email protected]> Reviewed-by: Tapani Pälli <[email protected]>
Diffstat (limited to 'src/intel/tools/decoder.c')
0 files changed, 0 insertions, 0 deletions