Map to V4L2 RGB32 which the gsc kernel driver interprets as XRGB
Change-Id: I28fa1db0b882bab120254337f40b3172074d4eca
Signed-off-by: Greg Hackmann <ghackmann@google.com>
switch (hal_pixel_format) {
case HAL_PIXEL_FORMAT_RGBA_8888:
case HAL_PIXEL_FORMAT_RGBX_8888:
+ case HAL_PIXEL_FORMAT_CUSTOM_ARGB_8888:
v4l2_pixel_format = V4L2_PIX_FMT_RGB32;
break;
case HAL_PIXEL_FORMAT_RGBA_8888:
case HAL_PIXEL_FORMAT_BGRA_8888:
case HAL_PIXEL_FORMAT_RGBX_8888:
+ case HAL_PIXEL_FORMAT_CUSTOM_ARGB_8888:
frame_size = GET_32BPP_FRAME_SIZE(width, height);
break;