ffmpeg/libavcodec/tests
Andreas Rheinhardt 20f9727018 avcodec/codec_internal: Add FFCodec, hide internal part of AVCodec
Up until now, codec.h contains both public and private parts
of AVCodec. This exposes the internals of AVCodec to users
and leads them into the temptation of actually using them
and forces us to forward-declare structures and types that
users can't use at all.

This commit changes this by adding a new structure FFCodec to
codec_internal.h that extends AVCodec, i.e. contains the public
AVCodec as first member; the private fields of AVCodec are moved
to this structure, leaving codec.h clean.

Reviewed-by: Anton Khirnov <anton@khirnov.net>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
2022-03-21 01:33:09 +01:00
..
aarch64 avcodec/avcodec: Don't include cpu.h 2021-07-22 12:59:07 +02:00
arm avcodec/avcodec: Don't include cpu.h 2021-07-22 12:59:07 +02:00
ppc avcodec/avcodec: Don't include cpu.h 2021-07-22 12:59:07 +02:00
x86 configure: Use a separate config_components.h header for $ALL_COMPONENTS 2022-03-16 14:12:49 +02:00
.gitignore avcodec/tests: Update .gitignore file 2021-12-16 12:25:55 +01:00
avcodec.c avcodec/codec_internal: Add FFCodec, hide internal part of AVCodec 2022-03-21 01:33:09 +01:00
avfft.c
avpacket.c avcodec/tests/avpacket: use av_packet_alloc() to allocate packets 2021-03-17 15:06:48 -03:00
cabac.c Remove unnecessary libavutil/(avutil|common|internal).h inclusions 2022-02-24 12:56:49 +01:00
celp_math.c
codec_desc.c
dct.c configure: Use a separate config_components.h header for $ALL_COMPONENTS 2022-03-16 14:12:49 +02:00
fft-fixed32.c avcodec: Remove the FFT_FIXED_32 define 2021-08-05 19:46:33 +02:00
fft.c avutil/avassert: Don't include avutil.h 2022-02-24 12:56:49 +01:00
golomb.c avcodec/golomb: Factor writing golomb codes out 2022-01-06 08:28:02 +01:00
h264_levels.c
h265_levels.c
htmlsubtitles.c
iirfilter.c
jpeg2000dwt.c Remove unnecessary libavutil/(avutil|common|internal).h inclusions 2022-02-24 12:56:49 +01:00
mathops.c
mjpegenc_huffman.c
motion.c avcodec/avcodec: Don't include cpu.h 2021-07-22 12:59:07 +02:00
mpeg12framerate.c
rangecoder.c Remove unnecessary libavutil/(avutil|common|internal).h inclusions 2022-02-24 12:56:49 +01:00
snowenc.c Replace all occurences of av_mallocz_array() by av_calloc() 2021-09-20 01:03:52 +02:00