libs: Add RGB565 image format support.
This commit is contained in:
parent
d506dacc6b
commit
c048594370
@ -77,6 +77,7 @@ vaapi_image_is_linear (const VAImage * va_image)
|
||||
break;
|
||||
case VA_FOURCC ('Y', 'U', 'Y', '2'):
|
||||
case VA_FOURCC ('U', 'Y', 'V', 'Y'):
|
||||
case VA_FOURCC ('R', 'G', '1', '6'):
|
||||
data_size = 2 * width * height;
|
||||
break;
|
||||
case VA_FOURCC ('Y', '8', '0', '0'):
|
||||
|
@ -86,6 +86,8 @@ static const GstVideoFormatMap gst_vaapi_video_formats[] = {
|
||||
24, 0x00ff0000, 0x0000ff00, 0x000000ff, 0x00000000),
|
||||
DEF_RGB (RGBx, ('R', 'G', 'B', 'X'), 32,
|
||||
24, 0x000000ff, 0x0000ff00, 0x00ff0000, 0x00000000),
|
||||
DEF_RGB (RGB16, ('R', 'G', '1', '6'), 16,
|
||||
16, 0x0000f800, 0x000007e0, 0x0000001f, 0x00000000),
|
||||
{0,}
|
||||
};
|
||||
/* *INDENT-ON* */
|
||||
|
Loading…
x
Reference in New Issue
Block a user