diff options
author | Nicolas Dufresne <nicolas.dufresne@collabora.com> | 2018-02-07 14:48:00 -0500 |
---|---|---|
committer | Nicolas Dufresne <nicolas.dufresne@collabora.com> | 2018-02-07 14:48:00 -0500 |
commit | bc3f9b53fa1f6f8657f92f66eb63a156e0a7e5f9 (patch) | |
tree | aecbd8ec86f24763462ce5796465e6cff36d6e4a | |
parent | 30833f6242b0480fd78a52cd8cc1169fd9b75706 (diff) |
video: Fix GRAY10_LE32 depth information
-rw-r--r-- | gst-libs/gst/video/video-format.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gst-libs/gst/video/video-format.c b/gst-libs/gst/video/video-format.c index 9fc424bef..f2fa22b27 100644 --- a/gst-libs/gst/video/video-format.c +++ b/gst-libs/gst/video/video-format.c @@ -4941,6 +4941,7 @@ typedef struct #define DPTH888 8, 3, { 0, 0, 0, 0 }, { 8, 8, 8, 0 } #define DPTH8888 8, 4, { 0, 0, 0, 0 }, { 8, 8, 8, 8 } #define DPTH8880 8, 4, { 0, 0, 0, 0 }, { 8, 8, 8, 0 } +#define DPTH10 10, 1, { 0, 0, 0, 0 }, { 10, 0, 0, 0 } #define DPTH10_10_10 10, 3, { 0, 0, 0, 0 }, { 10, 10, 10, 0 } #define DPTH10_10_10_10 10, 4, { 0, 0, 0, 0 }, { 10, 10, 10, 10 } #define DPTH10_10_10_HI 16, 3, { 6, 6, 6, 0 }, { 10, 10, 10, 0 } @@ -5239,7 +5240,7 @@ static const VideoFormat formats[] = { PSTR222, PLANE012, OFFS0, SUB444, PACK_Y444_12BE), MAKE_YUV_LE_FORMAT (Y444_12LE, "raw video", 0x00000000, DPTH12_12_12, PSTR222, PLANE012, OFFS0, SUB444, PACK_Y444_12LE), - MAKE_GRAY_C_LE_FORMAT (GRAY10_LE32, "raw video", DPTH8, PSTR0, PLANE0, OFFS0, + MAKE_GRAY_C_LE_FORMAT (GRAY10_LE32, "raw video", DPTH10, PSTR0, PLANE0, OFFS0, SUB4, PACK_GRAY10_LE32), MAKE_YUV_C_LE_FORMAT (NV12_10LE32, "raw video", GST_MAKE_FOURCC ('X', 'V', '1', '5'), DPTH10_10_10, PSTR0, PLANE011, |