[FFmpeg-devel] [PATCH v2 0/2] PNG sBIT chunk support

Leo Izen leo.izen at gmail.com
Wed Mar 8 22:03:14 EET 2023


Add support to the PNG decoder and encoder to support sBIT chunks,
by using AVCodecContext->bits_per_raw_sample.

Leo Izen (2):
  avcodec/pngdec: support sBIT chunks
  avcodec/pngenc: write sBIT chunks

 libavcodec/pngdec.c  | 45 ++++++++++++++++++++++++++++++++++++++++++++
 libavcodec/pngenc.c  |  6 ++++++
 libavcodec/version.h |  2 +-
 3 files changed, 52 insertions(+), 1 deletion(-)

-- 
2.39.2



More information about the ffmpeg-devel mailing list