Allow compatibility with ICS EGL for OMX
The new headers define the qcom video buffer format (HAL_PIXEL_FORMAT_YCbCr_420_SP_TILED) as 0x7FA30C03, ICS used 0x108. Trying to play a video with the ICS Adreno driver results in it rejecting the buffers because 2141391875 (0x7FA30C03) is an unknown buffer format, so use the QCOM_ICS_COMPAT CFLAG to fallback to the older enum. Do NOT use this with JB Adreno blobs. Change-Id: I2bd05c681718e916bd91311a4c9e503545f2e1bc
This commit is contained in:
parent
32393536ca
commit
f08c954f02
@ -106,7 +106,11 @@ enum {
|
||||
enum {
|
||||
/* OEM specific HAL formats */
|
||||
HAL_PIXEL_FORMAT_NV12_ENCODEABLE = 0x102,
|
||||
#ifdef QCOM_ICS_COMPAT
|
||||
HAL_PIXEL_FORMAT_YCbCr_420_SP_TILED = 0x108,
|
||||
#else
|
||||
HAL_PIXEL_FORMAT_YCbCr_420_SP_TILED = 0x7FA30C03,
|
||||
#endif
|
||||
HAL_PIXEL_FORMAT_YCbCr_420_SP = 0x109,
|
||||
HAL_PIXEL_FORMAT_YCrCb_420_SP_ADRENO = 0x10A,
|
||||
HAL_PIXEL_FORMAT_YCrCb_422_SP = 0x10B,
|
||||
|
Loading…
x
Reference in New Issue
Block a user