HAL_PIXEL_FORMAT_ARGB888 is custom format.
but, HAL_PIXEL_FORMAT_RGBA_8888 is native format.
Byte order is same with HAL_PIXEL_FORMAT_RGBA_8888.
so, modified to use HAL_PIXEL_FORMAT_RGBA_8888.
Change-Id: I59d27cc440652fd55fb578a355bdfb6ce51ff6a9
Signed-off-by: Taehwan Kim <t_h.kim@samsung.com>
case HAL_PIXEL_FORMAT_YCbCr_420_SP_TILED:
omx_format = (OMX_COLOR_FORMATTYPE)OMX_SEC_COLOR_FormatNV12Tiled;
break;
- case HAL_PIXEL_FORMAT_ARGB888:
+ case HAL_PIXEL_FORMAT_RGBA_8888:
omx_format = OMX_COLOR_Format32bitARGB8888;
break;
default:
hal_format = HAL_PIXEL_FORMAT_YCbCr_420_SP_TILED;
break;
case OMX_COLOR_Format32bitARGB8888:
- hal_format = HAL_PIXEL_FORMAT_ARGB888;
+ hal_format = HAL_PIXEL_FORMAT_RGBA_8888;
break;
default:
hal_format = HAL_PIXEL_FORMAT_YCbCr_420_P;