This is an automated email from the git hooks/post-receive script. Git pushed a commit to branch master in repository ffmpeg.
commit 703d50b34346788ff9429a4da9d04e1a46ce4045 Author: Wu Jianhua <[email protected]> AuthorDate: Fri May 2 20:25:49 2025 +0800 Commit: jianhuaw <[email protected]> CommitDate: Sun Nov 29 10:42:10 2026 +0000 avcodec/vvc/ps: support 16 bits pixel formats Signed-off-by: Wu Jianhua <[email protected]> --- libavcodec/vvc/ps.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/libavcodec/vvc/ps.c b/libavcodec/vvc/ps.c index 389b01d4e0..caa42d45b7 100644 --- a/libavcodec/vvc/ps.c +++ b/libavcodec/vvc/ps.c @@ -38,6 +38,7 @@ static enum AVPixelFormat chroma_idc_formats[][4] = { { AV_PIX_FMT_GRAY10, AV_PIX_FMT_YUV420P10, AV_PIX_FMT_YUV422P10, AV_PIX_FMT_YUV444P10 }, { AV_PIX_FMT_GRAY12, AV_PIX_FMT_YUV420P12, AV_PIX_FMT_YUV422P12, AV_PIX_FMT_YUV444P12 }, { AV_PIX_FMT_GRAY14, AV_PIX_FMT_YUV420P14, AV_PIX_FMT_YUV422P14, AV_PIX_FMT_YUV444P14 }, + { AV_PIX_FMT_GRAY16, AV_PIX_FMT_YUV420P16, AV_PIX_FMT_YUV422P16, AV_PIX_FMT_YUV444P16 }, }; static int sps_map_pixel_format(VVCSPS *sps, void *log_ctx) @@ -50,6 +51,7 @@ static int sps_map_pixel_format(VVCSPS *sps, void *log_ctx) case 10: case 12: case 14: + case 16: { enum AVPixelFormat *formats = chroma_idc_formats[sps->r->sps_bitdepth_minus8 >> 1]; sps->pix_fmt = formats[sps->r->sps_chroma_format_idc]; @@ -58,7 +60,7 @@ static int sps_map_pixel_format(VVCSPS *sps, void *log_ctx) default: av_log(log_ctx, AV_LOG_ERROR, - "The following bit-depths are currently specified: 8, 10, 12, 14 bits, " + "The following bit-depths are currently specified: 8, 10, 12, 14, 16 bits, " "chroma_format_idc is %d, depth is %d\n", r->sps_chroma_format_idc, sps->bit_depth); return AVERROR_INVALIDDATA; -- To stop receiving notification emails like this one, please contact [email protected]. _______________________________________________ ffmpeg-cvslog mailing list -- [email protected] To unsubscribe send an email to [email protected]
