--- libavcodec/avcodec.h | 1 + libavcodec/ljpegenc.c | 4 ++++ libavcodec/mjpegenc.c | 3 +++ libavcodec/svq3.c | 3 +++ libavcodec/version.h | 4 ++-- 5 files changed, 13 insertions(+), 2 deletions(-)
diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h index eee975e..9358882 100644 --- a/libavcodec/avcodec.h +++ b/libavcodec/avcodec.h @@ -2720,6 +2720,7 @@ typedef struct AVCodec { #endif const AVClass *priv_class; ///< AVClass for the private context const AVProfile *profiles; ///< array of recognized profiles, or NULL if unknown, array is terminated by {FF_PROFILE_UNKNOWN} + const enum AVPixelFormat *pix_fmts_full; ///< array of supported pixel formats to be interpreted as full range, or NULL if unknown, array is terminated by -1 /***************************************************************** * No fields below this line are part of the public API. They diff --git a/libavcodec/ljpegenc.c b/libavcodec/ljpegenc.c index e111c8c..6f01962 100644 --- a/libavcodec/ljpegenc.c +++ b/libavcodec/ljpegenc.c @@ -332,4 +332,8 @@ AVCodec ff_ljpeg_encoder = { AV_PIX_FMT_YUV422P, AV_PIX_FMT_YUV444P, AV_PIX_FMT_NONE }, + .pix_fmts_full = (const enum AVPixelFormat[]) { + AV_PIX_FMT_YUV420P, AV_PIX_FMT_YUV422P, AV_PIX_FMT_YUV444P, AV_PIX_FMT_NONE, + } + }; diff --git a/libavcodec/mjpegenc.c b/libavcodec/mjpegenc.c index 30433c3..cabdc1f 100644 --- a/libavcodec/mjpegenc.c +++ b/libavcodec/mjpegenc.c @@ -449,4 +449,7 @@ AVCodec ff_mjpeg_encoder = { .pix_fmts = (const enum AVPixelFormat[]){ AV_PIX_FMT_YUVJ420P, AV_PIX_FMT_YUVJ422P, AV_PIX_FMT_NONE }, + .pix_fmts_full = (const enum AVPixelFormat[]) { + AV_PIX_FMT_YUV420P, AV_PIX_FMT_YUV422P, AV_PIX_FMT_NONE + }, }; diff --git a/libavcodec/svq3.c b/libavcodec/svq3.c index ce42fcf..18e6924 100644 --- a/libavcodec/svq3.c +++ b/libavcodec/svq3.c @@ -1327,4 +1327,7 @@ AVCodec ff_svq3_decoder = { CODEC_CAP_DELAY, .pix_fmts = (const enum AVPixelFormat[]) { AV_PIX_FMT_YUVJ420P, AV_PIX_FMT_NONE}, + .pix_fmts_full = (const enum AVPixelFormat[]) { + AV_PIX_FMT_YUV420P, AV_PIX_FMT_NONE + }, }; diff --git a/libavcodec/version.h b/libavcodec/version.h index 5ab49d5..d2f80ad 100644 --- a/libavcodec/version.h +++ b/libavcodec/version.h @@ -29,8 +29,8 @@ #include "libavutil/version.h" #define LIBAVCODEC_VERSION_MAJOR 55 -#define LIBAVCODEC_VERSION_MINOR 34 -#define LIBAVCODEC_VERSION_MICRO 1 +#define LIBAVCODEC_VERSION_MINOR 35 +#define LIBAVCODEC_VERSION_MICRO 0 #define LIBAVCODEC_VERSION_INT AV_VERSION_INT(LIBAVCODEC_VERSION_MAJOR, \ LIBAVCODEC_VERSION_MINOR, \ -- 1.8.3.4 (Apple Git-47) _______________________________________________ libav-devel mailing list libav-devel@libav.org https://lists.libav.org/mailman/listinfo/libav-devel