Commit db20ecf8 authored by James Cowgill's avatar James Cowgill Committed by Tim-Philipp Müller

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.
parent 7de5af41
......@@ -5215,18 +5215,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),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment