Also move FF_CODEC_TAGS_END as well as struct AVCodecDefault. This reduces the amount of files that have to include internal.h (which comes with quite a lot of indirect inclusions), as e.g. most encoders don't need it. It is furthemore in preparation for moving the private part of AVCodec out of the public codec.h.
Unified · Split
| @@ -21,6 +21,7 @@ · 20 unmodified lines | ||
| 21 | 21 | */ |
| 22 | 22 | |
| 23 | 23 | #include "avcodec.h" |
| 24 | +#include "codec_internal.h" | |
| 24 | 25 | #include "internal.h" |
| 25 | 26 | #include "libavutil/intreadwrite.h" |
| 26 | 27 | |
| @@ -36,6 +36,7 @@ · 35 unmodified lines | ||
| 36 | 36 | #include "blockdsp.h" |
| 37 | 37 | #include "bswapdsp.h" |
| 38 | 38 | #include "bytestream.h" |
| 39 | +#include "codec_internal.h" | |
| 39 | 40 | #include "get_bits.h" |
| 40 | 41 | #include "internal.h" |
| 41 | 42 | |
| @@ -37,6 +37,7 @@ · 36 unmodified lines | ||
| 37 | 37 | #include "libavutil/internal.h" |
| 38 | 38 | #include "libavutil/intreadwrite.h" |
| 39 | 39 | #include "avcodec.h" |
| 40 | +#include "codec_internal.h" | |
| 40 | 41 | #include "decode.h" |
| 41 | 42 | #include "internal.h" |
| 42 | 43 | |
| @@ -41,6 +41,7 @@ · 40 unmodified lines | ||
| 41 | 41 | |
| 42 | 42 | #include "libavutil/avassert.h" |
| 43 | 43 | #include "avcodec.h" |
| 44 | +#include "codec_internal.h" | |
| 44 | 45 | #include "internal.h" |
| 45 | 46 | #include "libavutil/common.h" |
| 46 | 47 | |
| @@ -28,9 +28,9 @@ · 27 unmodified lines | ||
| 28 | 28 | |
| 29 | 29 | #include "a64colors.h" |
| 30 | 30 | #include "a64tables.h" |
| 31 | +#include "codec_internal.h" | |
| 31 | 32 | #include "elbg.h" |
| 32 | 33 | #include "encode.h" |
| 33 | −#include "internal.h" | |
| 34 | 34 | #include "libavutil/avassert.h" |
| 35 | 35 | #include "libavutil/common.h" |
| 36 | 36 | #include "libavutil/intreadwrite.h" |
| @@ -38,7 +38,7 @@ · 37 unmodified lines | ||
| 38 | 38 | #include "libavutil/float_dsp.h" |
| 39 | 39 | #include "libavutil/opt.h" |
| 40 | 40 | #include "avcodec.h" |
| 41 | −#include "internal.h" | |
| 41 | +#include "codec_internal.h" | |
| 42 | 42 | #include "get_bits.h" |
| 43 | 43 | #include "fft.h" |
| 44 | 44 | #include "mdct15.h" |
| @@ -64,7 +64,7 @@ · 63 unmodified lines | ||
| 64 | 64 | #include "libavutil/fixed_dsp.h" |
| 65 | 65 | #include "libavutil/opt.h" |
| 66 | 66 | #include "avcodec.h" |
| 67 | −#include "internal.h" | |
| 67 | +#include "codec_internal.h" | |
| 68 | 68 | #include "get_bits.h" |
| 69 | 69 | #include "fft.h" |
| 70 | 70 | #include "lpc.h" |
| @@ -91,6 +91,7 @@ · 90 unmodified lines | ||
| 91 | 91 | |
| 92 | 92 | #include "libavutil/channel_layout.h" |
| 93 | 93 | #include "libavutil/thread.h" |
| 94 | +#include "internal.h" | |
| 94 | 95 | |
| 95 | 96 | static VLC vlc_scalefactors; |
| 96 | 97 | static VLC vlc_spectral[11]; |
| @@ -35,9 +35,9 @@ · 34 unmodified lines | ||
| 35 | 35 | #include "libavutil/float_dsp.h" |
| 36 | 36 | #include "libavutil/opt.h" |
| 37 | 37 | #include "avcodec.h" |
| 38 | +#include "codec_internal.h" | |
| 38 | 39 | #include "encode.h" |
| 39 | 40 | #include "put_bits.h" |
| 40 | −#include "internal.h" | |
| 41 | 41 | #include "mpeg4audio.h" |
| 42 | 42 | #include "sinewin.h" |
| 43 | 43 | #include "profiles.h" |
| @@ -29,6 +29,7 @@ · 28 unmodified lines | ||
| 29 | 29 | #include <string.h> |
| 30 | 30 | |
| 31 | 31 | #include "avcodec.h" |
| 32 | +#include "codec_internal.h" | |
| 32 | 33 | #include "internal.h" |
| 33 | 34 | #include "msrledec.h" |
| 34 | 35 | |
| @@ -50,6 +50,7 @@ · 49 unmodified lines | ||
| 50 | 50 | #define FFT_FLOAT 0 |
| 51 | 51 | #define USE_FIXED 1 |
| 52 | 52 | #include "ac3dec.h" |
| 53 | +#include "codec_internal.h" | |
| 53 | 54 | |
| 54 | 55 | |
| 55 | 56 | static const int end_freq_inv_tab[8] = |
| @@ -31,6 +31,7 @@ · 30 unmodified lines | ||
| 31 | 31 | #include "config_components.h" |
| 32 | 32 | |
| 33 | 33 | #include "ac3dec.h" |
| 34 | +#include "codec_internal.h" | |
| 34 | 35 | #include "eac3dec.c" |
| 35 | 36 | #include "ac3dec.c" |
| 36 | 37 | |
| @@ -38,6 +38,7 @@ · 37 unmodified lines | ||
| 38 | 38 | #include "libavutil/opt.h" |
| 39 | 39 | #include "libavutil/thread.h" |
| 40 | 40 | #include "avcodec.h" |
| 41 | +#include "codec_internal.h" | |
| 41 | 42 | #include "config_components.h" |
| 42 | 43 | #include "encode.h" |
| 43 | 44 | #include "internal.h" |
| @@ -34,8 +34,8 @@ · 33 unmodified lines | ||
| 34 | 34 | #include "ac3.h" |
| 35 | 35 | #include "ac3dsp.h" |
| 36 | 36 | #include "avcodec.h" |
| 37 | +#include "codec_internal.h" | |
| 37 | 38 | #include "fft.h" |
| 38 | −#include "internal.h" | |
| 39 | 39 | #include "mathops.h" |
| 40 | 40 | #include "me_cmp.h" |
| 41 | 41 | #include "put_bits.h" |
| @@ -28,9 +28,9 @@ · 27 unmodified lines | ||
| 28 | 28 | |
| 29 | 29 | #define AC3ENC_FLOAT 0 |
| 30 | 30 | #define FFT_FLOAT 0 |
| 31 | −#include "internal.h" | |
| 32 | 31 | #include "audiodsp.h" |
| 33 | 32 | #include "ac3enc.h" |
| 33 | +#include "codec_internal.h" | |
| 34 | 34 | #include "eac3enc.h" |
| 35 | 35 | #include "kbdwin.h" |
| 36 | 36 | |
| @@ -27,9 +27,9 @@ · 26 unmodified lines | ||
| 27 | 27 | */ |
| 28 | 28 | |
| 29 | 29 | #define AC3ENC_FLOAT 1 |
| 30 | −#include "internal.h" | |
| 31 | 30 | #include "audiodsp.h" |
| 32 | 31 | #include "ac3enc.h" |
| 32 | +#include "codec_internal.h" | |
| 33 | 33 | #include "eac3enc.h" |
| 34 | 34 | #include "kbdwin.h" |
| 35 | 35 | |
| @@ -35,7 +35,6 @@ · 34 unmodified lines | ||
| 35 | 35 | #include "libavutil/mem_internal.h" |
| 36 | 36 | |
| 37 | 37 | #include "audiodsp.h" |
| 38 | −#include "internal.h" | |
| 39 | 38 | #include "ac3enc.h" |
| 40 | 39 | #include "eac3enc.h" |
| 41 | 40 | |
| @@ -42,6 +42,7 @@ · 41 unmodified lines | ||
| 42 | 42 | #include "bytestream.h" |
| 43 | 43 | #include "adpcm.h" |
| 44 | 44 | #include "adpcm_data.h" |
| 45 | +#include "codec_internal.h" | |
| 45 | 46 | #include "internal.h" |
| 46 | 47 | |
| 47 | 48 | /** |
| @@ -31,8 +31,8 @@ · 30 unmodified lines | ||
| 31 | 31 | #include "bytestream.h" |
| 32 | 32 | #include "adpcm.h" |
| 33 | 33 | #include "adpcm_data.h" |
| 34 | +#include "codec_internal.h" | |
| 34 | 35 | #include "encode.h" |
| 35 | −#include "internal.h" | |
| 36 | 36 | |
| 37 | 37 | /** |
| 38 | 38 | * @file |
| @@ -22,6 +22,7 @@ · 21 unmodified lines | ||
| 22 | 22 | #include "libavutil/intreadwrite.h" |
| 23 | 23 | #include "avcodec.h" |
| 24 | 24 | #include "adx.h" |
| 25 | +#include "codec_internal.h" | |
| 25 | 26 | #include "get_bits.h" |
| 26 | 27 | #include "internal.h" |
| 27 | 28 | |
| @@ -22,8 +22,8 @@ · 21 unmodified lines | ||
| 22 | 22 | #include "avcodec.h" |
| 23 | 23 | #include "adx.h" |
| 24 | 24 | #include "bytestream.h" |
| 25 | +#include "codec_internal.h" | |
| 25 | 26 | #include "encode.h" |
| 26 | −#include "internal.h" | |
| 27 | 27 | #include "put_bits.h" |
| 28 | 28 | |
| 29 | 29 | /** |
| @@ -30,6 +30,7 @@ · 29 unmodified lines | ||
| 30 | 30 | |
| 31 | 31 | #include "avcodec.h" |
| 32 | 32 | #include "bytestream.h" |
| 33 | +#include "codec_internal.h" | |
| 33 | 34 | #include "copy_block.h" |
| 34 | 35 | #include "get_bits.h" |
| 35 | 36 | #include "idctdsp.h" |
| @@ -26,7 +26,7 @@ · 25 unmodified lines | ||
| 26 | 26 | |
| 27 | 27 | #include "avcodec.h" |
| 28 | 28 | #include "bytestream.h" |
| 29 | −#include "internal.h" | |
| 29 | +#include "codec_internal.h" | |
| 30 | 30 | #include "get_bits.h" |
| 31 | 31 | #include "golomb.h" |
| 32 | 32 | #include "idctdsp.h" |
| @@ -52,7 +52,7 @@ · 51 unmodified lines | ||
| 52 | 52 | #include "avcodec.h" |
| 53 | 53 | #include "get_bits.h" |
| 54 | 54 | #include "bytestream.h" |
| 55 | −#include "internal.h" | |
| 55 | +#include "codec_internal.h" | |
| 56 | 56 | #include "thread.h" |
| 57 | 57 | #include "unary.h" |
| 58 | 58 | #include "mathops.h" |
| @@ -22,9 +22,9 @@ · 21 unmodified lines | ||
| 22 | 22 | #include "libavutil/opt.h" |
| 23 | 23 | |
| 24 | 24 | #include "avcodec.h" |
| 25 | +#include "codec_internal.h" | |
| 25 | 26 | #include "encode.h" |
| 26 | 27 | #include "put_bits.h" |
| 27 | −#include "internal.h" | |
| 28 | 28 | #include "lpc.h" |
| 29 | 29 | #include "mathops.h" |
| 30 | 30 | #include "alac_data.h" |
| @@ -33,6 +33,7 @@ · 32 unmodified lines | ||
| 33 | 33 | #include "mpeg4audio.h" |
| 34 | 34 | #include "bgmc.h" |
| 35 | 35 | #include "bswapdsp.h" |
| 36 | +#include "codec_internal.h" | |
| 36 | 37 | #include "internal.h" |
| 37 | 38 | #include "mlz.h" |
| 38 | 39 | #include "libavutil/samplefmt.h" |
| @@ -20,6 +20,7 @@ · 19 unmodified lines | ||
| 20 | 20 | #include "libavutil/internal.h" |
| 21 | 21 | #include "libavutil/opt.h" |
| 22 | 22 | #include "amfenc.h" |
| 23 | +#include "codec_internal.h" | |
| 23 | 24 | #include "internal.h" |
| 24 | 25 | |
| 25 | 26 | #define OFFSET(x) offsetof(AmfContext, x) |
| @@ -19,6 +19,7 @@ · 18 unmodified lines | ||
| 19 | 19 | #include "libavutil/internal.h" |
| 20 | 20 | #include "libavutil/opt.h" |
| 21 | 21 | #include "amfenc.h" |
| 22 | +#include "codec_internal.h" | |
| 22 | 23 | #include "internal.h" |
| 23 | 24 | |
| 24 | 25 | #define OFFSET(x) offsetof(AmfContext, x) |
| @@ -55,6 +55,7 @@ · 54 unmodified lines | ||
| 55 | 55 | #include "acelp_pitch_delay.h" |
| 56 | 56 | #include "lsp.h" |
| 57 | 57 | #include "amr.h" |
| 58 | +#include "codec_internal.h" | |
| 58 | 59 | #include "internal.h" |
| 59 | 60 | |
| 60 | 61 | #include "amrnbdata.h" |
| @@ -36,6 +36,7 @@ · 35 unmodified lines | ||
| 36 | 36 | #include "acelp_filters.h" |
| 37 | 37 | #include "acelp_vectors.h" |
| 38 | 38 | #include "acelp_pitch_delay.h" |
| 39 | +#include "codec_internal.h" | |
| 39 | 40 | #include "internal.h" |
| 40 | 41 | |
| 41 | 42 | #define AMR_USE_16BIT_TABLES |
| @@ -26,6 +26,7 @@ · 25 unmodified lines | ||
| 26 | 26 | |
| 27 | 27 | #include "avcodec.h" |
| 28 | 28 | #include "bytestream.h" |
| 29 | +#include "codec_internal.h" | |
| 29 | 30 | #include "internal.h" |
| 30 | 31 | |
| 31 | 32 | typedef struct AnmContext { |
| @@ -30,6 +30,7 @@ · 29 unmodified lines | ||
| 30 | 30 | #include "libavutil/xga_font_data.h" |
| 31 | 31 | #include "avcodec.h" |
| 32 | 32 | #include "cga_data.h" |
| 33 | +#include "codec_internal.h" | |
| 33 | 34 | #include "internal.h" |
| 34 | 35 | |
| 35 | 36 | #define ATTR_BOLD 0x01 /**< Bold/Bright-foreground (mode 1) */ |
| @@ -30,6 +30,7 @@ · 29 unmodified lines | ||
| 30 | 30 | #include "avcodec.h" |
| 31 | 31 | #include "bswapdsp.h" |
| 32 | 32 | #include "bytestream.h" |
| 33 | +#include "codec_internal.h" | |
| 33 | 34 | #include "internal.h" |
| 34 | 35 | #include "get_bits.h" |
| 35 | 36 | #include "unary.h" |
| @@ -21,6 +21,7 @@ · 20 unmodified lines | ||
| 21 | 21 | */ |
| 22 | 22 | |
| 23 | 23 | #include "aptx.h" |
| 24 | +#include "internal.h" | |
| 24 | 25 | |
| 25 | 26 | |
| 26 | 27 | static const int32_t quantize_intervals_LF[65] = { |
| @@ -25,7 +25,6 @@ · 24 unmodified lines | ||
| 25 | 25 | |
| 26 | 26 | #include "libavutil/intreadwrite.h" |
| 27 | 27 | #include "avcodec.h" |
| 28 | −#include "internal.h" | |
| 29 | 28 | #include "mathops.h" |
| 30 | 29 | #include "audio_frame_queue.h" |
| 31 | 30 | |
| @@ -24,6 +24,8 @@ · 23 unmodified lines | ||
| 24 | 24 | |
| 25 | 25 | #include "libavutil/channel_layout.h" |
| 26 | 26 | #include "aptx.h" |
| 27 | +#include "codec_internal.h" | |
| 28 | +#include "internal.h" | |
| 27 | 29 | |
| 28 | 30 | /* |
| 29 | 31 | * Half-band QMF synthesis filter realized with a polyphase FIR filter. |
| @@ -24,6 +24,7 @@ · 23 unmodified lines | ||
| 24 | 24 | |
| 25 | 25 | #include "libavutil/channel_layout.h" |
| 26 | 26 | #include "aptx.h" |
| 27 | +#include "codec_internal.h" | |
| 27 | 28 | #include "encode.h" |
| 28 | 29 | |
| 29 | 30 | /* |
| @@ -29,6 +29,7 @@ · 28 unmodified lines | ||
| 29 | 29 | |
| 30 | 30 | #include "avcodec.h" |
| 31 | 31 | #include "bytestream.h" |
| 32 | +#include "codec_internal.h" | |
| 32 | 33 | #include "internal.h" |
| 33 | 34 | |
| 34 | 35 | typedef struct ARBCContext { |
| @@ -29,6 +29,7 @@ · 28 unmodified lines | ||
| 29 | 29 | |
| 30 | 30 | #include "avcodec.h" |
| 31 | 31 | #include "bytestream.h" |
| 32 | +#include "codec_internal.h" | |
| 32 | 33 | #include "internal.h" |
| 33 | 34 | |
| 34 | 35 | typedef struct ArgoContext { |
| @@ -23,8 +23,8 @@ · 22 unmodified lines | ||
| 23 | 23 | |
| 24 | 24 | #include "avcodec.h" |
| 25 | 25 | #include "ass.h" |
| 26 | +#include "codec_internal.h" | |
| 26 | 27 | #include "config_components.h" |
| 27 | −#include "internal.h" | |
| 28 | 28 | #include "libavutil/internal.h" |
| 29 | 29 | #include "libavutil/mem.h" |
| 30 | 30 | |
| @@ -25,7 +25,7 @@ · 24 unmodified lines | ||
| 25 | 25 | |
| 26 | 26 | #include "avcodec.h" |
| 27 | 27 | #include "ass.h" |
| 28 | −#include "internal.h" | |
| 28 | +#include "codec_internal.h" | |
| 29 | 29 | #include "libavutil/avstring.h" |
| 30 | 30 | #include "libavutil/internal.h" |
| 31 | 31 | #include "libavutil/mem.h" |
| @@ -30,6 +30,7 @@ · 29 unmodified lines | ||
| 30 | 30 | #include "asv.h" |
| 31 | 31 | #include "avcodec.h" |
| 32 | 32 | #include "blockdsp.h" |
| 33 | +#include "codec_internal.h" | |
| 33 | 34 | #include "config_components.h" |
| 34 | 35 | #include "idctdsp.h" |
| 35 | 36 | #include "internal.h" |
| @@ -31,10 +31,10 @@ · 30 unmodified lines | ||
| 31 | 31 | #include "aandcttab.h" |
| 32 | 32 | #include "asv.h" |
| 33 | 33 | #include "avcodec.h" |
| 34 | +#include "codec_internal.h" | |
| 34 | 35 | #include "dct.h" |
| 35 | 36 | #include "encode.h" |
| 36 | 37 | #include "fdctdsp.h" |
| 37 | −#include "internal.h" | |
| 38 | 38 | #include "mpeg12data.h" |
| 39 | 39 | |
| 40 | 40 | static inline void asv1_put_level(PutBitContext *pb, int level) |
| @@ -36,6 +36,7 @@ · 35 unmodified lines | ||
| 36 | 36 | #include "libavutil/mem_internal.h" |
| 37 | 37 | |
| 38 | 38 | #include "avcodec.h" |
| 39 | +#include "codec_internal.h" | |
| 39 | 40 | #include "get_bits.h" |
| 40 | 41 | #include "fft.h" |
| 41 | 42 | #include "internal.h" |
| @@ -44,6 +44,7 @@ · 43 unmodified lines | ||
| 44 | 44 | |
| 45 | 45 | #include "avcodec.h" |
| 46 | 46 | #include "bytestream.h" |
| 47 | +#include "codec_internal.h" | |
| 47 | 48 | #include "fft.h" |
| 48 | 49 | #include "get_bits.h" |
| 49 | 50 | #include "internal.h" |
| @@ -42,6 +42,7 @@ · 41 unmodified lines | ||
| 42 | 42 | #include "libavutil/mem_internal.h" |
| 43 | 43 | #include "libavutil/thread.h" |
| 44 | 44 | #include "avcodec.h" |
| 45 | +#include "codec_internal.h" | |
| 45 | 46 | #include "get_bits.h" |
| 46 | 47 | #include "internal.h" |
| 47 | 48 | #include "atrac.h" |
| @@ -22,6 +22,7 @@ · 21 unmodified lines | ||
| 22 | 22 | #include "libavutil/channel_layout.h" |
| 23 | 23 | #include "libavutil/thread.h" |
| 24 | 24 | |
| 25 | +#include "codec_internal.h" | |
| 25 | 26 | #include "internal.h" |
| 26 | 27 | #include "get_bits.h" |
| 27 | 28 | #include "fft.h" |
| @@ -27,6 +27,7 @@ · 26 unmodified lines | ||
| 27 | 27 | #include "avcodec.h" |
| 28 | 28 | #include "ac3_parser_internal.h" |
| 29 | 29 | #include "bytestream.h" |
| 30 | +#include "codec_internal.h" | |
| 30 | 31 | #include "internal.h" |
| 31 | 32 | #include "mpegaudiodecheader.h" |
| 32 | 33 | #include "libavutil/avassert.h" |
| @@ -29,6 +29,7 @@ · 28 unmodified lines | ||
| 29 | 29 | #include "audio_frame_queue.h" |
| 30 | 30 | #include "avcodec.h" |
| 31 | 31 | #include "bytestream.h" |
| 32 | +#include "codec_internal.h" | |
| 32 | 33 | #include "encode.h" |
| 33 | 34 | #include "internal.h" |
| 34 | 35 | #include "libavformat/isom.h" |
| @@ -24,6 +24,7 @@ · 23 unmodified lines | ||
| 24 | 24 | */ |
| 25 | 25 | |
| 26 | 26 | #include "avcodec.h" |
| 27 | +#include "codec_internal.h" | |
| 27 | 28 | #include "internal.h" |
| 28 | 29 | #include "libavutil/internal.h" |
| 29 | 30 | |
| @@ -26,6 +26,7 @@ · 25 unmodified lines | ||
| 26 | 26 | #include "avcodec.h" |
| 27 | 27 | #include "av1dec.h" |
| 28 | 28 | #include "bytestream.h" |
| 29 | +#include "codec_internal.h" | |
| 29 | 30 | #include "hwconfig.h" |
| 30 | 31 | #include "internal.h" |
| 31 | 32 | #include "profiles.h" |
| @@ -34,6 +34,7 @@ · 33 unmodified lines | ||
| 34 | 34 | #include "libavutil/thread.h" |
| 35 | 35 | #include "avcodec.h" |
| 36 | 36 | #include "bsf.h" |
| 37 | +#include "codec_internal.h" | |
| 37 | 38 | #include "decode.h" |
| 38 | 39 | #include "encode.h" |
| 39 | 40 | #include "frame_thread_encoder.h" |
| @@ -20,6 +20,7 @@ · 19 unmodified lines | ||
| 20 | 20 | */ |
| 21 | 21 | |
| 22 | 22 | #include "avcodec.h" |
| 23 | +#include "codec_internal.h" | |
| 23 | 24 | #include "internal.h" |
| 24 | 25 | #include "libavutil/imgutils.h" |
| 25 | 26 | |
| @@ -20,6 +20,7 @@ · 19 unmodified lines | ||
| 20 | 20 | */ |
| 21 | 21 | |
| 22 | 22 | #include "avcodec.h" |
| 23 | +#include "codec_internal.h" | |
| 23 | 24 | #include "get_bits.h" |
| 24 | 25 | #include "internal.h" |
| 25 | 26 | |
| @@ -21,6 +21,7 @@ · 20 unmodified lines | ||
| 21 | 21 | */ |
| 22 | 22 | |
| 23 | 23 | #include "avcodec.h" |
| 24 | +#include "codec_internal.h" | |
| 24 | 25 | #include "internal.h" |
| 25 | 26 | #include "libavutil/intreadwrite.h" |
| 26 | 27 | |
| @@ -21,8 +21,8 @@ · 20 unmodified lines | ||
| 21 | 21 | */ |
| 22 | 22 | |
| 23 | 23 | #include "avcodec.h" |
| 24 | +#include "codec_internal.h" | |
| 24 | 25 | #include "encode.h" |
| 25 | −#include "internal.h" | |
| 26 | 26 | #include "libavutil/intreadwrite.h" |
| 27 | 27 | |
| 28 | 28 | static av_cold int avui_encode_init(AVCodecContext *avctx) |
| @@ -31,6 +31,7 @@ · 30 unmodified lines | ||
| 31 | 31 | #include "avcodec.h" |
| 32 | 32 | #include "bethsoftvideo.h" |
| 33 | 33 | #include "bytestream.h" |
| 34 | +#include "codec_internal.h" | |
| 34 | 35 | #include "internal.h" |
| 35 | 36 | |
| 36 | 37 | typedef struct BethsoftvidContext { |
| @@ -29,6 +29,7 @@ · 28 unmodified lines | ||
| 29 | 29 | #include "libavutil/common.h" |
| 30 | 30 | #include "avcodec.h" |
| 31 | 31 | #include "bytestream.h" |
| 32 | +#include "codec_internal.h" | |
| 32 | 33 | #include "internal.h" |
| 33 | 34 | |
| 34 | 35 | typedef struct BFIContext { |
| @@ -31,6 +31,7 @@ · 30 unmodified lines | ||
| 31 | 31 | #include "binkdata.h" |
| 32 | 32 | #include "binkdsp.h" |
| 33 | 33 | #include "blockdsp.h" |
| 34 | +#include "codec_internal.h" | |
| 34 | 35 | #include "get_bits.h" |
| 35 | 36 | #include "hpeldsp.h" |
| 36 | 37 | #include "internal.h" |
| @@ -39,6 +39,7 @@ · 38 unmodified lines | ||
| 39 | 39 | #include "dct.h" |
| 40 | 40 | #include "decode.h" |
| 41 | 41 | #include "get_bits.h" |
| 42 | +#include "codec_internal.h" | |
| 42 | 43 | #include "internal.h" |
| 43 | 44 | #include "rdft.h" |
| 44 | 45 | #include "wma_freqs.h" |
| @@ -35,6 +35,7 @@ · 34 unmodified lines | ||
| 35 | 35 | #include "avcodec.h" |
| 36 | 36 | #include "cga_data.h" |
| 37 | 37 | #include "bintext.h" |
| 38 | +#include "codec_internal.h" | |
| 38 | 39 | #include "internal.h" |
| 39 | 40 | |
| 40 | 41 | #define FONT_WIDTH 8 |
| @@ -27,7 +27,7 @@ · 26 unmodified lines | ||
| 27 | 27 | */ |
| 28 | 28 | |
| 29 | 29 | #include "avcodec.h" |
| 30 | −#include "internal.h" | |
| 30 | +#include "codec_internal.h" | |
| 31 | 31 | #include "get_bits.h" |
| 32 | 32 | #include "libavutil/imgutils.h" |
| 33 | 33 | #include "thread.h" |
| @@ -21,6 +21,7 @@ · 20 unmodified lines | ||
| 21 | 21 | */ |
| 22 | 22 | |
| 23 | 23 | #include "avcodec.h" |
| 24 | +#include "codec_internal.h" | |
| 24 | 25 | #include "encode.h" |
| 25 | 26 | #include "internal.h" |
| 26 | 27 | #include "put_bits.h" |
| @@ -27,8 +27,8 @@ · 26 unmodified lines | ||
| 27 | 27 | #include "avcodec.h" |
| 28 | 28 | #include "bytestream.h" |
| 29 | 29 | #include "bmp.h" |
| 30 | +#include "codec_internal.h" | |
| 30 | 31 | #include "encode.h" |
| 31 | −#include "internal.h" | |
| 32 | 32 | |
| 33 | 33 | static const uint32_t monoblack_pal[] = { 0x000000, 0xFFFFFF }; |
| 34 | 34 | static const uint32_t rgb565_masks[] = { 0xF800, 0x07E0, 0x001F }; |
| @@ -23,6 +23,7 @@ · 22 unmodified lines | ||
| 23 | 23 | #include "libavutil/common.h" |
| 24 | 24 | |
| 25 | 25 | #include "avcodec.h" |
| 26 | +#include "codec_internal.h" | |
| 26 | 27 | #include "internal.h" |
| 27 | 28 | |
| 28 | 29 | static const int bmv_aud_mults[16] = { |
| @@ -24,6 +24,7 @@ · 23 unmodified lines | ||
| 24 | 24 | |
| 25 | 25 | #include "avcodec.h" |
| 26 | 26 | #include "bytestream.h" |
| 27 | +#include "codec_internal.h" | |
| 27 | 28 | #include "internal.h" |
| 28 | 29 | |
| 29 | 30 | enum BMVFlags{ |
| @@ -21,6 +21,7 @@ · 20 unmodified lines | ||
| 21 | 21 | |
| 22 | 22 | #include "avcodec.h" |
| 23 | 23 | #include "bytestream.h" |
| 24 | +#include "codec_internal.h" | |
| 24 | 25 | #include "internal.h" |
| 25 | 26 | |
| 26 | 27 | typedef struct C93DecoderContext { |
| @@ -30,6 +30,7 @@ · 29 unmodified lines | ||
| 30 | 30 | #include "get_bits.h" |
| 31 | 31 | #include "golomb.h" |
| 32 | 32 | #include "cavs.h" |
| 33 | +#include "codec_internal.h" | |
| 33 | 34 | #include "internal.h" |
| 34 | 35 | #include "mpeg12data.h" |
| 35 | 36 | #include "startcode.h" |
| @@ -21,7 +21,7 @@ · 20 unmodified lines | ||
| 21 | 21 | |
| 22 | 22 | #include "avcodec.h" |
| 23 | 23 | #include "ass.h" |
| 24 | −#include "internal.h" | |
| 24 | +#include "codec_internal.h" | |
| 25 | 25 | #include "libavutil/opt.h" |
| 26 | 26 | |
| 27 | 27 | #define SCREEN_ROWS 15 |
| @@ -21,6 +21,7 @@ · 20 unmodified lines | ||
| 21 | 21 | |
| 22 | 22 | #include "avcodec.h" |
| 23 | 23 | #include "bytestream.h" |
| 24 | +#include "codec_internal.h" | |
| 24 | 25 | #include "internal.h" |
| 25 | 26 | |
| 26 | 27 | /** |
| @@ -31,6 +31,7 @@ · 30 unmodified lines | ||
| 31 | 31 | #include "libavutil/internal.h" |
| 32 | 32 | #include "avcodec.h" |
| 33 | 33 | #include "bytestream.h" |
| 34 | +#include "codec_internal.h" | |
| 34 | 35 | #include "internal.h" |
| 35 | 36 | |
| 36 | 37 | #define CDTOONS_HEADER_SIZE 44 |
| @@ -31,6 +31,7 @@ · 30 unmodified lines | ||
| 31 | 31 | #include "libavutil/imgutils.h" |
| 32 | 32 | #include "avcodec.h" |
| 33 | 33 | #include "bytestream.h" |
| 34 | +#include "codec_internal.h" | |
| 34 | 35 | #include "get_bits.h" |
| 35 | 36 | #include "internal.h" |
| 36 | 37 | |
| @@ -32,6 +32,7 @@ · 31 unmodified lines | ||
| 32 | 32 | |
| 33 | 33 | #include "avcodec.h" |
| 34 | 34 | #include "bytestream.h" |
| 35 | +#include "codec_internal.h" | |
| 35 | 36 | #include "get_bits.h" |
| 36 | 37 | #include "internal.h" |
| 37 | 38 | #include "thread.h" |
| @@ -33,9 +33,9 @@ · 32 unmodified lines | ||
| 33 | 33 | #include "bytestream.h" |
| 34 | 34 | #include "cfhd.h" |
| 35 | 35 | #include "cfhdencdsp.h" |
| 36 | +#include "codec_internal.h" | |
| 36 | 37 | #include "encode.h" |
| 37 | 38 | #include "put_bits.h" |
| 38 | −#include "internal.h" | |
| 39 | 39 | #include "thread.h" |
| 40 | 40 | |
| 41 | 41 | /* Derived from existing tables from decoder */ |
| @@ -40,6 +40,7 @@ · 39 unmodified lines | ||
| 40 | 40 | #include "libavutil/common.h" |
| 41 | 41 | #include "libavutil/intreadwrite.h" |
| 42 | 42 | #include "avcodec.h" |
| 43 | +#include "codec_internal.h" | |
| 43 | 44 | #include "decode.h" |
| 44 | 45 | #include "internal.h" |
| 45 | 46 | |
| @@ -44,9 +44,9 @@ · 43 unmodified lines | ||
| 44 | 44 | #include "libavutil/opt.h" |
| 45 | 45 | |
| 46 | 46 | #include "avcodec.h" |
| 47 | +#include "codec_internal.h" | |
| 47 | 48 | #include "elbg.h" |
| 48 | 49 | #include "encode.h" |
| 49 | −#include "internal.h" | |
| 50 | 50 | |
| 51 | 51 | #define CVID_HEADER_SIZE 10 |
| 52 | 52 | #define STRIP_HEADER_SIZE 12 |
| @@ -29,6 +29,7 @@ · 28 unmodified lines | ||
| 29 | 29 | |
| 30 | 30 | #include "avcodec.h" |
| 31 | 31 | #include "bytestream.h" |
| 32 | +#include "codec_internal.h" | |
| 32 | 33 | #include "get_bits.h" |
| 33 | 34 | #include "idctdsp.h" |
| 34 | 35 | #include "internal.h" |
| @@ -25,6 +25,7 @@ · 24 unmodified lines | ||
| 25 | 25 | */ |
| 26 | 26 | |
| 27 | 27 | #include "avcodec.h" |
| 28 | +#include "codec_internal.h" | |
| 28 | 29 | #include "get_bits.h" |
| 29 | 30 | #include "internal.h" |
| 30 | 31 | |
| @@ -27,7 +27,7 @@ · 26 unmodified lines | ||
| 27 | 27 | #include "canopus.h" |
| 28 | 28 | #include "get_bits.h" |
| 29 | 29 | #include "avcodec.h" |
| 30 | −#include "internal.h" | |
| 30 | +#include "codec_internal.h" | |
| 31 | 31 | #include "thread.h" |
| 32 | 32 | |
| 33 | 33 | #define VLC_BITS 7 |
| @@ -26,6 +26,7 @@ · 25 unmodified lines | ||
| 26 | 26 | #include "libavutil/intreadwrite.h" |
| 27 | 27 | #include "avcodec.h" |
| 28 | 28 | #include "celp_filters.h" |
| 29 | +#include "codec_internal.h" | |
| 29 | 30 | #include "internal.h" |
| 30 | 31 | #include "libavutil/lfg.h" |
| 31 | 32 | |
| @@ -23,8 +23,8 @@ · 22 unmodified lines | ||
| 23 | 23 | |
| 24 | 24 | #include "libavutil/common.h" |
| 25 | 25 | #include "avcodec.h" |
| 26 | +#include "codec_internal.h" | |
| 26 | 27 | #include "encode.h" |
| 27 | −#include "internal.h" | |
| 28 | 28 | #include "lpc.h" |
| 29 | 29 | |
| 30 | 30 | typedef struct CNGContext { |
| @@ -0,0 +1,82 @@ | ||
| 1 | +/* | |
| 2 | + * This file is part of FFmpeg. | |
| 3 | + * | |
| 4 | + * FFmpeg is free software; you can redistribute it and/or | |
| 5 | + * modify it under the terms of the GNU Lesser General Public | |
| 6 | + * License as published by the Free Software Foundation; either | |
| 7 | + * version 2.1 of the License, or (at your option) any later version. | |
| 8 | + * | |
| 9 | + * FFmpeg is distributed in the hope that it will be useful, | |
| 10 | + * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 11 | + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
| 12 | + * Lesser General Public License for more details. | |
| 13 | + * | |
| 14 | + * You should have received a copy of the GNU Lesser General Public | |
| 15 | + * License along with FFmpeg; if not, write to the Free Software | |
| 16 | + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | |
| 17 | + */ | |
| 18 | + | |
| 19 | +#ifndef AVCODEC_CODEC_INTERNAL_H | |
| 20 | +#define AVCODEC_CODEC_INTERNAL_H | |
| 21 | + | |
| 22 | +/** | |
| 23 | + * The codec does not modify any global variables in the init function, | |
| 24 | + * allowing to call the init function without locking any global mutexes. | |
| 25 | + */ | |
| 26 | +#define FF_CODEC_CAP_INIT_THREADSAFE (1 << 0) | |
| 27 | +/** | |
| 28 | + * The codec allows calling the close function for deallocation even if | |
| 29 | + * the init function returned a failure. Without this capability flag, a | |
| 30 | + * codec does such cleanup internally when returning failures from the | |
| 31 | + * init function and does not expect the close function to be called at | |
| 32 | + * all. | |
| 33 | + */ | |
| 34 | +#define FF_CODEC_CAP_INIT_CLEANUP (1 << 1) | |
| 35 | +/** | |
| 36 | + * Decoders marked with FF_CODEC_CAP_SETS_PKT_DTS want to set | |
| 37 | + * AVFrame.pkt_dts manually. If the flag is set, decode.c won't overwrite | |
| 38 | + * this field. If it's unset, decode.c tries to guess the pkt_dts field | |
| 39 | + * from the input AVPacket. | |
| 40 | + */ | |
| 41 | +#define FF_CODEC_CAP_SETS_PKT_DTS (1 << 2) | |
| 42 | +/** | |
| 43 | + * The decoder extracts and fills its parameters even if the frame is | |
| 44 | + * skipped due to the skip_frame setting. | |
| 45 | + */ | |
| 46 | +#define FF_CODEC_CAP_SKIP_FRAME_FILL_PARAM (1 << 3) | |
| 47 | +/** | |
| 48 | + * The decoder sets the cropping fields in the output frames manually. | |
| 49 | + * If this cap is set, the generic code will initialize output frame | |
| 50 | + * dimensions to coded rather than display values. | |
| 51 | + */ | |
| 52 | +#define FF_CODEC_CAP_EXPORTS_CROPPING (1 << 4) | |
| 53 | +/** | |
| 54 | + * Codec initializes slice-based threading with a main function | |
| 55 | + */ | |
| 56 | +#define FF_CODEC_CAP_SLICE_THREAD_HAS_MF (1 << 5) | |
| 57 | +/* | |
| 58 | + * The codec supports frame threading and has inter-frame dependencies, so it | |
| 59 | + * uses ff_thread_report/await_progress(). | |
| 60 | + */ | |
| 61 | +#define FF_CODEC_CAP_ALLOCATE_PROGRESS (1 << 6) | |
| 62 | +/** | |
| 63 | + * Codec handles avctx->thread_count == 0 (auto) internally. | |
| 64 | + */ | |
| 65 | +#define FF_CODEC_CAP_AUTO_THREADS (1 << 7) | |
| 66 | +/** | |
| 67 | + * Codec handles output frame properties internally instead of letting the | |
| 68 | + * internal logic derive them from AVCodecInternal.last_pkt_props. | |
| 69 | + */ | |
| 70 | +#define FF_CODEC_CAP_SETS_FRAME_PROPS (1 << 8) | |
| 71 | + | |
| 72 | +/** | |
| 73 | + * AVCodec.codec_tags termination value | |
| 74 | + */ | |
| 75 | +#define FF_CODEC_TAGS_END -1 | |
| 76 | + | |
| 77 | +struct AVCodecDefault { | |
| 78 | + const char *key; | |
| 79 | + const char *value; | |
| 80 | +}; | |
| 81 | + | |
| 82 | +#endif /* AVCODEC_CODEC_INTERNAL_H */ | |
| @@ -51,6 +51,7 @@ · 50 unmodified lines | ||
| 51 | 51 | #include "avcodec.h" |
| 52 | 52 | #include "get_bits.h" |
| 53 | 53 | #include "bytestream.h" |
| 54 | +#include "codec_internal.h" | |
| 54 | 55 | #include "fft.h" |
| 55 | 56 | #include "internal.h" |
| 56 | 57 | #include "sinewin.h" |
| @@ -23,6 +23,7 @@ · 22 unmodified lines | ||
| 23 | 23 | */ |
| 24 | 24 | |
| 25 | 25 | #include "avcodec.h" |
| 26 | +#include "codec_internal.h" | |
| 26 | 27 | #include "get_bits.h" |
| 27 | 28 | #include "internal.h" |
| 28 | 29 | |
| @@ -31,6 +31,7 @@ · 30 unmodified lines | ||
| 31 | 31 | #include "libavutil/display.h" |
| 32 | 32 | #include "avcodec.h" |
| 33 | 33 | #include "bytestream.h" |
| 34 | +#include "codec_internal.h" | |
| 34 | 35 | #include "get_bits.h" |
| 35 | 36 | #include "internal.h" |
| 36 | 37 | #include "thread.h" |
| @@ -57,6 +57,7 @@ · 56 unmodified lines | ||
| 57 | 57 | #include <libcrystalhd/libcrystalhd_if.h> |
| 58 | 58 | |
| 59 | 59 | #include "avcodec.h" |
| 60 | +#include "codec_internal.h" | |
| 60 | 61 | #include "decode.h" |
| 61 | 62 | #include "internal.h" |
| 62 | 63 | #include "libavutil/imgutils.h" |
| @@ -22,6 +22,7 @@ · 21 unmodified lines | ||
| 22 | 22 | #include <stdlib.h> |
| 23 | 23 | |
| 24 | 24 | #include "avcodec.h" |
| 25 | +#include "codec_internal.h" | |
| 25 | 26 | #include "internal.h" |
| 26 | 27 | #include "libavutil/common.h" |
| 27 | 28 | |
| @@ -34,6 +34,7 @@ · 33 unmodified lines | ||
| 34 | 34 | #include "libavutil/pixdesc.h" |
| 35 | 35 | |
| 36 | 36 | #include "avcodec.h" |
| 37 | +#include "codec_internal.h" | |
| 37 | 38 | #include "decode.h" |
| 38 | 39 | #include "hwconfig.h" |
| 39 | 40 | #include "nvdec.h" |
| @@ -35,6 +35,7 @@ · 34 unmodified lines | ||
| 35 | 35 | #include <string.h> |
| 36 | 36 | |
| 37 | 37 | #include "avcodec.h" |
| 38 | +#include "codec_internal.h" | |
| 38 | 39 | #include "internal.h" |
| 39 | 40 | #include "libavutil/internal.h" |
| 40 | 41 | |
| @@ -22,10 +22,10 @@ · 21 unmodified lines | ||
| 22 | 22 | #include "libavutil/channel_layout.h" |
| 23 | 23 | #include "libavutil/thread.h" |
| 24 | 24 | |
| 25 | +#include "codec_internal.h" | |
| 25 | 26 | #include "dcadec.h" |
| 26 | 27 | #include "dcahuff.h" |
| 27 | 28 | #include "dca_syncwords.h" |
| 28 | −#include "internal.h" | |
| 29 | 29 | #include "profiles.h" |
| 30 | 30 | |
| 31 | 31 | #define MIN_PACKET_SIZE 16 |
| @@ -30,6 +30,7 @@ · 29 unmodified lines | ||
| 30 | 30 | #include "libavutil/mem_internal.h" |
| 31 | 31 | #include "libavutil/opt.h" |
| 32 | 32 | #include "avcodec.h" |
| 33 | +#include "codec_internal.h" | |
| 33 | 34 | #include "dca.h" |
| 34 | 35 | #include "dcaadpcm.h" |
| 35 | 36 | #include "dcamath.h" |
| @@ -33,6 +33,7 @@ · 32 unmodified lines | ||
| 33 | 33 | |
| 34 | 34 | #include "avcodec.h" |
| 35 | 35 | #include "bytestream.h" |
| 36 | +#include "codec_internal.h" | |
| 36 | 37 | #include "internal.h" |
| 37 | 38 | #include "texturedsp.h" |
| 38 | 39 | #include "thread.h" |
| @@ -42,6 +42,7 @@ · 41 unmodified lines | ||
| 42 | 42 | #include "avcodec.h" |
| 43 | 43 | #include "bytestream.h" |
| 44 | 44 | #include "bsf.h" |
| 45 | +#include "codec_internal.h" | |
| 45 | 46 | #include "decode.h" |
| 46 | 47 | #include "hwconfig.h" |
| 47 | 48 | #include "internal.h" |
| @@ -24,6 +24,7 @@ · 23 unmodified lines | ||
| 24 | 24 | |
| 25 | 25 | #include "avcodec.h" |
| 26 | 26 | #include "bytestream.h" |
| 27 | +#include "codec_internal.h" | |
| 27 | 28 | #include "internal.h" |
| 28 | 29 | |
| 29 | 30 | #include "libavutil/avassert.h" |
| @@ -28,6 +28,7 @@ · 27 unmodified lines | ||
| 28 | 28 | #include "libavutil/internal.h" |
| 29 | 29 | #include "avcodec.h" |
| 30 | 30 | #include "codec_id.h" |
| 31 | +#include "codec_internal.h" | |
| 31 | 32 | #include "internal.h" |
| 32 | 33 | |
| 33 | 34 | typedef struct { |
| @@ -28,8 +28,8 @@ · 27 unmodified lines | ||
| 28 | 28 | #include "libavutil/internal.h" |
| 29 | 29 | #include "avcodec.h" |
| 30 | 30 | #include "codec_id.h" |
| 31 | +#include "codec_internal.h" | |
| 31 | 32 | #include "encode.h" |
| 32 | −#include "internal.h" | |
| 33 | 33 | |
| 34 | 34 | typedef struct { |
| 35 | 35 | int fq, q, s, lt; |
| @@ -32,6 +32,7 @@ · 31 unmodified lines | ||
| 32 | 32 | #include "avcodec.h" |
| 33 | 33 | #include "get_bits.h" |
| 34 | 34 | #include "bytestream.h" |
| 35 | +#include "codec_internal.h" | |
| 35 | 36 | #include "internal.h" |
| 36 | 37 | #include "golomb.h" |
| 37 | 38 | #include "dirac_arith.h" |
| @@ -29,6 +29,7 @@ · 28 unmodified lines | ||
| 29 | 29 | |
| 30 | 30 | #include "avcodec.h" |
| 31 | 31 | #include "blockdsp.h" |
| 32 | +#include "codec_internal.h" | |
| 32 | 33 | #define UNCHECKED_BITSTREAM_READER 1 |
| 33 | 34 | #include "get_bits.h" |
| 34 | 35 | #include "dnxhddata.h" |
| @@ -30,6 +30,7 @@ · 29 unmodified lines | ||
| 30 | 30 | |
| 31 | 31 | #include "avcodec.h" |
| 32 | 32 | #include "blockdsp.h" |
| 33 | +#include "codec_internal.h" | |
| 33 | 34 | #include "encode.h" |
| 34 | 35 | #include "fdctdsp.h" |
| 35 | 36 | #include "internal.h" |
| @@ -25,6 +25,7 @@ · 24 unmodified lines | ||
| 25 | 25 | #include "libavutil/mem_internal.h" |
| 26 | 26 | #include "libavutil/opt.h" |
| 27 | 27 | |
| 28 | +#include "codec_internal.h" | |
| 28 | 29 | #include "internal.h" |
| 29 | 30 | #include "get_bits.h" |
| 30 | 31 | #include "dolby_e.h" |
| @@ -40,6 +40,7 @@ · 39 unmodified lines | ||
| 40 | 40 | #include "libavutil/intreadwrite.h" |
| 41 | 41 | #include "avcodec.h" |
| 42 | 42 | #include "bytestream.h" |
| 43 | +#include "codec_internal.h" | |
| 43 | 44 | #include "internal.h" |
| 44 | 45 | #include "mathops.h" |
| 45 | 46 | |
| @@ -23,8 +23,8 @@ · 22 unmodified lines | ||
| 23 | 23 | #include "libavutil/intreadwrite.h" |
| 24 | 24 | #include "libavutil/imgutils.h" |
| 25 | 25 | #include "avcodec.h" |
| 26 | +#include "codec_internal.h" | |
| 26 | 27 | #include "encode.h" |
| 27 | −#include "internal.h" | |
| 28 | 28 | #include "version.h" |
| 29 | 29 | |
| 30 | 30 | typedef struct DPXContext { |
| @@ -28,6 +28,7 @@ · 27 unmodified lines | ||
| 28 | 28 | |
| 29 | 29 | #include "libavcodec/internal.h" |
| 30 | 30 | #include "avcodec.h" |
| 31 | +#include "codec_internal.h" | |
| 31 | 32 | #include "dsd.h" |
| 32 | 33 | |
| 33 | 34 | #define DSD_SILENCE 0x69 |
| @@ -28,6 +28,7 @@ · 27 unmodified lines | ||
| 28 | 28 | |
| 29 | 29 | #include "avcodec.h" |
| 30 | 30 | #include "bytestream.h" |
| 31 | +#include "codec_internal.h" | |
| 31 | 32 | #include "internal.h" |
| 32 | 33 | #include "mathops.h" |
| 33 | 34 | |
| @@ -26,6 +26,7 @@ · 25 unmodified lines | ||
| 26 | 26 | |
| 27 | 27 | #include "avcodec.h" |
| 28 | 28 | #include "bytestream.h" |
| 29 | +#include "codec_internal.h" | |
| 29 | 30 | #include "internal.h" |
| 30 | 31 | |
| 31 | 32 | typedef enum CinVideoBitmapIndex { |
| @@ -25,6 +25,7 @@ · 24 unmodified lines | ||
| 25 | 25 | #include "libavutil/opt.h" |
| 26 | 26 | |
| 27 | 27 | #include "avcodec.h" |
| 28 | +#include "codec_internal.h" | |
| 28 | 29 | #include "get_bits.h" |
| 29 | 30 | #include "internal.h" |
| 30 | 31 | |
| @@ -27,6 +27,7 @@ · 26 unmodified lines | ||
| 27 | 27 | |
| 28 | 28 | #include "libavutil/intreadwrite.h" |
| 29 | 29 | #include "libavutil/mem_internal.h" |
| 30 | +#include "codec_internal.h" | |
| 30 | 31 | #include "internal.h" |
| 31 | 32 | #include "get_bits.h" |
| 32 | 33 | #include "avcodec.h" |
| @@ -21,6 +21,7 @@ · 20 unmodified lines | ||
| 21 | 21 | #include "libavutil/channel_layout.h" |
| 22 | 22 | #include "libavutil/intreadwrite.h" |
| 23 | 23 | #include "avcodec.h" |
| 24 | +#include "codec_internal.h" | |
| 24 | 25 | #include "internal.h" |
| 25 | 26 | #include "dvaudio.h" |
| 26 | 27 | |
| @@ -22,6 +22,7 @@ · 21 unmodified lines | ||
| 22 | 22 | #include "avcodec.h" |
| 23 | 23 | #include "get_bits.h" |
| 24 | 24 | #include "bytestream.h" |
| 25 | +#include "codec_internal.h" | |
| 25 | 26 | #include "internal.h" |
| 26 | 27 | #include "libavutil/colorspace.h" |
| 27 | 28 | #include "libavutil/imgutils.h" |
| @@ -43,6 +43,7 @@ · 42 unmodified lines | ||
| 43 | 43 | #include "libavutil/thread.h" |
| 44 | 44 | |
| 45 | 45 | #include "avcodec.h" |
| 46 | +#include "codec_internal.h" | |
| 46 | 47 | #include "dv.h" |
| 47 | 48 | #include "dv_profile_internal.h" |
| 48 | 49 | #include "dvdata.h" |
| @@ -20,6 +20,7 @@ · 19 unmodified lines | ||
| 20 | 20 | */ |
| 21 | 21 | |
| 22 | 22 | #include "avcodec.h" |
| 23 | +#include "codec_internal.h" | |
| 23 | 24 | #include "get_bits.h" |
| 24 | 25 | #include "internal.h" |
| 25 | 26 | |
| @@ -20,6 +20,7 @@ · 19 unmodified lines | ||
| 20 | 20 | */ |
| 21 | 21 | #include "avcodec.h" |
| 22 | 22 | #include "bytestream.h" |
| 23 | +#include "codec_internal.h" | |
| 23 | 24 | #include "internal.h" |
| 24 | 25 | #include "libavutil/avassert.h" |
| 25 | 26 | #include "libavutil/bprint.h" |
| @@ -36,12 +36,12 @@ · 35 unmodified lines | ||
| 36 | 36 | #include "libavutil/thread.h" |
| 37 | 37 | |
| 38 | 38 | #include "avcodec.h" |
| 39 | +#include "codec_internal.h" | |
| 39 | 40 | #include "dv.h" |
| 40 | 41 | #include "dv_profile_internal.h" |
| 41 | 42 | #include "dv_tablegen.h" |
| 42 | 43 | #include "encode.h" |
| 43 | 44 | #include "fdctdsp.h" |
| 44 | −#include "internal.h" | |
| 45 | 45 | #include "mathops.h" |
| 46 | 46 | #include "me_cmp.h" |
| 47 | 47 | #include "pixblockdsp.h" |
| @@ -31,6 +31,7 @@ · 30 unmodified lines | ||
| 31 | 31 | #include "libavutil/intreadwrite.h" |
| 32 | 32 | #include "bytestream.h" |
| 33 | 33 | #include "avcodec.h" |
| 34 | +#include "codec_internal.h" | |
| 34 | 35 | #include "internal.h" |
| 35 | 36 | |
| 36 | 37 | #include <zlib.h> |
| @@ -27,7 +27,7 @@ · 26 unmodified lines | ||
| 27 | 27 | #include "mathops.h" |
| 28 | 28 | #include "avcodec.h" |
| 29 | 29 | #include "bytestream.h" |
| 30 | −#include "internal.h" | |
| 30 | +#include "codec_internal.h" | |
| 31 | 31 | #include "lzf.h" |
| 32 | 32 | #include "texturedsp.h" |
| 33 | 33 | #include "thread.h" |
| @@ -39,7 +39,6 @@ · 38 unmodified lines | ||
| 39 | 39 | |
| 40 | 40 | |
| 41 | 41 | #include "avcodec.h" |
| 42 | −#include "internal.h" | |
| 43 | 42 | #include "aac_ac3_parser.h" |
| 44 | 43 | #include "ac3.h" |
| 45 | 44 | #include "ac3dec.h" |
| @@ -28,6 +28,7 @@ · 27 unmodified lines | ||
| 28 | 28 | |
| 29 | 29 | #include "libavutil/attributes.h" |
| 30 | 30 | #include "ac3enc.h" |
| 31 | +#include "codec_internal.h" | |
| 31 | 32 | #include "eac3enc.h" |
| 32 | 33 | #include "eac3_data.h" |
| 33 | 34 | |
| @@ -32,6 +32,7 @@ · 31 unmodified lines | ||
| 32 | 32 | #include "libavutil/intreadwrite.h" |
| 33 | 33 | #include "libavutil/imgutils.h" |
| 34 | 34 | #include "avcodec.h" |
| 35 | +#include "codec_internal.h" | |
| 35 | 36 | #include "internal.h" |
| 36 | 37 | |
| 37 | 38 | typedef struct CmvContext { |
| @@ -34,6 +34,7 @@ · 33 unmodified lines | ||
| 34 | 34 | #include "blockdsp.h" |
| 35 | 35 | #include "bytestream.h" |
| 36 | 36 | #include "bswapdsp.h" |
| 37 | +#include "codec_internal.h" | |
| 37 | 38 | #include "get_bits.h" |
| 38 | 39 | #include "aandcttab.h" |
| 39 | 40 | #include "eaidct.h" |
| @@ -35,6 +35,7 @@ · 34 unmodified lines | ||
| 35 | 35 | #include "aandcttab.h" |
| 36 | 36 | #include "avcodec.h" |
| 37 | 37 | #include "bytestream.h" |
| 38 | +#include "codec_internal.h" | |
| 38 | 39 | #include "eaidct.h" |
| 39 | 40 | #include "get_bits.h" |
| 40 | 41 | #include "idctdsp.h" |
| @@ -34,6 +34,7 @@ · 33 unmodified lines | ||
| 34 | 34 | #define BITSTREAM_READER_LE |
| 35 | 35 | #include "avcodec.h" |
| 36 | 36 | #include "get_bits.h" |
| 37 | +#include "codec_internal.h" | |
| 37 | 38 | #include "internal.h" |
| 38 | 39 | |
| 39 | 40 | #define EA_PREAMBLE_SIZE 8 |
| @@ -31,6 +31,7 @@ · 30 unmodified lines | ||
| 31 | 31 | #include "avcodec.h" |
| 32 | 32 | #include "blockdsp.h" |
| 33 | 33 | #include "bswapdsp.h" |
| 34 | +#include "codec_internal.h" | |
| 34 | 35 | #include "get_bits.h" |
| 35 | 36 | #include "aandcttab.h" |
| 36 | 37 | #include "eaidct.h" |
| @@ -21,6 +21,7 @@ · 20 unmodified lines | ||
| 21 | 21 | |
| 22 | 22 | #define BITSTREAM_READER_LE |
| 23 | 23 | #include "avcodec.h" |
| 24 | +#include "codec_internal.h" | |
| 24 | 25 | #include "get_bits.h" |
| 25 | 26 | #include "internal.h" |
| 26 | 27 | |
| @@ -24,6 +24,7 @@ · 23 unmodified lines | ||
| 24 | 24 | |
| 25 | 25 | #define BITSTREAM_READER_LE |
| 26 | 26 | #include "avcodec.h" |
| 27 | +#include "codec_internal.h" | |
| 27 | 28 | #include "get_bits.h" |
| 28 | 29 | #include "internal.h" |
| 29 | 30 | |
| @@ -29,6 +29,7 @@ · 28 unmodified lines | ||
| 29 | 29 | #include "libavutil/mathematics.h" |
| 30 | 30 | #include "libavutil/opt.h" |
| 31 | 31 | #include "avcodec.h" |
| 32 | +#include "codec_internal.h" | |
| 32 | 33 | #include "internal.h" |
| 33 | 34 | #include "get_bits.h" |
| 34 | 35 | #include "evrcdata.h" |
| @@ -49,6 +49,7 @@ · 48 unmodified lines | ||
| 49 | 49 | #include "bswapdsp.h" |
| 50 | 50 | #endif |
| 51 | 51 | |
| 52 | +#include "codec_internal.h" | |
| 52 | 53 | #include "exrdsp.h" |
| 53 | 54 | #include "get_bits.h" |
| 54 | 55 | #include "internal.h" |
| @@ -33,8 +33,8 @@ · 32 unmodified lines | ||
| 33 | 33 | #include "libavutil/pixdesc.h" |
| 34 | 34 | #include "avcodec.h" |
| 35 | 35 | #include "bytestream.h" |
| 36 | +#include "codec_internal.h" | |
| 36 | 37 | #include "encode.h" |
| 37 | −#include "internal.h" | |
| 38 | 38 | #include "float2half.h" |
| 39 | 39 | |
| 40 | 40 | enum ExrCompr { |
| @@ -25,6 +25,7 @@ · 24 unmodified lines | ||
| 25 | 25 | |
| 26 | 26 | #include "avcodec.h" |
| 27 | 27 | #include "bytestream.h" |
| 28 | +#include "codec_internal.h" | |
| 28 | 29 | #include "internal.h" |
| 29 | 30 | #include "mathops.h" |
| 30 | 31 | |
| @@ -31,6 +31,7 @@ · 30 unmodified lines | ||
| 31 | 31 | #include "libavutil/imgutils.h" |
| 32 | 32 | #include "libavutil/pixdesc.h" |
| 33 | 33 | #include "avcodec.h" |
| 34 | +#include "codec_internal.h" | |
| 34 | 35 | #include "internal.h" |
| 35 | 36 | #include "get_bits.h" |
| 36 | 37 | #include "rangecoder.h" |
| @@ -34,6 +34,7 @@ · 33 unmodified lines | ||
| 34 | 34 | |
| 35 | 35 | #include "avcodec.h" |
| 36 | 36 | #include "encode.h" |
| 37 | +#include "codec_internal.h" | |
| 37 | 38 | #include "internal.h" |
| 38 | 39 | #include "put_bits.h" |
| 39 | 40 | #include "put_golomb.h" |
| @@ -22,6 +22,7 @@ · 21 unmodified lines | ||
| 22 | 22 | #include "libavutil/intreadwrite.h" |
| 23 | 23 | #include "libavutil/log.h" |
| 24 | 24 | #include "avcodec.h" |
| 25 | +#include "codec_internal.h" | |
| 25 | 26 | #include "internal.h" |
| 26 | 27 | |
| 27 | 28 | |
| @@ -25,6 +25,7 @@ · 24 unmodified lines | ||
| 25 | 25 | #include "libavutil/mem_internal.h" |
| 26 | 26 | #include "libavutil/opt.h" |
| 27 | 27 | #include "avcodec.h" |
| 28 | +#include "codec_internal.h" | |
| 28 | 29 | #include "internal.h" |
| 29 | 30 | #include "get_bits.h" |
| 30 | 31 | #include "golomb.h" |
| @@ -37,7 +37,7 @@ · 36 unmodified lines | ||
| 37 | 37 | #include "libavutil/crc.h" |
| 38 | 38 | #include "libavutil/opt.h" |
| 39 | 39 | #include "avcodec.h" |
| 40 | −#include "internal.h" | |
| 40 | +#include "codec_internal.h" | |
| 41 | 41 | #include "get_bits.h" |
| 42 | 42 | #include "bytestream.h" |
| 43 | 43 | #include "golomb.h" |
| @@ -28,6 +28,7 @@ · 27 unmodified lines | ||
| 28 | 28 | |
| 29 | 29 | #include "avcodec.h" |
| 30 | 30 | #include "bswapdsp.h" |
| 31 | +#include "codec_internal.h" | |
| 31 | 32 | #include "encode.h" |
| 32 | 33 | #include "put_bits.h" |
| 33 | 34 | #include "put_golomb.h" |
| @@ -42,6 +42,7 @@ · 41 unmodified lines | ||
| 42 | 42 | #include "libavutil/intreadwrite.h" |
| 43 | 43 | #include "avcodec.h" |
| 44 | 44 | #include "bytestream.h" |
| 45 | +#include "codec_internal.h" | |
| 45 | 46 | #include "get_bits.h" |
| 46 | 47 | #include "internal.h" |
| 47 | 48 | #include "zlib_wrapper.h" |
| @@ -48,8 +48,8 @@ · 47 unmodified lines | ||
| 48 | 48 | |
| 49 | 49 | #include "libavutil/imgutils.h" |
| 50 | 50 | #include "avcodec.h" |
| 51 | +#include "codec_internal.h" | |
| 51 | 52 | #include "encode.h" |
| 52 | −#include "internal.h" | |
| 53 | 53 | #include "put_bits.h" |
| 54 | 54 | #include "bytestream.h" |
| 55 | 55 | #include "zlib_wrapper.h" |
| @@ -49,8 +49,8 @@ · 48 unmodified lines | ||
| 49 | 49 | #include <zlib.h> |
| 50 | 50 | |
| 51 | 51 | #include "avcodec.h" |
| 52 | +#include "codec_internal.h" | |
| 52 | 53 | #include "encode.h" |
| 53 | −#include "internal.h" | |
| 54 | 54 | #include "put_bits.h" |
| 55 | 55 | #include "bytestream.h" |
| 56 | 56 | |
| @@ -41,6 +41,7 @@ · 40 unmodified lines | ||
| 41 | 41 | #include "libavutil/intreadwrite.h" |
| 42 | 42 | #include "avcodec.h" |
| 43 | 43 | #include "bytestream.h" |
| 44 | +#include "codec_internal.h" | |
| 44 | 45 | #include "internal.h" |
| 45 | 46 | #include "mathops.h" |
| 46 | 47 | |
| @@ -20,9 +20,9 @@ · 19 unmodified lines | ||
| 20 | 20 | |
| 21 | 21 | #include "libavutil/imgutils.h" |
| 22 | 22 | |
| 23 | +#include "codec_internal.h" | |
| 23 | 24 | #include "flvdec.h" |
| 24 | 25 | #include "h263dec.h" |
| 25 | −#include "internal.h" | |
| 26 | 26 | #include "mpegvideo.h" |
| 27 | 27 | #include "mpegvideodata.h" |
| 28 | 28 | |
| @@ -18,6 +18,7 @@ · 17 unmodified lines | ||
| 18 | 18 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
| 19 | 19 | */ |
| 20 | 20 | |
| 21 | +#include "codec_internal.h" | |
| 21 | 22 | #include "flvenc.h" |
| 22 | 23 | #include "h263data.h" |
| 23 | 24 | #include "mpegvideo.h" |
| @@ -26,6 +26,7 @@ · 25 unmodified lines | ||
| 26 | 26 | |
| 27 | 27 | #include "avcodec.h" |
| 28 | 28 | #include "bytestream.h" |
| 29 | +#include "codec_internal.h" | |
| 29 | 30 | #include "internal.h" |
| 30 | 31 | |
| 31 | 32 | #define BLOCK_HEIGHT 112u |
| @@ -40,7 +40,7 @@ · 39 unmodified lines | ||
| 40 | 40 | #include "huffman.h" |
| 41 | 41 | #include "bytestream.h" |
| 42 | 42 | #include "bswapdsp.h" |
| 43 | −#include "internal.h" | |
| 43 | +#include "codec_internal.h" | |
| 44 | 44 | #include "thread.h" |
| 45 | 45 | |
| 46 | 46 | #define FPS_TAG MKTAG('F', 'P', 'S', 'x') |
| @@ -22,6 +22,7 @@ · 21 unmodified lines | ||
| 22 | 22 | |
| 23 | 23 | #include "avcodec.h" |
| 24 | 24 | #include "bytestream.h" |
| 25 | +#include "codec_internal.h" | |
| 25 | 26 | #include "internal.h" |
| 26 | 27 | #include "libavutil/opt.h" |
| 27 | 28 | |
| @@ -35,6 +35,7 @@ · 34 unmodified lines | ||
| 35 | 35 | #include "avcodec.h" |
| 36 | 36 | #include "blockdsp.h" |
| 37 | 37 | #include "bytestream.h" |
| 38 | +#include "codec_internal.h" | |
| 38 | 39 | #include "elsdec.h" |
| 39 | 40 | #include "get_bits.h" |
| 40 | 41 | #include "idctdsp.h" |
| @@ -37,6 +37,7 @@ · 36 unmodified lines | ||
| 37 | 37 | #include "libavutil/channel_layout.h" |
| 38 | 38 | #include "libavutil/opt.h" |
| 39 | 39 | #include "avcodec.h" |
| 40 | +#include "codec_internal.h" | |
| 40 | 41 | #include "get_bits.h" |
| 41 | 42 | #include "g722.h" |
| 42 | 43 | #include "internal.h" |
| @@ -30,6 +30,7 @@ · 29 unmodified lines | ||
| 30 | 30 | #include "libavutil/avassert.h" |
| 31 | 31 | #include "libavutil/channel_layout.h" |
| 32 | 32 | #include "avcodec.h" |
| 33 | +#include "codec_internal.h" | |
| 33 | 34 | #include "encode.h" |
| 34 | 35 | #include "internal.h" |
| 35 | 36 | #include "g722.h" |
| @@ -34,6 +34,7 @@ · 33 unmodified lines | ||
| 34 | 34 | #include "avcodec.h" |
| 35 | 35 | #include "celp_filters.h" |
| 36 | 36 | #include "celp_math.h" |
| 37 | +#include "codec_internal.h" | |
| 37 | 38 | #include "get_bits.h" |
| 38 | 39 | #include "internal.h" |
| 39 | 40 | #include "g723_1.h" |
| @@ -34,9 +34,9 @@ · 33 unmodified lines | ||
| 34 | 34 | |
| 35 | 35 | #include "avcodec.h" |
| 36 | 36 | #include "celp_math.h" |
| 37 | +#include "codec_internal.h" | |
| 37 | 38 | #include "encode.h" |
| 38 | 39 | #include "g723_1.h" |
| 39 | −#include "internal.h" | |
| 40 | 40 | |
| 41 | 41 | #define BITSTREAM_WRITER_LE |
| 42 | 42 | #include "put_bits.h" |
| @@ -29,6 +29,7 @@ · 28 unmodified lines | ||
| 29 | 29 | #include "libavutil/channel_layout.h" |
| 30 | 30 | #include "libavutil/opt.h" |
| 31 | 31 | #include "avcodec.h" |
| 32 | +#include "codec_internal.h" | |
| 32 | 33 | #include "encode.h" |
| 33 | 34 | #include "internal.h" |
| 34 | 35 | #include "get_bits.h" |
| @@ -26,6 +26,7 @@ · 25 unmodified lines | ||
| 26 | 26 | #include "libavutil/avutil.h" |
| 27 | 27 | #include "get_bits.h" |
| 28 | 28 | #include "audiodsp.h" |
| 29 | +#include "codec_internal.h" | |
| 29 | 30 | #include "internal.h" |
| 30 | 31 | |
| 31 | 32 | |
| @@ -23,6 +23,7 @@ · 22 unmodified lines | ||
| 23 | 23 | #include "libavutil/common.h" |
| 24 | 24 | #include "avcodec.h" |
| 25 | 25 | #include "bytestream.h" |
| 26 | +#include "codec_internal.h" | |
| 26 | 27 | #include "decode.h" |
| 27 | 28 | #include "internal.h" |
| 28 | 29 | |
| @@ -35,8 +35,8 @@ · 34 unmodified lines | ||
| 35 | 35 | #include "libavutil/imgutils.h" |
| 36 | 36 | #include "avcodec.h" |
| 37 | 37 | #include "bytestream.h" |
| 38 | +#include "codec_internal.h" | |
| 38 | 39 | #include "encode.h" |
| 39 | −#include "internal.h" | |
| 40 | 40 | #include "lzw.h" |
| 41 | 41 | #include "gif.h" |
| 42 | 42 | |
| @@ -25,6 +25,7 @@ · 24 unmodified lines | ||
| 25 | 25 | #include "libavutil/opt.h" |
| 26 | 26 | #include "avcodec.h" |
| 27 | 27 | #include "bytestream.h" |
| 28 | +#include "codec_internal.h" | |
| 28 | 29 | #include "internal.h" |
| 29 | 30 | #include "lzw.h" |
| 30 | 31 | #include "gif.h" |
| @@ -28,6 +28,7 @@ · 27 unmodified lines | ||
| 28 | 28 | |
| 29 | 29 | #include "libavutil/channel_layout.h" |
| 30 | 30 | #include "avcodec.h" |
| 31 | +#include "codec_internal.h" | |
| 31 | 32 | #include "get_bits.h" |
| 32 | 33 | #include "internal.h" |
| 33 | 34 | #include "msgsmdec.h" |
| @@ -28,6 +28,7 @@ · 27 unmodified lines | ||
| 28 | 28 | #include "libavutil/avassert.h" |
| 29 | 29 | #include "libavutil/thread.h" |
| 30 | 30 | #include "avcodec.h" |
| 31 | +#include "codec_internal.h" | |
| 31 | 32 | #include "mpeg_er.h" |
| 32 | 33 | #include "mpegutils.h" |
| 33 | 34 | #include "mpegvideo.h" |
| @@ -29,6 +29,7 @@ · 28 unmodified lines | ||
| 29 | 29 | #include "libavutil/avassert.h" |
| 30 | 30 | #include "libavutil/thread.h" |
| 31 | 31 | #include "avcodec.h" |
| 32 | +#include "codec_internal.h" | |
| 32 | 33 | #include "mpegutils.h" |
| 33 | 34 | #include "mpegvideo.h" |
| 34 | 35 | #include "h261.h" |
| @@ -30,6 +30,7 @@ · 29 unmodified lines | ||
| 30 | 30 | #include "config_components.h" |
| 31 | 31 | |
| 32 | 32 | #include "avcodec.h" |
| 33 | +#include "codec_internal.h" | |
| 33 | 34 | #include "error_resilience.h" |
| 34 | 35 | #include "flvdec.h" |
| 35 | 36 | #include "h263.h" |
| @@ -35,6 +35,7 @@ · 34 unmodified lines | ||
| 35 | 35 | #include "libavutil/thread.h" |
| 36 | 36 | #include "libavutil/video_enc_params.h" |
| 37 | 37 | |
| 38 | +#include "codec_internal.h" | |
| 38 | 39 | #include "internal.h" |
| 39 | 40 | #include "error_resilience.h" |
| 40 | 41 | #include "avcodec.h" |
| @@ -37,8 +37,8 @@ · 36 unmodified lines | ||
| 37 | 37 | |
| 38 | 38 | #include "avcodec.h" |
| 39 | 39 | #include "bytestream.h" |
| 40 | +#include "codec_internal.h" | |
| 40 | 41 | #include "hap.h" |
| 41 | −#include "internal.h" | |
| 42 | 42 | #include "snappy.h" |
| 43 | 43 | #include "texturedsp.h" |
| 44 | 44 | #include "thread.h" |
| @@ -39,9 +39,9 @@ · 38 unmodified lines | ||
| 39 | 39 | |
| 40 | 40 | #include "avcodec.h" |
| 41 | 41 | #include "bytestream.h" |
| 42 | +#include "codec_internal.h" | |
| 42 | 43 | #include "encode.h" |
| 43 | 44 | #include "hap.h" |
| 44 | −#include "internal.h" | |
| 45 | 45 | #include "texturedsp.h" |
| 46 | 46 | |
| 47 | 47 | #define HAP_MAX_CHUNKS 64 |
| @@ -23,6 +23,7 @@ · 22 unmodified lines | ||
| 23 | 23 | #include "libavutil/tx.h" |
| 24 | 24 | |
| 25 | 25 | #include "avcodec.h" |
| 26 | +#include "codec_internal.h" | |
| 26 | 27 | #include "get_bits.h" |
| 27 | 28 | #include "internal.h" |
| 28 | 29 | #include "hca_data.h" |
| @@ -21,6 +21,7 @@ · 20 unmodified lines | ||
| 21 | 21 | #include "libavutil/intreadwrite.h" |
| 22 | 22 | |
| 23 | 23 | #include "avcodec.h" |
| 24 | +#include "codec_internal.h" | |
| 24 | 25 | #include "get_bits.h" |
| 25 | 26 | #include "internal.h" |
| 26 | 27 | |
| @@ -40,6 +40,7 @@ · 39 unmodified lines | ||
| 40 | 40 | #include "bswapdsp.h" |
| 41 | 41 | #include "bytestream.h" |
| 42 | 42 | #include "cabac_functions.h" |
| 43 | +#include "codec_internal.h" | |
| 43 | 44 | #include "golomb.h" |
| 44 | 45 | #include "hevc.h" |
| 45 | 46 | #include "hevc_data.h" |
| @@ -28,6 +28,7 @@ · 27 unmodified lines | ||
| 28 | 28 | #include "libavutil/mem.h" |
| 29 | 29 | #include "avcodec.h" |
| 30 | 30 | #include "bytestream.h" |
| 31 | +#include "codec_internal.h" | |
| 31 | 32 | #include "internal.h" |
| 32 | 33 | |
| 33 | 34 | #define HNM4_CHUNK_ID_PL 19536 |
| @@ -25,6 +25,7 @@ · 24 unmodified lines | ||
| 25 | 25 | |
| 26 | 26 | #include "avcodec.h" |
| 27 | 27 | #include "canopus.h" |
| 28 | +#include "codec_internal.h" | |
| 28 | 29 | #include "get_bits.h" |
| 29 | 30 | #include "internal.h" |
| 30 | 31 | |
| @@ -25,8 +25,8 @@ · 24 unmodified lines | ||
| 25 | 25 | |
| 26 | 26 | #include "avcodec.h" |
| 27 | 27 | #include "canopus.h" |
| 28 | +#include "codec_internal.h" | |
| 28 | 29 | #include "get_bits.h" |
| 29 | −#include "internal.h" | |
| 30 | 30 | #include "thread.h" |
| 31 | 31 | |
| 32 | 32 | #include "hqx.h" |
| @@ -35,10 +35,10 @@ · 34 unmodified lines | ||
| 35 | 35 | #include "config_components.h" |
| 36 | 36 | |
| 37 | 37 | #include "avcodec.h" |
| 38 | +#include "codec_internal.h" | |
| 38 | 39 | #include "get_bits.h" |
| 39 | 40 | #include "huffyuv.h" |
| 40 | 41 | #include "huffyuvdsp.h" |
| 41 | −#include "internal.h" | |
| 42 | 42 | #include "lossless_videodsp.h" |
| 43 | 43 | #include "thread.h" |
| 44 | 44 | #include "libavutil/imgutils.h" |
| @@ -31,11 +31,11 @@ · 30 unmodified lines | ||
| 31 | 31 | #include "config_components.h" |
| 32 | 32 | |
| 33 | 33 | #include "avcodec.h" |
| 34 | +#include "codec_internal.h" | |
| 34 | 35 | #include "encode.h" |
| 35 | 36 | #include "huffyuv.h" |
| 36 | 37 | #include "huffman.h" |
| 37 | 38 | #include "huffyuvencdsp.h" |
| 38 | −#include "internal.h" | |
| 39 | 39 | #include "lossless_videoencdsp.h" |
| 40 | 40 | #include "put_bits.h" |
| 41 | 41 | #include "libavutil/opt.h" |
| @@ -49,6 +49,7 @@ · 48 unmodified lines | ||
| 49 | 49 | #include <string.h> |
| 50 | 50 | |
| 51 | 51 | #include "avcodec.h" |
| 52 | +#include "codec_internal.h" | |
| 52 | 53 | #include "decode.h" |
| 53 | 54 | #include "internal.h" |
| 54 | 55 | #include "libavutil/internal.h" |
| @@ -34,6 +34,7 @@ · 33 unmodified lines | ||
| 34 | 34 | |
| 35 | 35 | #include "bytestream.h" |
| 36 | 36 | #include "avcodec.h" |
| 37 | +#include "codec_internal.h" | |
| 37 | 38 | #include "internal.h" |
| 38 | 39 | #include "mathops.h" |
| 39 | 40 | |
| @@ -32,6 +32,7 @@ · 31 unmodified lines | ||
| 32 | 32 | |
| 33 | 33 | #include "libavutil/channel_layout.h" |
| 34 | 34 | #include "avcodec.h" |
| 35 | +#include "codec_internal.h" | |
| 35 | 36 | #include "internal.h" |
| 36 | 37 | #include "get_bits.h" |
| 37 | 38 | #include "ilbcdata.h" |
| @@ -44,6 +44,7 @@ · 43 unmodified lines | ||
| 44 | 44 | |
| 45 | 45 | #include "avcodec.h" |
| 46 | 46 | #include "bswapdsp.h" |
| 47 | +#include "codec_internal.h" | |
| 47 | 48 | #include "get_bits.h" |
| 48 | 49 | #include "fft.h" |
| 49 | 50 | #include "internal.h" |
| @@ -29,6 +29,7 @@ · 28 unmodified lines | ||
| 29 | 29 | |
| 30 | 30 | #include "avcodec.h" |
| 31 | 31 | #include "bswapdsp.h" |
| 32 | +#include "codec_internal.h" | |
| 32 | 33 | #include "copy_block.h" |
| 33 | 34 | #include "get_bits.h" |
| 34 | 35 | #include "idctdsp.h" |
| @@ -21,7 +21,7 @@ · 20 unmodified lines | ||
| 21 | 21 | #include "libavutil/intreadwrite.h" |
| 22 | 22 | |
| 23 | 23 | #include "avcodec.h" |
| 24 | −#include "internal.h" | |
| 24 | +#include "codec_internal.h" | |
| 25 | 25 | |
| 26 | 26 | typedef struct IMM5Context { |
| 27 | 27 | AVCodecContext *h264_avctx; // wrapper context for H264 |
| @@ -21,6 +21,7 @@ · 20 unmodified lines | ||
| 21 | 21 | #include "libavutil/common.h" |
| 22 | 22 | #include "avcodec.h" |
| 23 | 23 | #include "bytestream.h" |
| 24 | +#include "codec_internal.h" | |
| 24 | 25 | #include "decode.h" |
| 25 | 26 | #include "internal.h" |
| 26 | 27 | |
| @@ -29,6 +29,7 @@ · 28 unmodified lines | ||
| 29 | 29 | |
| 30 | 30 | #define BITSTREAM_READER_LE |
| 31 | 31 | #include "avcodec.h" |
| 32 | +#include "codec_internal.h" | |
| 32 | 33 | #include "get_bits.h" |
| 33 | 34 | #include "indeo2data.h" |
| 34 | 35 | #include "internal.h" |
| @@ -33,6 +33,7 @@ · 32 unmodified lines | ||
| 33 | 33 | #include "libavutil/intreadwrite.h" |
| 34 | 34 | #include "libavutil/thread.h" |
| 35 | 35 | #include "avcodec.h" |
| 36 | +#include "codec_internal.h" | |
| 36 | 37 | #include "copy_block.h" |
| 37 | 38 | #include "bytestream.h" |
| 38 | 39 | #include "get_bits.h" |
| @@ -29,10 +29,10 @@ · 28 unmodified lines | ||
| 29 | 29 | |
| 30 | 30 | #define BITSTREAM_READER_LE |
| 31 | 31 | #include "avcodec.h" |
| 32 | +#include "codec_internal.h" | |
| 32 | 33 | #include "get_bits.h" |
| 33 | 34 | #include "libavutil/imgutils.h" |
| 34 | 35 | #include "indeo4data.h" |
| 35 | −#include "internal.h" | |
| 36 | 36 | #include "ivi.h" |
| 37 | 37 | #include "ivi_dsp.h" |
| 38 | 38 | |
| @@ -29,8 +29,8 @@ · 28 unmodified lines | ||
| 29 | 29 | |
| 30 | 30 | #define BITSTREAM_READER_LE |
| 31 | 31 | #include "avcodec.h" |
| 32 | +#include "codec_internal.h" | |
| 32 | 33 | #include "get_bits.h" |
| 33 | −#include "internal.h" | |
| 34 | 34 | #include "ivi.h" |
| 35 | 35 | #include "ivi_dsp.h" |
| 36 | 36 | #include "indeo5data.h" |
| @@ -18,7 +18,7 @@ · 17 unmodified lines | ||
| 18 | 18 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
| 19 | 19 | */ |
| 20 | 20 | |
| 21 | −#include "internal.h" | |
| 21 | +#include "codec_internal.h" | |
| 22 | 22 | #include "mpegutils.h" |
| 23 | 23 | #include "mpegvideo.h" |
| 24 | 24 | #include "h263data.h" |
| @@ -35,62 +35,6 @@ · 34 unmodified lines | ||
| 35 | 35 | #include "bsf.h" |
| 36 | 36 | #include "config.h" |
| 37 | 37 | |
| 38 | −/** | |
| 39 | − * The codec does not modify any global variables in the init function, | |
| 40 | − * allowing to call the init function without locking any global mutexes. | |
| 41 | − */ | |
| 42 | −#define FF_CODEC_CAP_INIT_THREADSAFE (1 << 0) | |
| 43 | −/** | |
| 44 | − * The codec allows calling the close function for deallocation even if | |
| 45 | − * the init function returned a failure. Without this capability flag, a | |
| 46 | − * codec does such cleanup internally when returning failures from the | |
| 47 | − * init function and does not expect the close function to be called at | |
| 48 | − * all. | |
| 49 | − */ | |
| 50 | −#define FF_CODEC_CAP_INIT_CLEANUP (1 << 1) | |
| 51 | −/** | |
| 52 | − * Decoders marked with FF_CODEC_CAP_SETS_PKT_DTS want to set | |
| 53 | − * AVFrame.pkt_dts manually. If the flag is set, decode.c won't overwrite | |
| 54 | − * this field. If it's unset, decode.c tries to guess the pkt_dts field | |
| 55 | − * from the input AVPacket. | |
| 56 | − */ | |
| 57 | −#define FF_CODEC_CAP_SETS_PKT_DTS (1 << 2) | |
| 58 | −/** | |
| 59 | − * The decoder extracts and fills its parameters even if the frame is | |
| 60 | − * skipped due to the skip_frame setting. | |
| 61 | − */ | |
| 62 | −#define FF_CODEC_CAP_SKIP_FRAME_FILL_PARAM (1 << 3) | |
| 63 | −/** | |
| 64 | − * The decoder sets the cropping fields in the output frames manually. | |
| 65 | − * If this cap is set, the generic code will initialize output frame | |
| 66 | − * dimensions to coded rather than display values. | |
| 67 | − */ | |
| 68 | −#define FF_CODEC_CAP_EXPORTS_CROPPING (1 << 4) | |
| 69 | −/** | |
| 70 | − * Codec initializes slice-based threading with a main function | |
| 71 | − */ | |
| 72 | −#define FF_CODEC_CAP_SLICE_THREAD_HAS_MF (1 << 5) | |
| 73 | −/* | |
| 74 | − * The codec supports frame threading and has inter-frame dependencies, so it | |
| 75 | − * uses ff_thread_report/await_progress(). | |
| 76 | − */ | |
| 77 | −#define FF_CODEC_CAP_ALLOCATE_PROGRESS (1 << 6) | |
| 78 | −/** | |
| 79 | − * Codec handles avctx->thread_count == 0 (auto) internally. | |
| 80 | − */ | |
| 81 | −#define FF_CODEC_CAP_AUTO_THREADS (1 << 7) | |
| 82 | −/** | |
| 83 | − * Codec handles output frame properties internally instead of letting the | |
| 84 | − * internal logic derive them from AVCodecInternal.last_pkt_props. | |
| 85 | − */ | |
| 86 | −#define FF_CODEC_CAP_SETS_FRAME_PROPS (1 << 8) | |
| 87 | − | |
| 88 | −/** | |
| 89 | − * AVCodec.codec_tags termination value | |
| 90 | − */ | |
| 91 | −#define FF_CODEC_TAGS_END -1 | |
| 92 | − | |
| 93 | − | |
| 94 | 38 | #define FF_DEFAULT_QUANT_BIAS 999999 |
| 95 | 39 | |
| 96 | 40 | #define FF_QSCALE_TYPE_MPEG1 0 |
| @@ -215,11 +159,6 @@ typedef struct AVCodecInternal { · 118 unmodified lines | ||
| 215 | 159 | AVChannelLayout initial_ch_layout; |
| 216 | 160 | } AVCodecInternal; |
| 217 | 161 | |
| 218 | −struct AVCodecDefault { | |
| 219 | − const uint8_t *key; | |
| 220 | − const uint8_t *value; | |
| 221 | −}; | |
| 222 | − | |
| 223 | 162 | extern const uint8_t ff_log2_run[41]; |
| 224 | 163 | |
| 225 | 164 | /** |
| @@ -23,6 +23,7 @@ · 22 unmodified lines | ||
| 23 | 23 | |
| 24 | 24 | #define BITSTREAM_READER_LE |
| 25 | 25 | #include "avcodec.h" |
| 26 | +#include "codec_internal.h" | |
| 26 | 27 | #include "get_bits.h" |
| 27 | 28 | #include "internal.h" |
| 28 | 29 | |
| @@ -43,6 +43,7 @@ · 42 unmodified lines | ||
| 43 | 43 | #define BITSTREAM_READER_LE |
| 44 | 44 | #include "avcodec.h" |
| 45 | 45 | #include "bytestream.h" |
| 46 | +#include "codec_internal.h" | |
| 46 | 47 | #include "decode.h" |
| 47 | 48 | #include "get_bits.h" |
| 48 | 49 | #include "hpeldsp.h" |
| @@ -34,6 +34,7 @@ · 33 unmodified lines | ||
| 34 | 34 | #include "libavutil/attributes.h" |
| 35 | 35 | #include "libavutil/thread.h" |
| 36 | 36 | #include "avcodec.h" |
| 37 | +#include "codec_internal.h" | |
| 37 | 38 | #include "mpegvideo.h" |
| 38 | 39 | #include "mpegvideodata.h" |
| 39 | 40 | #include "flvenc.h" |
| @@ -66,8 +66,8 @@ · 65 unmodified lines | ||
| 66 | 66 | |
| 67 | 67 | #include <float.h> |
| 68 | 68 | #include "avcodec.h" |
| 69 | +#include "codec_internal.h" | |
| 69 | 70 | #include "encode.h" |
| 70 | −#include "internal.h" | |
| 71 | 71 | #include "bytestream.h" |
| 72 | 72 | #include "jpeg2000.h" |
| 73 | 73 | #include "version.h" |
| @@ -26,7 +26,7 @@ · 25 unmodified lines | ||
| 26 | 26 | |
| 27 | 27 | #include <time.h> |
| 28 | 28 | #include "ass.h" |
| 29 | −#include "internal.h" | |
| 29 | +#include "codec_internal.h" | |
| 30 | 30 | #include "jacosub.h" |
| 31 | 31 | #include "libavutil/avstring.h" |
| 32 | 32 | #include "libavutil/bprint.h" |
| @@ -36,6 +36,7 @@ · 35 unmodified lines | ||
| 36 | 36 | #include "libavutil/pixdesc.h" |
| 37 | 37 | #include "avcodec.h" |
| 38 | 38 | #include "bytestream.h" |
| 39 | +#include "codec_internal.h" | |
| 39 | 40 | #include "internal.h" |
| 40 | 41 | #include "thread.h" |
| 41 | 42 | #include "jpeg2000.h" |
| @@ -26,6 +26,7 @@ · 25 unmodified lines | ||
| 26 | 26 | */ |
| 27 | 27 | |
| 28 | 28 | #include "avcodec.h" |
| 29 | +#include "codec_internal.h" | |
| 29 | 30 | #include "get_bits.h" |
| 30 | 31 | #include "golomb.h" |
| 31 | 32 | #include "internal.h" |
| @@ -29,6 +29,7 @@ · 28 unmodified lines | ||
| 29 | 29 | #include "libavutil/opt.h" |
| 30 | 30 | #include "avcodec.h" |
| 31 | 31 | #include "bytestream.h" |
| 32 | +#include "codec_internal.h" | |
| 32 | 33 | #include "encode.h" |
| 33 | 34 | #include "get_bits.h" |
| 34 | 35 | #include "put_bits.h" |
| @@ -29,6 +29,7 @@ · 28 unmodified lines | ||
| 29 | 29 | |
| 30 | 30 | #include "avcodec.h" |
| 31 | 31 | #include "blockdsp.h" |
| 32 | +#include "codec_internal.h" | |
| 32 | 33 | #include "get_bits.h" |
| 33 | 34 | #include "internal.h" |
| 34 | 35 | |
| @@ -28,6 +28,7 @@ · 27 unmodified lines | ||
| 28 | 28 | #include "libavutil/intreadwrite.h" |
| 29 | 29 | #include "libavutil/imgutils.h" |
| 30 | 30 | #include "avcodec.h" |
| 31 | +#include "codec_internal.h" | |
| 31 | 32 | #include "internal.h" |
| 32 | 33 | |
| 33 | 34 | typedef struct KgvContext { |
| @@ -29,6 +29,7 @@ · 28 unmodified lines | ||
| 29 | 29 | |
| 30 | 30 | #include "avcodec.h" |
| 31 | 31 | #include "bytestream.h" |
| 32 | +#include "codec_internal.h" | |
| 32 | 33 | #include "decode.h" |
| 33 | 34 | #include "internal.h" |
| 34 | 35 | #include "libavutil/common.h" |
| @@ -28,8 +28,8 @@ · 27 unmodified lines | ||
| 28 | 28 | #include <inttypes.h> |
| 29 | 29 | |
| 30 | 30 | #include "avcodec.h" |
| 31 | +#include "codec_internal.h" | |
| 31 | 32 | #include "get_bits.h" |
| 32 | −#include "internal.h" | |
| 33 | 33 | #include "mathops.h" |
| 34 | 34 | #include "lagarithrac.h" |
| 35 | 35 | #include "lossless_videodsp.h" |
| @@ -46,7 +46,7 @@ · 45 unmodified lines | ||
| 46 | 46 | #include "libavutil/pixdesc.h" |
| 47 | 47 | #include "avcodec.h" |
| 48 | 48 | #include "bytestream.h" |
| 49 | −#include "internal.h" | |
| 49 | +#include "codec_internal.h" | |
| 50 | 50 | #include "lcl.h" |
| 51 | 51 | #include "thread.h" |
| 52 | 52 | |
| @@ -42,8 +42,8 @@ · 41 unmodified lines | ||
| 42 | 42 | |
| 43 | 43 | #include "libavutil/avassert.h" |
| 44 | 44 | #include "avcodec.h" |
| 45 | +#include "codec_internal.h" | |
| 45 | 46 | #include "encode.h" |
| 46 | −#include "internal.h" | |
| 47 | 47 | #include "lcl.h" |
| 48 | 48 | #include "zlib_wrapper.h" |
| 49 | 49 | #include "libavutil/internal.h" |
| @@ -31,6 +31,7 @@ · 30 unmodified lines | ||
| 31 | 31 | #include "libavutil/imgutils.h" |
| 32 | 32 | |
| 33 | 33 | #include "avcodec.h" |
| 34 | +#include "codec_internal.h" | |
| 34 | 35 | #include "internal.h" |
| 35 | 36 | #include "profiles.h" |
| 36 | 37 | |
| @@ -38,6 +38,7 @@ · 37 unmodified lines | ||
| 38 | 38 | #include "av1.h" |
| 39 | 39 | #include "avcodec.h" |
| 40 | 40 | #include "bsf.h" |
| 41 | +#include "codec_internal.h" | |
| 41 | 42 | #include "encode.h" |
| 42 | 43 | #include "internal.h" |
| 43 | 44 | #include "packet_internal.h" |
| @@ -31,6 +31,7 @@ · 30 unmodified lines | ||
| 31 | 31 | #include "atsc_a53.h" |
| 32 | 32 | #include "avcodec.h" |
| 33 | 33 | #include "bytestream.h" |
| 34 | +#include "codec_internal.h" | |
| 34 | 35 | #include "decode.h" |
| 35 | 36 | #include "internal.h" |
| 36 | 37 | |
| @@ -24,7 +24,7 @@ · 23 unmodified lines | ||
| 24 | 24 | |
| 25 | 25 | #include "libavutil/cpu.h" |
| 26 | 26 | #include "avcodec.h" |
| 27 | −#include "internal.h" | |
| 27 | +#include "codec_internal.h" | |
| 28 | 28 | #include "davs2.h" |
| 29 | 29 | |
| 30 | 30 | typedef struct DAVS2Context { |
| @@ -23,6 +23,7 @@ · 22 unmodified lines | ||
| 23 | 23 | #include "libavutil/common.h" |
| 24 | 24 | #include "libavutil/opt.h" |
| 25 | 25 | #include "avcodec.h" |
| 26 | +#include "codec_internal.h" | |
| 26 | 27 | #include "internal.h" |
| 27 | 28 | |
| 28 | 29 | #ifdef AACDECODER_LIB_VL0 |
| @@ -24,8 +24,8 @@ · 23 unmodified lines | ||
| 24 | 24 | #include "libavutil/opt.h" |
| 25 | 25 | #include "avcodec.h" |
| 26 | 26 | #include "audio_frame_queue.h" |
| 27 | +#include "codec_internal.h" | |
| 27 | 28 | #include "encode.h" |
| 28 | −#include "internal.h" | |
| 29 | 29 | #include "profiles.h" |
| 30 | 30 | |
| 31 | 31 | #ifdef AACENCODER_LIB_VL0 |
| @@ -39,8 +39,8 @@ · 38 unmodified lines | ||
| 39 | 39 | #include "libavutil/common.h" |
| 40 | 40 | |
| 41 | 41 | #include "avcodec.h" |
| 42 | +#include "codec_internal.h" | |
| 42 | 43 | #include "encode.h" |
| 43 | −#include "internal.h" | |
| 44 | 44 | #include "gsm.h" |
| 45 | 45 | |
| 46 | 46 | static av_cold int libgsm_encode_close(AVCodecContext *avctx) { |
| @@ -25,6 +25,7 @@ · 24 unmodified lines | ||
| 25 | 25 | #include "libavutil/common.h" |
| 26 | 26 | #include "libavutil/opt.h" |
| 27 | 27 | #include "avcodec.h" |
| 28 | +#include "codec_internal.h" | |
| 28 | 29 | #include "encode.h" |
| 29 | 30 | #include "internal.h" |
| 30 | 31 | |
| @@ -36,8 +36,8 @@ · 35 unmodified lines | ||
| 36 | 36 | #include "libavutil/opt.h" |
| 37 | 37 | |
| 38 | 38 | #include "avcodec.h" |
| 39 | +#include "codec_internal.h" | |
| 39 | 40 | #include "encode.h" |
| 40 | −#include "internal.h" | |
| 41 | 41 | #include "packet_internal.h" |
| 42 | 42 | |
| 43 | 43 | typedef struct LibkvazaarContext { |
| @@ -34,8 +34,8 @@ · 33 unmodified lines | ||
| 34 | 34 | #include "libavutil/opt.h" |
| 35 | 35 | #include "avcodec.h" |
| 36 | 36 | #include "audio_frame_queue.h" |
| 37 | +#include "codec_internal.h" | |
| 37 | 38 | #include "encode.h" |
| 38 | −#include "internal.h" | |
| 39 | 39 | #include "mpegaudio.h" |
| 40 | 40 | #include "mpegaudiodecheader.h" |
| 41 | 41 | |
| @@ -30,6 +30,7 @@ · 29 unmodified lines | ||
| 30 | 30 | #include "libavutil/opt.h" |
| 31 | 31 | |
| 32 | 32 | #include "avcodec.h" |
| 33 | +#include "codec_internal.h" | |
| 33 | 34 | #include "internal.h" |
| 34 | 35 | #include "libopenh264.h" |
| 35 | 36 | |
| @@ -30,6 +30,7 @@ · 29 unmodified lines | ||
| 30 | 30 | #include "libavutil/mathematics.h" |
| 31 | 31 | |
| 32 | 32 | #include "avcodec.h" |
| 33 | +#include "codec_internal.h" | |
| 33 | 34 | #include "encode.h" |
| 34 | 35 | #include "internal.h" |
| 35 | 36 | #include "libopenh264.h" |
| @@ -28,6 +28,7 @@ · 27 unmodified lines | ||
| 28 | 28 | #include "libavutil/opt.h" |
| 29 | 29 | |
| 30 | 30 | #include "avcodec.h" |
| 31 | +#include "codec_internal.h" | |
| 31 | 32 | #include "internal.h" |
| 32 | 33 | #include "vorbis.h" |
| 33 | 34 | #include "mathops.h" |
| @@ -26,8 +26,8 @@ · 25 unmodified lines | ||
| 26 | 26 | #include "libavutil/opt.h" |
| 27 | 27 | #include "avcodec.h" |
| 28 | 28 | #include "bytestream.h" |
| 29 | +#include "codec_internal.h" | |
| 29 | 30 | #include "encode.h" |
| 30 | −#include "internal.h" | |
| 31 | 31 | #include "libopus.h" |
| 32 | 32 | #include "vorbis.h" |
| 33 | 33 | #include "audio_frame_queue.h" |
| @@ -31,6 +31,7 @@ · 30 unmodified lines | ||
| 31 | 31 | #include "libavutil/pixdesc.h" |
| 32 | 32 | #include "avcodec.h" |
| 33 | 33 | #include "bsf.h" |
| 34 | +#include "codec_internal.h" | |
| 34 | 35 | #include "encode.h" |
| 35 | 36 | #include "internal.h" |
| 36 | 37 | |
| @@ -89,8 +89,8 @@ · 88 unmodified lines | ||
| 89 | 89 | #include "libavutil/common.h" |
| 90 | 90 | #include "libavutil/opt.h" |
| 91 | 91 | #include "avcodec.h" |
| 92 | +#include "codec_internal.h" | |
| 92 | 93 | #include "encode.h" |
| 93 | −#include "internal.h" | |
| 94 | 94 | #include "audio_frame_queue.h" |
| 95 | 95 | |
| 96 | 96 | /* TODO: Think about converting abr, vad, dtx and such flags to a bit field */ |
| @@ -31,6 +31,7 @@ · 30 unmodified lines | ||
| 31 | 31 | #include "libavutil/pixdesc.h" |
| 32 | 32 | #include "libavutil/avassert.h" |
| 33 | 33 | |
| 34 | +#include "codec_internal.h" | |
| 34 | 35 | #include "internal.h" |
| 35 | 36 | #include "encode.h" |
| 36 | 37 | #include "packet_internal.h" |
| @@ -31,6 +31,7 @@ · 30 unmodified lines | ||
| 31 | 31 | #include "libavutil/opt.h" |
| 32 | 32 | |
| 33 | 33 | #include "avcodec.h" |
| 34 | +#include "codec_internal.h" | |
| 34 | 35 | #include "encode.h" |
| 35 | 36 | #include "internal.h" |
| 36 | 37 | #include "mpegaudio.h" |
| @@ -29,6 +29,7 @@ · 28 unmodified lines | ||
| 29 | 29 | #include "libavutil/opt.h" |
| 30 | 30 | #include "avcodec.h" |
| 31 | 31 | #include "avs3.h" |
| 32 | +#include "codec_internal.h" | |
| 32 | 33 | #include "internal.h" |
| 33 | 34 | #include "uavs3d.h" |
| 34 | 35 | |
| @@ -26,6 +26,7 @@ · 25 unmodified lines | ||
| 26 | 26 | #include "libavutil/opt.h" |
| 27 | 27 | #include "avcodec.h" |
| 28 | 28 | #include "audio_frame_queue.h" |
| 29 | +#include "codec_internal.h" | |
| 29 | 30 | #include "encode.h" |
| 30 | 31 | #include "internal.h" |
| 31 | 32 | #include "version.h" |
| @@ -35,6 +35,7 @@ · 34 unmodified lines | ||
| 35 | 35 | #include "libavutil/imgutils.h" |
| 36 | 36 | #include "libavutil/intreadwrite.h" |
| 37 | 37 | #include "avcodec.h" |
| 38 | +#include "codec_internal.h" | |
| 38 | 39 | #include "decode.h" |
| 39 | 40 | #include "internal.h" |
| 40 | 41 | #include "libvpx.h" |
| @@ -31,6 +31,7 @@ · 30 unmodified lines | ||
| 31 | 31 | #include <vpx/vp8cx.h> |
| 32 | 32 | |
| 33 | 33 | #include "avcodec.h" |
| 34 | +#include "codec_internal.h" | |
| 34 | 35 | #include "encode.h" |
| 35 | 36 | #include "internal.h" |
| 36 | 37 | #include "libavutil/avassert.h" |
| @@ -35,7 +35,7 @@ · 34 unmodified lines | ||
| 35 | 35 | #include "libavutil/pixfmt.h" |
| 36 | 36 | #include "avcodec.h" |
| 37 | 37 | #include "codec.h" |
| 38 | −#include "internal.h" | |
| 38 | +#include "codec_internal.h" | |
| 39 | 39 | |
| 40 | 40 | typedef struct LibWebPContextCommon { |
| 41 | 41 | AVClass *class; // class for AVOptions |
| @@ -30,6 +30,7 @@ · 29 unmodified lines | ||
| 30 | 30 | #include "libavutil/time.h" |
| 31 | 31 | #include "libavutil/intreadwrite.h" |
| 32 | 32 | #include "avcodec.h" |
| 33 | +#include "codec_internal.h" | |
| 33 | 34 | #include "encode.h" |
| 34 | 35 | #include "internal.h" |
| 35 | 36 | #include "packet_internal.h" |
| @@ -32,6 +32,7 @@ · 31 unmodified lines | ||
| 32 | 32 | #include "libavutil/opt.h" |
| 33 | 33 | #include "libavutil/pixdesc.h" |
| 34 | 34 | #include "avcodec.h" |
| 35 | +#include "codec_internal.h" | |
| 35 | 36 | #include "encode.h" |
| 36 | 37 | #include "internal.h" |
| 37 | 38 | #include "packet_internal.h" |
| @@ -27,8 +27,8 @@ · 26 unmodified lines | ||
| 27 | 27 | #include <float.h> |
| 28 | 28 | #include <xavs.h> |
| 29 | 29 | #include "avcodec.h" |
| 30 | +#include "codec_internal.h" | |
| 30 | 31 | #include "encode.h" |
| 31 | −#include "internal.h" | |
| 32 | 32 | #include "packet_internal.h" |
| 33 | 33 | #include "libavutil/internal.h" |
| 34 | 34 | #include "libavutil/mem.h" |
| @@ -23,8 +23,8 @@ · 22 unmodified lines | ||
| 23 | 23 | */ |
| 24 | 24 | |
| 25 | 25 | #include "xavs2.h" |
| 26 | +#include "codec_internal.h" | |
| 26 | 27 | #include "encode.h" |
| 27 | −#include "internal.h" | |
| 28 | 28 | #include "mpeg12.h" |
| 29 | 29 | #include "libavutil/avstring.h" |
| 30 | 30 | #include "libavutil/opt.h" |
| @@ -38,8 +38,8 @@ · 37 unmodified lines | ||
| 38 | 38 | #include "libavutil/opt.h" |
| 39 | 39 | |
| 40 | 40 | #include "avcodec.h" |
| 41 | +#include "codec_internal.h" | |
| 41 | 42 | #include "encode.h" |
| 42 | −#include "internal.h" | |
| 43 | 43 | #include "mpegutils.h" |
| 44 | 44 | #include "packet_internal.h" |
| 45 | 45 | |
| @@ -36,9 +36,9 @@ · 35 unmodified lines | ||
| 36 | 36 | #include "libavutil/pixdesc.h" |
| 37 | 37 | |
| 38 | 38 | #include "avcodec.h" |
| 39 | +#include "codec_internal.h" | |
| 39 | 40 | #include "encode.h" |
| 40 | 41 | #include "idctdsp.h" |
| 41 | −#include "internal.h" | |
| 42 | 42 | #include "jpegtables.h" |
| 43 | 43 | #include "mathops.h" |
| 44 | 44 | #include "mjpegenc_common.h" |
| @@ -25,6 +25,7 @@ · 24 unmodified lines | ||
| 25 | 25 | */ |
| 26 | 26 | |
| 27 | 27 | #include "avcodec.h" |
| 28 | +#include "codec_internal.h" | |
| 28 | 29 | #include "get_bits.h" |
| 29 | 30 | #include "golomb.h" |
| 30 | 31 | #include "internal.h" |
| @@ -28,6 +28,7 @@ · 27 unmodified lines | ||
| 28 | 28 | #include "avcodec.h" |
| 29 | 29 | #include "bytestream.h" |
| 30 | 30 | #include "codec.h" |
| 31 | +#include "codec_internal.h" | |
| 31 | 32 | #include "internal.h" |
| 32 | 33 | #include "packet.h" |
| 33 | 34 | #include "png.h" |
| @@ -21,6 +21,7 @@ · 20 unmodified lines | ||
| 21 | 21 | #include "libavutil/intreadwrite.h" |
| 22 | 22 | |
| 23 | 23 | #include "avcodec.h" |
| 24 | +#include "codec_internal.h" | |
| 24 | 25 | #include "internal.h" |
| 25 | 26 | |
| 26 | 27 | |
| @@ -25,6 +25,7 @@ · 24 unmodified lines | ||
| 25 | 25 | */ |
| 26 | 26 | |
| 27 | 27 | #include "avcodec.h" |
| 28 | +#include "codec_internal.h" | |
| 28 | 29 | #include "internal.h" |
| 29 | 30 | #include "libavutil/common.h" |
| 30 | 31 | |
| @@ -28,6 +28,7 @@ · 27 unmodified lines | ||
| 28 | 28 | |
| 29 | 29 | #include "avcodec.h" |
| 30 | 30 | #include "bytestream.h" |
| 31 | +#include "codec_internal.h" | |
| 31 | 32 | #include "get_bits.h" |
| 32 | 33 | #include "huffyuvdsp.h" |
| 33 | 34 | #include "internal.h" |
| @@ -28,9 +28,9 @@ · 27 unmodified lines | ||
| 28 | 28 | |
| 29 | 29 | #include "avcodec.h" |
| 30 | 30 | #include "bytestream.h" |
| 31 | +#include "codec_internal.h" | |
| 31 | 32 | #include "encode.h" |
| 32 | 33 | #include "put_bits.h" |
| 33 | −#include "internal.h" | |
| 34 | 34 | #include "thread.h" |
| 35 | 35 | #include "lossless_videoencdsp.h" |
| 36 | 36 | |
| @@ -32,8 +32,8 @@ · 31 unmodified lines | ||
| 32 | 32 | #include "avcodec.h" |
| 33 | 33 | #include "blockdsp.h" |
| 34 | 34 | #include "bswapdsp.h" |
| 35 | +#include "codec_internal.h" | |
| 35 | 36 | #include "idctdsp.h" |
| 36 | −#include "internal.h" | |
| 37 | 37 | #include "mpeg12data.h" |
| 38 | 38 | #include "mpeg12dec.h" |
| 39 | 39 | #include "thread.h" |
| @@ -33,6 +33,7 @@ · 32 unmodified lines | ||
| 33 | 33 | #include "libavutil/internal.h" |
| 34 | 34 | |
| 35 | 35 | #include "avcodec.h" |
| 36 | +#include "codec_internal.h" | |
| 36 | 37 | #include "decode.h" |
| 37 | 38 | #include "h264_parse.h" |
| 38 | 39 | #include "h264_ps.h" |
| @@ -30,9 +30,9 @@ · 29 unmodified lines | ||
| 30 | 30 | |
| 31 | 31 | #define BITSTREAM_READER_LE |
| 32 | 32 | #include "avcodec.h" |
| 33 | +#include "codec_internal.h" | |
| 33 | 34 | #include "fft.h" |
| 34 | 35 | #include "get_bits.h" |
| 35 | −#include "internal.h" | |
| 36 | 36 | #include "lsp.h" |
| 37 | 37 | #include "sinewin.h" |
| 38 | 38 | |
| @@ -27,6 +27,7 @@ · 26 unmodified lines | ||
| 27 | 27 | #include "libavutil/imgutils.h" |
| 28 | 28 | #include "libavutil/opt.h" |
| 29 | 29 | #include "libavutil/time.h" |
| 30 | +#include "codec_internal.h" | |
| 30 | 31 | #include "internal.h" |
| 31 | 32 | |
| 32 | 33 | typedef struct MFContext { |
| @@ -31,7 +31,7 @@ · 30 unmodified lines | ||
| 31 | 31 | #include "libavutil/bprint.h" |
| 32 | 32 | #include "avcodec.h" |
| 33 | 33 | #include "ass.h" |
| 34 | −#include "internal.h" | |
| 34 | +#include "codec_internal.h" | |
| 35 | 35 | |
| 36 | 36 | static int indexof(const char *s, int c) |
| 37 | 37 | { |
| @@ -32,6 +32,7 @@ · 31 unmodified lines | ||
| 32 | 32 | #include "avcodec.h" |
| 33 | 33 | #include "get_bits.h" |
| 34 | 34 | #include "bytestream.h" |
| 35 | +#include "codec_internal.h" | |
| 35 | 36 | #include "internal.h" |
| 36 | 37 | |
| 37 | 38 | typedef struct MidiVidContext { |
| @@ -28,6 +28,7 @@ · 27 unmodified lines | ||
| 28 | 28 | |
| 29 | 29 | #include "avcodec.h" |
| 30 | 30 | #include "blockdsp.h" |
| 31 | +#include "codec_internal.h" | |
| 31 | 32 | #include "internal.h" |
| 32 | 33 | #include "get_bits.h" |
| 33 | 34 | #include "bytestream.h" |
| @@ -27,7 +27,7 @@ · 26 unmodified lines | ||
| 27 | 27 | #include <inttypes.h> |
| 28 | 28 | |
| 29 | 29 | #include "avcodec.h" |
| 30 | −#include "internal.h" | |
| 30 | +#include "codec_internal.h" | |
| 31 | 31 | #include "mjpeg.h" |
| 32 | 32 | #include "mjpegdec.h" |
| 33 | 33 | |
| @@ -38,6 +38,7 @@ · 37 unmodified lines | ||
| 38 | 38 | #include "libavutil/opt.h" |
| 39 | 39 | #include "avcodec.h" |
| 40 | 40 | #include "blockdsp.h" |
| 41 | +#include "codec_internal.h" | |
| 41 | 42 | #include "copy_block.h" |
| 42 | 43 | #include "decode.h" |
| 43 | 44 | #include "hwconfig.h" |
| @@ -35,6 +35,7 @@ · 34 unmodified lines | ||
| 35 | 35 | #include "libavutil/pixdesc.h" |
| 36 | 36 | |
| 37 | 37 | #include "avcodec.h" |
| 38 | +#include "codec_internal.h" | |
| 38 | 39 | #include "jpegtables.h" |
| 39 | 40 | #include "mjpegenc_common.h" |
| 40 | 41 | #include "mjpegenc_huffman.h" |
| @@ -35,6 +35,7 @@ · 34 unmodified lines | ||
| 35 | 35 | #include "libavutil/mem_internal.h" |
| 36 | 36 | #include "libavutil/thread.h" |
| 37 | 37 | #include "libavutil/opt.h" |
| 38 | +#include "codec_internal.h" | |
| 38 | 39 | #include "get_bits.h" |
| 39 | 40 | #include "internal.h" |
| 40 | 41 | #include "libavutil/crc.h" |
| @@ -23,8 +23,8 @@ · 22 unmodified lines | ||
| 23 | 23 | #include "config_components.h" |
| 24 | 24 | |
| 25 | 25 | #include "avcodec.h" |
| 26 | +#include "codec_internal.h" | |
| 26 | 27 | #include "encode.h" |
| 27 | −#include "internal.h" | |
| 28 | 28 | #include "put_bits.h" |
| 29 | 29 | #include "audio_frame_queue.h" |
| 30 | 30 | #include "libavutil/channel_layout.h" |
| @@ -34,6 +34,7 @@ · 33 unmodified lines | ||
| 34 | 34 | #include <stdatomic.h> |
| 35 | 35 | |
| 36 | 36 | #include "avcodec.h" |
| 37 | +#include "codec_internal.h" | |
| 37 | 38 | #include "decode.h" |
| 38 | 39 | #include "hwconfig.h" |
| 39 | 40 | #include "internal.h" |
| @@ -34,6 +34,7 @@ · 33 unmodified lines | ||
| 34 | 34 | #include "libavutil/intreadwrite.h" |
| 35 | 35 | #include "avcodec.h" |
| 36 | 36 | #include "bytestream.h" |
| 37 | +#include "codec_internal.h" | |
| 37 | 38 | #include "internal.h" |
| 38 | 39 | |
| 39 | 40 | #define MM_PREAMBLE_SIZE 6 |
| @@ -29,6 +29,7 @@ · 28 unmodified lines | ||
| 29 | 29 | #include "avcodec.h" |
| 30 | 30 | #include "bytestream.h" |
| 31 | 31 | #include "bswapdsp.h" |
| 32 | +#include "codec_internal.h" | |
| 32 | 33 | #include "get_bits.h" |
| 33 | 34 | #include "golomb.h" |
| 34 | 35 | #include "internal.h" |
| @@ -26,6 +26,7 @@ · 25 unmodified lines | ||
| 26 | 26 | #include "avcodec.h" |
| 27 | 27 | #include "get_bits.h" |
| 28 | 28 | #include "bswapdsp.h" |
| 29 | +#include "codec_internal.h" | |
| 29 | 30 | #include "internal.h" |
| 30 | 31 | |
| 31 | 32 | #define MAX_HUFF_CODES 16 |
| @@ -28,7 +28,7 @@ · 27 unmodified lines | ||
| 28 | 28 | #include "libavutil/intreadwrite.h" |
| 29 | 29 | #include "libavutil/mem.h" |
| 30 | 30 | #include "bytestream.h" |
| 31 | −#include "internal.h" | |
| 31 | +#include "codec_internal.h" | |
| 32 | 32 | |
| 33 | 33 | #define STYLE_FLAG_BOLD (1<<0) |
| 34 | 34 | #define STYLE_FLAG_ITALIC (1<<1) |
| @@ -29,7 +29,7 @@ · 28 unmodified lines | ||
| 29 | 29 | #include "ass_split.h" |
| 30 | 30 | #include "ass.h" |
| 31 | 31 | #include "bytestream.h" |
| 32 | −#include "internal.h" | |
| 32 | +#include "codec_internal.h" | |
| 33 | 33 | |
| 34 | 34 | #define STYLE_FLAG_BOLD (1<<0) |
| 35 | 35 | #define STYLE_FLAG_ITALIC (1<<1) |
| @@ -32,6 +32,7 @@ · 31 unmodified lines | ||
| 32 | 32 | #include "libavutil/thread.h" |
| 33 | 33 | |
| 34 | 34 | #include "avcodec.h" |
| 35 | +#include "codec_internal.h" | |
| 35 | 36 | #include "get_bits.h" |
| 36 | 37 | #include "internal.h" |
| 37 | 38 | #include "mpegaudiodsp.h" |
| @@ -29,6 +29,7 @@ · 28 unmodified lines | ||
| 29 | 29 | #include "libavutil/lfg.h" |
| 30 | 30 | #include "libavutil/thread.h" |
| 31 | 31 | #include "avcodec.h" |
| 32 | +#include "codec_internal.h" | |
| 32 | 33 | #include "get_bits.h" |
| 33 | 34 | #include "internal.h" |
| 34 | 35 | #include "mpegaudiodsp.h" |
| @@ -38,6 +38,7 @@ · 37 unmodified lines | ||
| 38 | 38 | #include "libavutil/timecode.h" |
| 39 | 39 | |
| 40 | 40 | #include "avcodec.h" |
| 41 | +#include "codec_internal.h" | |
| 41 | 42 | #include "error_resilience.h" |
| 42 | 43 | #include "hwconfig.h" |
| 43 | 44 | #include "idctdsp.h" |
| @@ -38,6 +38,7 @@ · 37 unmodified lines | ||
| 38 | 38 | #include "libavutil/stereo3d.h" |
| 39 | 39 | |
| 40 | 40 | #include "avcodec.h" |
| 41 | +#include "codec_internal.h" | |
| 41 | 42 | #include "mathops.h" |
| 42 | 43 | #include "mpeg12.h" |
| 43 | 44 | #include "mpeg12data.h" |
| @@ -27,10 +27,10 @@ · 26 unmodified lines | ||
| 27 | 27 | #include "libavutil/internal.h" |
| 28 | 28 | #include "libavutil/opt.h" |
| 29 | 29 | #include "libavutil/thread.h" |
| 30 | +#include "codec_internal.h" | |
| 30 | 31 | #include "error_resilience.h" |
| 31 | 32 | #include "hwconfig.h" |
| 32 | 33 | #include "idctdsp.h" |
| 33 | −#include "internal.h" | |
| 34 | 34 | #include "mpegutils.h" |
| 35 | 35 | #include "mpegvideo.h" |
| 36 | 36 | #include "mpegvideodata.h" |
| @@ -24,6 +24,7 @@ · 23 unmodified lines | ||
| 24 | 24 | #include "libavutil/log.h" |
| 25 | 25 | #include "libavutil/opt.h" |
| 26 | 26 | #include "libavutil/thread.h" |
| 27 | +#include "codec_internal.h" | |
| 27 | 28 | #include "mpegutils.h" |
| 28 | 29 | #include "mpegvideo.h" |
| 29 | 30 | #include "h263.h" |
| @@ -24,6 +24,7 @@ · 23 unmodified lines | ||
| 24 | 24 | |
| 25 | 25 | #define USE_FLOATS 0 |
| 26 | 26 | |
| 27 | +#include "codec_internal.h" | |
| 27 | 28 | #include "mpegaudio.h" |
| 28 | 29 | |
| 29 | 30 | #define SHR(a,b) (((int)(a))>>(b)) |
| @@ -25,6 +25,7 @@ · 24 unmodified lines | ||
| 25 | 25 | |
| 26 | 26 | #define USE_FLOATS 1 |
| 27 | 27 | |
| 28 | +#include "codec_internal.h" | |
| 28 | 29 | #include "mpegaudio.h" |
| 29 | 30 | |
| 30 | 31 | #define SHR(a,b) ((a)*(1.0f/(1<<(b)))) |
| @@ -20,6 +20,7 @@ · 19 unmodified lines | ||
| 20 | 20 | */ |
| 21 | 21 | |
| 22 | 22 | #include "libavutil/channel_layout.h" |
| 23 | +#include "codec_internal.h" | |
| 23 | 24 | #include "mpegaudioenc_template.c" |
| 24 | 25 | |
| 25 | 26 | const AVCodec ff_mp2fixed_encoder = { |
| @@ -21,6 +21,7 @@ · 20 unmodified lines | ||
| 21 | 21 | |
| 22 | 22 | #include "libavutil/channel_layout.h" |
| 23 | 23 | #define USE_FLOATS 1 |
| 24 | +#include "codec_internal.h" | |
| 24 | 25 | #include "mpegaudioenc_template.c" |
| 25 | 26 | |
| 26 | 27 | const AVCodec ff_mp2_encoder = { |
| @@ -27,7 +27,7 @@ · 26 unmodified lines | ||
| 27 | 27 | |
| 28 | 28 | #include "avcodec.h" |
| 29 | 29 | #include "ass.h" |
| 30 | −#include "internal.h" | |
| 30 | +#include "codec_internal.h" | |
| 31 | 31 | #include "libavutil/bprint.h" |
| 32 | 32 | |
| 33 | 33 | static int mpl2_event_to_ass(AVBPrint *buf, const char *p) |
| @@ -26,6 +26,7 @@ · 25 unmodified lines | ||
| 26 | 26 | |
| 27 | 27 | #include "avcodec.h" |
| 28 | 28 | #include "bytestream.h" |
| 29 | +#include "codec_internal.h" | |
| 29 | 30 | #include "internal.h" |
| 30 | 31 | #include "zlib_wrapper.h" |
| 31 | 32 | |
| @@ -27,7 +27,7 @@ · 26 unmodified lines | ||
| 27 | 27 | #include "libavutil/thread.h" |
| 28 | 28 | |
| 29 | 29 | #include "avcodec.h" |
| 30 | −#include "internal.h" | |
| 30 | +#include "codec_internal.h" | |
| 31 | 31 | #include "mpegutils.h" |
| 32 | 32 | #include "mpegvideo.h" |
| 33 | 33 | #include "msmpeg4.h" |
| @@ -33,11 +33,11 @@ · 32 unmodified lines | ||
| 33 | 33 | #include "libavutil/attributes.h" |
| 34 | 34 | #include "libavutil/avutil.h" |
| 35 | 35 | #include "libavutil/thread.h" |
| 36 | +#include "codec_internal.h" | |
| 36 | 37 | #include "mpegvideo.h" |
| 37 | 38 | #include "mpegvideoenc.h" |
| 38 | 39 | #include "h263.h" |
| 39 | 40 | #include "h263data.h" |
| 40 | −#include "internal.h" | |
| 41 | 41 | #include "mpeg4video.h" |
| 42 | 42 | #include "msmpeg4.h" |
| 43 | 43 | #include "msmpeg4data.h" |
| @@ -33,6 +33,7 @@ · 32 unmodified lines | ||
| 33 | 33 | #include <string.h> |
| 34 | 34 | |
| 35 | 35 | #include "avcodec.h" |
| 36 | +#include "codec_internal.h" | |
| 36 | 37 | #include "decode.h" |
| 37 | 38 | #include "internal.h" |
| 38 | 39 | #include "msrledec.h" |
| @@ -25,6 +25,7 @@ · 24 unmodified lines | ||
| 25 | 25 | */ |
| 26 | 26 | |
| 27 | 27 | #include "avcodec.h" |
| 28 | +#include "codec_internal.h" | |
| 28 | 29 | #include "internal.h" |
| 29 | 30 | #include "mss12.h" |
| 30 | 31 | |
| @@ -24,6 +24,7 @@ · 23 unmodified lines | ||
| 24 | 24 | */ |
| 25 | 25 | |
| 26 | 26 | #include "libavutil/avassert.h" |
| 27 | +#include "codec_internal.h" | |
| 27 | 28 | #include "error_resilience.h" |
| 28 | 29 | #include "internal.h" |
| 29 | 30 | #include "mpeg_er.h" |
| @@ -26,6 +26,7 @@ · 25 unmodified lines | ||
| 26 | 26 | |
| 27 | 27 | #include "avcodec.h" |
| 28 | 28 | #include "bytestream.h" |
| 29 | +#include "codec_internal.h" | |
| 29 | 30 | #include "internal.h" |
| 30 | 31 | #include "mathops.h" |
| 31 | 32 | #include "mss34dsp.h" |
| @@ -29,6 +29,7 @@ · 28 unmodified lines | ||
| 29 | 29 | |
| 30 | 30 | #include "avcodec.h" |
| 31 | 31 | #include "bytestream.h" |
| 32 | +#include "codec_internal.h" | |
| 32 | 33 | #include "get_bits.h" |
| 33 | 34 | #include "internal.h" |
| 34 | 35 | #include "jpegtables.h" |
| @@ -33,6 +33,7 @@ · 32 unmodified lines | ||
| 33 | 33 | #include "libavutil/internal.h" |
| 34 | 34 | #include "libavutil/intreadwrite.h" |
| 35 | 35 | #include "avcodec.h" |
| 36 | +#include "codec_internal.h" | |
| 36 | 37 | #include "decode.h" |
| 37 | 38 | #include "internal.h" |
| 38 | 39 | |
| @@ -25,8 +25,8 @@ · 24 unmodified lines | ||
| 25 | 25 | */ |
| 26 | 26 | |
| 27 | 27 | #include "avcodec.h" |
| 28 | +#include "codec_internal.h" | |
| 28 | 29 | #include "encode.h" |
| 29 | −#include "internal.h" | |
| 30 | 30 | #include "bytestream.h" |
| 31 | 31 | #include "libavutil/lfg.h" |
| 32 | 32 | #include "elbg.h" |
| @@ -28,6 +28,7 @@ · 27 unmodified lines | ||
| 28 | 28 | |
| 29 | 29 | #include "avcodec.h" |
| 30 | 30 | #include "bytestream.h" |
| 31 | +#include "codec_internal.h" | |
| 31 | 32 | #include "copy_block.h" |
| 32 | 33 | #include "mathops.h" |
| 33 | 34 | #include "blockdsp.h" |
| @@ -30,6 +30,7 @@ · 29 unmodified lines | ||
| 30 | 30 | |
| 31 | 31 | #include "avcodec.h" |
| 32 | 32 | #include "bytestream.h" |
| 33 | +#include "codec_internal.h" | |
| 33 | 34 | #include "internal.h" |
| 34 | 35 | |
| 35 | 36 | typedef struct MvcContext { |
| @@ -29,6 +29,7 @@ · 28 unmodified lines | ||
| 29 | 29 | |
| 30 | 30 | #include "avcodec.h" |
| 31 | 31 | #include "bytestream.h" |
| 32 | +#include "codec_internal.h" | |
| 32 | 33 | #include "get_bits.h" |
| 33 | 34 | #include "internal.h" |
| 34 | 35 | #include "lossless_videodsp.h" |
| @@ -26,6 +26,7 @@ · 25 unmodified lines | ||
| 26 | 26 | |
| 27 | 27 | #include "avcodec.h" |
| 28 | 28 | #include "bytestream.h" |
| 29 | +#include "codec_internal.h" | |
| 29 | 30 | #include "internal.h" |
| 30 | 31 | #include "zlib_wrapper.h" |
| 31 | 32 | |
| @@ -25,6 +25,7 @@ · 24 unmodified lines | ||
| 25 | 25 | * MxPEG decoder |
| 26 | 26 | */ |
| 27 | 27 | |
| 28 | +#include "codec_internal.h" | |
| 28 | 29 | #include "internal.h" |
| 29 | 30 | #include "mjpeg.h" |
| 30 | 31 | #include "mjpegdec.h" |
| @@ -39,6 +39,7 @@ · 38 unmodified lines | ||
| 39 | 39 | |
| 40 | 40 | #define BITSTREAM_READER_LE |
| 41 | 41 | #include "avcodec.h" |
| 42 | +#include "codec_internal.h" | |
| 42 | 43 | #include "fft.h" |
| 43 | 44 | #include "get_bits.h" |
| 44 | 45 | #include "internal.h" |
| @@ -42,9 +42,9 @@ · 41 unmodified lines | ||
| 42 | 42 | |
| 43 | 43 | #include "audio_frame_queue.h" |
| 44 | 44 | #include "avcodec.h" |
| 45 | +#include "codec_internal.h" | |
| 45 | 46 | #include "encode.h" |
| 46 | 47 | #include "fft.h" |
| 47 | −#include "internal.h" | |
| 48 | 48 | #include "nellymoser.h" |
| 49 | 49 | #include "sinewin.h" |
| 50 | 50 | |
| @@ -27,6 +27,7 @@ · 26 unmodified lines | ||
| 27 | 27 | #include "libavutil/intreadwrite.h" |
| 28 | 28 | #include "avcodec.h" |
| 29 | 29 | #include "bytestream.h" |
| 30 | +#include "codec_internal.h" | |
| 30 | 31 | #include "get_bits.h" |
| 31 | 32 | #include "internal.h" |
| 32 | 33 | #include "lzf.h" |
| @@ -29,6 +29,7 @@ · 28 unmodified lines | ||
| 29 | 29 | #include "libavutil/lzo.h" |
| 30 | 30 | #include "libavutil/imgutils.h" |
| 31 | 31 | #include "avcodec.h" |
| 32 | +#include "codec_internal.h" | |
| 32 | 33 | #include "idctdsp.h" |
| 33 | 34 | #include "internal.h" |
| 34 | 35 | #include "rtjpeg.h" |
| @@ -19,7 +19,7 @@ · 18 unmodified lines | ||
| 19 | 19 | #include "libavutil/internal.h" |
| 20 | 20 | |
| 21 | 21 | #include "avcodec.h" |
| 22 | −#include "internal.h" | |
| 22 | +#include "codec_internal.h" | |
| 23 | 23 | |
| 24 | 24 | #include "nvenc.h" |
| 25 | 25 | |
| @@ -19,7 +19,7 @@ · 18 unmodified lines | ||
| 19 | 19 | #include "libavutil/internal.h" |
| 20 | 20 | |
| 21 | 21 | #include "avcodec.h" |
| 22 | −#include "internal.h" | |
| 22 | +#include "codec_internal.h" | |
| 23 | 23 | |
| 24 | 24 | #include "nvenc.h" |
| 25 | 25 | |
| @@ -41,8 +41,8 @@ · 40 unmodified lines | ||
| 41 | 41 | #include "libavutil/opt.h" |
| 42 | 42 | |
| 43 | 43 | #include "avcodec.h" |
| 44 | +#include "codec_internal.h" | |
| 44 | 45 | #include "h264.h" |
| 45 | −#include "internal.h" | |
| 46 | 46 | #include "pthread_internal.h" |
| 47 | 47 | |
| 48 | 48 | #ifdef OMX_SKIP64BIT |
| @@ -27,6 +27,7 @@ · 26 unmodified lines | ||
| 27 | 27 | |
| 28 | 28 | #include "avcodec.h" |
| 29 | 29 | #include "bytestream.h" |
| 30 | +#include "codec_internal.h" | |
| 30 | 31 | #include "fft.h" |
| 31 | 32 | #include "get_bits.h" |
| 32 | 33 | #include "internal.h" |
| @@ -27,7 +27,7 @@ · 26 unmodified lines | ||
| 27 | 27 | #include "config_components.h" |
| 28 | 28 | |
| 29 | 29 | #include "avcodec.h" |
| 30 | −#include "internal.h" | |
| 30 | +#include "codec_internal.h" | |
| 31 | 31 | #include "libavutil/avassert.h" |
| 32 | 32 | #include "libavutil/internal.h" |
| 33 | 33 | #include "libavutil/mem.h" |
| @@ -43,6 +43,7 @@ · 42 unmodified lines | ||
| 43 | 43 | #include "libswresample/swresample.h" |
| 44 | 44 | |
| 45 | 45 | #include "avcodec.h" |
| 46 | +#include "codec_internal.h" | |
| 46 | 47 | #include "get_bits.h" |
| 47 | 48 | #include "internal.h" |
| 48 | 49 | #include "mathops.h" |
| @@ -29,9 +29,9 @@ · 28 unmodified lines | ||
| 29 | 29 | #include "libavutil/float_dsp.h" |
| 30 | 30 | #include "libavutil/mem_internal.h" |
| 31 | 31 | #include "libavutil/opt.h" |
| 32 | −#include "internal.h" | |
| 33 | 32 | #include "bytestream.h" |
| 34 | 33 | #include "audio_frame_queue.h" |
| 34 | +#include "codec_internal.h" | |
| 35 | 35 | |
| 36 | 36 | typedef struct OpusEncContext { |
| 37 | 37 | AVClass *av_class; |
| @@ -23,6 +23,7 @@ · 22 unmodified lines | ||
| 23 | 23 | #include "libavutil/intreadwrite.h" |
| 24 | 24 | |
| 25 | 25 | #include "avcodec.h" |
| 26 | +#include "codec_internal.h" | |
| 26 | 27 | #include "internal.h" |
| 27 | 28 | #include "mathops.h" |
| 28 | 29 | #include "paf.h" |
| @@ -24,6 +24,7 @@ · 23 unmodified lines | ||
| 24 | 24 | #include "avcodec.h" |
| 25 | 25 | #include "bytestream.h" |
| 26 | 26 | #include "copy_block.h" |
| 27 | +#include "codec_internal.h" | |
| 27 | 28 | #include "internal.h" |
| 28 | 29 | |
| 29 | 30 | |
| @@ -21,8 +21,8 @@ · 20 unmodified lines | ||
| 21 | 21 | |
| 22 | 22 | #include "libavutil/avassert.h" |
| 23 | 23 | #include "avcodec.h" |
| 24 | +#include "codec_internal.h" | |
| 24 | 25 | #include "encode.h" |
| 25 | −#include "internal.h" | |
| 26 | 26 | |
| 27 | 27 | static int pam_encode_frame(AVCodecContext *avctx, AVPacket *pkt, |
| 28 | 28 | const AVFrame *p, int *got_packet) |
| @@ -21,6 +21,7 @@ · 20 unmodified lines | ||
| 21 | 21 | #include "libavutil/channel_layout.h" |
| 22 | 22 | #include "avcodec.h" |
| 23 | 23 | #include "bytestream.h" |
| 24 | +#include "codec_internal.h" | |
| 24 | 25 | #include "encode.h" |
| 25 | 26 | #include "internal.h" |
| 26 | 27 | |
| @@ -26,6 +26,7 @@ · 25 unmodified lines | ||
| 26 | 26 | |
| 27 | 27 | #include "avcodec.h" |
| 28 | 28 | #include "bytestream.h" |
| 29 | +#include "codec_internal.h" | |
| 29 | 30 | #include "internal.h" |
| 30 | 31 | |
| 31 | 32 | typedef struct PCMDVDContext { |
| @@ -22,6 +22,7 @@ · 21 unmodified lines | ||
| 22 | 22 | #include "libavutil/channel_layout.h" |
| 23 | 23 | #include "avcodec.h" |
| 24 | 24 | #include "bytestream.h" |
| 25 | +#include "codec_internal.h" | |
| 25 | 26 | #include "encode.h" |
| 26 | 27 | #include "internal.h" |
| 27 | 28 | |
| @@ -31,6 +31,7 @@ · 30 unmodified lines | ||
| 31 | 31 | #include "libavutil/thread.h" |
| 32 | 32 | #include "avcodec.h" |
| 33 | 33 | #include "bytestream.h" |
| 34 | +#include "codec_internal.h" | |
| 34 | 35 | #include "encode.h" |
| 35 | 36 | #include "internal.h" |
| 36 | 37 | #include "mathops.h" |
| @@ -29,8 +29,8 @@ · 28 unmodified lines | ||
| 29 | 29 | #include "avcodec.h" |
| 30 | 30 | #include "bytestream.h" |
| 31 | 31 | #include "libavutil/imgutils.h" |
| 32 | +#include "codec_internal.h" | |
| 32 | 33 | #include "encode.h" |
| 33 | −#include "internal.h" | |
| 34 | 34 | |
| 35 | 35 | static const uint32_t monoblack_pal[16] = { 0x000000, 0xFFFFFF }; |
| 36 | 36 | |
| @@ -26,6 +26,7 @@ · 25 unmodified lines | ||
| 26 | 26 | |
| 27 | 27 | #include "avcodec.h" |
| 28 | 28 | #include "bytestream.h" |
| 29 | +#include "codec_internal.h" | |
| 29 | 30 | #include "internal.h" |
| 30 | 31 | #include "mathops.h" |
| 31 | 32 | |
| @@ -35,6 +35,7 @@ · 34 unmodified lines | ||
| 35 | 35 | #include "libavutil/opt.h" |
| 36 | 36 | #include "avcodec.h" |
| 37 | 37 | #include "bytestream.h" |
| 38 | +#include "codec_internal.h" | |
| 38 | 39 | #include "get_bits.h" |
| 39 | 40 | #include "internal.h" |
| 40 | 41 | #include "thread.h" |
| @@ -27,6 +27,7 @@ · 26 unmodified lines | ||
| 27 | 27 | |
| 28 | 28 | #include "avcodec.h" |
| 29 | 29 | #include "bytestream.h" |
| 30 | +#include "codec_internal.h" | |
| 30 | 31 | #include "get_bits.h" |
| 31 | 32 | #include "internal.h" |
| 32 | 33 | #include "thread.h" |
| @@ -33,6 +33,7 @@ · 32 unmodified lines | ||
| 33 | 33 | |
| 34 | 34 | #include "avcodec.h" |
| 35 | 35 | #include "bytestream.h" |
| 36 | +#include "codec_internal.h" | |
| 36 | 37 | #include "internal.h" |
| 37 | 38 | #include "apng.h" |
| 38 | 39 | #include "png.h" |
| @@ -20,8 +20,8 @@ · 19 unmodified lines | ||
| 20 | 20 | */ |
| 21 | 21 | |
| 22 | 22 | #include "avcodec.h" |
| 23 | +#include "codec_internal.h" | |
| 23 | 24 | #include "encode.h" |
| 24 | −#include "internal.h" | |
| 25 | 25 | #include "bytestream.h" |
| 26 | 26 | #include "lossless_videoencdsp.h" |
| 27 | 27 | #include "png.h" |
| @@ -25,8 +25,8 @@ · 24 unmodified lines | ||
| 25 | 25 | #include "libavutil/imgutils.h" |
| 26 | 26 | #include "libavutil/pixdesc.h" |
| 27 | 27 | #include "avcodec.h" |
| 28 | +#include "codec_internal.h" | |
| 28 | 29 | #include "encode.h" |
| 29 | −#include "internal.h" | |
| 30 | 30 | |
| 31 | 31 | static int pnm_encode_frame(AVCodecContext *avctx, AVPacket *pkt, |
| 32 | 32 | const AVFrame *p, int *got_packet) |
| @@ -34,6 +34,7 @@ · 33 unmodified lines | ||
| 34 | 34 | #include "libavutil/mem_internal.h" |
| 35 | 35 | |
| 36 | 36 | #include "avcodec.h" |
| 37 | +#include "codec_internal.h" | |
| 37 | 38 | #include "get_bits.h" |
| 38 | 39 | #include "hwconfig.h" |
| 39 | 40 | #include "idctdsp.h" |
| @@ -30,6 +30,7 @@ · 29 unmodified lines | ||
| 30 | 30 | #include "libavutil/mem_internal.h" |
| 31 | 31 | #include "libavutil/opt.h" |
| 32 | 32 | #include "avcodec.h" |
| 33 | +#include "codec_internal.h" | |
| 33 | 34 | #include "dct.h" |
| 34 | 35 | #include "encode.h" |
| 35 | 36 | #include "internal.h" |
| @@ -27,12 +27,12 @@ · 26 unmodified lines | ||
| 27 | 27 | #include "libavutil/opt.h" |
| 28 | 28 | #include "libavutil/pixdesc.h" |
| 29 | 29 | #include "avcodec.h" |
| 30 | +#include "codec_internal.h" | |
| 30 | 31 | #include "encode.h" |
| 31 | 32 | #include "fdctdsp.h" |
| 32 | 33 | #include "put_bits.h" |
| 33 | 34 | #include "profiles.h" |
| 34 | 35 | #include "bytestream.h" |
| 35 | −#include "internal.h" | |
| 36 | 36 | #include "proresdata.h" |
| 37 | 37 | |
| 38 | 38 | #define CFACTOR_Y422 2 |
| @@ -30,6 +30,7 @@ · 29 unmodified lines | ||
| 30 | 30 | |
| 31 | 31 | #include "avcodec.h" |
| 32 | 32 | #include "bytestream.h" |
| 33 | +#include "codec_internal.h" | |
| 33 | 34 | #include "internal.h" |
| 34 | 35 | |
| 35 | 36 | typedef struct ProSumerContext { |
| @@ -32,7 +32,7 @@ · 31 unmodified lines | ||
| 32 | 32 | #include "libavutil/thread.h" |
| 33 | 33 | |
| 34 | 34 | #include "avcodec.h" |
| 35 | −#include "internal.h" | |
| 35 | +#include "codec_internal.h" | |
| 36 | 36 | #include "pthread_internal.h" |
| 37 | 37 | #include "thread.h" |
| 38 | 38 | |
| @@ -28,6 +28,7 @@ · 27 unmodified lines | ||
| 28 | 28 | #include <stdint.h> |
| 29 | 29 | |
| 30 | 30 | #include "avcodec.h" |
| 31 | +#include "codec_internal.h" | |
| 31 | 32 | #include "hwconfig.h" |
| 32 | 33 | #include "internal.h" |
| 33 | 34 | #include "pthread_internal.h" |
| @@ -25,6 +25,7 @@ · 24 unmodified lines | ||
| 25 | 25 | #include "config.h" |
| 26 | 26 | |
| 27 | 27 | #include "avcodec.h" |
| 28 | +#include "codec_internal.h" | |
| 28 | 29 | #include "internal.h" |
| 29 | 30 | #include "pthread_internal.h" |
| 30 | 31 | #include "thread.h" |
| @@ -33,6 +33,7 @@ · 32 unmodified lines | ||
| 33 | 33 | #include "libavutil/channel_layout.h" |
| 34 | 34 | #include "libavutil/float_dsp.h" |
| 35 | 35 | #include "avcodec.h" |
| 36 | +#include "codec_internal.h" | |
| 36 | 37 | #include "internal.h" |
| 37 | 38 | #include "get_bits.h" |
| 38 | 39 | #include "qcelpdata.h" |
| @@ -43,6 +43,7 @@ · 42 unmodified lines | ||
| 43 | 43 | #include "avcodec.h" |
| 44 | 44 | #include "get_bits.h" |
| 45 | 45 | #include "bytestream.h" |
| 46 | +#include "codec_internal.h" | |
| 46 | 47 | #include "internal.h" |
| 47 | 48 | #include "mpegaudio.h" |
| 48 | 49 | #include "mpegaudiodsp.h" |
| @@ -31,6 +31,7 @@ · 30 unmodified lines | ||
| 31 | 31 | |
| 32 | 32 | #include "avcodec.h" |
| 33 | 33 | #include "bytestream.h" |
| 34 | +#include "codec_internal.h" | |
| 34 | 35 | #include "get_bits.h" |
| 35 | 36 | #include "internal.h" |
| 36 | 37 | |
| @@ -26,6 +26,7 @@ · 25 unmodified lines | ||
| 26 | 26 | |
| 27 | 27 | #include "avcodec.h" |
| 28 | 28 | #include "bytestream.h" |
| 29 | +#include "codec_internal.h" | |
| 29 | 30 | #include "decode.h" |
| 30 | 31 | #include "internal.h" |
| 31 | 32 | |
| @@ -30,7 +30,7 @@ · 29 unmodified lines | ||
| 30 | 30 | #include "libavutil/opt.h" |
| 31 | 31 | |
| 32 | 32 | #include "avcodec.h" |
| 33 | −#include "internal.h" | |
| 33 | +#include "codec_internal.h" | |
| 34 | 34 | #include "qsv.h" |
| 35 | 35 | #include "qsv_internal.h" |
| 36 | 36 | #include "qsvenc.h" |
| @@ -29,11 +29,11 @@ · 28 unmodified lines | ||
| 29 | 29 | |
| 30 | 30 | #include "avcodec.h" |
| 31 | 31 | #include "bytestream.h" |
| 32 | +#include "codec_internal.h" | |
| 32 | 33 | #include "get_bits.h" |
| 33 | 34 | #include "hevc.h" |
| 34 | 35 | #include "hevcdec.h" |
| 35 | 36 | #include "h2645_parse.h" |
| 36 | −#include "internal.h" | |
| 37 | 37 | #include "qsv.h" |
| 38 | 38 | #include "qsv_internal.h" |
| 39 | 39 | #include "qsvenc.h" |
| @@ -28,7 +28,7 @@ · 27 unmodified lines | ||
| 28 | 28 | #include "libavutil/opt.h" |
| 29 | 29 | |
| 30 | 30 | #include "avcodec.h" |
| 31 | −#include "internal.h" | |
| 31 | +#include "codec_internal.h" | |
| 32 | 32 | #include "qsv.h" |
| 33 | 33 | #include "qsv_internal.h" |
| 34 | 34 | #include "qsvenc.h" |
| @@ -28,7 +28,7 @@ · 27 unmodified lines | ||
| 28 | 28 | #include "libavutil/opt.h" |
| 29 | 29 | |
| 30 | 30 | #include "avcodec.h" |
| 31 | −#include "internal.h" | |
| 31 | +#include "codec_internal.h" | |
| 32 | 32 | #include "qsv.h" |
| 33 | 33 | #include "qsv_internal.h" |
| 34 | 34 | #include "qsvenc.h" |
| @@ -28,7 +28,7 @@ · 27 unmodified lines | ||
| 28 | 28 | #include "libavutil/opt.h" |
| 29 | 29 | |
| 30 | 30 | #include "avcodec.h" |
| 31 | −#include "internal.h" | |
| 31 | +#include "codec_internal.h" | |
| 32 | 32 | #include "qsv.h" |
| 33 | 33 | #include "qsv_internal.h" |
| 34 | 34 | #include "qsvenc.h" |
| @@ -38,6 +38,7 @@ · 37 unmodified lines | ||
| 38 | 38 | #include "avcodec.h" |
| 39 | 39 | #include "decode.h" |
| 40 | 40 | #include "bytestream.h" |
| 41 | +#include "codec_internal.h" | |
| 41 | 42 | #include "internal.h" |
| 42 | 43 | |
| 43 | 44 | typedef struct QtrleContext { |
| @@ -25,8 +25,8 @@ · 24 unmodified lines | ||
| 25 | 25 | #include "libavutil/imgutils.h" |
| 26 | 26 | #include "avcodec.h" |
| 27 | 27 | #include "bytestream.h" |
| 28 | +#include "codec_internal.h" | |
| 28 | 29 | #include "encode.h" |
| 29 | −#include "internal.h" | |
| 30 | 30 | |
| 31 | 31 | /** Maximum RLE code for bulk copy */ |
| 32 | 32 | #define MAX_RLE_BULK 127 |
| @@ -21,6 +21,7 @@ · 20 unmodified lines | ||
| 21 | 21 | */ |
| 22 | 22 | |
| 23 | 23 | #include "avcodec.h" |
| 24 | +#include "codec_internal.h" | |
| 24 | 25 | #include "config_components.h" |
| 25 | 26 | #include "internal.h" |
| 26 | 27 | #include "libavutil/bswap.h" |
| @@ -23,6 +23,7 @@ · 22 unmodified lines | ||
| 23 | 23 | #include "config_components.h" |
| 24 | 24 | |
| 25 | 25 | #include "avcodec.h" |
| 26 | +#include "codec_internal.h" | |
| 26 | 27 | #include "encode.h" |
| 27 | 28 | #include "internal.h" |
| 28 | 29 | #include "bytestream.h" |
| @@ -24,6 +24,7 @@ · 23 unmodified lines | ||
| 24 | 24 | |
| 25 | 25 | #include "libavutil/channel_layout.h" |
| 26 | 26 | #include "avcodec.h" |
| 27 | +#include "codec_internal.h" | |
| 27 | 28 | #include "get_bits.h" |
| 28 | 29 | #include "internal.h" |
| 29 | 30 | #include "ra144.h" |
| @@ -31,8 +31,8 @@ · 30 unmodified lines | ||
| 31 | 31 | #include "avcodec.h" |
| 32 | 32 | #include "audio_frame_queue.h" |
| 33 | 33 | #include "celp_filters.h" |
| 34 | +#include "codec_internal.h" | |
| 34 | 35 | #include "encode.h" |
| 35 | −#include "internal.h" | |
| 36 | 36 | #include "mathops.h" |
| 37 | 37 | #include "put_bits.h" |
| 38 | 38 | #include "ra144.h" |
| @@ -27,6 +27,7 @@ · 26 unmodified lines | ||
| 27 | 27 | #define BITSTREAM_READER_LE |
| 28 | 28 | #include "avcodec.h" |
| 29 | 29 | #include "celp_filters.h" |
| 30 | +#include "codec_internal.h" | |
| 30 | 31 | #include "get_bits.h" |
| 31 | 32 | #include "internal.h" |
| 32 | 33 | #include "lpc.h" |
| @@ -29,6 +29,7 @@ · 28 unmodified lines | ||
| 29 | 29 | #include "libavutil/attributes.h" |
| 30 | 30 | #include "libavutil/channel_layout.h" |
| 31 | 31 | #include "avcodec.h" |
| 32 | +#include "codec_internal.h" | |
| 32 | 33 | #include "get_bits.h" |
| 33 | 34 | #include "golomb.h" |
| 34 | 35 | #include "internal.h" |
| @@ -29,6 +29,7 @@ · 28 unmodified lines | ||
| 29 | 29 | |
| 30 | 30 | #include "avcodec.h" |
| 31 | 31 | #include "bytestream.h" |
| 32 | +#include "codec_internal.h" | |
| 32 | 33 | #include "internal.h" |
| 33 | 34 | #include "zlib_wrapper.h" |
| 34 | 35 | |
| @@ -26,6 +26,7 @@ · 25 unmodified lines | ||
| 26 | 26 | |
| 27 | 27 | #include "avcodec.h" |
| 28 | 28 | #include "bswapdsp.h" |
| 29 | +#include "codec_internal.h" | |
| 29 | 30 | #include "decode.h" |
| 30 | 31 | #include "get_bits.h" |
| 31 | 32 | #include "internal.h" |
| @@ -25,6 +25,7 @@ · 24 unmodified lines | ||
| 25 | 25 | */ |
| 26 | 26 | |
| 27 | 27 | #include "avcodec.h" |
| 28 | +#include "codec_internal.h" | |
| 28 | 29 | #include "encode.h" |
| 29 | 30 | #include "raw.h" |
| 30 | 31 | #include "internal.h" |
| @@ -26,7 +26,7 @@ · 25 unmodified lines | ||
| 26 | 26 | |
| 27 | 27 | #include "avcodec.h" |
| 28 | 28 | #include "ass.h" |
| 29 | −#include "internal.h" | |
| 29 | +#include "codec_internal.h" | |
| 30 | 30 | #include "libavutil/avstring.h" |
| 31 | 31 | #include "libavutil/bprint.h" |
| 32 | 32 | |
| @@ -34,6 +34,7 @@ · 33 unmodified lines | ||
| 34 | 34 | #include "libavutil/intreadwrite.h" |
| 35 | 35 | #include "libavutil/mem.h" |
| 36 | 36 | #include "avcodec.h" |
| 37 | +#include "codec_internal.h" | |
| 37 | 38 | #include "internal.h" |
| 38 | 39 | |
| 39 | 40 | |
| @@ -23,8 +23,8 @@ · 22 unmodified lines | ||
| 23 | 23 | |
| 24 | 24 | #include "avcodec.h" |
| 25 | 25 | #include "bytestream.h" |
| 26 | +#include "codec_internal.h" | |
| 26 | 27 | #include "encode.h" |
| 27 | −#include "internal.h" | |
| 28 | 28 | #include "mathops.h" |
| 29 | 29 | |
| 30 | 30 | #define ROQ_FRAME_SIZE 735 |
| @@ -30,6 +30,7 @@ · 29 unmodified lines | ||
| 30 | 30 | |
| 31 | 31 | #include "avcodec.h" |
| 32 | 32 | #include "bytestream.h" |
| 33 | +#include "codec_internal.h" | |
| 33 | 34 | #include "internal.h" |
| 34 | 35 | #include "roqvideo.h" |
| 35 | 36 | |
| @@ -61,6 +61,7 @@ · 60 unmodified lines | ||
| 61 | 61 | #include "libavutil/opt.h" |
| 62 | 62 | #include "roqvideo.h" |
| 63 | 63 | #include "bytestream.h" |
| 64 | +#include "codec_internal.h" | |
| 64 | 65 | #include "elbg.h" |
| 65 | 66 | #include "encode.h" |
| 66 | 67 | #include "internal.h" |
| @@ -42,6 +42,7 @@ · 41 unmodified lines | ||
| 42 | 42 | #include "libavutil/internal.h" |
| 43 | 43 | #include "avcodec.h" |
| 44 | 44 | #include "bytestream.h" |
| 45 | +#include "codec_internal.h" | |
| 45 | 46 | #include "internal.h" |
| 46 | 47 | |
| 47 | 48 | typedef struct RpzaContext { |
| @@ -28,8 +28,8 @@ · 27 unmodified lines | ||
| 28 | 28 | #include "libavutil/opt.h" |
| 29 | 29 | |
| 30 | 30 | #include "avcodec.h" |
| 31 | +#include "codec_internal.h" | |
| 31 | 32 | #include "encode.h" |
| 32 | −#include "internal.h" | |
| 33 | 33 | #include "put_bits.h" |
| 34 | 34 | |
| 35 | 35 | typedef struct RpzaContext { |
| @@ -43,6 +43,7 @@ · 42 unmodified lines | ||
| 43 | 43 | |
| 44 | 44 | #include "avcodec.h" |
| 45 | 45 | #include "bytestream.h" |
| 46 | +#include "codec_internal.h" | |
| 46 | 47 | #include "decode.h" |
| 47 | 48 | #include "internal.h" |
| 48 | 49 | |
| @@ -31,6 +31,7 @@ · 30 unmodified lines | ||
| 31 | 31 | #include "libavutil/thread.h" |
| 32 | 32 | |
| 33 | 33 | #include "avcodec.h" |
| 34 | +#include "codec_internal.h" | |
| 34 | 35 | #include "error_resilience.h" |
| 35 | 36 | #include "h263.h" |
| 36 | 37 | #include "h263data.h" |
| @@ -25,6 +25,7 @@ · 24 unmodified lines | ||
| 25 | 25 | * RV10 encoder |
| 26 | 26 | */ |
| 27 | 27 | |
| 28 | +#include "codec_internal.h" | |
| 28 | 29 | #include "mpegvideo.h" |
| 29 | 30 | #include "mpegvideoenc.h" |
| 30 | 31 | #include "put_bits.h" |
| @@ -25,6 +25,7 @@ · 24 unmodified lines | ||
| 25 | 25 | * RV20 encoder |
| 26 | 26 | */ |
| 27 | 27 | |
| 28 | +#include "codec_internal.h" | |
| 28 | 29 | #include "mpegvideo.h" |
| 29 | 30 | #include "mpegvideodata.h" |
| 30 | 31 | #include "mpegvideoenc.h" |
| @@ -25,7 +25,7 @@ · 24 unmodified lines | ||
| 25 | 25 | */ |
| 26 | 26 | |
| 27 | 27 | #include "avcodec.h" |
| 28 | −#include "internal.h" | |
| 28 | +#include "codec_internal.h" | |
| 29 | 29 | #include "mpegutils.h" |
| 30 | 30 | #include "mpegvideo.h" |
| 31 | 31 | #include "mpegvideodec.h" |
| @@ -30,7 +30,7 @@ · 29 unmodified lines | ||
| 30 | 30 | #include "libavutil/thread.h" |
| 31 | 31 | |
| 32 | 32 | #include "avcodec.h" |
| 33 | −#include "internal.h" | |
| 33 | +#include "codec_internal.h" | |
| 34 | 34 | #include "mpegutils.h" |
| 35 | 35 | #include "mpegvideo.h" |
| 36 | 36 | #include "mpegvideodec.h" |
| @@ -22,8 +22,8 @@ · 21 unmodified lines | ||
| 22 | 22 | |
| 23 | 23 | #include "libavutil/channel_layout.h" |
| 24 | 24 | #include "avcodec.h" |
| 25 | +#include "codec_internal.h" | |
| 25 | 26 | #include "encode.h" |
| 26 | −#include "internal.h" | |
| 27 | 27 | #include "mathops.h" |
| 28 | 28 | #include "put_bits.h" |
| 29 | 29 | |
| @@ -27,8 +27,8 @@ · 26 unmodified lines | ||
| 27 | 27 | #include "ass.h" |
| 28 | 28 | #include "libavutil/avstring.h" |
| 29 | 29 | #include "libavutil/bprint.h" |
| 30 | +#include "codec_internal.h" | |
| 30 | 31 | #include "htmlsubtitles.h" |
| 31 | −#include "internal.h" | |
| 32 | 32 | |
| 33 | 33 | typedef struct { |
| 34 | 34 | AVBPrint source; |
| @@ -27,6 +27,7 @@ · 26 unmodified lines | ||
| 27 | 27 | #include "avcodec.h" |
| 28 | 28 | #include "bytestream.h" |
| 29 | 29 | #include "copy_block.h" |
| 30 | +#include "codec_internal.h" | |
| 30 | 31 | #include "internal.h" |
| 31 | 32 | |
| 32 | 33 | #define NGLYPHS 256 |
| @@ -31,6 +31,7 @@ · 30 unmodified lines | ||
| 31 | 31 | */ |
| 32 | 32 | |
| 33 | 33 | #include "avcodec.h" |
| 34 | +#include "codec_internal.h" | |
| 34 | 35 | #include "internal.h" |
| 35 | 36 | #include "libavutil/channel_layout.h" |
| 36 | 37 | #include "libavutil/intreadwrite.h" |
| @@ -33,8 +33,8 @@ · 32 unmodified lines | ||
| 33 | 33 | #include "libavutil/channel_layout.h" |
| 34 | 34 | #include "libavutil/opt.h" |
| 35 | 35 | #include "avcodec.h" |
| 36 | +#include "codec_internal.h" | |
| 36 | 37 | #include "encode.h" |
| 37 | −#include "internal.h" | |
| 38 | 38 | #include "profiles.h" |
| 39 | 39 | #include "put_bits.h" |
| 40 | 40 | #include "sbc.h" |
| @@ -26,6 +26,7 @@ · 25 unmodified lines | ||
| 26 | 26 | |
| 27 | 27 | #include "avcodec.h" |
| 28 | 28 | #include "bytestream.h" |
| 29 | +#include "codec_internal.h" | |
| 29 | 30 | #include "internal.h" |
| 30 | 31 | #include "scpr.h" |
| 31 | 32 | #include "scpr3.h" |
| @@ -42,6 +42,7 @@ · 41 unmodified lines | ||
| 42 | 42 | #include "libavutil/mem.h" |
| 43 | 43 | |
| 44 | 44 | #include "avcodec.h" |
| 45 | +#include "codec_internal.h" | |
| 45 | 46 | #include "internal.h" |
| 46 | 47 | |
| 47 | 48 | typedef struct ScreenpressoContext { |
| @@ -22,6 +22,7 @@ · 21 unmodified lines | ||
| 22 | 22 | #include "avcodec.h" |
| 23 | 23 | #include "get_bits.h" |
| 24 | 24 | #include "bytestream.h" |
| 25 | +#include "codec_internal.h" | |
| 25 | 26 | #include "internal.h" |
| 26 | 27 | |
| 27 | 28 | #define PALDATA_FOLLOWS_TILEDATA 4 |
| @@ -22,6 +22,7 @@ · 21 unmodified lines | ||
| 22 | 22 | #include "libavutil/imgutils.h" |
| 23 | 23 | #include "avcodec.h" |
| 24 | 24 | #include "bytestream.h" |
| 25 | +#include "codec_internal.h" | |
| 25 | 26 | #include "internal.h" |
| 26 | 27 | #include "sgi.h" |
| 27 | 28 | |
| @@ -23,8 +23,8 @@ · 22 unmodified lines | ||
| 23 | 23 | |
| 24 | 24 | #include "avcodec.h" |
| 25 | 25 | #include "bytestream.h" |
| 26 | +#include "codec_internal.h" | |
| 26 | 27 | #include "encode.h" |
| 27 | −#include "internal.h" | |
| 28 | 28 | #include "sgi.h" |
| 29 | 29 | #include "rle.h" |
| 30 | 30 | |
| @@ -29,6 +29,7 @@ · 28 unmodified lines | ||
| 29 | 29 | #include "libavutil/common.h" |
| 30 | 30 | |
| 31 | 31 | #include "avcodec.h" |
| 32 | +#include "codec_internal.h" | |
| 32 | 33 | #include "internal.h" |
| 33 | 34 | |
| 34 | 35 | static av_cold int sgirle_decode_init(AVCodecContext *avctx) |
| @@ -29,6 +29,7 @@ · 28 unmodified lines | ||
| 29 | 29 | #include "avcodec.h" |
| 30 | 30 | #include "bswapdsp.h" |
| 31 | 31 | #include "bytestream.h" |
| 32 | +#include "codec_internal.h" | |
| 32 | 33 | #include "get_bits.h" |
| 33 | 34 | #include "golomb.h" |
| 34 | 35 | #include "internal.h" |
| @@ -31,6 +31,7 @@ · 30 unmodified lines | ||
| 31 | 31 | |
| 32 | 32 | #define BITSTREAM_READER_LE |
| 33 | 33 | #include "avcodec.h" |
| 34 | +#include "codec_internal.h" | |
| 34 | 35 | #include "get_bits.h" |
| 35 | 36 | #include "internal.h" |
| 36 | 37 | #include "lsp.h" |
| @@ -27,6 +27,7 @@ · 26 unmodified lines | ||
| 27 | 27 | #include "libavutil/mem_internal.h" |
| 28 | 28 | |
| 29 | 29 | #include "avcodec.h" |
| 30 | +#include "codec_internal.h" | |
| 30 | 31 | #include "get_bits.h" |
| 31 | 32 | #include "internal.h" |
| 32 | 33 | #include "mathops.h" |
| @@ -50,6 +50,7 @@ · 49 unmodified lines | ||
| 50 | 50 | #endif |
| 51 | 51 | #define BITSTREAM_READER_LE |
| 52 | 52 | #include "bytestream.h" |
| 53 | +#include "codec_internal.h" | |
| 53 | 54 | #include "get_bits.h" |
| 54 | 55 | #include "internal.h" |
| 55 | 56 | #include "mathops.h" |
| @@ -35,6 +35,7 @@ · 34 unmodified lines | ||
| 35 | 35 | #include "libavutil/intreadwrite.h" |
| 36 | 36 | #include "avcodec.h" |
| 37 | 37 | #include "bytestream.h" |
| 38 | +#include "codec_internal.h" | |
| 38 | 39 | #include "decode.h" |
| 39 | 40 | #include "internal.h" |
| 40 | 41 | |
| @@ -27,8 +27,8 @@ · 26 unmodified lines | ||
| 27 | 27 | #include "libavutil/common.h" |
| 28 | 28 | |
| 29 | 29 | #include "avcodec.h" |
| 30 | +#include "codec_internal.h" | |
| 30 | 31 | #include "encode.h" |
| 31 | −#include "internal.h" | |
| 32 | 32 | #include "bytestream.h" |
| 33 | 33 | |
| 34 | 34 | #define CPAIR 2 |
| @@ -22,8 +22,8 @@ · 21 unmodified lines | ||
| 22 | 22 | #include "libavutil/log.h" |
| 23 | 23 | #include "libavutil/opt.h" |
| 24 | 24 | #include "avcodec.h" |
| 25 | +#include "codec_internal.h" | |
| 25 | 26 | #include "snow_dwt.h" |
| 26 | −#include "internal.h" | |
| 27 | 27 | #include "snow.h" |
| 28 | 28 | |
| 29 | 29 | #include "rangecoder.h" |
| @@ -24,8 +24,8 @@ · 23 unmodified lines | ||
| 24 | 24 | #include "libavutil/opt.h" |
| 25 | 25 | #include "libavutil/pixdesc.h" |
| 26 | 26 | #include "avcodec.h" |
| 27 | +#include "codec_internal.h" | |
| 27 | 28 | #include "encode.h" |
| 28 | −#include "internal.h" | |
| 29 | 29 | #include "packet_internal.h" |
| 30 | 30 | #include "snow_dwt.h" |
| 31 | 31 | #include "snow.h" |
| @@ -22,6 +22,7 @@ · 21 unmodified lines | ||
| 22 | 22 | #include "config_components.h" |
| 23 | 23 | |
| 24 | 24 | #include "avcodec.h" |
| 25 | +#include "codec_internal.h" | |
| 25 | 26 | #include "encode.h" |
| 26 | 27 | #include "get_bits.h" |
| 27 | 28 | #include "golomb.h" |
| @@ -27,7 +27,7 @@ · 26 unmodified lines | ||
| 27 | 27 | #include "config_components.h" |
| 28 | 28 | |
| 29 | 29 | #include "avcodec.h" |
| 30 | −#include "internal.h" | |
| 30 | +#include "codec_internal.h" | |
| 31 | 31 | #include "mjpeg.h" |
| 32 | 32 | #include "mjpegdec.h" |
| 33 | 33 | #include "sp5x.h" |
| @@ -33,6 +33,7 @@ · 32 unmodified lines | ||
| 33 | 33 | |
| 34 | 34 | #include "avcodec.h" |
| 35 | 35 | #include "blockdsp.h" |
| 36 | +#include "codec_internal.h" | |
| 36 | 37 | #include "get_bits.h" |
| 37 | 38 | #include "idctdsp.h" |
| 38 | 39 | #include "internal.h" |
| @@ -32,6 +32,7 @@ · 31 unmodified lines | ||
| 32 | 32 | #include "libavutil/thread.h" |
| 33 | 33 | |
| 34 | 34 | #include "avcodec.h" |
| 35 | +#include "codec_internal.h" | |
| 35 | 36 | #include "mpeg12data.h" |
| 36 | 37 | #include "mpeg12enc.h" |
| 37 | 38 | #include "mpegvideo.h" |
| @@ -55,6 +55,7 @@ · 54 unmodified lines | ||
| 55 | 55 | #include "libavutil/float_dsp.h" |
| 56 | 56 | #include "avcodec.h" |
| 57 | 57 | #include "bytestream.h" |
| 58 | +#include "codec_internal.h" | |
| 58 | 59 | #include "get_bits.h" |
| 59 | 60 | #include "internal.h" |
| 60 | 61 | #include "speexdata.h" |
| @@ -27,8 +27,8 @@ · 26 unmodified lines | ||
| 27 | 27 | #include "libavutil/parseutils.h" |
| 28 | 28 | #include "avcodec.h" |
| 29 | 29 | #include "ass.h" |
| 30 | +#include "codec_internal.h" | |
| 30 | 31 | #include "htmlsubtitles.h" |
| 31 | −#include "internal.h" | |
| 32 | 32 | |
| 33 | 33 | static int srt_to_ass(AVCodecContext *avctx, AVBPrint *dst, |
| 34 | 34 | const char *in, int x1, int y1, int x2, int y2) |
| @@ -27,7 +27,7 @@ · 26 unmodified lines | ||
| 27 | 27 | #include "libavutil/bprint.h" |
| 28 | 28 | #include "ass_split.h" |
| 29 | 29 | #include "ass.h" |
| 30 | −#include "internal.h" | |
| 30 | +#include "codec_internal.h" | |
| 31 | 31 | |
| 32 | 32 | |
| 33 | 33 | #define SRT_STACK_SIZE 64 |
| @@ -26,7 +26,7 @@ · 25 unmodified lines | ||
| 26 | 26 | |
| 27 | 27 | #include "avcodec.h" |
| 28 | 28 | #include "ass.h" |
| 29 | −#include "internal.h" | |
| 29 | +#include "codec_internal.h" | |
| 30 | 30 | #include "libavutil/bprint.h" |
| 31 | 31 | |
| 32 | 32 | static int subviewer_event_to_ass(AVBPrint *buf, const char *p) |
| @@ -23,8 +23,8 @@ · 22 unmodified lines | ||
| 23 | 23 | |
| 24 | 24 | #include "avcodec.h" |
| 25 | 25 | #include "bytestream.h" |
| 26 | +#include "codec_internal.h" | |
| 26 | 27 | #include "encode.h" |
| 27 | −#include "internal.h" | |
| 28 | 28 | #include "sunrast.h" |
| 29 | 29 | |
| 30 | 30 | typedef struct SUNRASTContext { |
| @@ -36,6 +36,7 @@ · 35 unmodified lines | ||
| 36 | 36 | #include "libavutil/thread.h" |
| 37 | 37 | |
| 38 | 38 | #include "avcodec.h" |
| 39 | +#include "codec_internal.h" | |
| 39 | 40 | #include "get_bits.h" |
| 40 | 41 | #include "h263data.h" |
| 41 | 42 | #include "hpeldsp.h" |
| @@ -27,6 +27,7 @@ · 26 unmodified lines | ||
| 27 | 27 | */ |
| 28 | 28 | |
| 29 | 29 | #include "avcodec.h" |
| 30 | +#include "codec_internal.h" | |
| 30 | 31 | #include "encode.h" |
| 31 | 32 | #include "hpeldsp.h" |
| 32 | 33 | #include "me_cmp.h" |
| @@ -46,6 +46,7 @@ · 45 unmodified lines | ||
| 46 | 46 | #include "libavutil/crc.h" |
| 47 | 47 | #include "libavutil/mem_internal.h" |
| 48 | 48 | |
| 49 | +#include "codec_internal.h" | |
| 49 | 50 | #include "internal.h" |
| 50 | 51 | #include "avcodec.h" |
| 51 | 52 | #include "mpegutils.h" |
| @@ -33,7 +33,7 @@ · 32 unmodified lines | ||
| 33 | 33 | #include "audiodsp.h" |
| 34 | 34 | #include "thread.h" |
| 35 | 35 | #include "avcodec.h" |
| 36 | −#include "internal.h" | |
| 36 | +#include "codec_internal.h" | |
| 37 | 37 | #include "unary.h" |
| 38 | 38 | #include "tak.h" |
| 39 | 39 | #include "takdsp.h" |
| @@ -20,6 +20,7 @@ · 19 unmodified lines | ||
| 20 | 20 | */ |
| 21 | 21 | |
| 22 | 22 | #include "avcodec.h" |
| 23 | +#include "codec_internal.h" | |
| 23 | 24 | #include "internal.h" |
| 24 | 25 | |
| 25 | 26 | static av_cold int y216_decode_init(AVCodecContext *avctx) |
| @@ -27,8 +27,8 @@ · 26 unmodified lines | ||
| 27 | 27 | #include "libavutil/opt.h" |
| 28 | 28 | #include "libavutil/pixdesc.h" |
| 29 | 29 | #include "avcodec.h" |
| 30 | +#include "codec_internal.h" | |
| 30 | 31 | #include "encode.h" |
| 31 | −#include "internal.h" | |
| 32 | 32 | #include "rle.h" |
| 33 | 33 | #include "targa.h" |
| 34 | 34 | |
| @@ -40,6 +40,7 @@ · 39 unmodified lines | ||
| 40 | 40 | |
| 41 | 41 | #include "avcodec.h" |
| 42 | 42 | #include "bytestream.h" |
| 43 | +#include "codec_internal.h" | |
| 43 | 44 | #include "internal.h" |
| 44 | 45 | |
| 45 | 46 | #define BITMAPINFOHEADER_SIZE 0x28 |
| @@ -19,6 +19,7 @@ · 18 unmodified lines | ||
| 19 | 19 | #include "libavutil/opt.h" |
| 20 | 20 | #include "libavcodec/codec.h" |
| 21 | 21 | #include "libavcodec/codec_desc.h" |
| 22 | +#include "libavcodec/codec_internal.h" | |
| 22 | 23 | #include "libavcodec/internal.h" |
| 23 | 24 | |
| 24 | 25 | static const char *get_type_string(enum AVMediaType type) |
| @@ -27,7 +27,7 @@ · 26 unmodified lines | ||
| 27 | 27 | |
| 28 | 28 | #include "avcodec.h" |
| 29 | 29 | #include "ass.h" |
| 30 | −#include "internal.h" | |
| 30 | +#include "codec_internal.h" | |
| 31 | 31 | #include "libavutil/bprint.h" |
| 32 | 32 | #include "libavutil/opt.h" |
| 33 | 33 | |
| @@ -26,6 +26,7 @@ · 25 unmodified lines | ||
| 26 | 26 | |
| 27 | 27 | #define BITSTREAM_READER_LE |
| 28 | 28 | #include "avcodec.h" |
| 29 | +#include "codec_internal.h" | |
| 29 | 30 | #include "get_bits.h" |
| 30 | 31 | #include "internal.h" |
| 31 | 32 | |
| @@ -41,6 +41,7 @@ · 40 unmodified lines | ||
| 41 | 41 | #include "libavutil/opt.h" |
| 42 | 42 | #include "avcodec.h" |
| 43 | 43 | #include "bytestream.h" |
| 44 | +#include "codec_internal.h" | |
| 44 | 45 | #include "faxcompr.h" |
| 45 | 46 | #include "internal.h" |
| 46 | 47 | #include "lzw.h" |
| @@ -36,8 +36,8 @@ · 35 unmodified lines | ||
| 36 | 36 | #include "libavutil/pixdesc.h" |
| 37 | 37 | #include "avcodec.h" |
| 38 | 38 | #include "bytestream.h" |
| 39 | +#include "codec_internal.h" | |
| 39 | 40 | #include "encode.h" |
| 40 | −#include "internal.h" | |
| 41 | 41 | #include "lzw.h" |
| 42 | 42 | #include "put_bits.h" |
| 43 | 43 | #include "rle.h" |
| @@ -29,6 +29,7 @@ · 28 unmodified lines | ||
| 29 | 29 | #include <string.h> |
| 30 | 30 | |
| 31 | 31 | #include "avcodec.h" |
| 32 | +#include "codec_internal.h" | |
| 32 | 33 | #include "internal.h" |
| 33 | 34 | #include "libavutil/internal.h" |
| 34 | 35 | #include "libavutil/xga_font_data.h" |
| @@ -34,6 +34,7 @@ · 33 unmodified lines | ||
| 34 | 34 | #include <string.h> |
| 35 | 35 | |
| 36 | 36 | #include "avcodec.h" |
| 37 | +#include "codec_internal.h" | |
| 37 | 38 | #include "internal.h" |
| 38 | 39 | #include "libavutil/imgutils.h" |
| 39 | 40 | #include "libavutil/internal.h" |
| @@ -29,6 +29,7 @@ · 28 unmodified lines | ||
| 29 | 29 | #include "avcodec.h" |
| 30 | 30 | #include "bswapdsp.h" |
| 31 | 31 | #include "bytestream.h" |
| 32 | +#include "codec_internal.h" | |
| 32 | 33 | #include "get_bits.h" |
| 33 | 34 | #include "internal.h" |
| 34 | 35 | |
| @@ -28,6 +28,7 @@ · 27 unmodified lines | ||
| 28 | 28 | |
| 29 | 29 | #define BITSTREAM_READER_LE |
| 30 | 30 | #include "avcodec.h" |
| 31 | +#include "codec_internal.h" | |
| 31 | 32 | #include "get_bits.h" |
| 32 | 33 | #include "internal.h" |
| 33 | 34 | |
| @@ -25,6 +25,7 @@ · 24 unmodified lines | ||
| 25 | 25 | |
| 26 | 26 | #include "avcodec.h" |
| 27 | 27 | #include "bswapdsp.h" |
| 28 | +#include "codec_internal.h" | |
| 28 | 29 | #include "get_bits.h" |
| 29 | 30 | #include "internal.h" |
| 30 | 31 | |
| @@ -38,6 +38,7 @@ · 37 unmodified lines | ||
| 38 | 38 | #include <stdlib.h> |
| 39 | 39 | |
| 40 | 40 | #include "avcodec.h" |
| 41 | +#include "codec_internal.h" | |
| 41 | 42 | #include "decode.h" |
| 42 | 43 | #include "internal.h" |
| 43 | 44 | #include "msrledec.h" |
| @@ -31,6 +31,7 @@ · 30 unmodified lines | ||
| 31 | 31 | #define BITSTREAM_READER_LE |
| 32 | 32 | #include "avcodec.h" |
| 33 | 33 | #include "bytestream.h" |
| 34 | +#include "codec_internal.h" | |
| 34 | 35 | #include "get_bits.h" |
| 35 | 36 | #include "internal.h" |
| 36 | 37 | #include "mathops.h" |
| @@ -38,10 +38,10 @@ · 37 unmodified lines | ||
| 38 | 38 | #include "ttadata.h" |
| 39 | 39 | #include "ttadsp.h" |
| 40 | 40 | #include "avcodec.h" |
| 41 | +#include "codec_internal.h" | |
| 41 | 42 | #include "get_bits.h" |
| 42 | 43 | #include "thread.h" |
| 43 | 44 | #include "unary.h" |
| 44 | −#include "internal.h" | |
| 45 | 45 | |
| 46 | 46 | #define FORMAT_SIMPLE 1 |
| 47 | 47 | #define FORMAT_ENCRYPTED 2 |
| @@ -22,6 +22,7 @@ · 21 unmodified lines | ||
| 22 | 22 | #include "ttadata.h" |
| 23 | 23 | #include "ttaencdsp.h" |
| 24 | 24 | #include "avcodec.h" |
| 25 | +#include "codec_internal.h" | |
| 25 | 26 | #include "encode.h" |
| 26 | 27 | #include "put_bits.h" |
| 27 | 28 | #include "internal.h" |
| @@ -28,7 +28,7 @@ · 27 unmodified lines | ||
| 28 | 28 | */ |
| 29 | 29 | |
| 30 | 30 | #include "avcodec.h" |
| 31 | −#include "internal.h" | |
| 31 | +#include "codec_internal.h" | |
| 32 | 32 | #include "libavutil/avstring.h" |
| 33 | 33 | #include "libavutil/bprint.h" |
| 34 | 34 | #include "libavutil/internal.h" |
| @@ -24,8 +24,8 @@ · 23 unmodified lines | ||
| 24 | 24 | |
| 25 | 25 | #include "libavutil/channel_layout.h" |
| 26 | 26 | #include "avcodec.h" |
| 27 | +#include "codec_internal.h" | |
| 27 | 28 | #include "get_bits.h" |
| 28 | −#include "internal.h" | |
| 29 | 29 | #include "twinvq.h" |
| 30 | 30 | #include "metasound_data.h" |
| 31 | 31 | #include "twinvq_data.h" |
| @@ -30,6 +30,7 @@ · 29 unmodified lines | ||
| 30 | 30 | |
| 31 | 31 | #include "avcodec.h" |
| 32 | 32 | #include "bytestream.h" |
| 33 | +#include "codec_internal.h" | |
| 33 | 34 | #include "internal.h" |
| 34 | 35 | |
| 35 | 36 | #include "ulti_cb.h" |
| @@ -35,6 +35,7 @@ · 34 unmodified lines | ||
| 35 | 35 | #include "libavutil/pixfmt.h" |
| 36 | 36 | #include "avcodec.h" |
| 37 | 37 | #include "codec.h" |
| 38 | +#include "codec_internal.h" | |
| 38 | 39 | #include "hwconfig.h" |
| 39 | 40 | #include "thread.h" |
| 40 | 41 | #include "threadframe.h" |
| @@ -35,8 +35,8 @@ · 34 unmodified lines | ||
| 35 | 35 | #include "avcodec.h" |
| 36 | 36 | #include "bswapdsp.h" |
| 37 | 37 | #include "bytestream.h" |
| 38 | +#include "codec_internal.h" | |
| 38 | 39 | #include "get_bits.h" |
| 39 | −#include "internal.h" | |
| 40 | 40 | #include "thread.h" |
| 41 | 41 | #include "utvideo.h" |
| 42 | 42 | |
| @@ -29,8 +29,8 @@ · 28 unmodified lines | ||
| 29 | 29 | #include "libavutil/opt.h" |
| 30 | 30 | |
| 31 | 31 | #include "avcodec.h" |
| 32 | +#include "codec_internal.h" | |
| 32 | 33 | #include "encode.h" |
| 33 | −#include "internal.h" | |
| 34 | 34 | #include "bswapdsp.h" |
| 35 | 35 | #include "bytestream.h" |
| 36 | 36 | #include "put_bits.h" |
| @@ -22,7 +22,7 @@ · 21 unmodified lines | ||
| 22 | 22 | */ |
| 23 | 23 | |
| 24 | 24 | #include "avcodec.h" |
| 25 | −#include "internal.h" | |
| 25 | +#include "codec_internal.h" | |
| 26 | 26 | #include "v210dec.h" |
| 27 | 27 | #include "libavutil/bswap.h" |
| 28 | 28 | #include "libavutil/internal.h" |
| @@ -23,6 +23,7 @@ · 22 unmodified lines | ||
| 23 | 23 | |
| 24 | 24 | #include "avcodec.h" |
| 25 | 25 | #include "bytestream.h" |
| 26 | +#include "codec_internal.h" | |
| 26 | 27 | #include "encode.h" |
| 27 | 28 | #include "internal.h" |
| 28 | 29 | #include "v210enc.h" |
| @@ -19,6 +19,7 @@ · 18 unmodified lines | ||
| 19 | 19 | */ |
| 20 | 20 | |
| 21 | 21 | #include "avcodec.h" |
| 22 | +#include "codec_internal.h" | |
| 22 | 23 | #include "internal.h" |
| 23 | 24 | #include "libavutil/bswap.h" |
| 24 | 25 | #include "libavutil/internal.h" |
| @@ -20,6 +20,7 @@ · 19 unmodified lines | ||
| 20 | 20 | */ |
| 21 | 21 | |
| 22 | 22 | #include "avcodec.h" |
| 23 | +#include "codec_internal.h" | |
| 23 | 24 | #include "internal.h" |
| 24 | 25 | |
| 25 | 26 | static av_cold int v308_decode_init(AVCodecContext *avctx) |
| @@ -22,6 +22,7 @@ · 21 unmodified lines | ||
| 22 | 22 | |
| 23 | 23 | #include "libavutil/intreadwrite.h" |
| 24 | 24 | #include "avcodec.h" |
| 25 | +#include "codec_internal.h" | |
| 25 | 26 | #include "encode.h" |
| 26 | 27 | #include "internal.h" |
| 27 | 28 | |
| @@ -22,6 +22,7 @@ · 21 unmodified lines | ||
| 22 | 22 | #include "config_components.h" |
| 23 | 23 | |
| 24 | 24 | #include "avcodec.h" |
| 25 | +#include "codec_internal.h" | |
| 25 | 26 | #include "internal.h" |
| 26 | 27 | |
| 27 | 28 | static av_cold int v408_decode_init(AVCodecContext *avctx) |
| @@ -24,6 +24,7 @@ · 23 unmodified lines | ||
| 24 | 24 | |
| 25 | 25 | #include "libavutil/intreadwrite.h" |
| 26 | 26 | #include "avcodec.h" |
| 27 | +#include "codec_internal.h" | |
| 27 | 28 | #include "encode.h" |
| 28 | 29 | #include "internal.h" |
| 29 | 30 | |
| @@ -23,7 +23,7 @@ · 22 unmodified lines | ||
| 23 | 23 | #include "libavutil/common.h" |
| 24 | 24 | #include "libavutil/intreadwrite.h" |
| 25 | 25 | #include "avcodec.h" |
| 26 | −#include "internal.h" | |
| 26 | +#include "codec_internal.h" | |
| 27 | 27 | #include "thread.h" |
| 28 | 28 | |
| 29 | 29 | typedef struct ThreadData { |
| @@ -23,6 +23,7 @@ · 22 unmodified lines | ||
| 23 | 23 | #include "libavutil/common.h" |
| 24 | 24 | #include "libavutil/intreadwrite.h" |
| 25 | 25 | #include "avcodec.h" |
| 26 | +#include "codec_internal.h" | |
| 26 | 27 | #include "encode.h" |
| 27 | 28 | #include "internal.h" |
| 28 | 29 | |
| @@ -27,8 +27,8 @@ · 26 unmodified lines | ||
| 27 | 27 | #include "libavutil/pixdesc.h" |
| 28 | 28 | #include "libavutil/opt.h" |
| 29 | 29 | #include "libavcodec/avcodec.h" |
| 30 | +#include "codec_internal.h" | |
| 30 | 31 | #include "libavcodec/decode.h" |
| 31 | −#include "libavcodec/internal.h" | |
| 32 | 32 | |
| 33 | 33 | #include "v4l2_context.h" |
| 34 | 34 | #include "v4l2_m2m.h" |
| @@ -26,10 +26,10 @@ · 25 unmodified lines | ||
| 26 | 26 | #include <search.h> |
| 27 | 27 | #include "encode.h" |
| 28 | 28 | #include "libavcodec/avcodec.h" |
| 29 | −#include "libavcodec/internal.h" | |
| 30 | 29 | #include "libavutil/pixdesc.h" |
| 31 | 30 | #include "libavutil/pixfmt.h" |
| 32 | 31 | #include "libavutil/opt.h" |
| 32 | +#include "codec_internal.h" | |
| 33 | 33 | #include "profiles.h" |
| 34 | 34 | #include "v4l2_context.h" |
| 35 | 35 | #include "v4l2_m2m.h" |
| @@ -29,10 +29,10 @@ · 28 unmodified lines | ||
| 29 | 29 | #include "avcodec.h" |
| 30 | 30 | #include "cbs.h" |
| 31 | 31 | #include "cbs_h264.h" |
| 32 | +#include "codec_internal.h" | |
| 32 | 33 | #include "h264.h" |
| 33 | 34 | #include "h264_levels.h" |
| 34 | 35 | #include "h264_sei.h" |
| 35 | −#include "internal.h" | |
| 36 | 36 | #include "vaapi_encode.h" |
| 37 | 37 | #include "version.h" |
| 38 | 38 | |
| @@ -30,10 +30,10 @@ · 29 unmodified lines | ||
| 30 | 30 | #include "avcodec.h" |
| 31 | 31 | #include "cbs.h" |
| 32 | 32 | #include "cbs_h265.h" |
| 33 | +#include "codec_internal.h" | |
| 33 | 34 | #include "h265_profile_level.h" |
| 34 | 35 | #include "hevc.h" |
| 35 | 36 | #include "hevc_sei.h" |
| 36 | −#include "internal.h" | |
| 37 | 37 | #include "put_bits.h" |
| 38 | 38 | #include "vaapi_encode.h" |
| 39 | 39 | |
| @@ -29,7 +29,7 @@ · 28 unmodified lines | ||
| 29 | 29 | #include "bytestream.h" |
| 30 | 30 | #include "cbs.h" |
| 31 | 31 | #include "cbs_jpeg.h" |
| 32 | −#include "internal.h" | |
| 32 | +#include "codec_internal.h" | |
| 33 | 33 | #include "jpegtables.h" |
| 34 | 34 | #include "mjpeg.h" |
| 35 | 35 | #include "put_bits.h" |
| @@ -25,7 +25,7 @@ · 24 unmodified lines | ||
| 25 | 25 | #include "avcodec.h" |
| 26 | 26 | #include "cbs.h" |
| 27 | 27 | #include "cbs_mpeg2.h" |
| 28 | −#include "internal.h" | |
| 28 | +#include "codec_internal.h" | |
| 29 | 29 | #include "mpeg12.h" |
| 30 | 30 | #include "vaapi_encode.h" |
| 31 | 31 | |
| @@ -26,7 +26,7 @@ · 25 unmodified lines | ||
| 26 | 26 | #include "libavutil/pixfmt.h" |
| 27 | 27 | |
| 28 | 28 | #include "avcodec.h" |
| 29 | −#include "internal.h" | |
| 29 | +#include "codec_internal.h" | |
| 30 | 30 | #include "vaapi_encode.h" |
| 31 | 31 | #include "vp8.h" |
| 32 | 32 | |
| @@ -26,7 +26,7 @@ · 25 unmodified lines | ||
| 26 | 26 | #include "libavutil/pixfmt.h" |
| 27 | 27 | |
| 28 | 28 | #include "avcodec.h" |
| 29 | −#include "internal.h" | |
| 29 | +#include "codec_internal.h" | |
| 30 | 30 | #include "vaapi_encode.h" |
| 31 | 31 | |
| 32 | 32 | #define VP9_MAX_QUANT 255 |
| @@ -29,6 +29,7 @@ · 28 unmodified lines | ||
| 29 | 29 | |
| 30 | 30 | #include "avcodec.h" |
| 31 | 31 | #include "bytestream.h" |
| 32 | +#include "codec_internal.h" | |
| 32 | 33 | #include "internal.h" |
| 33 | 34 | |
| 34 | 35 | enum VBFlags { |
| @@ -28,8 +28,8 @@ · 27 unmodified lines | ||
| 28 | 28 | |
| 29 | 29 | #define BITSTREAM_READER_LE |
| 30 | 30 | #include "avcodec.h" |
| 31 | +#include "codec_internal.h" | |
| 31 | 32 | #include "get_bits.h" |
| 32 | −#include "internal.h" | |
| 33 | 33 | #include "lossless_videodsp.h" |
| 34 | 34 | #include "mathops.h" |
| 35 | 35 | #include "thread.h" |
| @@ -30,6 +30,7 @@ · 29 unmodified lines | ||
| 30 | 30 | |
| 31 | 31 | #include "avcodec.h" |
| 32 | 32 | #include "blockdsp.h" |
| 33 | +#include "codec_internal.h" | |
| 33 | 34 | #include "get_bits.h" |
| 34 | 35 | #include "hwconfig.h" |
| 35 | 36 | #include "internal.h" |
| @@ -22,10 +22,10 @@ · 21 unmodified lines | ||
| 22 | 22 | #include "libavutil/pixdesc.h" |
| 23 | 23 | #include "libavutil/opt.h" |
| 24 | 24 | #include "libavutil/version.h" |
| 25 | +#include "codec_internal.h" | |
| 25 | 26 | #include "dirac.h" |
| 26 | 27 | #include "encode.h" |
| 27 | 28 | #include "put_bits.h" |
| 28 | −#include "internal.h" | |
| 29 | 29 | #include "version.h" |
| 30 | 30 | |
| 31 | 31 | #include "vc2enc_dwt.h" |
| @@ -25,6 +25,7 @@ · 24 unmodified lines | ||
| 25 | 25 | */ |
| 26 | 26 | |
| 27 | 27 | #include "avcodec.h" |
| 28 | +#include "codec_internal.h" | |
| 28 | 29 | #include "internal.h" |
| 29 | 30 | #include "libavutil/avassert.h" |
| 30 | 31 | #include "libavutil/internal.h" |
| @@ -30,6 +30,7 @@ · 29 unmodified lines | ||
| 30 | 30 | #include "libavcodec/avcodec.h" |
| 31 | 31 | #include "libavutil/pixdesc.h" |
| 32 | 32 | #include "libavutil/hwcontext_videotoolbox.h" |
| 33 | +#include "codec_internal.h" | |
| 33 | 34 | #include "internal.h" |
| 34 | 35 | #include <pthread.h> |
| 35 | 36 | #include "atsc_a53.h" |
| @@ -30,6 +30,7 @@ · 29 unmodified lines | ||
| 30 | 30 | |
| 31 | 31 | #include "adpcm_data.h" |
| 32 | 32 | #include "avcodec.h" |
| 33 | +#include "codec_internal.h" | |
| 33 | 34 | #include "get_bits.h" |
| 34 | 35 | #include "internal.h" |
| 35 | 36 | |
| @@ -41,6 +41,7 @@ · 40 unmodified lines | ||
| 41 | 41 | #include "libavutil/intreadwrite.h" |
| 42 | 42 | |
| 43 | 43 | #include "avcodec.h" |
| 44 | +#include "codec_internal.h" | |
| 44 | 45 | #include "internal.h" |
| 45 | 46 | |
| 46 | 47 | #define BLOCK_TYPE_AUDIO 1 |
| @@ -39,6 +39,7 @@ · 38 unmodified lines | ||
| 39 | 39 | #include "libavutil/intreadwrite.h" |
| 40 | 40 | |
| 41 | 41 | #include "avcodec.h" |
| 42 | +#include "codec_internal.h" | |
| 42 | 43 | #include "internal.h" |
| 43 | 44 | #include "bytestream.h" |
| 44 | 45 | |
| @@ -31,6 +31,7 @@ · 30 unmodified lines | ||
| 31 | 31 | #include "libavutil/common.h" |
| 32 | 32 | #include "libavutil/intreadwrite.h" |
| 33 | 33 | #include "avcodec.h" |
| 34 | +#include "codec_internal.h" | |
| 34 | 35 | #include "internal.h" |
| 35 | 36 | #include "bytestream.h" |
| 36 | 37 | |
| @@ -34,6 +34,7 @@ · 33 unmodified lines | ||
| 34 | 34 | |
| 35 | 35 | #define BITSTREAM_READER_LE |
| 36 | 36 | #include "avcodec.h" |
| 37 | +#include "codec_internal.h" | |
| 37 | 38 | #include "fft.h" |
| 38 | 39 | #include "get_bits.h" |
| 39 | 40 | #include "internal.h" |
| @@ -28,8 +28,8 @@ · 27 unmodified lines | ||
| 28 | 28 | #include "libavutil/float_dsp.h" |
| 29 | 29 | |
| 30 | 30 | #include "avcodec.h" |
| 31 | +#include "codec_internal.h" | |
| 31 | 32 | #include "encode.h" |
| 32 | −#include "internal.h" | |
| 33 | 33 | #include "fft.h" |
| 34 | 34 | #include "mathops.h" |
| 35 | 35 | #include "vorbis.h" |
| @@ -40,6 +40,7 @@ · 39 unmodified lines | ||
| 40 | 40 | #include "libavutil/mem_internal.h" |
| 41 | 41 | |
| 42 | 42 | #include "avcodec.h" |
| 43 | +#include "codec_internal.h" | |
| 43 | 44 | #include "get_bits.h" |
| 44 | 45 | #include "hpeldsp.h" |
| 45 | 46 | #include "internal.h" |
| @@ -27,6 +27,7 @@ · 26 unmodified lines | ||
| 27 | 27 | #include <string.h> |
| 28 | 28 | |
| 29 | 29 | #include "avcodec.h" |
| 30 | +#include "codec_internal.h" | |
| 30 | 31 | #include "internal.h" |
| 31 | 32 | |
| 32 | 33 | #include "vp56.h" |
| @@ -30,6 +30,7 @@ · 29 unmodified lines | ||
| 30 | 30 | #include <stdlib.h> |
| 31 | 31 | |
| 32 | 32 | #include "avcodec.h" |
| 33 | +#include "codec_internal.h" | |
| 33 | 34 | #include "get_bits.h" |
| 34 | 35 | #include "huffman.h" |
| 35 | 36 | #include "internal.h" |
| @@ -30,6 +30,7 @@ · 29 unmodified lines | ||
| 30 | 30 | #include "libavutil/mem_internal.h" |
| 31 | 31 | |
| 32 | 32 | #include "avcodec.h" |
| 33 | +#include "codec_internal.h" | |
| 33 | 34 | #include "hwconfig.h" |
| 34 | 35 | #include "internal.h" |
| 35 | 36 | #include "mathops.h" |
| @@ -24,6 +24,7 @@ · 23 unmodified lines | ||
| 24 | 24 | #include "config_components.h" |
| 25 | 25 | |
| 26 | 26 | #include "avcodec.h" |
| 27 | +#include "codec_internal.h" | |
| 27 | 28 | #include "get_bits.h" |
| 28 | 29 | #include "hwconfig.h" |
| 29 | 30 | #include "internal.h" |
| @@ -77,6 +77,7 @@ · 76 unmodified lines | ||
| 77 | 77 | #include "libavutil/imgutils.h" |
| 78 | 78 | #include "avcodec.h" |
| 79 | 79 | #include "bytestream.h" |
| 80 | +#include "codec_internal.h" | |
| 80 | 81 | #include "internal.h" |
| 81 | 82 | |
| 82 | 83 | #define PALETTE_COUNT 256 |
| @@ -26,8 +26,8 @@ · 25 unmodified lines | ||
| 26 | 26 | #define BITSTREAM_READER_LE |
| 27 | 27 | #include "avcodec.h" |
| 28 | 28 | #include "bytestream.h" |
| 29 | +#include "codec_internal.h" | |
| 29 | 30 | #include "get_bits.h" |
| 30 | −#include "internal.h" | |
| 31 | 31 | #include "thread.h" |
| 32 | 32 | #include "threadframe.h" |
| 33 | 33 | #include "unary.h" |
| @@ -24,6 +24,7 @@ · 23 unmodified lines | ||
| 24 | 24 | #include "libavutil/intreadwrite.h" |
| 25 | 25 | #include "libavutil/opt.h" |
| 26 | 26 | #include "avcodec.h" |
| 27 | +#include "codec_internal.h" | |
| 27 | 28 | #include "encode.h" |
| 28 | 29 | #include "internal.h" |
| 29 | 30 | #include "put_bits.h" |
| @@ -28,6 +28,7 @@ · 27 unmodified lines | ||
| 28 | 28 | |
| 29 | 29 | #include "avcodec.h" |
| 30 | 30 | #include "bytestream.h" |
| 31 | +#include "codec_internal.h" | |
| 31 | 32 | #include "internal.h" |
| 32 | 33 | #include "zlib_wrapper.h" |
| 33 | 34 | |
| @@ -45,6 +45,7 @@ · 44 unmodified lines | ||
| 45 | 45 | #define BITSTREAM_READER_LE |
| 46 | 46 | #include "avcodec.h" |
| 47 | 47 | #include "bytestream.h" |
| 48 | +#include "codec_internal.h" | |
| 48 | 49 | #include "exif.h" |
| 49 | 50 | #include "get_bits.h" |
| 50 | 51 | #include "internal.h" |
| @@ -27,7 +27,7 @@ · 26 unmodified lines | ||
| 27 | 27 | |
| 28 | 28 | #include "avcodec.h" |
| 29 | 29 | #include "ass.h" |
| 30 | −#include "internal.h" | |
| 30 | +#include "codec_internal.h" | |
| 31 | 31 | #include "libavutil/bprint.h" |
| 32 | 32 | |
| 33 | 33 | static const struct { |
| @@ -26,7 +26,7 @@ · 25 unmodified lines | ||
| 26 | 26 | #include "libavutil/bprint.h" |
| 27 | 27 | #include "ass_split.h" |
| 28 | 28 | #include "ass.h" |
| 29 | −#include "internal.h" | |
| 29 | +#include "codec_internal.h" | |
| 30 | 30 | |
| 31 | 31 | #define WEBVTT_STACK_SIZE 64 |
| 32 | 32 | typedef struct { |
| @@ -39,6 +39,7 @@ · 38 unmodified lines | ||
| 39 | 39 | #include "libavutil/ffmath.h" |
| 40 | 40 | |
| 41 | 41 | #include "avcodec.h" |
| 42 | +#include "codec_internal.h" | |
| 42 | 43 | #include "internal.h" |
| 43 | 44 | #include "wma.h" |
| 44 | 45 | |
| @@ -25,6 +25,7 @@ · 24 unmodified lines | ||
| 25 | 25 | #include "libavutil/ffmath.h" |
| 26 | 26 | |
| 27 | 27 | #include "avcodec.h" |
| 28 | +#include "codec_internal.h" | |
| 28 | 29 | #include "encode.h" |
| 29 | 30 | #include "internal.h" |
| 30 | 31 | #include "wma.h" |
| @@ -29,6 +29,7 @@ · 28 unmodified lines | ||
| 29 | 29 | #include "libavutil/mem_internal.h" |
| 30 | 30 | |
| 31 | 31 | #include "avcodec.h" |
| 32 | +#include "codec_internal.h" | |
| 32 | 33 | #include "internal.h" |
| 33 | 34 | #include "get_bits.h" |
| 34 | 35 | #include "put_bits.h" |
| @@ -97,6 +97,7 @@ · 96 unmodified lines | ||
| 97 | 97 | #include "libavutil/thread.h" |
| 98 | 98 | |
| 99 | 99 | #include "avcodec.h" |
| 100 | +#include "codec_internal.h" | |
| 100 | 101 | #include "internal.h" |
| 101 | 102 | #include "get_bits.h" |
| 102 | 103 | #include "put_bits.h" |
| @@ -32,6 +32,7 @@ · 31 unmodified lines | ||
| 32 | 32 | #include "libavutil/mem_internal.h" |
| 33 | 33 | #include "libavutil/thread.h" |
| 34 | 34 | #include "avcodec.h" |
| 35 | +#include "codec_internal.h" | |
| 35 | 36 | #include "internal.h" |
| 36 | 37 | #include "get_bits.h" |
| 37 | 38 | #include "put_bits.h" |
| @@ -21,8 +21,8 @@ · 20 unmodified lines | ||
| 21 | 21 | #include "libavutil/mem_internal.h" |
| 22 | 22 | |
| 23 | 23 | #include "avcodec.h" |
| 24 | +#include "codec_internal.h" | |
| 24 | 25 | #include "h263dec.h" |
| 25 | −#include "internal.h" | |
| 26 | 26 | #include "intrax8.h" |
| 27 | 27 | #include "mathops.h" |
| 28 | 28 | #include "mpegutils.h" |
| @@ -19,6 +19,7 @@ · 18 unmodified lines | ||
| 19 | 19 | */ |
| 20 | 20 | |
| 21 | 21 | #include "avcodec.h" |
| 22 | +#include "codec_internal.h" | |
| 22 | 23 | #include "h263.h" |
| 23 | 24 | #include "mpegvideo.h" |
| 24 | 25 | #include "mpegvideoenc.h" |
| @@ -28,6 +28,7 @@ · 27 unmodified lines | ||
| 28 | 28 | |
| 29 | 29 | #define BITSTREAM_READER_LE |
| 30 | 30 | #include "avcodec.h" |
| 31 | +#include "codec_internal.h" | |
| 31 | 32 | #include "get_bits.h" |
| 32 | 33 | #include "internal.h" |
| 33 | 34 | |
| @@ -25,8 +25,8 @@ · 24 unmodified lines | ||
| 25 | 25 | */ |
| 26 | 26 | |
| 27 | 27 | #include "avcodec.h" |
| 28 | +#include "codec_internal.h" | |
| 28 | 29 | #include "decode.h" |
| 29 | −#include "internal.h" | |
| 30 | 30 | |
| 31 | 31 | #include "libavutil/internal.h" |
| 32 | 32 | #include "libavutil/frame.h" |
| @@ -25,6 +25,7 @@ · 24 unmodified lines | ||
| 25 | 25 | #include "libavutil/common.h" |
| 26 | 26 | #include "libavutil/intreadwrite.h" |
| 27 | 27 | #include "avcodec.h" |
| 28 | +#include "codec_internal.h" | |
| 28 | 29 | #include "internal.h" |
| 29 | 30 | |
| 30 | 31 | /** |
| @@ -38,6 +38,7 @@ · 37 unmodified lines | ||
| 38 | 38 | #define BITSTREAM_READER_LE |
| 39 | 39 | #include "avcodec.h" |
| 40 | 40 | #include "bytestream.h" |
| 41 | +#include "codec_internal.h" | |
| 41 | 42 | #include "get_bits.h" |
| 42 | 43 | #include "internal.h" |
| 43 | 44 | |
| @@ -27,6 +27,7 @@ · 26 unmodified lines | ||
| 27 | 27 | #include "libavutil/pixdesc.h" |
| 28 | 28 | #include "avcodec.h" |
| 29 | 29 | #include "bytestream.h" |
| 30 | +#include "codec_internal.h" | |
| 30 | 31 | #include "internal.h" |
| 31 | 32 | #include "xface.h" |
| 32 | 33 | |
| @@ -27,6 +27,7 @@ · 26 unmodified lines | ||
| 27 | 27 | #include "libavutil/common.h" |
| 28 | 28 | #include "libavutil/intreadwrite.h" |
| 29 | 29 | #include "avcodec.h" |
| 30 | +#include "codec_internal.h" | |
| 30 | 31 | #include "internal.h" |
| 31 | 32 | |
| 32 | 33 | static const int xl_table[32] = { |
| @@ -24,7 +24,7 @@ · 23 unmodified lines | ||
| 24 | 24 | #include "avcodec.h" |
| 25 | 25 | #include "get_bits.h" |
| 26 | 26 | #include "bytestream.h" |
| 27 | −#include "internal.h" | |
| 27 | +#include "codec_internal.h" | |
| 28 | 28 | |
| 29 | 29 | static av_cold int decode_init(AVCodecContext *avctx) { |
| 30 | 30 | avctx->pix_fmt = AV_PIX_FMT_PAL8; |
| @@ -22,7 +22,7 @@ · 21 unmodified lines | ||
| 22 | 22 | |
| 23 | 23 | #include "avcodec.h" |
| 24 | 24 | #include "bytestream.h" |
| 25 | −#include "internal.h" | |
| 25 | +#include "codec_internal.h" | |
| 26 | 26 | #include "put_bits.h" |
| 27 | 27 | |
| 28 | 28 | /** |
| @@ -25,6 +25,7 @@ · 24 unmodified lines | ||
| 25 | 25 | |
| 26 | 26 | #include "avcodec.h" |
| 27 | 27 | #include "bytestream.h" |
| 28 | +#include "codec_internal.h" | |
| 28 | 29 | #include "internal.h" |
| 29 | 30 | |
| 30 | 31 | typedef struct XanContext { |
| @@ -21,6 +21,7 @@ · 20 unmodified lines | ||
| 21 | 21 | */ |
| 22 | 22 | |
| 23 | 23 | #include "avcodec.h" |
| 24 | +#include "codec_internal.h" | |
| 24 | 25 | #include "internal.h" |
| 25 | 26 | |
| 26 | 27 | static av_cold int y41p_decode_init(AVCodecContext *avctx) |
| @@ -21,6 +21,7 @@ · 20 unmodified lines | ||
| 21 | 21 | */ |
| 22 | 22 | |
| 23 | 23 | #include "avcodec.h" |
| 24 | +#include "codec_internal.h" | |
| 24 | 25 | #include "encode.h" |
| 25 | 26 | #include "internal.h" |
| 26 | 27 | |
| @@ -30,9 +30,9 @@ · 29 unmodified lines | ||
| 30 | 30 | #include "libavutil/mem.h" |
| 31 | 31 | #include "avcodec.h" |
| 32 | 32 | #include "bswapdsp.h" |
| 33 | +#include "codec_internal.h" | |
| 33 | 34 | #include "get_bits.h" |
| 34 | 35 | #include "huffyuvdsp.h" |
| 35 | −#include "internal.h" | |
| 36 | 36 | #include "thread.h" |
| 37 | 37 | #include "unary.h" |
| 38 | 38 | |
| @@ -29,6 +29,7 @@ · 28 unmodified lines | ||
| 29 | 29 | #include "libavutil/intreadwrite.h" |
| 30 | 30 | |
| 31 | 31 | #include "avcodec.h" |
| 32 | +#include "codec_internal.h" | |
| 32 | 33 | #include "internal.h" |
| 33 | 34 | |
| 34 | 35 | typedef struct YopDecContext { |
| @@ -21,6 +21,7 @@ · 20 unmodified lines | ||
| 21 | 21 | */ |
| 22 | 22 | |
| 23 | 23 | #include "avcodec.h" |
| 24 | +#include "codec_internal.h" | |
| 24 | 25 | #include "internal.h" |
| 25 | 26 | |
| 26 | 27 | static av_cold int yuv4_decode_init(AVCodecContext *avctx) |
| @@ -19,6 +19,7 @@ · 18 unmodified lines | ||
| 19 | 19 | #include <zlib.h> |
| 20 | 20 | |
| 21 | 21 | #include "avcodec.h" |
| 22 | +#include "codec_internal.h" | |
| 22 | 23 | #include "internal.h" |
| 23 | 24 | #include "zlib_wrapper.h" |
| 24 | 25 | #include "libavutil/common.h" |
| @@ -31,6 +31,7 @@ · 30 unmodified lines | ||
| 31 | 31 | #include "libavutil/imgutils.h" |
| 32 | 32 | #include "libavutil/intreadwrite.h" |
| 33 | 33 | #include "avcodec.h" |
| 34 | +#include "codec_internal.h" | |
| 34 | 35 | #include "internal.h" |
| 35 | 36 | #include "zlib_wrapper.h" |
| 36 | 37 | |
| @@ -30,8 +30,8 @@ · 29 unmodified lines | ||
| 30 | 30 | #include "libavutil/common.h" |
| 31 | 31 | #include "libavutil/intreadwrite.h" |
| 32 | 32 | #include "avcodec.h" |
| 33 | +#include "codec_internal.h" | |
| 33 | 34 | #include "encode.h" |
| 34 | −#include "internal.h" | |
| 35 | 35 | #include "zlib_wrapper.h" |
| 36 | 36 | |
| 37 | 37 | #include <zlib.h> |