|
|
@ -452,15 +452,17 @@ AVCodec ff_libopenjpeg_encoder = { |
|
|
|
.encode2 = libopenjpeg_encode_frame, |
|
|
|
.encode2 = libopenjpeg_encode_frame, |
|
|
|
.close = libopenjpeg_encode_close, |
|
|
|
.close = libopenjpeg_encode_close, |
|
|
|
.capabilities = 0, |
|
|
|
.capabilities = 0, |
|
|
|
.pix_fmts = (const enum PixelFormat[]){PIX_FMT_RGB24,PIX_FMT_RGBA,PIX_FMT_RGB48,PIX_FMT_RGBA64, |
|
|
|
.pix_fmts = (const enum PixelFormat[]){ |
|
|
|
PIX_FMT_GRAY8,PIX_FMT_GRAY8A,PIX_FMT_GRAY16, |
|
|
|
PIX_FMT_RGB24, PIX_FMT_RGBA, PIX_FMT_RGB48, PIX_FMT_RGBA64, |
|
|
|
PIX_FMT_YUV420P,PIX_FMT_YUV422P,PIX_FMT_YUVA420P, |
|
|
|
PIX_FMT_GRAY8, PIX_FMT_GRAY8A, PIX_FMT_GRAY16, |
|
|
|
PIX_FMT_YUV440P,PIX_FMT_YUV444P,PIX_FMT_YUVA422P, |
|
|
|
PIX_FMT_YUV420P, PIX_FMT_YUV422P, PIX_FMT_YUVA420P, |
|
|
|
PIX_FMT_YUV411P,PIX_FMT_YUV410P,PIX_FMT_YUVA444P, |
|
|
|
PIX_FMT_YUV440P, PIX_FMT_YUV444P, PIX_FMT_YUVA422P, |
|
|
|
PIX_FMT_YUV420P9,PIX_FMT_YUV422P9,PIX_FMT_YUV444P9, |
|
|
|
PIX_FMT_YUV411P, PIX_FMT_YUV410P, PIX_FMT_YUVA444P, |
|
|
|
PIX_FMT_YUV420P10,PIX_FMT_YUV422P10,PIX_FMT_YUV444P10, |
|
|
|
PIX_FMT_YUV420P9, PIX_FMT_YUV422P9, PIX_FMT_YUV444P9, |
|
|
|
PIX_FMT_YUV420P16,PIX_FMT_YUV422P16,PIX_FMT_YUV444P16, |
|
|
|
PIX_FMT_YUV420P10, PIX_FMT_YUV422P10, PIX_FMT_YUV444P10, |
|
|
|
PIX_FMT_NONE}, |
|
|
|
PIX_FMT_YUV420P16, PIX_FMT_YUV422P16, PIX_FMT_YUV444P16, |
|
|
|
.long_name = NULL_IF_CONFIG_SMALL("OpenJPEG JPEG 2000"), |
|
|
|
PIX_FMT_NONE |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
.long_name = NULL_IF_CONFIG_SMALL("OpenJPEG JPEG 2000"), |
|
|
|
.priv_class = &class, |
|
|
|
.priv_class = &class, |
|
|
|
}; |
|
|
|
}; |
|
|
|