mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-22 05:56:31 +00:00
video-format: Fix GBRA_10/12 alpha channel pixel strides
These formats have 4 components, so they should also have 4 components of pixel stride.
This commit is contained in:
parent
1012e3d89c
commit
8f51fba8b5
1 changed files with 7 additions and 8 deletions
|
@ -5497,18 +5497,17 @@ static const VideoFormat formats[] = {
|
|||
DPTH888, PSTR244, PLANE0, OFFS102, SUB422, PACK_VYUY),
|
||||
MAKE_RGBA_FORMAT (GBRA, "raw video", DPTH8888, PSTR1111, PLANE2013,
|
||||
OFFS0, SUB4444, PACK_GBRA),
|
||||
MAKE_RGBA_FORMAT (GBRA_10BE, "raw video", DPTH10_10_10_10, PSTR222, PLANE2013,
|
||||
OFFS0, SUB4444, PACK_GBRA_10BE),
|
||||
MAKE_RGBA_LE_FORMAT (GBRA_10LE, "raw video", DPTH10_10_10_10, PSTR222,
|
||||
PLANE2013,
|
||||
OFFS0, SUB4444, PACK_GBRA_10LE),
|
||||
MAKE_RGBA_FORMAT (GBRA_10BE, "raw video", DPTH10_10_10_10, PSTR2222,
|
||||
PLANE2013, OFFS0, SUB4444, PACK_GBRA_10BE),
|
||||
MAKE_RGBA_LE_FORMAT (GBRA_10LE, "raw video", DPTH10_10_10_10, PSTR2222,
|
||||
PLANE2013, OFFS0, SUB4444, PACK_GBRA_10LE),
|
||||
MAKE_RGB_FORMAT (GBR_12BE, "raw video", DPTH12_12_12, PSTR222, PLANE201,
|
||||
OFFS0, SUB444, PACK_GBR_12BE),
|
||||
MAKE_RGB_LE_FORMAT (GBR_12LE, "raw video", DPTH12_12_12, PSTR222, PLANE201,
|
||||
OFFS0, SUB444, PACK_GBR_12LE),
|
||||
MAKE_RGBA_FORMAT (GBRA_12BE, "raw video", DPTH12_12_12_12, PSTR222, PLANE2013,
|
||||
OFFS0, SUB4444, PACK_GBRA_12BE),
|
||||
MAKE_RGBA_LE_PACK_FORMAT (GBRA_12LE, "raw video", DPTH12_12_12_12, PSTR222,
|
||||
MAKE_RGBA_FORMAT (GBRA_12BE, "raw video", DPTH12_12_12_12, PSTR2222,
|
||||
PLANE2013, OFFS0, SUB4444, PACK_GBRA_12BE),
|
||||
MAKE_RGBA_LE_PACK_FORMAT (GBRA_12LE, "raw video", DPTH12_12_12_12, PSTR2222,
|
||||
PLANE2013, OFFS0, SUB4444, PACK_GBRA_12LE),
|
||||
MAKE_YUV_FORMAT (I420_12BE, "raw video", 0x00000000, DPTH12_12_12,
|
||||
PSTR222, PLANE012, OFFS0, SUB420, PACK_I420_12BE),
|
||||
|
|
Loading…
Reference in a new issue