1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-12 19:18:44 +02:00
FFmpeg/tools
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
..
python avfilter/dnn/dnn_backend_tf: simplify the code with ff_hex_to_data 2021-04-29 20:02:29 +08:00
.gitignore
aviocat.c
bisect-create
bookmarklets.html
cl2c
clean-diff
coverity.c
crypto_bench.c
cws2fws.c tools/cws2fws: Check read() for failure 2021-07-03 18:03:35 +02:00
decode_simple.c tools/venc_data_dump: factor out demux/decode code 2021-08-08 19:21:39 +02:00
decode_simple.h tools/venc_data_dump: factor out demux/decode code 2021-08-08 19:21:39 +02:00
dvd2concat tools/dvd2concat: generate VOBSUB extradata 2021-09-16 10:17:59 +02:00
enum_options.c tools/enum_options: fix build and add to Makefile 2020-11-20 15:20:24 +01:00
ffescape.c avutil/log: Don't include avutil.h 2022-02-24 12:56:49 +01:00
ffeval.c
ffhash.c Remove unnecessary mem.h inclusions 2021-07-22 14:47:57 +02:00
fourcc2pixfmt.c
gen-rc libavresample: Remove deprecated library 2021-04-27 10:43:13 -03:00
graph2dot.c tools: convert to new channel layout-API 2022-03-15 09:42:47 -03:00
ismindex.c tools: convert to new channel layout-API 2022-03-15 09:42:47 -03:00
libav-merge-next-commit
loudnorm.rb
make_chlayout_test
Makefile FATE: add a test for sliced scaling 2021-08-08 19:26:05 +02:00
missing_codec_desc
murge
normalize.py
patcheck
pktdumper.c tools/pktdumper: use av_packet_alloc() to allocate packets 2021-03-17 15:19:36 -03:00
plotframes
probetest.c
qt-faststart.c
scale_slice_test.c FATE: add a test for sliced scaling 2021-08-08 19:26:05 +02:00
seek_print.c
sidxindex.c tools: convert to new channel layout-API 2022-03-15 09:42:47 -03:00
sofa2wavs.c
target_bsf_fuzzer.c tools/target_{bsf,dec}_fuzzer: convert to new channel layout-API 2022-03-15 09:42:47 -03:00
target_dec_fate.list
target_dec_fate.sh
target_dec_fuzzer.c avcodec/codec_internal: Add FFCodec, hide internal part of AVCodec 2022-03-21 01:33:09 +01:00
target_dem_fuzzer.c tools/target_dem_fuzzer: Check fmt before dereferencing 2022-02-25 22:23:03 +01:00
trasher.c
uncoded_frame.c tools: convert to new channel layout-API 2022-03-15 09:42:47 -03:00
unwrap-diff
venc_data_dump.c tools/venc_data_dump: factor out demux/decode code 2021-08-08 19:21:39 +02:00
yuvcmp.c
zmqsend.c
zmqshell.py