mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-13 21:28:01 +02:00
libopenjpeg: Add support for XYZ colorspace, found in DCINEMA frames
Signed-off-by: Diego Biurrun <diego@biurrun.de>
This commit is contained in:
parent
8c65264595
commit
28a807e28b
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user