mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-20 21:16:24 +00:00
parent
5168611f55
commit
b5dd169420
2 changed files with 3 additions and 0 deletions
|
@ -94,6 +94,7 @@ vaapi_image_is_linear (const VAImage * va_image)
|
|||
case VA_FOURCC ('B', 'G', 'R', 'X'):
|
||||
case VA_FOURCC ('Y', '2', '1', '0'):
|
||||
case VA_FOURCC ('Y', '4', '1', '0'):
|
||||
case VA_FOURCC ('A', 'R', '3', '0'):
|
||||
data_size = 4 * width * height;
|
||||
break;
|
||||
case VA_FOURCC ('P', '0', '1', '0'):
|
||||
|
|
|
@ -160,6 +160,8 @@ static const GstVideoFormatMap gst_vaapi_video_default_formats[] = {
|
|||
0x0000f800, 0x000007e0, 0x0000001f, 0x00000000),
|
||||
DEF_RGB (VA_BYTE_ORDER_NOT_CARE, RGB, ('R', 'G', '2', '4'), 32, 24,
|
||||
0x00ff0000, 0x0000ff00, 0x000000ff, 0x00000000),
|
||||
DEF_RGB (VA_LSB_FIRST, BGR10A2_LE, ('A', 'R', '3', '0'), 32, 30,
|
||||
0x3ff00000, 0x000ffc00, 0x000003ff, 0x30000000),
|
||||
{0,}
|
||||
};
|
||||
/* *INDENT-ON* */
|
||||
|
|
Loading…
Reference in a new issue