Skip to content
Snippets Groups Projects
Commit 28a807e2 authored by Nicolas Bertrand's avatar Nicolas Bertrand Committed by Diego Biurrun
Browse files

libopenjpeg: Add support for XYZ colorspace, found in DCINEMA frames


Signed-off-by: default avatarDiego Biurrun <diego@biurrun.de>
parent 8c652645
No related branches found
No related tags found
No related merge requests found
...@@ -57,12 +57,15 @@ ...@@ -57,12 +57,15 @@
AV_PIX_FMT_YUV420P16, AV_PIX_FMT_YUV422P16, \ AV_PIX_FMT_YUV420P16, AV_PIX_FMT_YUV422P16, \
AV_PIX_FMT_YUV444P16 AV_PIX_FMT_YUV444P16
#define XYZ_PIXEL_FORMATS AV_PIX_FMT_XYZ12
static const enum AVPixelFormat rgb_pix_fmts[] = {RGB_PIXEL_FORMATS}; static const enum AVPixelFormat rgb_pix_fmts[] = {RGB_PIXEL_FORMATS};
static const enum AVPixelFormat gray_pix_fmts[] = {GRAY_PIXEL_FORMATS}; static const enum AVPixelFormat gray_pix_fmts[] = {GRAY_PIXEL_FORMATS};
static const enum AVPixelFormat yuv_pix_fmts[] = {YUV_PIXEL_FORMATS}; static const enum AVPixelFormat yuv_pix_fmts[] = {YUV_PIXEL_FORMATS};
static const enum AVPixelFormat any_pix_fmts[] = {RGB_PIXEL_FORMATS, static const enum AVPixelFormat any_pix_fmts[] = {RGB_PIXEL_FORMATS,
GRAY_PIXEL_FORMATS, GRAY_PIXEL_FORMATS,
YUV_PIXEL_FORMATS}; YUV_PIXEL_FORMATS,
XYZ_PIXEL_FORMATS};
typedef struct { typedef struct {
AVClass *class; AVClass *class;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment