[FFmpeg-devel] [PATCHv3] avcodec/jpegtables: remove duplicate luma and chroma quantization tables

Peter Ross pross at xvid.org
Mon Oct 24 11:55:55 EEST 2022


On Tue, Oct 18, 2022 at 08:06:02PM +1100, Peter Ross wrote:
> Duplicates of the standard JPEG quantization tables were found in the
> AGM, MSS34(dsp), NUV and VP31 codecs. This patch elimates those duplicates,
> placing a single copy in jpegquanttables.c.
> ---
> added FF_VISIBILITY_xxx_HIDDEN statements and removed suplus copyright text.
> 
>  libavcodec/Makefile          |  8 +++---
>  libavcodec/agm.c             | 27 ++++--------------
>  libavcodec/jpegquanttables.c | 54 ++++++++++++++++++++++++++++++++++++
>  libavcodec/jpegquanttables.h | 32 +++++++++++++++++++++
>  libavcodec/jpegtables.c      | 27 ------------------
>  libavcodec/mss34dsp.c        | 25 ++---------------
>  libavcodec/nuv.c             | 27 ++----------------
>  libavcodec/vp3.c             |  3 +-
>  libavcodec/vp3data.h         | 13 ---------
>  9 files changed, 102 insertions(+), 114 deletions(-)
>  create mode 100644 libavcodec/jpegquanttables.c
>  create mode 100644 libavcodec/jpegquanttables.h

will push in a couple of days

-- Peter
(A907 E02F A6E5 0CD2 34CD 20D2 6760 79C5 AC40 DD6B)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20221024/28b9536d/attachment.sig>


More information about the ffmpeg-devel mailing list