@@ -21,6 +21,7 @@
*/
#include "avcodec.h"
+#include "codec_internal.h"
#include "internal.h"
#include "libavutil/intreadwrite.h"
@@ -36,6 +36,7 @@
#include "blockdsp.h"
#include "bswapdsp.h"
#include "bytestream.h"
+#include "codec_internal.h"
#include "get_bits.h"
#include "internal.h"
@@ -37,6 +37,7 @@
#include "libavutil/internal.h"
#include "libavutil/intreadwrite.h"
#include "avcodec.h"
+#include "codec_internal.h"
#include "decode.h"
#include "internal.h"
@@ -41,6 +41,7 @@
#include "libavutil/avassert.h"
#include "avcodec.h"
+#include "codec_internal.h"
#include "internal.h"
#include "libavutil/common.h"
@@ -28,9 +28,9 @@
#include "a64colors.h"
#include "a64tables.h"
+#include "codec_internal.h"
#include "elbg.h"
#include "encode.h"
-#include "internal.h"
#include "libavutil/avassert.h"
#include "libavutil/common.h"
#include "libavutil/intreadwrite.h"
@@ -38,7 +38,7 @@
#include "libavutil/float_dsp.h"
#include "libavutil/opt.h"
#include "avcodec.h"
-#include "internal.h"
+#include "codec_internal.h"
#include "get_bits.h"
#include "fft.h"
#include "mdct15.h"
@@ -64,7 +64,7 @@
#include "libavutil/fixed_dsp.h"
#include "libavutil/opt.h"
#include "avcodec.h"
-#include "internal.h"
+#include "codec_internal.h"
#include "get_bits.h"
#include "fft.h"
#include "lpc.h"
@@ -91,6 +91,7 @@
#include "libavutil/channel_layout.h"
#include "libavutil/thread.h"
+#include "internal.h"
static VLC vlc_scalefactors;
static VLC vlc_spectral[11];
@@ -35,9 +35,9 @@
#include "libavutil/float_dsp.h"
#include "libavutil/opt.h"
#include "avcodec.h"
+#include "codec_internal.h"
#include "encode.h"
#include "put_bits.h"
-#include "internal.h"
#include "mpeg4audio.h"
#include "sinewin.h"
#include "profiles.h"
@@ -29,6 +29,7 @@
#include <string.h>
#include "avcodec.h"
+#include "codec_internal.h"
#include "internal.h"
#include "msrledec.h"
@@ -50,6 +50,7 @@
#define FFT_FLOAT 0
#define USE_FIXED 1
#include "ac3dec.h"
+#include "codec_internal.h"
static const int end_freq_inv_tab[8] =
@@ -31,6 +31,7 @@
#include "config_components.h"
#include "ac3dec.h"
+#include "codec_internal.h"
#include "eac3dec.c"
#include "ac3dec.c"
@@ -38,6 +38,7 @@
#include "libavutil/opt.h"
#include "libavutil/thread.h"
#include "avcodec.h"
+#include "codec_internal.h"
#include "config_components.h"
#include "encode.h"
#include "internal.h"
@@ -34,8 +34,8 @@
#include "ac3.h"
#include "ac3dsp.h"
#include "avcodec.h"
+#include "codec_internal.h"
#include "fft.h"
-#include "internal.h"
#include "mathops.h"
#include "me_cmp.h"
#include "put_bits.h"
@@ -28,9 +28,9 @@
#define AC3ENC_FLOAT 0
#define FFT_FLOAT 0
-#include "internal.h"
#include "audiodsp.h"
#include "ac3enc.h"
+#include "codec_internal.h"
#include "eac3enc.h"
#include "kbdwin.h"
@@ -27,9 +27,9 @@
*/
#define AC3ENC_FLOAT 1
-#include "internal.h"
#include "audiodsp.h"
#include "ac3enc.h"
+#include "codec_internal.h"
#include "eac3enc.h"
#include "kbdwin.h"
@@ -35,7 +35,6 @@
#include "libavutil/mem_internal.h"
#include "audiodsp.h"
-#include "internal.h"
#include "ac3enc.h"
#include "eac3enc.h"
@@ -42,6 +42,7 @@
#include "bytestream.h"
#include "adpcm.h"
#include "adpcm_data.h"
+#include "codec_internal.h"
#include "internal.h"
/**
@@ -31,8 +31,8 @@
#include "bytestream.h"
#include "adpcm.h"
#include "adpcm_data.h"
+#include "codec_internal.h"
#include "encode.h"
-#include "internal.h"
/**
* @file
@@ -22,6 +22,7 @@
#include "libavutil/intreadwrite.h"
#include "avcodec.h"
#include "adx.h"
+#include "codec_internal.h"
#include "get_bits.h"
#include "internal.h"
@@ -22,8 +22,8 @@
#include "avcodec.h"
#include "adx.h"
#include "bytestream.h"
+#include "codec_internal.h"
#include "encode.h"
-#include "internal.h"
#include "put_bits.h"
/**
@@ -30,6 +30,7 @@
#include "avcodec.h"
#include "bytestream.h"
+#include "codec_internal.h"
#include "copy_block.h"
#include "get_bits.h"
#include "idctdsp.h"
@@ -26,7 +26,7 @@
#include "avcodec.h"
#include "bytestream.h"
-#include "internal.h"
+#include "codec_internal.h"
#include "get_bits.h"
#include "golomb.h"
#include "idctdsp.h"
@@ -52,7 +52,7 @@
#include "avcodec.h"
#include "get_bits.h"
#include "bytestream.h"
-#include "internal.h"
+#include "codec_internal.h"
#include "thread.h"
#include "unary.h"
#include "mathops.h"
@@ -22,9 +22,9 @@
#include "libavutil/opt.h"
#include "avcodec.h"
+#include "codec_internal.h"
#include "encode.h"
#include "put_bits.h"
-#include "internal.h"
#include "lpc.h"
#include "mathops.h"
#include "alac_data.h"
@@ -33,6 +33,7 @@
#include "mpeg4audio.h"
#include "bgmc.h"
#include "bswapdsp.h"
+#include "codec_internal.h"
#include "internal.h"
#include "mlz.h"
#include "libavutil/samplefmt.h"
@@ -20,6 +20,7 @@
#include "libavutil/internal.h"
#include "libavutil/opt.h"
#include "amfenc.h"
+#include "codec_internal.h"
#include "internal.h"
#define OFFSET(x) offsetof(AmfContext, x)
@@ -19,6 +19,7 @@
#include "libavutil/internal.h"
#include "libavutil/opt.h"
#include "amfenc.h"
+#include "codec_internal.h"
#include "internal.h"
#define OFFSET(x) offsetof(AmfContext, x)
@@ -55,6 +55,7 @@
#include "acelp_pitch_delay.h"
#include "lsp.h"
#include "amr.h"
+#include "codec_internal.h"
#include "internal.h"
#include "amrnbdata.h"
@@ -36,6 +36,7 @@
#include "acelp_filters.h"
#include "acelp_vectors.h"
#include "acelp_pitch_delay.h"
+#include "codec_internal.h"
#include "internal.h"
#define AMR_USE_16BIT_TABLES
@@ -26,6 +26,7 @@
#include "avcodec.h"
#include "bytestream.h"
+#include "codec_internal.h"
#include "internal.h"
typedef struct AnmContext {
@@ -30,6 +30,7 @@
#include "libavutil/xga_font_data.h"
#include "avcodec.h"
#include "cga_data.h"
+#include "codec_internal.h"
#include "internal.h"
#define ATTR_BOLD 0x01 /**< Bold/Bright-foreground (mode 1) */
@@ -30,6 +30,7 @@
#include "avcodec.h"
#include "bswapdsp.h"
#include "bytestream.h"
+#include "codec_internal.h"
#include "internal.h"
#include "get_bits.h"
#include "unary.h"
@@ -21,6 +21,7 @@
*/
#include "aptx.h"
+#include "internal.h"
static const int32_t quantize_intervals_LF[65] = {
@@ -25,7 +25,6 @@
#include "libavutil/intreadwrite.h"
#include "avcodec.h"
-#include "internal.h"
#include "mathops.h"
#include "audio_frame_queue.h"
@@ -24,6 +24,8 @@
#include "libavutil/channel_layout.h"
#include "aptx.h"
+#include "codec_internal.h"
+#include "internal.h"
/*
* Half-band QMF synthesis filter realized with a polyphase FIR filter.
@@ -24,6 +24,7 @@
#include "libavutil/channel_layout.h"
#include "aptx.h"
+#include "codec_internal.h"
#include "encode.h"
/*
@@ -29,6 +29,7 @@
#include "avcodec.h"
#include "bytestream.h"
+#include "codec_internal.h"
#include "internal.h"
typedef struct ARBCContext {
@@ -29,6 +29,7 @@
#include "avcodec.h"
#include "bytestream.h"
+#include "codec_internal.h"
#include "internal.h"
typedef struct ArgoContext {
@@ -23,8 +23,8 @@
#include "avcodec.h"
#include "ass.h"
+#include "codec_internal.h"
#include "config_components.h"
-#include "internal.h"
#include "libavutil/internal.h"
#include "libavutil/mem.h"
@@ -25,7 +25,7 @@
#include "avcodec.h"
#include "ass.h"
-#include "internal.h"
+#include "codec_internal.h"
#include "libavutil/avstring.h"
#include "libavutil/internal.h"
#include "libavutil/mem.h"
@@ -30,6 +30,7 @@
#include "asv.h"
#include "avcodec.h"
#include "blockdsp.h"
+#include "codec_internal.h"
#include "config_components.h"
#include "idctdsp.h"
#include "internal.h"
@@ -31,10 +31,10 @@
#include "aandcttab.h"
#include "asv.h"
#include "avcodec.h"
+#include "codec_internal.h"
#include "dct.h"
#include "encode.h"
#include "fdctdsp.h"
-#include "internal.h"
#include "mpeg12data.h"
static inline void asv1_put_level(PutBitContext *pb, int level)
@@ -36,6 +36,7 @@
#include "libavutil/mem_internal.h"
#include "avcodec.h"
+#include "codec_internal.h"
#include "get_bits.h"
#include "fft.h"
#include "internal.h"
@@ -44,6 +44,7 @@
#include "avcodec.h"
#include "bytestream.h"
+#include "codec_internal.h"
#include "fft.h"
#include "get_bits.h"
#include "internal.h"
@@ -42,6 +42,7 @@
#include "libavutil/mem_internal.h"
#include "libavutil/thread.h"
#include "avcodec.h"
+#include "codec_internal.h"
#include "get_bits.h"
#include "internal.h"
#include "atrac.h"
@@ -22,6 +22,7 @@
#include "libavutil/channel_layout.h"
#include "libavutil/thread.h"
+#include "codec_internal.h"
#include "internal.h"
#include "get_bits.h"
#include "fft.h"
@@ -27,6 +27,7 @@
#include "avcodec.h"
#include "ac3_parser_internal.h"
#include "bytestream.h"
+#include "codec_internal.h"
#include "internal.h"
#include "mpegaudiodecheader.h"
#include "libavutil/avassert.h"
@@ -29,6 +29,7 @@
#include "audio_frame_queue.h"
#include "avcodec.h"
#include "bytestream.h"
+#include "codec_internal.h"
#include "encode.h"
#include "internal.h"
#include "libavformat/isom.h"
@@ -24,6 +24,7 @@
*/
#include "avcodec.h"
+#include "codec_internal.h"
#include "internal.h"
#include "libavutil/internal.h"
@@ -26,6 +26,7 @@
#include "avcodec.h"
#include "av1dec.h"
#include "bytestream.h"
+#include "codec_internal.h"
#include "hwconfig.h"
#include "internal.h"
#include "profiles.h"
@@ -34,6 +34,7 @@
#include "libavutil/thread.h"
#include "avcodec.h"
#include "bsf.h"
+#include "codec_internal.h"
#include "decode.h"
#include "encode.h"
#include "frame_thread_encoder.h"
@@ -20,6 +20,7 @@
*/
#include "avcodec.h"
+#include "codec_internal.h"
#include "internal.h"
#include "libavutil/imgutils.h"
@@ -20,6 +20,7 @@
*/
#include "avcodec.h"
+#include "codec_internal.h"
#include "get_bits.h"
#include "internal.h"
@@ -21,6 +21,7 @@
*/
#include "avcodec.h"
+#include "codec_internal.h"
#include "internal.h"
#include "libavutil/intreadwrite.h"
@@ -21,8 +21,8 @@
*/
#include "avcodec.h"
+#include "codec_internal.h"
#include "encode.h"
-#include "internal.h"
#include "libavutil/intreadwrite.h"
static av_cold int avui_encode_init(AVCodecContext *avctx)
@@ -31,6 +31,7 @@
#include "avcodec.h"
#include "bethsoftvideo.h"
#include "bytestream.h"
+#include "codec_internal.h"
#include "internal.h"
typedef struct BethsoftvidContext {
@@ -29,6 +29,7 @@
#include "libavutil/common.h"
#include "avcodec.h"
#include "bytestream.h"
+#include "codec_internal.h"
#include "internal.h"
typedef struct BFIContext {
@@ -31,6 +31,7 @@
#include "binkdata.h"
#include "binkdsp.h"
#include "blockdsp.h"
+#include "codec_internal.h"
#include "get_bits.h"
#include "hpeldsp.h"
#include "internal.h"
@@ -39,6 +39,7 @@
#include "dct.h"
#include "decode.h"
#include "get_bits.h"
+#include "codec_internal.h"
#include "internal.h"
#include "rdft.h"
#include "wma_freqs.h"
@@ -35,6 +35,7 @@
#include "avcodec.h"
#include "cga_data.h"
#include "bintext.h"
+#include "codec_internal.h"
#include "internal.h"
#define FONT_WIDTH 8
@@ -27,7 +27,7 @@
*/
#include "avcodec.h"
-#include "internal.h"
+#include "codec_internal.h"
#include "get_bits.h"
#include "libavutil/imgutils.h"
#include "thread.h"
@@ -21,6 +21,7 @@
*/
#include "avcodec.h"
+#include "codec_internal.h"
#include "encode.h"
#include "internal.h"
#include "put_bits.h"
@@ -27,8 +27,8 @@
#include "avcodec.h"
#include "bytestream.h"
#include "bmp.h"
+#include "codec_internal.h"
#include "encode.h"
-#include "internal.h"
static const uint32_t monoblack_pal[] = { 0x000000, 0xFFFFFF };
static const uint32_t rgb565_masks[] = { 0xF800, 0x07E0, 0x001F };
@@ -23,6 +23,7 @@
#include "libavutil/common.h"
#include "avcodec.h"
+#include "codec_internal.h"
#include "internal.h"
static const int bmv_aud_mults[16] = {
@@ -24,6 +24,7 @@
#include "avcodec.h"
#include "bytestream.h"
+#include "codec_internal.h"
#include "internal.h"
enum BMVFlags{
@@ -21,6 +21,7 @@
#include "avcodec.h"
#include "bytestream.h"
+#include "codec_internal.h"
#include "internal.h"
typedef struct C93DecoderContext {
@@ -30,6 +30,7 @@
#include "get_bits.h"
#include "golomb.h"
#include "cavs.h"
+#include "codec_internal.h"
#include "internal.h"
#include "mpeg12data.h"
#include "startcode.h"
@@ -21,7 +21,7 @@
#include "avcodec.h"
#include "ass.h"
-#include "internal.h"
+#include "codec_internal.h"
#include "libavutil/opt.h"
#define SCREEN_ROWS 15
@@ -21,6 +21,7 @@
#include "avcodec.h"
#include "bytestream.h"
+#include "codec_internal.h"
#include "internal.h"
/**
@@ -31,6 +31,7 @@
#include "libavutil/internal.h"
#include "avcodec.h"
#include "bytestream.h"
+#include "codec_internal.h"
#include "internal.h"
#define CDTOONS_HEADER_SIZE 44
@@ -31,6 +31,7 @@
#include "libavutil/imgutils.h"
#include "avcodec.h"
#include "bytestream.h"
+#include "codec_internal.h"
#include "get_bits.h"
#include "internal.h"
@@ -32,6 +32,7 @@
#include "avcodec.h"
#include "bytestream.h"
+#include "codec_internal.h"
#include "get_bits.h"
#include "internal.h"
#include "thread.h"
@@ -33,9 +33,9 @@
#include "bytestream.h"
#include "cfhd.h"
#include "cfhdencdsp.h"
+#include "codec_internal.h"
#include "encode.h"
#include "put_bits.h"
-#include "internal.h"
#include "thread.h"
/* Derived from existing tables from decoder */
@@ -40,6 +40,7 @@
#include "libavutil/common.h"
#include "libavutil/intreadwrite.h"
#include "avcodec.h"
+#include "codec_internal.h"
#include "decode.h"
#include "internal.h"
@@ -44,9 +44,9 @@
#include "libavutil/opt.h"
#include "avcodec.h"
+#include "codec_internal.h"
#include "elbg.h"
#include "encode.h"
-#include "internal.h"
#define CVID_HEADER_SIZE 10
#define STRIP_HEADER_SIZE 12
@@ -29,6 +29,7 @@
#include "avcodec.h"
#include "bytestream.h"
+#include "codec_internal.h"
#include "get_bits.h"
#include "idctdsp.h"
#include "internal.h"
@@ -25,6 +25,7 @@
*/
#include "avcodec.h"
+#include "codec_internal.h"
#include "get_bits.h"
#include "internal.h"
@@ -27,7 +27,7 @@
#include "canopus.h"
#include "get_bits.h"
#include "avcodec.h"
-#include "internal.h"
+#include "codec_internal.h"
#include "thread.h"
#define VLC_BITS 7
@@ -26,6 +26,7 @@
#include "libavutil/intreadwrite.h"
#include "avcodec.h"
#include "celp_filters.h"
+#include "codec_internal.h"
#include "internal.h"
#include "libavutil/lfg.h"
@@ -23,8 +23,8 @@
#include "libavutil/common.h"
#include "avcodec.h"
+#include "codec_internal.h"
#include "encode.h"
-#include "internal.h"
#include "lpc.h"
typedef struct CNGContext {
new file mode 100644
@@ -0,0 +1,82 @@
+/*
+ * This file is part of FFmpeg.
+ *
+ * FFmpeg is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * FFmpeg is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with FFmpeg; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ */
+
+#ifndef AVCODEC_CODEC_INTERNAL_H
+#define AVCODEC_CODEC_INTERNAL_H
+
+/**
+ * The codec does not modify any global variables in the init function,
+ * allowing to call the init function without locking any global mutexes.
+ */
+#define FF_CODEC_CAP_INIT_THREADSAFE (1 << 0)
+/**
+ * The codec allows calling the close function for deallocation even if
+ * the init function returned a failure. Without this capability flag, a
+ * codec does such cleanup internally when returning failures from the
+ * init function and does not expect the close function to be called at
+ * all.
+ */
+#define FF_CODEC_CAP_INIT_CLEANUP (1 << 1)
+/**
+ * Decoders marked with FF_CODEC_CAP_SETS_PKT_DTS want to set
+ * AVFrame.pkt_dts manually. If the flag is set, decode.c won't overwrite
+ * this field. If it's unset, decode.c tries to guess the pkt_dts field
+ * from the input AVPacket.
+ */
+#define FF_CODEC_CAP_SETS_PKT_DTS (1 << 2)
+/**
+ * The decoder extracts and fills its parameters even if the frame is
+ * skipped due to the skip_frame setting.
+ */
+#define FF_CODEC_CAP_SKIP_FRAME_FILL_PARAM (1 << 3)
+/**
+ * The decoder sets the cropping fields in the output frames manually.
+ * If this cap is set, the generic code will initialize output frame
+ * dimensions to coded rather than display values.
+ */
+#define FF_CODEC_CAP_EXPORTS_CROPPING (1 << 4)
+/**
+ * Codec initializes slice-based threading with a main function
+ */
+#define FF_CODEC_CAP_SLICE_THREAD_HAS_MF (1 << 5)
+/*
+ * The codec supports frame threading and has inter-frame dependencies, so it
+ * uses ff_thread_report/await_progress().
+ */
+#define FF_CODEC_CAP_ALLOCATE_PROGRESS (1 << 6)
+/**
+ * Codec handles avctx->thread_count == 0 (auto) internally.
+ */
+#define FF_CODEC_CAP_AUTO_THREADS (1 << 7)
+/**
+ * Codec handles output frame properties internally instead of letting the
+ * internal logic derive them from AVCodecInternal.last_pkt_props.
+ */
+#define FF_CODEC_CAP_SETS_FRAME_PROPS (1 << 8)
+
+/**
+ * AVCodec.codec_tags termination value
+ */
+#define FF_CODEC_TAGS_END -1
+
+struct AVCodecDefault {
+ const char *key;
+ const char *value;
+};
+
+#endif /* AVCODEC_CODEC_INTERNAL_H */
@@ -51,6 +51,7 @@
#include "avcodec.h"
#include "get_bits.h"
#include "bytestream.h"
+#include "codec_internal.h"
#include "fft.h"
#include "internal.h"
#include "sinewin.h"
@@ -23,6 +23,7 @@
*/
#include "avcodec.h"
+#include "codec_internal.h"
#include "get_bits.h"
#include "internal.h"
@@ -31,6 +31,7 @@
#include "libavutil/display.h"
#include "avcodec.h"
#include "bytestream.h"
+#include "codec_internal.h"
#include "get_bits.h"
#include "internal.h"
#include "thread.h"
@@ -57,6 +57,7 @@
#include <libcrystalhd/libcrystalhd_if.h>
#include "avcodec.h"
+#include "codec_internal.h"
#include "decode.h"
#include "internal.h"
#include "libavutil/imgutils.h"
@@ -22,6 +22,7 @@
#include <stdlib.h>
#include "avcodec.h"
+#include "codec_internal.h"
#include "internal.h"
#include "libavutil/common.h"
@@ -34,6 +34,7 @@
#include "libavutil/pixdesc.h"
#include "avcodec.h"
+#include "codec_internal.h"
#include "decode.h"
#include "hwconfig.h"
#include "nvdec.h"
@@ -35,6 +35,7 @@
#include <string.h>
#include "avcodec.h"
+#include "codec_internal.h"
#include "internal.h"
#include "libavutil/internal.h"
@@ -22,10 +22,10 @@
#include "libavutil/channel_layout.h"
#include "libavutil/thread.h"
+#include "codec_internal.h"
#include "dcadec.h"
#include "dcahuff.h"
#include "dca_syncwords.h"
-#include "internal.h"
#include "profiles.h"
#define MIN_PACKET_SIZE 16
@@ -30,6 +30,7 @@
#include "libavutil/mem_internal.h"
#include "libavutil/opt.h"
#include "avcodec.h"
+#include "codec_internal.h"
#include "dca.h"
#include "dcaadpcm.h"
#include "dcamath.h"
@@ -33,6 +33,7 @@
#include "avcodec.h"
#include "bytestream.h"
+#include "codec_internal.h"
#include "internal.h"
#include "texturedsp.h"
#include "thread.h"
@@ -42,6 +42,7 @@
#include "avcodec.h"
#include "bytestream.h"
#include "bsf.h"
+#include "codec_internal.h"
#include "decode.h"
#include "hwconfig.h"
#include "internal.h"
@@ -24,6 +24,7 @@
#include "avcodec.h"
#include "bytestream.h"
+#include "codec_internal.h"
#include "internal.h"
#include "libavutil/avassert.h"
@@ -28,6 +28,7 @@
#include "libavutil/internal.h"
#include "avcodec.h"
#include "codec_id.h"
+#include "codec_internal.h"
#include "internal.h"
typedef struct {
@@ -28,8 +28,8 @@
#include "libavutil/internal.h"
#include "avcodec.h"
#include "codec_id.h"
+#include "codec_internal.h"
#include "encode.h"
-#include "internal.h"
typedef struct {
int fq, q, s, lt;
@@ -32,6 +32,7 @@
#include "avcodec.h"
#include "get_bits.h"
#include "bytestream.h"
+#include "codec_internal.h"
#include "internal.h"
#include "golomb.h"
#include "dirac_arith.h"
@@ -29,6 +29,7 @@
#include "avcodec.h"
#include "blockdsp.h"
+#include "codec_internal.h"
#define UNCHECKED_BITSTREAM_READER 1
#include "get_bits.h"
#include "dnxhddata.h"
@@ -30,6 +30,7 @@
#include "avcodec.h"
#include "blockdsp.h"
+#include "codec_internal.h"
#include "encode.h"
#include "fdctdsp.h"
#include "internal.h"
@@ -25,6 +25,7 @@
#include "libavutil/mem_internal.h"
#include "libavutil/opt.h"
+#include "codec_internal.h"
#include "internal.h"
#include "get_bits.h"
#include "dolby_e.h"
@@ -40,6 +40,7 @@
#include "libavutil/intreadwrite.h"
#include "avcodec.h"
#include "bytestream.h"
+#include "codec_internal.h"
#include "internal.h"
#include "mathops.h"
@@ -23,8 +23,8 @@
#include "libavutil/intreadwrite.h"
#include "libavutil/imgutils.h"
#include "avcodec.h"
+#include "codec_internal.h"
#include "encode.h"
-#include "internal.h"
#include "version.h"
typedef struct DPXContext {
@@ -28,6 +28,7 @@
#include "libavcodec/internal.h"
#include "avcodec.h"
+#include "codec_internal.h"
#include "dsd.h"
#define DSD_SILENCE 0x69
@@ -28,6 +28,7 @@
#include "avcodec.h"
#include "bytestream.h"
+#include "codec_internal.h"
#include "internal.h"
#include "mathops.h"
@@ -26,6 +26,7 @@
#include "avcodec.h"
#include "bytestream.h"
+#include "codec_internal.h"
#include "internal.h"
typedef enum CinVideoBitmapIndex {
@@ -25,6 +25,7 @@
#include "libavutil/opt.h"
#include "avcodec.h"
+#include "codec_internal.h"
#include "get_bits.h"
#include "internal.h"
@@ -27,6 +27,7 @@
#include "libavutil/intreadwrite.h"
#include "libavutil/mem_internal.h"
+#include "codec_internal.h"
#include "internal.h"
#include "get_bits.h"
#include "avcodec.h"
@@ -21,6 +21,7 @@
#include "libavutil/channel_layout.h"
#include "libavutil/intreadwrite.h"
#include "avcodec.h"
+#include "codec_internal.h"
#include "internal.h"
#include "dvaudio.h"
@@ -22,6 +22,7 @@
#include "avcodec.h"
#include "get_bits.h"
#include "bytestream.h"
+#include "codec_internal.h"
#include "internal.h"
#include "libavutil/colorspace.h"
#include "libavutil/imgutils.h"
@@ -43,6 +43,7 @@
#include "libavutil/thread.h"
#include "avcodec.h"
+#include "codec_internal.h"
#include "dv.h"
#include "dv_profile_internal.h"
#include "dvdata.h"
@@ -20,6 +20,7 @@
*/
#include "avcodec.h"
+#include "codec_internal.h"
#include "get_bits.h"
#include "internal.h"
@@ -20,6 +20,7 @@
*/
#include "avcodec.h"
#include "bytestream.h"
+#include "codec_internal.h"
#include "internal.h"
#include "libavutil/avassert.h"
#include "libavutil/bprint.h"
@@ -36,12 +36,12 @@
#include "libavutil/thread.h"
#include "avcodec.h"
+#include "codec_internal.h"
#include "dv.h"
#include "dv_profile_internal.h"
#include "dv_tablegen.h"
#include "encode.h"
#include "fdctdsp.h"
-#include "internal.h"
#include "mathops.h"
#include "me_cmp.h"
#include "pixblockdsp.h"
@@ -31,6 +31,7 @@
#include "libavutil/intreadwrite.h"
#include "bytestream.h"
#include "avcodec.h"
+#include "codec_internal.h"
#include "internal.h"
#include <zlib.h>
@@ -27,7 +27,7 @@
#include "mathops.h"
#include "avcodec.h"
#include "bytestream.h"
-#include "internal.h"
+#include "codec_internal.h"
#include "lzf.h"
#include "texturedsp.h"
#include "thread.h"
@@ -39,7 +39,6 @@
#include "avcodec.h"
-#include "internal.h"
#include "aac_ac3_parser.h"
#include "ac3.h"
#include "ac3dec.h"
@@ -28,6 +28,7 @@
#include "libavutil/attributes.h"
#include "ac3enc.h"
+#include "codec_internal.h"
#include "eac3enc.h"
#include "eac3_data.h"
@@ -32,6 +32,7 @@
#include "libavutil/intreadwrite.h"
#include "libavutil/imgutils.h"
#include "avcodec.h"
+#include "codec_internal.h"
#include "internal.h"
typedef struct CmvContext {
@@ -34,6 +34,7 @@
#include "blockdsp.h"
#include "bytestream.h"
#include "bswapdsp.h"
+#include "codec_internal.h"
#include "get_bits.h"
#include "aandcttab.h"
#include "eaidct.h"
@@ -35,6 +35,7 @@
#include "aandcttab.h"
#include "avcodec.h"
#include "bytestream.h"
+#include "codec_internal.h"
#include "eaidct.h"
#include "get_bits.h"
#include "idctdsp.h"
@@ -34,6 +34,7 @@
#define BITSTREAM_READER_LE
#include "avcodec.h"
#include "get_bits.h"
+#include "codec_internal.h"
#include "internal.h"
#define EA_PREAMBLE_SIZE 8
@@ -31,6 +31,7 @@
#include "avcodec.h"
#include "blockdsp.h"
#include "bswapdsp.h"
+#include "codec_internal.h"
#include "get_bits.h"
#include "aandcttab.h"
#include "eaidct.h"
@@ -21,6 +21,7 @@
#define BITSTREAM_READER_LE
#include "avcodec.h"
+#include "codec_internal.h"
#include "get_bits.h"
#include "internal.h"
@@ -24,6 +24,7 @@
#define BITSTREAM_READER_LE
#include "avcodec.h"
+#include "codec_internal.h"
#include "get_bits.h"
#include "internal.h"
@@ -29,6 +29,7 @@
#include "libavutil/mathematics.h"
#include "libavutil/opt.h"
#include "avcodec.h"
+#include "codec_internal.h"
#include "internal.h"
#include "get_bits.h"
#include "evrcdata.h"
@@ -49,6 +49,7 @@
#include "bswapdsp.h"
#endif
+#include "codec_internal.h"
#include "exrdsp.h"
#include "get_bits.h"
#include "internal.h"
@@ -33,8 +33,8 @@
#include "libavutil/pixdesc.h"
#include "avcodec.h"
#include "bytestream.h"
+#include "codec_internal.h"
#include "encode.h"
-#include "internal.h"
#include "float2half.h"
enum ExrCompr {
@@ -25,6 +25,7 @@
#include "avcodec.h"
#include "bytestream.h"
+#include "codec_internal.h"
#include "internal.h"
#include "mathops.h"
@@ -31,6 +31,7 @@
#include "libavutil/imgutils.h"
#include "libavutil/pixdesc.h"
#include "avcodec.h"
+#include "codec_internal.h"
#include "internal.h"
#include "get_bits.h"
#include "rangecoder.h"
@@ -34,6 +34,7 @@
#include "avcodec.h"
#include "encode.h"
+#include "codec_internal.h"
#include "internal.h"
#include "put_bits.h"
#include "put_golomb.h"
@@ -22,6 +22,7 @@
#include "libavutil/intreadwrite.h"
#include "libavutil/log.h"
#include "avcodec.h"
+#include "codec_internal.h"
#include "internal.h"
@@ -25,6 +25,7 @@
#include "libavutil/mem_internal.h"
#include "libavutil/opt.h"
#include "avcodec.h"
+#include "codec_internal.h"
#include "internal.h"
#include "get_bits.h"
#include "golomb.h"
@@ -37,7 +37,7 @@
#include "libavutil/crc.h"
#include "libavutil/opt.h"
#include "avcodec.h"
-#include "internal.h"
+#include "codec_internal.h"
#include "get_bits.h"
#include "bytestream.h"
#include "golomb.h"
@@ -28,6 +28,7 @@
#include "avcodec.h"
#include "bswapdsp.h"
+#include "codec_internal.h"
#include "encode.h"
#include "put_bits.h"
#include "put_golomb.h"
@@ -42,6 +42,7 @@
#include "libavutil/intreadwrite.h"
#include "avcodec.h"
#include "bytestream.h"
+#include "codec_internal.h"
#include "get_bits.h"
#include "internal.h"
@@ -48,8 +48,8 @@
#include "libavutil/imgutils.h"
#include "avcodec.h"
+#include "codec_internal.h"
#include "encode.h"
-#include "internal.h"
#include "put_bits.h"
#include "bytestream.h"
@@ -49,8 +49,8 @@
#include <zlib.h>
#include "avcodec.h"
+#include "codec_internal.h"
#include "encode.h"
-#include "internal.h"
#include "put_bits.h"
#include "bytestream.h"
@@ -41,6 +41,7 @@
#include "libavutil/intreadwrite.h"
#include "avcodec.h"
#include "bytestream.h"
+#include "codec_internal.h"
#include "internal.h"
#include "mathops.h"
@@ -20,9 +20,9 @@
#include "libavutil/imgutils.h"
+#include "codec_internal.h"
#include "flvdec.h"
#include "h263dec.h"
-#include "internal.h"
#include "mpegvideo.h"
#include "mpegvideodata.h"
@@ -18,6 +18,7 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
+#include "codec_internal.h"
#include "flvenc.h"
#include "h263data.h"
#include "mpegvideo.h"
@@ -26,6 +26,7 @@
#include "avcodec.h"
#include "bytestream.h"
+#include "codec_internal.h"
#include "internal.h"
#define BLOCK_HEIGHT 112u
@@ -40,7 +40,7 @@
#include "huffman.h"
#include "bytestream.h"
#include "bswapdsp.h"
-#include "internal.h"
+#include "codec_internal.h"
#include "thread.h"
#define FPS_TAG MKTAG('F', 'P', 'S', 'x')
@@ -22,6 +22,7 @@
#include "avcodec.h"
#include "bytestream.h"
+#include "codec_internal.h"
#include "internal.h"
#include "libavutil/opt.h"
@@ -35,6 +35,7 @@
#include "avcodec.h"
#include "blockdsp.h"
#include "bytestream.h"
+#include "codec_internal.h"
#include "elsdec.h"
#include "get_bits.h"
#include "idctdsp.h"
@@ -37,6 +37,7 @@
#include "libavutil/channel_layout.h"
#include "libavutil/opt.h"
#include "avcodec.h"
+#include "codec_internal.h"
#include "get_bits.h"
#include "g722.h"
#include "internal.h"
@@ -30,6 +30,7 @@
#include "libavutil/avassert.h"
#include "libavutil/channel_layout.h"
#include "avcodec.h"
+#include "codec_internal.h"
#include "encode.h"
#include "internal.h"
#include "g722.h"
@@ -34,6 +34,7 @@
#include "avcodec.h"
#include "celp_filters.h"
#include "celp_math.h"
+#include "codec_internal.h"
#include "get_bits.h"
#include "internal.h"
#include "g723_1.h"
@@ -34,9 +34,9 @@
#include "avcodec.h"
#include "celp_math.h"
+#include "codec_internal.h"
#include "encode.h"
#include "g723_1.h"
-#include "internal.h"
#define BITSTREAM_WRITER_LE
#include "put_bits.h"
@@ -29,6 +29,7 @@
#include "libavutil/channel_layout.h"
#include "libavutil/opt.h"
#include "avcodec.h"
+#include "codec_internal.h"
#include "encode.h"
#include "internal.h"
#include "get_bits.h"
@@ -26,6 +26,7 @@
#include "libavutil/avutil.h"
#include "get_bits.h"
#include "audiodsp.h"
+#include "codec_internal.h"
#include "internal.h"
@@ -23,6 +23,7 @@
#include "libavutil/common.h"
#include "avcodec.h"
#include "bytestream.h"
+#include "codec_internal.h"
#include "decode.h"
#include "internal.h"
@@ -35,8 +35,8 @@
#include "libavutil/imgutils.h"
#include "avcodec.h"
#include "bytestream.h"
+#include "codec_internal.h"
#include "encode.h"
-#include "internal.h"
#include "lzw.h"
#include "gif.h"
@@ -25,6 +25,7 @@
#include "libavutil/opt.h"
#include "avcodec.h"
#include "bytestream.h"
+#include "codec_internal.h"
#include "internal.h"
#include "lzw.h"
#include "gif.h"
@@ -28,6 +28,7 @@
#include "libavutil/channel_layout.h"
#include "avcodec.h"
+#include "codec_internal.h"
#include "get_bits.h"
#include "internal.h"
#include "msgsmdec.h"
@@ -28,6 +28,7 @@
#include "libavutil/avassert.h"
#include "libavutil/thread.h"
#include "avcodec.h"
+#include "codec_internal.h"
#include "mpeg_er.h"
#include "mpegutils.h"
#include "mpegvideo.h"
@@ -29,6 +29,7 @@
#include "libavutil/avassert.h"
#include "libavutil/thread.h"
#include "avcodec.h"
+#include "codec_internal.h"
#include "mpegutils.h"
#include "mpegvideo.h"
#include "h261.h"
@@ -30,6 +30,7 @@
#include "config_components.h"
#include "avcodec.h"
+#include "codec_internal.h"
#include "error_resilience.h"
#include "flvdec.h"
#include "h263.h"
@@ -35,6 +35,7 @@
#include "libavutil/thread.h"
#include "libavutil/video_enc_params.h"
+#include "codec_internal.h"
#include "internal.h"
#include "error_resilience.h"
#include "avcodec.h"
@@ -37,8 +37,8 @@
#include "avcodec.h"
#include "bytestream.h"
+#include "codec_internal.h"
#include "hap.h"
-#include "internal.h"
#include "snappy.h"
#include "texturedsp.h"
#include "thread.h"
@@ -39,9 +39,9 @@
#include "avcodec.h"
#include "bytestream.h"
+#include "codec_internal.h"
#include "encode.h"
#include "hap.h"
-#include "internal.h"
#include "texturedsp.h"
#define HAP_MAX_CHUNKS 64
@@ -23,6 +23,7 @@
#include "libavutil/tx.h"
#include "avcodec.h"
+#include "codec_internal.h"
#include "get_bits.h"
#include "internal.h"
#include "hca_data.h"
@@ -21,6 +21,7 @@
#include "libavutil/intreadwrite.h"
#include "avcodec.h"
+#include "codec_internal.h"
#include "get_bits.h"
#include "internal.h"
@@ -40,6 +40,7 @@
#include "bswapdsp.h"
#include "bytestream.h"
#include "cabac_functions.h"
+#include "codec_internal.h"
#include "golomb.h"
#include "hevc.h"
#include "hevc_data.h"
@@ -28,6 +28,7 @@
#include "libavutil/mem.h"
#include "avcodec.h"
#include "bytestream.h"
+#include "codec_internal.h"
#include "internal.h"
#define HNM4_CHUNK_ID_PL 19536
@@ -25,6 +25,7 @@
#include "avcodec.h"
#include "canopus.h"
+#include "codec_internal.h"
#include "get_bits.h"
#include "internal.h"
@@ -25,8 +25,8 @@
#include "avcodec.h"
#include "canopus.h"
+#include "codec_internal.h"
#include "get_bits.h"
-#include "internal.h"
#include "thread.h"
#include "hqx.h"
@@ -35,10 +35,10 @@
#include "config_components.h"
#include "avcodec.h"
+#include "codec_internal.h"
#include "get_bits.h"
#include "huffyuv.h"
#include "huffyuvdsp.h"
-#include "internal.h"
#include "lossless_videodsp.h"
#include "thread.h"
#include "libavutil/imgutils.h"
@@ -31,11 +31,11 @@
#include "config_components.h"
#include "avcodec.h"
+#include "codec_internal.h"
#include "encode.h"
#include "huffyuv.h"
#include "huffman.h"
#include "huffyuvencdsp.h"
-#include "internal.h"
#include "lossless_videoencdsp.h"
#include "put_bits.h"
#include "libavutil/opt.h"
@@ -49,6 +49,7 @@
#include <string.h>
#include "avcodec.h"
+#include "codec_internal.h"
#include "decode.h"
#include "internal.h"
#include "libavutil/internal.h"
@@ -34,6 +34,7 @@
#include "bytestream.h"
#include "avcodec.h"
+#include "codec_internal.h"
#include "internal.h"
#include "mathops.h"
@@ -32,6 +32,7 @@
#include "libavutil/channel_layout.h"
#include "avcodec.h"
+#include "codec_internal.h"
#include "internal.h"
#include "get_bits.h"
#include "ilbcdata.h"
@@ -44,6 +44,7 @@
#include "avcodec.h"
#include "bswapdsp.h"
+#include "codec_internal.h"
#include "get_bits.h"
#include "fft.h"
#include "internal.h"
@@ -29,6 +29,7 @@
#include "avcodec.h"
#include "bswapdsp.h"
+#include "codec_internal.h"
#include "copy_block.h"
#include "get_bits.h"
#include "idctdsp.h"
@@ -21,7 +21,7 @@
#include "libavutil/intreadwrite.h"
#include "avcodec.h"
-#include "internal.h"
+#include "codec_internal.h"
typedef struct IMM5Context {
AVCodecContext *h264_avctx; // wrapper context for H264
@@ -21,6 +21,7 @@
#include "libavutil/common.h"
#include "avcodec.h"
#include "bytestream.h"
+#include "codec_internal.h"
#include "decode.h"
#include "internal.h"
@@ -29,6 +29,7 @@
#define BITSTREAM_READER_LE
#include "avcodec.h"
+#include "codec_internal.h"
#include "get_bits.h"
#include "indeo2data.h"
#include "internal.h"
@@ -33,6 +33,7 @@
#include "libavutil/intreadwrite.h"
#include "libavutil/thread.h"
#include "avcodec.h"
+#include "codec_internal.h"
#include "copy_block.h"
#include "bytestream.h"
#include "get_bits.h"
@@ -29,10 +29,10 @@
#define BITSTREAM_READER_LE
#include "avcodec.h"
+#include "codec_internal.h"
#include "get_bits.h"
#include "libavutil/imgutils.h"
#include "indeo4data.h"
-#include "internal.h"
#include "ivi.h"
#include "ivi_dsp.h"
@@ -29,8 +29,8 @@
#define BITSTREAM_READER_LE
#include "avcodec.h"
+#include "codec_internal.h"
#include "get_bits.h"
-#include "internal.h"
#include "ivi.h"
#include "ivi_dsp.h"
#include "indeo5data.h"
@@ -18,7 +18,7 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#include "internal.h"
+#include "codec_internal.h"
#include "mpegutils.h"
#include "mpegvideo.h"
#include "h263data.h"
@@ -35,62 +35,6 @@
#include "bsf.h"
#include "config.h"
-/**
- * The codec does not modify any global variables in the init function,
- * allowing to call the init function without locking any global mutexes.
- */
-#define FF_CODEC_CAP_INIT_THREADSAFE (1 << 0)
-/**
- * The codec allows calling the close function for deallocation even if
- * the init function returned a failure. Without this capability flag, a
- * codec does such cleanup internally when returning failures from the
- * init function and does not expect the close function to be called at
- * all.
- */
-#define FF_CODEC_CAP_INIT_CLEANUP (1 << 1)
-/**
- * Decoders marked with FF_CODEC_CAP_SETS_PKT_DTS want to set
- * AVFrame.pkt_dts manually. If the flag is set, decode.c won't overwrite
- * this field. If it's unset, decode.c tries to guess the pkt_dts field
- * from the input AVPacket.
- */
-#define FF_CODEC_CAP_SETS_PKT_DTS (1 << 2)
-/**
- * The decoder extracts and fills its parameters even if the frame is
- * skipped due to the skip_frame setting.
- */
-#define FF_CODEC_CAP_SKIP_FRAME_FILL_PARAM (1 << 3)
-/**
- * The decoder sets the cropping fields in the output frames manually.
- * If this cap is set, the generic code will initialize output frame
- * dimensions to coded rather than display values.
- */
-#define FF_CODEC_CAP_EXPORTS_CROPPING (1 << 4)
-/**
- * Codec initializes slice-based threading with a main function
- */
-#define FF_CODEC_CAP_SLICE_THREAD_HAS_MF (1 << 5)
-/*
- * The codec supports frame threading and has inter-frame dependencies, so it
- * uses ff_thread_report/await_progress().
- */
-#define FF_CODEC_CAP_ALLOCATE_PROGRESS (1 << 6)
-/**
- * Codec handles avctx->thread_count == 0 (auto) internally.
- */
-#define FF_CODEC_CAP_AUTO_THREADS (1 << 7)
-/**
- * Codec handles output frame properties internally instead of letting the
- * internal logic derive them from AVCodecInternal.last_pkt_props.
- */
-#define FF_CODEC_CAP_SETS_FRAME_PROPS (1 << 8)
-
-/**
- * AVCodec.codec_tags termination value
- */
-#define FF_CODEC_TAGS_END -1
-
-
#define FF_DEFAULT_QUANT_BIAS 999999
#define FF_QSCALE_TYPE_MPEG1 0
@@ -215,11 +159,6 @@ typedef struct AVCodecInternal {
AVChannelLayout initial_ch_layout;
} AVCodecInternal;
-struct AVCodecDefault {
- const uint8_t *key;
- const uint8_t *value;
-};
-
extern const uint8_t ff_log2_run[41];
/**
@@ -23,6 +23,7 @@
#define BITSTREAM_READER_LE
#include "avcodec.h"
+#include "codec_internal.h"
#include "get_bits.h"
#include "internal.h"
@@ -43,6 +43,7 @@
#define BITSTREAM_READER_LE
#include "avcodec.h"
#include "bytestream.h"
+#include "codec_internal.h"
#include "decode.h"
#include "get_bits.h"
#include "hpeldsp.h"
@@ -34,6 +34,7 @@
#include "libavutil/attributes.h"
#include "libavutil/thread.h"
#include "avcodec.h"
+#include "codec_internal.h"
#include "mpegvideo.h"
#include "mpegvideodata.h"
#include "flvenc.h"
@@ -66,8 +66,8 @@
#include <float.h>
#include "avcodec.h"
+#include "codec_internal.h"
#include "encode.h"
-#include "internal.h"
#include "bytestream.h"
#include "jpeg2000.h"
#include "version.h"
@@ -26,7 +26,7 @@
#include <time.h>
#include "ass.h"
-#include "internal.h"
+#include "codec_internal.h"
#include "jacosub.h"
#include "libavutil/avstring.h"
#include "libavutil/bprint.h"
@@ -36,6 +36,7 @@
#include "libavutil/pixdesc.h"
#include "avcodec.h"
#include "bytestream.h"
+#include "codec_internal.h"
#include "internal.h"
#include "thread.h"
#include "jpeg2000.h"
@@ -26,6 +26,7 @@
*/
#include "avcodec.h"
+#include "codec_internal.h"
#include "get_bits.h"
#include "golomb.h"
#include "internal.h"
@@ -29,6 +29,7 @@
#include "libavutil/opt.h"
#include "avcodec.h"
#include "bytestream.h"
+#include "codec_internal.h"
#include "encode.h"
#include "get_bits.h"
#include "put_bits.h"
@@ -29,6 +29,7 @@
#include "avcodec.h"
#include "blockdsp.h"
+#include "codec_internal.h"
#include "get_bits.h"
#include "internal.h"
@@ -28,6 +28,7 @@
#include "libavutil/intreadwrite.h"
#include "libavutil/imgutils.h"
#include "avcodec.h"
+#include "codec_internal.h"
#include "internal.h"
typedef struct KgvContext {
@@ -29,6 +29,7 @@
#include "avcodec.h"
#include "bytestream.h"
+#include "codec_internal.h"
#include "decode.h"
#include "internal.h"
#include "libavutil/common.h"
@@ -28,8 +28,8 @@
#include <inttypes.h>
#include "avcodec.h"
+#include "codec_internal.h"
#include "get_bits.h"
-#include "internal.h"
#include "mathops.h"
#include "lagarithrac.h"
#include "lossless_videodsp.h"
@@ -46,7 +46,7 @@
#include "libavutil/pixdesc.h"
#include "avcodec.h"
#include "bytestream.h"
-#include "internal.h"
+#include "codec_internal.h"
#include "lcl.h"
#include "thread.h"
@@ -42,8 +42,8 @@
#include "libavutil/avassert.h"
#include "avcodec.h"
+#include "codec_internal.h"
#include "encode.h"
-#include "internal.h"
#include "lcl.h"
#include "libavutil/internal.h"
#include "libavutil/mem.h"
@@ -31,6 +31,7 @@
#include "libavutil/imgutils.h"
#include "avcodec.h"
+#include "codec_internal.h"
#include "internal.h"
#include "profiles.h"
@@ -38,6 +38,7 @@
#include "av1.h"
#include "avcodec.h"
#include "bsf.h"
+#include "codec_internal.h"
#include "encode.h"
#include "internal.h"
#include "packet_internal.h"
@@ -31,6 +31,7 @@
#include "atsc_a53.h"
#include "avcodec.h"
#include "bytestream.h"
+#include "codec_internal.h"
#include "decode.h"
#include "internal.h"
@@ -24,7 +24,7 @@
#include "libavutil/cpu.h"
#include "avcodec.h"
-#include "internal.h"
+#include "codec_internal.h"
#include "davs2.h"
typedef struct DAVS2Context {
@@ -23,6 +23,7 @@
#include "libavutil/common.h"
#include "libavutil/opt.h"
#include "avcodec.h"
+#include "codec_internal.h"
#include "internal.h"
#ifdef AACDECODER_LIB_VL0
@@ -24,8 +24,8 @@
#include "libavutil/opt.h"
#include "avcodec.h"
#include "audio_frame_queue.h"
+#include "codec_internal.h"
#include "encode.h"
-#include "internal.h"
#include "profiles.h"
#ifdef AACENCODER_LIB_VL0
@@ -39,8 +39,8 @@
#include "libavutil/common.h"
#include "avcodec.h"
+#include "codec_internal.h"
#include "encode.h"
-#include "internal.h"
#include "gsm.h"
static av_cold int libgsm_encode_close(AVCodecContext *avctx) {
@@ -25,6 +25,7 @@
#include "libavutil/common.h"
#include "libavutil/opt.h"
#include "avcodec.h"
+#include "codec_internal.h"
#include "encode.h"
#include "internal.h"
@@ -36,8 +36,8 @@
#include "libavutil/opt.h"
#include "avcodec.h"
+#include "codec_internal.h"
#include "encode.h"
-#include "internal.h"
#include "packet_internal.h"
typedef struct LibkvazaarContext {
@@ -34,8 +34,8 @@
#include "libavutil/opt.h"
#include "avcodec.h"
#include "audio_frame_queue.h"
+#include "codec_internal.h"
#include "encode.h"
-#include "internal.h"
#include "mpegaudio.h"
#include "mpegaudiodecheader.h"
@@ -30,6 +30,7 @@
#include "libavutil/opt.h"
#include "avcodec.h"
+#include "codec_internal.h"
#include "internal.h"
#include "libopenh264.h"
@@ -30,6 +30,7 @@
#include "libavutil/mathematics.h"
#include "avcodec.h"
+#include "codec_internal.h"
#include "encode.h"
#include "internal.h"
#include "libopenh264.h"
@@ -28,6 +28,7 @@
#include "libavutil/opt.h"
#include "avcodec.h"
+#include "codec_internal.h"
#include "internal.h"
#include "vorbis.h"
#include "mathops.h"
@@ -26,8 +26,8 @@
#include "libavutil/opt.h"
#include "avcodec.h"
#include "bytestream.h"
+#include "codec_internal.h"
#include "encode.h"
-#include "internal.h"
#include "libopus.h"
#include "vorbis.h"
#include "audio_frame_queue.h"
@@ -31,6 +31,7 @@
#include "libavutil/pixdesc.h"
#include "avcodec.h"
#include "bsf.h"
+#include "codec_internal.h"
#include "encode.h"
#include "internal.h"
@@ -89,8 +89,8 @@
#include "libavutil/common.h"
#include "libavutil/opt.h"
#include "avcodec.h"
+#include "codec_internal.h"
#include "encode.h"
-#include "internal.h"
#include "audio_frame_queue.h"
/* TODO: Think about converting abr, vad, dtx and such flags to a bit field */
@@ -31,6 +31,7 @@
#include "libavutil/pixdesc.h"
#include "libavutil/avassert.h"
+#include "codec_internal.h"
#include "internal.h"
#include "encode.h"
#include "packet_internal.h"
@@ -31,6 +31,7 @@
#include "libavutil/opt.h"
#include "avcodec.h"
+#include "codec_internal.h"
#include "encode.h"
#include "internal.h"
#include "mpegaudio.h"
@@ -29,6 +29,7 @@
#include "libavutil/opt.h"
#include "avcodec.h"
#include "avs3.h"
+#include "codec_internal.h"
#include "internal.h"
#include "uavs3d.h"
@@ -26,6 +26,7 @@
#include "libavutil/opt.h"
#include "avcodec.h"
#include "audio_frame_queue.h"
+#include "codec_internal.h"
#include "encode.h"
#include "internal.h"
#include "version.h"
@@ -35,6 +35,7 @@
#include "libavutil/imgutils.h"
#include "libavutil/intreadwrite.h"
#include "avcodec.h"
+#include "codec_internal.h"
#include "decode.h"
#include "internal.h"
#include "libvpx.h"
@@ -31,6 +31,7 @@
#include <vpx/vp8cx.h>
#include "avcodec.h"
+#include "codec_internal.h"
#include "encode.h"
#include "internal.h"
#include "libavutil/avassert.h"
@@ -35,7 +35,7 @@
#include "libavutil/pixfmt.h"
#include "avcodec.h"
#include "codec.h"
-#include "internal.h"
+#include "codec_internal.h"
typedef struct LibWebPContextCommon {
AVClass *class; // class for AVOptions
@@ -30,6 +30,7 @@
#include "libavutil/time.h"
#include "libavutil/intreadwrite.h"
#include "avcodec.h"
+#include "codec_internal.h"
#include "encode.h"
#include "internal.h"
#include "packet_internal.h"
@@ -32,6 +32,7 @@
#include "libavutil/opt.h"
#include "libavutil/pixdesc.h"
#include "avcodec.h"
+#include "codec_internal.h"
#include "encode.h"
#include "internal.h"
#include "packet_internal.h"
@@ -27,8 +27,8 @@
#include <float.h>
#include <xavs.h>
#include "avcodec.h"
+#include "codec_internal.h"
#include "encode.h"
-#include "internal.h"
#include "packet_internal.h"
#include "libavutil/internal.h"
#include "libavutil/mem.h"
@@ -23,8 +23,8 @@
*/
#include "xavs2.h"
+#include "codec_internal.h"
#include "encode.h"
-#include "internal.h"
#include "mpeg12.h"
#include "libavutil/avstring.h"
#include "libavutil/opt.h"
@@ -38,8 +38,8 @@
#include "libavutil/opt.h"
#include "avcodec.h"
+#include "codec_internal.h"
#include "encode.h"
-#include "internal.h"
#include "mpegutils.h"
#include "packet_internal.h"
@@ -36,9 +36,9 @@
#include "libavutil/pixdesc.h"
#include "avcodec.h"
+#include "codec_internal.h"
#include "encode.h"
#include "idctdsp.h"
-#include "internal.h"
#include "jpegtables.h"
#include "mathops.h"
#include "mjpegenc_common.h"
@@ -25,6 +25,7 @@
*/
#include "avcodec.h"
+#include "codec_internal.h"
#include "get_bits.h"
#include "golomb.h"
#include "internal.h"
@@ -28,6 +28,7 @@
#include "avcodec.h"
#include "bytestream.h"
#include "codec.h"
+#include "codec_internal.h"
#include "internal.h"
#include "packet.h"
#include "png.h"
@@ -21,6 +21,7 @@
#include "libavutil/intreadwrite.h"
#include "avcodec.h"
+#include "codec_internal.h"
#include "internal.h"
@@ -25,6 +25,7 @@
*/
#include "avcodec.h"
+#include "codec_internal.h"
#include "internal.h"
#include "libavutil/common.h"
@@ -28,6 +28,7 @@
#include "avcodec.h"
#include "bytestream.h"
+#include "codec_internal.h"
#include "get_bits.h"
#include "huffyuvdsp.h"
#include "internal.h"
@@ -28,9 +28,9 @@
#include "avcodec.h"
#include "bytestream.h"
+#include "codec_internal.h"
#include "encode.h"
#include "put_bits.h"
-#include "internal.h"
#include "thread.h"
#include "lossless_videoencdsp.h"
@@ -32,8 +32,8 @@
#include "avcodec.h"
#include "blockdsp.h"
#include "bswapdsp.h"
+#include "codec_internal.h"
#include "idctdsp.h"
-#include "internal.h"
#include "mpeg12data.h"
#include "mpeg12dec.h"
#include "thread.h"
@@ -33,6 +33,7 @@
#include "libavutil/internal.h"
#include "avcodec.h"
+#include "codec_internal.h"
#include "decode.h"
#include "h264_parse.h"
#include "h264_ps.h"
@@ -30,9 +30,9 @@
#define BITSTREAM_READER_LE
#include "avcodec.h"
+#include "codec_internal.h"
#include "fft.h"
#include "get_bits.h"
-#include "internal.h"
#include "lsp.h"
#include "sinewin.h"
@@ -27,6 +27,7 @@
#include "libavutil/imgutils.h"
#include "libavutil/opt.h"
#include "libavutil/time.h"
+#include "codec_internal.h"
#include "internal.h"
typedef struct MFContext {
@@ -31,7 +31,7 @@
#include "libavutil/bprint.h"
#include "avcodec.h"
#include "ass.h"
-#include "internal.h"
+#include "codec_internal.h"
static int indexof(const char *s, int c)
{
@@ -32,6 +32,7 @@
#include "avcodec.h"
#include "get_bits.h"
#include "bytestream.h"
+#include "codec_internal.h"
#include "internal.h"
typedef struct MidiVidContext {
@@ -28,6 +28,7 @@
#include "avcodec.h"
#include "blockdsp.h"
+#include "codec_internal.h"
#include "internal.h"
#include "get_bits.h"
#include "bytestream.h"
@@ -27,7 +27,7 @@
#include <inttypes.h>
#include "avcodec.h"
-#include "internal.h"
+#include "codec_internal.h"
#include "mjpeg.h"
#include "mjpegdec.h"
@@ -38,6 +38,7 @@
#include "libavutil/opt.h"
#include "avcodec.h"
#include "blockdsp.h"
+#include "codec_internal.h"
#include "copy_block.h"
#include "decode.h"
#include "hwconfig.h"
@@ -35,6 +35,7 @@
#include "libavutil/pixdesc.h"
#include "avcodec.h"
+#include "codec_internal.h"
#include "jpegtables.h"
#include "mjpegenc_common.h"
#include "mjpegenc_huffman.h"
@@ -35,6 +35,7 @@
#include "libavutil/mem_internal.h"
#include "libavutil/thread.h"
#include "libavutil/opt.h"
+#include "codec_internal.h"
#include "get_bits.h"
#include "internal.h"
#include "libavutil/crc.h"
@@ -23,8 +23,8 @@
#include "config_components.h"
#include "avcodec.h"
+#include "codec_internal.h"
#include "encode.h"
-#include "internal.h"
#include "put_bits.h"
#include "audio_frame_queue.h"
#include "libavutil/channel_layout.h"
@@ -34,6 +34,7 @@
#include <stdatomic.h>
#include "avcodec.h"
+#include "codec_internal.h"
#include "decode.h"
#include "hwconfig.h"
#include "internal.h"
@@ -34,6 +34,7 @@
#include "libavutil/intreadwrite.h"
#include "avcodec.h"
#include "bytestream.h"
+#include "codec_internal.h"
#include "internal.h"
#define MM_PREAMBLE_SIZE 6
@@ -29,6 +29,7 @@
#include "avcodec.h"
#include "bytestream.h"
#include "bswapdsp.h"
+#include "codec_internal.h"
#include "get_bits.h"
#include "golomb.h"
#include "internal.h"
@@ -26,6 +26,7 @@
#include "avcodec.h"
#include "get_bits.h"
#include "bswapdsp.h"
+#include "codec_internal.h"
#include "internal.h"
#define MAX_HUFF_CODES 16
@@ -28,7 +28,7 @@
#include "libavutil/intreadwrite.h"
#include "libavutil/mem.h"
#include "bytestream.h"
-#include "internal.h"
+#include "codec_internal.h"
#define STYLE_FLAG_BOLD (1<<0)
#define STYLE_FLAG_ITALIC (1<<1)
@@ -29,7 +29,7 @@
#include "ass_split.h"
#include "ass.h"
#include "bytestream.h"
-#include "internal.h"
+#include "codec_internal.h"
#define STYLE_FLAG_BOLD (1<<0)
#define STYLE_FLAG_ITALIC (1<<1)
@@ -32,6 +32,7 @@
#include "libavutil/thread.h"
#include "avcodec.h"
+#include "codec_internal.h"
#include "get_bits.h"
#include "internal.h"
#include "mpegaudiodsp.h"
@@ -29,6 +29,7 @@
#include "libavutil/lfg.h"
#include "libavutil/thread.h"
#include "avcodec.h"
+#include "codec_internal.h"
#include "get_bits.h"
#include "internal.h"
#include "mpegaudiodsp.h"
@@ -38,6 +38,7 @@
#include "libavutil/timecode.h"
#include "avcodec.h"
+#include "codec_internal.h"
#include "error_resilience.h"
#include "hwconfig.h"
#include "idctdsp.h"
@@ -38,6 +38,7 @@
#include "libavutil/stereo3d.h"
#include "avcodec.h"
+#include "codec_internal.h"
#include "mathops.h"
#include "mpeg12.h"
#include "mpeg12data.h"
@@ -27,10 +27,10 @@
#include "libavutil/internal.h"
#include "libavutil/opt.h"
#include "libavutil/thread.h"
+#include "codec_internal.h"
#include "error_resilience.h"
#include "hwconfig.h"
#include "idctdsp.h"
-#include "internal.h"
#include "mpegutils.h"
#include "mpegvideo.h"
#include "mpegvideodata.h"
@@ -24,6 +24,7 @@
#include "libavutil/log.h"
#include "libavutil/opt.h"
#include "libavutil/thread.h"
+#include "codec_internal.h"
#include "mpegutils.h"
#include "mpegvideo.h"
#include "h263.h"
@@ -24,6 +24,7 @@
#define USE_FLOATS 0
+#include "codec_internal.h"
#include "mpegaudio.h"
#define SHR(a,b) (((int)(a))>>(b))
@@ -25,6 +25,7 @@
#define USE_FLOATS 1
+#include "codec_internal.h"
#include "mpegaudio.h"
#define SHR(a,b) ((a)*(1.0f/(1<<(b))))
@@ -20,6 +20,7 @@
*/
#include "libavutil/channel_layout.h"
+#include "codec_internal.h"
#include "mpegaudioenc_template.c"
const AVCodec ff_mp2fixed_encoder = {
@@ -21,6 +21,7 @@
#include "libavutil/channel_layout.h"
#define USE_FLOATS 1
+#include "codec_internal.h"
#include "mpegaudioenc_template.c"
const AVCodec ff_mp2_encoder = {
@@ -27,7 +27,7 @@
#include "avcodec.h"
#include "ass.h"
-#include "internal.h"
+#include "codec_internal.h"
#include "libavutil/bprint.h"
static int mpl2_event_to_ass(AVBPrint *buf, const char *p)
@@ -26,6 +26,7 @@
#include "avcodec.h"
#include "bytestream.h"
+#include "codec_internal.h"
#include "internal.h"
#include <zlib.h>
@@ -27,7 +27,7 @@
#include "libavutil/thread.h"
#include "avcodec.h"
-#include "internal.h"
+#include "codec_internal.h"
#include "mpegutils.h"
#include "mpegvideo.h"
#include "msmpeg4.h"
@@ -33,11 +33,11 @@
#include "libavutil/attributes.h"
#include "libavutil/avutil.h"
#include "libavutil/thread.h"
+#include "codec_internal.h"
#include "mpegvideo.h"
#include "mpegvideoenc.h"
#include "h263.h"
#include "h263data.h"
-#include "internal.h"
#include "mpeg4video.h"
#include "msmpeg4.h"
#include "msmpeg4data.h"
@@ -33,6 +33,7 @@
#include <string.h>
#include "avcodec.h"
+#include "codec_internal.h"
#include "decode.h"
#include "internal.h"
#include "msrledec.h"
@@ -25,6 +25,7 @@
*/
#include "avcodec.h"
+#include "codec_internal.h"
#include "internal.h"
#include "mss12.h"
@@ -24,6 +24,7 @@
*/
#include "libavutil/avassert.h"
+#include "codec_internal.h"
#include "error_resilience.h"
#include "internal.h"
#include "mpeg_er.h"
@@ -26,6 +26,7 @@
#include "avcodec.h"
#include "bytestream.h"
+#include "codec_internal.h"
#include "internal.h"
#include "mathops.h"
#include "mss34dsp.h"
@@ -29,6 +29,7 @@
#include "avcodec.h"
#include "bytestream.h"
+#include "codec_internal.h"
#include "get_bits.h"
#include "internal.h"
#include "jpegtables.h"
@@ -33,6 +33,7 @@
#include "libavutil/internal.h"
#include "libavutil/intreadwrite.h"
#include "avcodec.h"
+#include "codec_internal.h"
#include "decode.h"
#include "internal.h"
@@ -25,8 +25,8 @@
*/
#include "avcodec.h"
+#include "codec_internal.h"
#include "encode.h"
-#include "internal.h"
#include "bytestream.h"
#include "libavutil/lfg.h"
#include "elbg.h"
@@ -28,6 +28,7 @@
#include "avcodec.h"
#include "bytestream.h"
+#include "codec_internal.h"
#include "copy_block.h"
#include "mathops.h"
#include "blockdsp.h"
@@ -30,6 +30,7 @@
#include "avcodec.h"
#include "bytestream.h"
+#include "codec_internal.h"
#include "internal.h"
typedef struct MvcContext {
@@ -29,6 +29,7 @@
#include "avcodec.h"
#include "bytestream.h"
+#include "codec_internal.h"
#include "get_bits.h"
#include "internal.h"
#include "lossless_videodsp.h"
@@ -26,6 +26,7 @@
#include "avcodec.h"
#include "bytestream.h"
+#include "codec_internal.h"
#include "internal.h"
#include <zlib.h>
@@ -25,6 +25,7 @@
* MxPEG decoder
*/
+#include "codec_internal.h"
#include "internal.h"
#include "mjpeg.h"
#include "mjpegdec.h"
@@ -39,6 +39,7 @@
#define BITSTREAM_READER_LE
#include "avcodec.h"
+#include "codec_internal.h"
#include "fft.h"
#include "get_bits.h"
#include "internal.h"
@@ -42,9 +42,9 @@
#include "audio_frame_queue.h"
#include "avcodec.h"
+#include "codec_internal.h"
#include "encode.h"
#include "fft.h"
-#include "internal.h"
#include "nellymoser.h"
#include "sinewin.h"
@@ -27,6 +27,7 @@
#include "libavutil/intreadwrite.h"
#include "avcodec.h"
#include "bytestream.h"
+#include "codec_internal.h"
#include "get_bits.h"
#include "internal.h"
#include "lzf.h"
@@ -29,6 +29,7 @@
#include "libavutil/lzo.h"
#include "libavutil/imgutils.h"
#include "avcodec.h"
+#include "codec_internal.h"
#include "idctdsp.h"
#include "internal.h"
#include "rtjpeg.h"
@@ -19,7 +19,7 @@
#include "libavutil/internal.h"
#include "avcodec.h"
-#include "internal.h"
+#include "codec_internal.h"
#include "nvenc.h"
@@ -19,7 +19,7 @@
#include "libavutil/internal.h"
#include "avcodec.h"
-#include "internal.h"
+#include "codec_internal.h"
#include "nvenc.h"
@@ -41,8 +41,8 @@
#include "libavutil/opt.h"
#include "avcodec.h"
+#include "codec_internal.h"
#include "h264.h"
-#include "internal.h"
#include "pthread_internal.h"
#ifdef OMX_SKIP64BIT
@@ -27,6 +27,7 @@
#include "avcodec.h"
#include "bytestream.h"
+#include "codec_internal.h"
#include "fft.h"
#include "get_bits.h"
#include "internal.h"
@@ -27,7 +27,7 @@
#include "config_components.h"
#include "avcodec.h"
-#include "internal.h"
+#include "codec_internal.h"
#include "libavutil/avassert.h"
#include "libavutil/internal.h"
#include "libavutil/mem.h"
@@ -43,6 +43,7 @@
#include "libswresample/swresample.h"
#include "avcodec.h"
+#include "codec_internal.h"
#include "get_bits.h"
#include "internal.h"
#include "mathops.h"
@@ -29,9 +29,9 @@
#include "libavutil/float_dsp.h"
#include "libavutil/mem_internal.h"
#include "libavutil/opt.h"
-#include "internal.h"
#include "bytestream.h"
#include "audio_frame_queue.h"
+#include "codec_internal.h"
typedef struct OpusEncContext {
AVClass *av_class;
@@ -23,6 +23,7 @@
#include "libavutil/intreadwrite.h"
#include "avcodec.h"
+#include "codec_internal.h"
#include "internal.h"
#include "mathops.h"
#include "paf.h"
@@ -24,6 +24,7 @@
#include "avcodec.h"
#include "bytestream.h"
#include "copy_block.h"
+#include "codec_internal.h"
#include "internal.h"
@@ -21,8 +21,8 @@
#include "libavutil/avassert.h"
#include "avcodec.h"
+#include "codec_internal.h"
#include "encode.h"
-#include "internal.h"
static int pam_encode_frame(AVCodecContext *avctx, AVPacket *pkt,
const AVFrame *p, int *got_packet)
@@ -21,6 +21,7 @@
#include "libavutil/channel_layout.h"
#include "avcodec.h"
#include "bytestream.h"
+#include "codec_internal.h"
#include "encode.h"
#include "internal.h"
@@ -26,6 +26,7 @@
#include "avcodec.h"
#include "bytestream.h"
+#include "codec_internal.h"
#include "internal.h"
typedef struct PCMDVDContext {
@@ -22,6 +22,7 @@
#include "libavutil/channel_layout.h"
#include "avcodec.h"
#include "bytestream.h"
+#include "codec_internal.h"
#include "encode.h"
#include "internal.h"
@@ -31,6 +31,7 @@
#include "libavutil/thread.h"
#include "avcodec.h"
#include "bytestream.h"
+#include "codec_internal.h"
#include "encode.h"
#include "internal.h"
#include "mathops.h"
@@ -29,8 +29,8 @@
#include "avcodec.h"
#include "bytestream.h"
#include "libavutil/imgutils.h"
+#include "codec_internal.h"
#include "encode.h"
-#include "internal.h"
static const uint32_t monoblack_pal[16] = { 0x000000, 0xFFFFFF };
@@ -26,6 +26,7 @@
#include "avcodec.h"
#include "bytestream.h"
+#include "codec_internal.h"
#include "internal.h"
#include "mathops.h"
@@ -35,6 +35,7 @@
#include "libavutil/opt.h"
#include "avcodec.h"
#include "bytestream.h"
+#include "codec_internal.h"
#include "get_bits.h"
#include "internal.h"
#include "thread.h"
@@ -27,6 +27,7 @@
#include "avcodec.h"
#include "bytestream.h"
+#include "codec_internal.h"
#include "get_bits.h"
#include "internal.h"
#include "thread.h"
@@ -33,6 +33,7 @@
#include "avcodec.h"
#include "bytestream.h"
+#include "codec_internal.h"
#include "internal.h"
#include "apng.h"
#include "png.h"
@@ -20,8 +20,8 @@
*/
#include "avcodec.h"
+#include "codec_internal.h"
#include "encode.h"
-#include "internal.h"
#include "bytestream.h"
#include "lossless_videoencdsp.h"
#include "png.h"
@@ -25,8 +25,8 @@
#include "libavutil/imgutils.h"
#include "libavutil/pixdesc.h"
#include "avcodec.h"
+#include "codec_internal.h"
#include "encode.h"
-#include "internal.h"
static int pnm_encode_frame(AVCodecContext *avctx, AVPacket *pkt,
const AVFrame *p, int *got_packet)
@@ -34,6 +34,7 @@
#include "libavutil/mem_internal.h"
#include "avcodec.h"
+#include "codec_internal.h"
#include "get_bits.h"
#include "hwconfig.h"
#include "idctdsp.h"
@@ -30,6 +30,7 @@
#include "libavutil/mem_internal.h"
#include "libavutil/opt.h"
#include "avcodec.h"
+#include "codec_internal.h"
#include "dct.h"
#include "encode.h"
#include "internal.h"
@@ -27,12 +27,12 @@
#include "libavutil/opt.h"
#include "libavutil/pixdesc.h"
#include "avcodec.h"
+#include "codec_internal.h"
#include "encode.h"
#include "fdctdsp.h"
#include "put_bits.h"
#include "profiles.h"
#include "bytestream.h"
-#include "internal.h"
#include "proresdata.h"
#define CFACTOR_Y422 2
@@ -30,6 +30,7 @@
#include "avcodec.h"
#include "bytestream.h"
+#include "codec_internal.h"
#include "internal.h"
typedef struct ProSumerContext {
@@ -32,7 +32,7 @@
#include "libavutil/thread.h"
#include "avcodec.h"
-#include "internal.h"
+#include "codec_internal.h"
#include "pthread_internal.h"
#include "thread.h"
@@ -28,6 +28,7 @@
#include <stdint.h>
#include "avcodec.h"
+#include "codec_internal.h"
#include "hwconfig.h"
#include "internal.h"
#include "pthread_internal.h"
@@ -25,6 +25,7 @@
#include "config.h"
#include "avcodec.h"
+#include "codec_internal.h"
#include "internal.h"
#include "pthread_internal.h"
#include "thread.h"
@@ -33,6 +33,7 @@
#include "libavutil/channel_layout.h"
#include "libavutil/float_dsp.h"
#include "avcodec.h"
+#include "codec_internal.h"
#include "internal.h"
#include "get_bits.h"
#include "qcelpdata.h"
@@ -43,6 +43,7 @@
#include "avcodec.h"
#include "get_bits.h"
#include "bytestream.h"
+#include "codec_internal.h"
#include "internal.h"
#include "mpegaudio.h"
#include "mpegaudiodsp.h"
@@ -31,6 +31,7 @@
#include "avcodec.h"
#include "bytestream.h"
+#include "codec_internal.h"
#include "get_bits.h"
#include "internal.h"
@@ -26,6 +26,7 @@
#include "avcodec.h"
#include "bytestream.h"
+#include "codec_internal.h"
#include "decode.h"
#include "internal.h"
@@ -30,7 +30,7 @@
#include "libavutil/opt.h"
#include "avcodec.h"
-#include "internal.h"
+#include "codec_internal.h"
#include "qsv.h"
#include "qsv_internal.h"
#include "qsvenc.h"
@@ -29,11 +29,11 @@
#include "avcodec.h"
#include "bytestream.h"
+#include "codec_internal.h"
#include "get_bits.h"
#include "hevc.h"
#include "hevcdec.h"
#include "h2645_parse.h"
-#include "internal.h"
#include "qsv.h"
#include "qsv_internal.h"
#include "qsvenc.h"
@@ -28,7 +28,7 @@
#include "libavutil/opt.h"
#include "avcodec.h"
-#include "internal.h"
+#include "codec_internal.h"
#include "qsv.h"
#include "qsv_internal.h"
#include "qsvenc.h"
@@ -28,7 +28,7 @@
#include "libavutil/opt.h"
#include "avcodec.h"
-#include "internal.h"
+#include "codec_internal.h"
#include "qsv.h"
#include "qsv_internal.h"
#include "qsvenc.h"
@@ -28,7 +28,7 @@
#include "libavutil/opt.h"
#include "avcodec.h"
-#include "internal.h"
+#include "codec_internal.h"
#include "qsv.h"
#include "qsv_internal.h"
#include "qsvenc.h"
@@ -38,6 +38,7 @@
#include "avcodec.h"
#include "decode.h"
#include "bytestream.h"
+#include "codec_internal.h"
#include "internal.h"
typedef struct QtrleContext {
@@ -25,8 +25,8 @@
#include "libavutil/imgutils.h"
#include "avcodec.h"
#include "bytestream.h"
+#include "codec_internal.h"
#include "encode.h"
-#include "internal.h"
/** Maximum RLE code for bulk copy */
#define MAX_RLE_BULK 127
@@ -21,6 +21,7 @@
*/
#include "avcodec.h"
+#include "codec_internal.h"
#include "config_components.h"
#include "internal.h"
#include "libavutil/bswap.h"
@@ -23,6 +23,7 @@
#include "config_components.h"
#include "avcodec.h"
+#include "codec_internal.h"
#include "encode.h"
#include "internal.h"
#include "bytestream.h"
@@ -24,6 +24,7 @@
#include "libavutil/channel_layout.h"
#include "avcodec.h"
+#include "codec_internal.h"
#include "get_bits.h"
#include "internal.h"
#include "ra144.h"
@@ -31,8 +31,8 @@
#include "avcodec.h"
#include "audio_frame_queue.h"
#include "celp_filters.h"
+#include "codec_internal.h"
#include "encode.h"
-#include "internal.h"
#include "mathops.h"
#include "put_bits.h"
#include "ra144.h"
@@ -27,6 +27,7 @@
#define BITSTREAM_READER_LE
#include "avcodec.h"
#include "celp_filters.h"
+#include "codec_internal.h"
#include "get_bits.h"
#include "internal.h"
#include "lpc.h"
@@ -29,6 +29,7 @@
#include "libavutil/attributes.h"
#include "libavutil/channel_layout.h"
#include "avcodec.h"
+#include "codec_internal.h"
#include "get_bits.h"
#include "golomb.h"
#include "internal.h"
@@ -29,6 +29,7 @@
#include "avcodec.h"
#include "bytestream.h"
+#include "codec_internal.h"
#include "internal.h"
#include <zlib.h>
@@ -26,6 +26,7 @@
#include "avcodec.h"
#include "bswapdsp.h"
+#include "codec_internal.h"
#include "decode.h"
#include "get_bits.h"
#include "internal.h"
@@ -25,6 +25,7 @@
*/
#include "avcodec.h"
+#include "codec_internal.h"
#include "encode.h"
#include "raw.h"
#include "internal.h"
@@ -26,7 +26,7 @@
#include "avcodec.h"
#include "ass.h"
-#include "internal.h"
+#include "codec_internal.h"
#include "libavutil/avstring.h"
#include "libavutil/bprint.h"
@@ -34,6 +34,7 @@
#include "libavutil/intreadwrite.h"
#include "libavutil/mem.h"
#include "avcodec.h"
+#include "codec_internal.h"
#include "internal.h"
@@ -23,8 +23,8 @@
#include "avcodec.h"
#include "bytestream.h"
+#include "codec_internal.h"
#include "encode.h"
-#include "internal.h"
#include "mathops.h"
#define ROQ_FRAME_SIZE 735
@@ -30,6 +30,7 @@
#include "avcodec.h"
#include "bytestream.h"
+#include "codec_internal.h"
#include "internal.h"
#include "roqvideo.h"
@@ -61,6 +61,7 @@
#include "libavutil/opt.h"
#include "roqvideo.h"
#include "bytestream.h"
+#include "codec_internal.h"
#include "elbg.h"
#include "encode.h"
#include "internal.h"
@@ -42,6 +42,7 @@
#include "libavutil/internal.h"
#include "avcodec.h"
#include "bytestream.h"
+#include "codec_internal.h"
#include "internal.h"
typedef struct RpzaContext {
@@ -28,8 +28,8 @@
#include "libavutil/opt.h"
#include "avcodec.h"
+#include "codec_internal.h"
#include "encode.h"
-#include "internal.h"
#include "put_bits.h"
typedef struct RpzaContext {
@@ -43,6 +43,7 @@
#include "avcodec.h"
#include "bytestream.h"
+#include "codec_internal.h"
#include "decode.h"
#include "internal.h"
@@ -31,6 +31,7 @@
#include "libavutil/thread.h"
#include "avcodec.h"
+#include "codec_internal.h"
#include "error_resilience.h"
#include "h263.h"
#include "h263data.h"
@@ -25,6 +25,7 @@
* RV10 encoder
*/
+#include "codec_internal.h"
#include "mpegvideo.h"
#include "mpegvideoenc.h"
#include "put_bits.h"
@@ -25,6 +25,7 @@
* RV20 encoder
*/
+#include "codec_internal.h"
#include "mpegvideo.h"
#include "mpegvideodata.h"
#include "mpegvideoenc.h"
@@ -25,7 +25,7 @@
*/
#include "avcodec.h"
-#include "internal.h"
+#include "codec_internal.h"
#include "mpegutils.h"
#include "mpegvideo.h"
#include "mpegvideodec.h"
@@ -30,7 +30,7 @@
#include "libavutil/thread.h"
#include "avcodec.h"
-#include "internal.h"
+#include "codec_internal.h"
#include "mpegutils.h"
#include "mpegvideo.h"
#include "mpegvideodec.h"
@@ -22,8 +22,8 @@
#include "libavutil/channel_layout.h"
#include "avcodec.h"
+#include "codec_internal.h"
#include "encode.h"
-#include "internal.h"
#include "mathops.h"
#include "put_bits.h"
@@ -27,8 +27,8 @@
#include "ass.h"
#include "libavutil/avstring.h"
#include "libavutil/bprint.h"
+#include "codec_internal.h"
#include "htmlsubtitles.h"
-#include "internal.h"
typedef struct {
AVBPrint source;
@@ -27,6 +27,7 @@
#include "avcodec.h"
#include "bytestream.h"
#include "copy_block.h"
+#include "codec_internal.h"
#include "internal.h"
#define NGLYPHS 256
@@ -31,6 +31,7 @@
*/
#include "avcodec.h"
+#include "codec_internal.h"
#include "internal.h"
#include "libavutil/channel_layout.h"
#include "libavutil/intreadwrite.h"
@@ -33,8 +33,8 @@
#include "libavutil/channel_layout.h"
#include "libavutil/opt.h"
#include "avcodec.h"
+#include "codec_internal.h"
#include "encode.h"
-#include "internal.h"
#include "profiles.h"
#include "put_bits.h"
#include "sbc.h"
@@ -26,6 +26,7 @@
#include "avcodec.h"
#include "bytestream.h"
+#include "codec_internal.h"
#include "internal.h"
#include "scpr.h"
#include "scpr3.h"
@@ -42,6 +42,7 @@
#include "libavutil/mem.h"
#include "avcodec.h"
+#include "codec_internal.h"
#include "internal.h"
typedef struct ScreenpressoContext {
@@ -22,6 +22,7 @@
#include "avcodec.h"
#include "get_bits.h"
#include "bytestream.h"
+#include "codec_internal.h"
#include "internal.h"
#define PALDATA_FOLLOWS_TILEDATA 4
@@ -22,6 +22,7 @@
#include "libavutil/imgutils.h"
#include "avcodec.h"
#include "bytestream.h"
+#include "codec_internal.h"
#include "internal.h"
#include "sgi.h"
@@ -23,8 +23,8 @@
#include "avcodec.h"
#include "bytestream.h"
+#include "codec_internal.h"
#include "encode.h"
-#include "internal.h"
#include "sgi.h"
#include "rle.h"
@@ -29,6 +29,7 @@
#include "libavutil/common.h"
#include "avcodec.h"
+#include "codec_internal.h"
#include "internal.h"
static av_cold int sgirle_decode_init(AVCodecContext *avctx)
@@ -29,6 +29,7 @@
#include "avcodec.h"
#include "bswapdsp.h"
#include "bytestream.h"
+#include "codec_internal.h"
#include "get_bits.h"
#include "golomb.h"
#include "internal.h"
@@ -31,6 +31,7 @@
#define BITSTREAM_READER_LE
#include "avcodec.h"
+#include "codec_internal.h"
#include "get_bits.h"
#include "internal.h"
#include "lsp.h"
@@ -27,6 +27,7 @@
#include "libavutil/mem_internal.h"
#include "avcodec.h"
+#include "codec_internal.h"
#include "get_bits.h"
#include "internal.h"
#include "mathops.h"
@@ -50,6 +50,7 @@
#endif
#define BITSTREAM_READER_LE
#include "bytestream.h"
+#include "codec_internal.h"
#include "get_bits.h"
#include "internal.h"
#include "mathops.h"
@@ -35,6 +35,7 @@
#include "libavutil/intreadwrite.h"
#include "avcodec.h"
#include "bytestream.h"
+#include "codec_internal.h"
#include "decode.h"
#include "internal.h"
@@ -27,8 +27,8 @@
#include "libavutil/common.h"
#include "avcodec.h"
+#include "codec_internal.h"
#include "encode.h"
-#include "internal.h"
#include "bytestream.h"
#define CPAIR 2
@@ -22,8 +22,8 @@
#include "libavutil/log.h"
#include "libavutil/opt.h"
#include "avcodec.h"
+#include "codec_internal.h"
#include "snow_dwt.h"
-#include "internal.h"
#include "snow.h"
#include "rangecoder.h"
@@ -24,8 +24,8 @@
#include "libavutil/opt.h"
#include "libavutil/pixdesc.h"
#include "avcodec.h"
+#include "codec_internal.h"
#include "encode.h"
-#include "internal.h"
#include "packet_internal.h"
#include "snow_dwt.h"
#include "snow.h"
@@ -22,6 +22,7 @@
#include "config_components.h"
#include "avcodec.h"
+#include "codec_internal.h"
#include "encode.h"
#include "get_bits.h"
#include "golomb.h"
@@ -27,7 +27,7 @@
#include "config_components.h"
#include "avcodec.h"
-#include "internal.h"
+#include "codec_internal.h"
#include "mjpeg.h"
#include "mjpegdec.h"
#include "sp5x.h"
@@ -33,6 +33,7 @@
#include "avcodec.h"
#include "blockdsp.h"
+#include "codec_internal.h"
#include "get_bits.h"
#include "idctdsp.h"
#include "internal.h"
@@ -32,6 +32,7 @@
#include "libavutil/thread.h"
#include "avcodec.h"
+#include "codec_internal.h"
#include "mpeg12data.h"
#include "mpeg12enc.h"
#include "mpegvideo.h"
@@ -55,6 +55,7 @@
#include "libavutil/float_dsp.h"
#include "avcodec.h"
#include "bytestream.h"
+#include "codec_internal.h"
#include "get_bits.h"
#include "internal.h"
#include "speexdata.h"
@@ -27,8 +27,8 @@
#include "libavutil/parseutils.h"
#include "avcodec.h"
#include "ass.h"
+#include "codec_internal.h"
#include "htmlsubtitles.h"
-#include "internal.h"
static int srt_to_ass(AVCodecContext *avctx, AVBPrint *dst,
const char *in, int x1, int y1, int x2, int y2)
@@ -27,7 +27,7 @@
#include "libavutil/bprint.h"
#include "ass_split.h"
#include "ass.h"
-#include "internal.h"
+#include "codec_internal.h"
#define SRT_STACK_SIZE 64
@@ -26,7 +26,7 @@
#include "avcodec.h"
#include "ass.h"
-#include "internal.h"
+#include "codec_internal.h"
#include "libavutil/bprint.h"
static int subviewer_event_to_ass(AVBPrint *buf, const char *p)
@@ -23,8 +23,8 @@
#include "avcodec.h"
#include "bytestream.h"
+#include "codec_internal.h"
#include "encode.h"
-#include "internal.h"
#include "sunrast.h"
typedef struct SUNRASTContext {
@@ -36,6 +36,7 @@
#include "libavutil/thread.h"
#include "avcodec.h"
+#include "codec_internal.h"
#include "get_bits.h"
#include "h263data.h"
#include "hpeldsp.h"
@@ -27,6 +27,7 @@
*/
#include "avcodec.h"
+#include "codec_internal.h"
#include "encode.h"
#include "hpeldsp.h"
#include "me_cmp.h"
@@ -46,6 +46,7 @@
#include "libavutil/crc.h"
#include "libavutil/mem_internal.h"
+#include "codec_internal.h"
#include "internal.h"
#include "avcodec.h"
#include "mpegutils.h"
@@ -33,7 +33,7 @@
#include "audiodsp.h"
#include "thread.h"
#include "avcodec.h"
-#include "internal.h"
+#include "codec_internal.h"
#include "unary.h"
#include "tak.h"
#include "takdsp.h"
@@ -20,6 +20,7 @@
*/
#include "avcodec.h"
+#include "codec_internal.h"
#include "internal.h"
static av_cold int y216_decode_init(AVCodecContext *avctx)
@@ -27,8 +27,8 @@
#include "libavutil/opt.h"
#include "libavutil/pixdesc.h"
#include "avcodec.h"
+#include "codec_internal.h"
#include "encode.h"
-#include "internal.h"
#include "rle.h"
#include "targa.h"
@@ -40,6 +40,7 @@
#include "avcodec.h"
#include "bytestream.h"
+#include "codec_internal.h"
#include "internal.h"
#define BITMAPINFOHEADER_SIZE 0x28
@@ -19,6 +19,7 @@
#include "libavutil/opt.h"
#include "libavcodec/codec.h"
#include "libavcodec/codec_desc.h"
+#include "libavcodec/codec_internal.h"
#include "libavcodec/internal.h"
static const char *get_type_string(enum AVMediaType type)
@@ -27,7 +27,7 @@
#include "avcodec.h"
#include "ass.h"
-#include "internal.h"
+#include "codec_internal.h"
#include "libavutil/bprint.h"
#include "libavutil/opt.h"
@@ -26,6 +26,7 @@
#define BITSTREAM_READER_LE
#include "avcodec.h"
+#include "codec_internal.h"
#include "get_bits.h"
#include "internal.h"
@@ -41,6 +41,7 @@
#include "libavutil/opt.h"
#include "avcodec.h"
#include "bytestream.h"
+#include "codec_internal.h"
#include "faxcompr.h"
#include "internal.h"
#include "lzw.h"
@@ -36,8 +36,8 @@
#include "libavutil/pixdesc.h"
#include "avcodec.h"
#include "bytestream.h"
+#include "codec_internal.h"
#include "encode.h"
-#include "internal.h"
#include "lzw.h"
#include "put_bits.h"
#include "rle.h"
@@ -29,6 +29,7 @@
#include <string.h>
#include "avcodec.h"
+#include "codec_internal.h"
#include "internal.h"
#include "libavutil/internal.h"
#include "libavutil/xga_font_data.h"
@@ -34,6 +34,7 @@
#include <string.h>
#include "avcodec.h"
+#include "codec_internal.h"
#include "internal.h"
#include "libavutil/imgutils.h"
#include "libavutil/internal.h"
@@ -29,6 +29,7 @@
#include "avcodec.h"
#include "bswapdsp.h"
#include "bytestream.h"
+#include "codec_internal.h"
#include "get_bits.h"
#include "internal.h"
@@ -28,6 +28,7 @@
#define BITSTREAM_READER_LE
#include "avcodec.h"
+#include "codec_internal.h"
#include "get_bits.h"
#include "internal.h"
@@ -25,6 +25,7 @@
#include "avcodec.h"
#include "bswapdsp.h"
+#include "codec_internal.h"
#include "get_bits.h"
#include "internal.h"
@@ -38,6 +38,7 @@
#include <stdlib.h>
#include "avcodec.h"
+#include "codec_internal.h"
#include "decode.h"
#include "internal.h"
#include "msrledec.h"
@@ -31,6 +31,7 @@
#define BITSTREAM_READER_LE
#include "avcodec.h"
#include "bytestream.h"
+#include "codec_internal.h"
#include "get_bits.h"
#include "internal.h"
#include "mathops.h"
@@ -38,10 +38,10 @@
#include "ttadata.h"
#include "ttadsp.h"
#include "avcodec.h"
+#include "codec_internal.h"
#include "get_bits.h"
#include "thread.h"
#include "unary.h"
-#include "internal.h"
#define FORMAT_SIMPLE 1
#define FORMAT_ENCRYPTED 2
@@ -22,6 +22,7 @@
#include "ttadata.h"
#include "ttaencdsp.h"
#include "avcodec.h"
+#include "codec_internal.h"
#include "encode.h"
#include "put_bits.h"
#include "internal.h"
@@ -28,7 +28,7 @@
*/
#include "avcodec.h"
-#include "internal.h"
+#include "codec_internal.h"
#include "libavutil/avstring.h"
#include "libavutil/bprint.h"
#include "libavutil/internal.h"
@@ -24,8 +24,8 @@
#include "libavutil/channel_layout.h"
#include "avcodec.h"
+#include "codec_internal.h"
#include "get_bits.h"
-#include "internal.h"
#include "twinvq.h"
#include "metasound_data.h"
#include "twinvq_data.h"
@@ -30,6 +30,7 @@
#include "avcodec.h"
#include "bytestream.h"
+#include "codec_internal.h"
#include "internal.h"
#include "ulti_cb.h"
@@ -35,6 +35,7 @@
#include "libavutil/pixfmt.h"
#include "avcodec.h"
#include "codec.h"
+#include "codec_internal.h"
#include "hwconfig.h"
#include "thread.h"
#include "threadframe.h"
@@ -35,8 +35,8 @@
#include "avcodec.h"
#include "bswapdsp.h"
#include "bytestream.h"
+#include "codec_internal.h"
#include "get_bits.h"
-#include "internal.h"
#include "thread.h"
#include "utvideo.h"
@@ -29,8 +29,8 @@
#include "libavutil/opt.h"
#include "avcodec.h"
+#include "codec_internal.h"
#include "encode.h"
-#include "internal.h"
#include "bswapdsp.h"
#include "bytestream.h"
#include "put_bits.h"
@@ -22,7 +22,7 @@
*/
#include "avcodec.h"
-#include "internal.h"
+#include "codec_internal.h"
#include "v210dec.h"
#include "libavutil/bswap.h"
#include "libavutil/internal.h"
@@ -23,6 +23,7 @@
#include "avcodec.h"
#include "bytestream.h"
+#include "codec_internal.h"
#include "encode.h"
#include "internal.h"
#include "v210enc.h"
@@ -19,6 +19,7 @@
*/
#include "avcodec.h"
+#include "codec_internal.h"
#include "internal.h"
#include "libavutil/bswap.h"
#include "libavutil/internal.h"
@@ -20,6 +20,7 @@
*/
#include "avcodec.h"
+#include "codec_internal.h"
#include "internal.h"
static av_cold int v308_decode_init(AVCodecContext *avctx)
@@ -22,6 +22,7 @@
#include "libavutil/intreadwrite.h"
#include "avcodec.h"
+#include "codec_internal.h"
#include "encode.h"
#include "internal.h"
@@ -22,6 +22,7 @@
#include "config_components.h"
#include "avcodec.h"
+#include "codec_internal.h"
#include "internal.h"
static av_cold int v408_decode_init(AVCodecContext *avctx)
@@ -24,6 +24,7 @@
#include "libavutil/intreadwrite.h"
#include "avcodec.h"
+#include "codec_internal.h"
#include "encode.h"
#include "internal.h"
@@ -23,7 +23,7 @@
#include "libavutil/common.h"
#include "libavutil/intreadwrite.h"
#include "avcodec.h"
-#include "internal.h"
+#include "codec_internal.h"
#include "thread.h"
typedef struct ThreadData {
@@ -23,6 +23,7 @@
#include "libavutil/common.h"
#include "libavutil/intreadwrite.h"
#include "avcodec.h"
+#include "codec_internal.h"
#include "encode.h"
#include "internal.h"
@@ -27,8 +27,8 @@
#include "libavutil/pixdesc.h"
#include "libavutil/opt.h"
#include "libavcodec/avcodec.h"
+#include "codec_internal.h"
#include "libavcodec/decode.h"
-#include "libavcodec/internal.h"
#include "v4l2_context.h"
#include "v4l2_m2m.h"
@@ -26,10 +26,10 @@
#include <search.h>
#include "encode.h"
#include "libavcodec/avcodec.h"
-#include "libavcodec/internal.h"
#include "libavutil/pixdesc.h"
#include "libavutil/pixfmt.h"
#include "libavutil/opt.h"
+#include "codec_internal.h"
#include "profiles.h"
#include "v4l2_context.h"
#include "v4l2_m2m.h"
@@ -29,10 +29,10 @@
#include "avcodec.h"
#include "cbs.h"
#include "cbs_h264.h"
+#include "codec_internal.h"
#include "h264.h"
#include "h264_levels.h"
#include "h264_sei.h"
-#include "internal.h"
#include "vaapi_encode.h"
#include "version.h"
@@ -30,10 +30,10 @@
#include "avcodec.h"
#include "cbs.h"
#include "cbs_h265.h"
+#include "codec_internal.h"
#include "h265_profile_level.h"
#include "hevc.h"
#include "hevc_sei.h"
-#include "internal.h"
#include "put_bits.h"
#include "vaapi_encode.h"
@@ -29,7 +29,7 @@
#include "bytestream.h"
#include "cbs.h"
#include "cbs_jpeg.h"
-#include "internal.h"
+#include "codec_internal.h"
#include "jpegtables.h"
#include "mjpeg.h"
#include "put_bits.h"
@@ -25,7 +25,7 @@
#include "avcodec.h"
#include "cbs.h"
#include "cbs_mpeg2.h"
-#include "internal.h"
+#include "codec_internal.h"
#include "mpeg12.h"
#include "vaapi_encode.h"
@@ -26,7 +26,7 @@
#include "libavutil/pixfmt.h"
#include "avcodec.h"
-#include "internal.h"
+#include "codec_internal.h"
#include "vaapi_encode.h"
#include "vp8.h"
@@ -26,7 +26,7 @@
#include "libavutil/pixfmt.h"
#include "avcodec.h"
-#include "internal.h"
+#include "codec_internal.h"
#include "vaapi_encode.h"
#define VP9_MAX_QUANT 255
@@ -29,6 +29,7 @@
#include "avcodec.h"
#include "bytestream.h"
+#include "codec_internal.h"
#include "internal.h"
enum VBFlags {
@@ -28,8 +28,8 @@
#define BITSTREAM_READER_LE
#include "avcodec.h"
+#include "codec_internal.h"
#include "get_bits.h"
-#include "internal.h"
#include "lossless_videodsp.h"
#include "mathops.h"
#include "thread.h"
@@ -30,6 +30,7 @@
#include "avcodec.h"
#include "blockdsp.h"
+#include "codec_internal.h"
#include "get_bits.h"
#include "hwconfig.h"
#include "internal.h"
@@ -22,10 +22,10 @@
#include "libavutil/pixdesc.h"
#include "libavutil/opt.h"
#include "libavutil/version.h"
+#include "codec_internal.h"
#include "dirac.h"
#include "encode.h"
#include "put_bits.h"
-#include "internal.h"
#include "version.h"
#include "vc2enc_dwt.h"
@@ -25,6 +25,7 @@
*/
#include "avcodec.h"
+#include "codec_internal.h"
#include "internal.h"
#include "libavutil/avassert.h"
#include "libavutil/internal.h"
@@ -30,6 +30,7 @@
#include "libavcodec/avcodec.h"
#include "libavutil/pixdesc.h"
#include "libavutil/hwcontext_videotoolbox.h"
+#include "codec_internal.h"
#include "internal.h"
#include <pthread.h>
#include "atsc_a53.h"
@@ -30,6 +30,7 @@
#include "adpcm_data.h"
#include "avcodec.h"
+#include "codec_internal.h"
#include "get_bits.h"
#include "internal.h"
@@ -41,6 +41,7 @@
#include "libavutil/intreadwrite.h"
#include "avcodec.h"
+#include "codec_internal.h"
#include "internal.h"
#define BLOCK_TYPE_AUDIO 1
@@ -39,6 +39,7 @@
#include "libavutil/intreadwrite.h"
#include "avcodec.h"
+#include "codec_internal.h"
#include "internal.h"
#include "bytestream.h"
@@ -31,6 +31,7 @@
#include "libavutil/common.h"
#include "libavutil/intreadwrite.h"
#include "avcodec.h"
+#include "codec_internal.h"
#include "internal.h"
#include "bytestream.h"
@@ -34,6 +34,7 @@
#define BITSTREAM_READER_LE
#include "avcodec.h"
+#include "codec_internal.h"
#include "fft.h"
#include "get_bits.h"
#include "internal.h"
@@ -28,8 +28,8 @@
#include "libavutil/float_dsp.h"
#include "avcodec.h"
+#include "codec_internal.h"
#include "encode.h"
-#include "internal.h"
#include "fft.h"
#include "mathops.h"
#include "vorbis.h"
@@ -40,6 +40,7 @@
#include "libavutil/mem_internal.h"
#include "avcodec.h"
+#include "codec_internal.h"
#include "get_bits.h"
#include "hpeldsp.h"
#include "internal.h"
@@ -27,6 +27,7 @@
#include <string.h>
#include "avcodec.h"
+#include "codec_internal.h"
#include "internal.h"
#include "vp56.h"
@@ -30,6 +30,7 @@
#include <stdlib.h>
#include "avcodec.h"
+#include "codec_internal.h"
#include "get_bits.h"
#include "huffman.h"
#include "internal.h"
@@ -30,6 +30,7 @@
#include "libavutil/mem_internal.h"
#include "avcodec.h"
+#include "codec_internal.h"
#include "hwconfig.h"
#include "internal.h"
#include "mathops.h"
@@ -24,6 +24,7 @@
#include "config_components.h"
#include "avcodec.h"
+#include "codec_internal.h"
#include "get_bits.h"
#include "hwconfig.h"
#include "internal.h"
@@ -77,6 +77,7 @@
#include "libavutil/imgutils.h"
#include "avcodec.h"
#include "bytestream.h"
+#include "codec_internal.h"
#include "internal.h"
#define PALETTE_COUNT 256
@@ -26,8 +26,8 @@
#define BITSTREAM_READER_LE
#include "avcodec.h"
#include "bytestream.h"
+#include "codec_internal.h"
#include "get_bits.h"
-#include "internal.h"
#include "thread.h"
#include "threadframe.h"
#include "unary.h"
@@ -24,6 +24,7 @@
#include "libavutil/intreadwrite.h"
#include "libavutil/opt.h"
#include "avcodec.h"
+#include "codec_internal.h"
#include "encode.h"
#include "internal.h"
#include "put_bits.h"
@@ -28,6 +28,7 @@
#include "avcodec.h"
#include "bytestream.h"
+#include "codec_internal.h"
#include "internal.h"
#include <zlib.h>
@@ -45,6 +45,7 @@
#define BITSTREAM_READER_LE
#include "avcodec.h"
#include "bytestream.h"
+#include "codec_internal.h"
#include "exif.h"
#include "get_bits.h"
#include "internal.h"
@@ -27,7 +27,7 @@
#include "avcodec.h"
#include "ass.h"
-#include "internal.h"
+#include "codec_internal.h"
#include "libavutil/bprint.h"
static const struct {
@@ -26,7 +26,7 @@
#include "libavutil/bprint.h"
#include "ass_split.h"
#include "ass.h"
-#include "internal.h"
+#include "codec_internal.h"
#define WEBVTT_STACK_SIZE 64
typedef struct {
@@ -39,6 +39,7 @@
#include "libavutil/ffmath.h"
#include "avcodec.h"
+#include "codec_internal.h"
#include "internal.h"
#include "wma.h"
@@ -25,6 +25,7 @@
#include "libavutil/ffmath.h"
#include "avcodec.h"
+#include "codec_internal.h"
#include "encode.h"
#include "internal.h"
#include "wma.h"
@@ -29,6 +29,7 @@
#include "libavutil/mem_internal.h"
#include "avcodec.h"
+#include "codec_internal.h"
#include "internal.h"
#include "get_bits.h"
#include "put_bits.h"
@@ -97,6 +97,7 @@
#include "libavutil/thread.h"
#include "avcodec.h"
+#include "codec_internal.h"
#include "internal.h"
#include "get_bits.h"
#include "put_bits.h"
@@ -32,6 +32,7 @@
#include "libavutil/mem_internal.h"
#include "libavutil/thread.h"
#include "avcodec.h"
+#include "codec_internal.h"
#include "internal.h"
#include "get_bits.h"
#include "put_bits.h"
@@ -21,8 +21,8 @@
#include "libavutil/mem_internal.h"
#include "avcodec.h"
+#include "codec_internal.h"
#include "h263dec.h"
-#include "internal.h"
#include "intrax8.h"
#include "mathops.h"
#include "mpegutils.h"
@@ -19,6 +19,7 @@
*/
#include "avcodec.h"
+#include "codec_internal.h"
#include "h263.h"
#include "mpegvideo.h"
#include "mpegvideoenc.h"
@@ -28,6 +28,7 @@
#define BITSTREAM_READER_LE
#include "avcodec.h"
+#include "codec_internal.h"
#include "get_bits.h"
#include "internal.h"
@@ -25,8 +25,8 @@
*/
#include "avcodec.h"
+#include "codec_internal.h"
#include "decode.h"
-#include "internal.h"
#include "libavutil/internal.h"
#include "libavutil/frame.h"
@@ -25,6 +25,7 @@
#include "libavutil/common.h"
#include "libavutil/intreadwrite.h"
#include "avcodec.h"
+#include "codec_internal.h"
#include "internal.h"
/**
@@ -38,6 +38,7 @@
#define BITSTREAM_READER_LE
#include "avcodec.h"
#include "bytestream.h"
+#include "codec_internal.h"
#include "get_bits.h"
#include "internal.h"
@@ -27,6 +27,7 @@
#include "libavutil/pixdesc.h"
#include "avcodec.h"
#include "bytestream.h"
+#include "codec_internal.h"
#include "internal.h"
#include "xface.h"
@@ -27,6 +27,7 @@
#include "libavutil/common.h"
#include "libavutil/intreadwrite.h"
#include "avcodec.h"
+#include "codec_internal.h"
#include "internal.h"
static const int xl_table[32] = {
@@ -24,7 +24,7 @@
#include "avcodec.h"
#include "get_bits.h"
#include "bytestream.h"
-#include "internal.h"
+#include "codec_internal.h"
static av_cold int decode_init(AVCodecContext *avctx) {
avctx->pix_fmt = AV_PIX_FMT_PAL8;
@@ -22,7 +22,7 @@
#include "avcodec.h"
#include "bytestream.h"
-#include "internal.h"
+#include "codec_internal.h"
#include "put_bits.h"
/**
@@ -25,6 +25,7 @@
#include "avcodec.h"
#include "bytestream.h"
+#include "codec_internal.h"
#include "internal.h"
typedef struct XanContext {
@@ -21,6 +21,7 @@
*/
#include "avcodec.h"
+#include "codec_internal.h"
#include "internal.h"
static av_cold int y41p_decode_init(AVCodecContext *avctx)
@@ -21,6 +21,7 @@
*/
#include "avcodec.h"
+#include "codec_internal.h"
#include "encode.h"
#include "internal.h"
@@ -30,9 +30,9 @@
#include "libavutil/mem.h"
#include "avcodec.h"
#include "bswapdsp.h"
+#include "codec_internal.h"
#include "get_bits.h"
#include "huffyuvdsp.h"
-#include "internal.h"
#include "thread.h"
#include "unary.h"
@@ -29,6 +29,7 @@
#include "libavutil/intreadwrite.h"
#include "avcodec.h"
+#include "codec_internal.h"
#include "internal.h"
typedef struct YopDecContext {
@@ -21,6 +21,7 @@
*/
#include "avcodec.h"
+#include "codec_internal.h"
#include "internal.h"
static av_cold int yuv4_decode_init(AVCodecContext *avctx)
@@ -19,6 +19,7 @@
#include <zlib.h>
#include "avcodec.h"
+#include "codec_internal.h"
#include "internal.h"
#include "libavutil/common.h"
@@ -31,6 +31,7 @@
#include "libavutil/imgutils.h"
#include "libavutil/intreadwrite.h"
#include "avcodec.h"
+#include "codec_internal.h"
#include "internal.h"
#include <zlib.h>
@@ -30,8 +30,8 @@
#include "libavutil/common.h"
#include "libavutil/intreadwrite.h"
#include "avcodec.h"
+#include "codec_internal.h"
#include "encode.h"
-#include "internal.h"
#include <zlib.h>
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. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com> --- libavcodec/012v.c | 1 + libavcodec/4xm.c | 1 + libavcodec/8bps.c | 1 + libavcodec/8svx.c | 1 + libavcodec/a64multienc.c | 2 +- libavcodec/aacdec.c | 2 +- libavcodec/aacdec_fixed.c | 2 +- libavcodec/aacdec_template.c | 1 + libavcodec/aacenc.c | 2 +- libavcodec/aasc.c | 1 + libavcodec/ac3dec_fixed.c | 1 + libavcodec/ac3dec_float.c | 1 + libavcodec/ac3enc.c | 1 + libavcodec/ac3enc.h | 2 +- libavcodec/ac3enc_fixed.c | 2 +- libavcodec/ac3enc_float.c | 2 +- libavcodec/ac3enc_template.c | 1 - libavcodec/adpcm.c | 1 + libavcodec/adpcmenc.c | 2 +- libavcodec/adxdec.c | 1 + libavcodec/adxenc.c | 2 +- libavcodec/agm.c | 1 + libavcodec/aic.c | 2 +- libavcodec/alac.c | 2 +- libavcodec/alacenc.c | 2 +- libavcodec/alsdec.c | 1 + libavcodec/amfenc_h264.c | 1 + libavcodec/amfenc_hevc.c | 1 + libavcodec/amrnbdec.c | 1 + libavcodec/amrwbdec.c | 1 + libavcodec/anm.c | 1 + libavcodec/ansi.c | 1 + libavcodec/apedec.c | 1 + libavcodec/aptx.c | 1 + libavcodec/aptx.h | 1 - libavcodec/aptxdec.c | 2 + libavcodec/aptxenc.c | 1 + libavcodec/arbc.c | 1 + libavcodec/argo.c | 1 + libavcodec/assdec.c | 2 +- libavcodec/assenc.c | 2 +- libavcodec/asvdec.c | 1 + libavcodec/asvenc.c | 2 +- libavcodec/atrac1.c | 1 + libavcodec/atrac3.c | 1 + libavcodec/atrac3plusdec.c | 1 + libavcodec/atrac9dec.c | 1 + libavcodec/audiotoolboxdec.c | 1 + libavcodec/audiotoolboxenc.c | 1 + libavcodec/aura.c | 1 + libavcodec/av1dec.c | 1 + libavcodec/avcodec.c | 1 + libavcodec/avrndec.c | 1 + libavcodec/avs.c | 1 + libavcodec/avuidec.c | 1 + libavcodec/avuienc.c | 2 +- libavcodec/bethsoftvideo.c | 1 + libavcodec/bfi.c | 1 + libavcodec/bink.c | 1 + libavcodec/binkaudio.c | 1 + libavcodec/bintext.c | 1 + libavcodec/bitpacked_dec.c | 2 +- libavcodec/bitpacked_enc.c | 1 + libavcodec/bmpenc.c | 2 +- libavcodec/bmvaudio.c | 1 + libavcodec/bmvvideo.c | 1 + libavcodec/c93.c | 1 + libavcodec/cavsdec.c | 1 + libavcodec/ccaption_dec.c | 2 +- libavcodec/cdgraphics.c | 1 + libavcodec/cdtoons.c | 1 + libavcodec/cdxl.c | 1 + libavcodec/cfhd.c | 1 + libavcodec/cfhdenc.c | 2 +- libavcodec/cinepak.c | 1 + libavcodec/cinepakenc.c | 2 +- libavcodec/clearvideo.c | 1 + libavcodec/cljrdec.c | 1 + libavcodec/cllc.c | 2 +- libavcodec/cngdec.c | 1 + libavcodec/cngenc.c | 2 +- libavcodec/codec_internal.h | 82 +++++++++++++++++++++++++++++++++ libavcodec/cook.c | 1 + libavcodec/cpia.c | 1 + libavcodec/cri.c | 1 + libavcodec/crystalhd.c | 1 + libavcodec/cscd.c | 1 + libavcodec/cuviddec.c | 1 + libavcodec/cyuv.c | 1 + libavcodec/dcadec.c | 2 +- libavcodec/dcaenc.c | 1 + libavcodec/dds.c | 1 + libavcodec/decode.c | 1 + libavcodec/dfa.c | 1 + libavcodec/dfpwmdec.c | 1 + libavcodec/dfpwmenc.c | 2 +- libavcodec/diracdec.c | 1 + libavcodec/dnxhddec.c | 1 + libavcodec/dnxhdenc.c | 1 + libavcodec/dolby_e.c | 1 + libavcodec/dpcm.c | 1 + libavcodec/dpxenc.c | 2 +- libavcodec/dsddec.c | 1 + libavcodec/dsicinaudio.c | 1 + libavcodec/dsicinvideo.c | 1 + libavcodec/dss_sp.c | 1 + libavcodec/dstdec.c | 1 + libavcodec/dvaudiodec.c | 1 + libavcodec/dvbsubdec.c | 1 + libavcodec/dvdec.c | 1 + libavcodec/dvdsubdec.c | 1 + libavcodec/dvdsubenc.c | 1 + libavcodec/dvenc.c | 2 +- libavcodec/dxa.c | 1 + libavcodec/dxv.c | 2 +- libavcodec/eac3dec.c | 1 - libavcodec/eac3enc.c | 1 + libavcodec/eacmv.c | 1 + libavcodec/eamad.c | 1 + libavcodec/eatgq.c | 1 + libavcodec/eatgv.c | 1 + libavcodec/eatqi.c | 1 + libavcodec/escape124.c | 1 + libavcodec/escape130.c | 1 + libavcodec/evrcdec.c | 1 + libavcodec/exr.c | 1 + libavcodec/exrenc.c | 2 +- libavcodec/fastaudio.c | 1 + libavcodec/ffv1dec.c | 1 + libavcodec/ffv1enc.c | 1 + libavcodec/ffwavesynth.c | 1 + libavcodec/fic.c | 1 + libavcodec/flacdec.c | 2 +- libavcodec/flacenc.c | 1 + libavcodec/flashsv.c | 1 + libavcodec/flashsv2enc.c | 2 +- libavcodec/flashsvenc.c | 2 +- libavcodec/flicvideo.c | 1 + libavcodec/flvdec.c | 2 +- libavcodec/flvenc.c | 1 + libavcodec/fmvc.c | 1 + libavcodec/fraps.c | 2 +- libavcodec/frwu.c | 1 + libavcodec/g2meet.c | 1 + libavcodec/g722dec.c | 1 + libavcodec/g722enc.c | 1 + libavcodec/g723_1dec.c | 1 + libavcodec/g723_1enc.c | 2 +- libavcodec/g726.c | 1 + libavcodec/g729dec.c | 1 + libavcodec/gdv.c | 1 + libavcodec/gif.c | 2 +- libavcodec/gifdec.c | 1 + libavcodec/gsmdec.c | 1 + libavcodec/h261dec.c | 1 + libavcodec/h261enc.c | 1 + libavcodec/h263dec.c | 1 + libavcodec/h264dec.c | 1 + libavcodec/hapdec.c | 2 +- libavcodec/hapenc.c | 2 +- libavcodec/hcadec.c | 1 + libavcodec/hcom.c | 1 + libavcodec/hevcdec.c | 1 + libavcodec/hnm4video.c | 1 + libavcodec/hq_hqa.c | 1 + libavcodec/hqx.c | 2 +- libavcodec/huffyuvdec.c | 2 +- libavcodec/huffyuvenc.c | 2 +- libavcodec/idcinvideo.c | 1 + libavcodec/iff.c | 1 + libavcodec/ilbcdec.c | 1 + libavcodec/imc.c | 1 + libavcodec/imm4.c | 1 + libavcodec/imm5.c | 2 +- libavcodec/imx.c | 1 + libavcodec/indeo2.c | 1 + libavcodec/indeo3.c | 1 + libavcodec/indeo4.c | 2 +- libavcodec/indeo5.c | 2 +- libavcodec/intelh263dec.c | 2 +- libavcodec/internal.h | 61 ------------------------ libavcodec/interplayacm.c | 1 + libavcodec/interplayvideo.c | 1 + libavcodec/ituh263enc.c | 1 + libavcodec/j2kenc.c | 2 +- libavcodec/jacosubdec.c | 2 +- libavcodec/jpeg2000dec.c | 1 + libavcodec/jpeglsdec.c | 1 + libavcodec/jpeglsenc.c | 1 + libavcodec/jvdec.c | 1 + libavcodec/kgv1dec.c | 1 + libavcodec/kmvc.c | 1 + libavcodec/lagarith.c | 2 +- libavcodec/lcldec.c | 2 +- libavcodec/lclenc.c | 2 +- libavcodec/libaomdec.c | 1 + libavcodec/libaomenc.c | 1 + libavcodec/libdav1d.c | 1 + libavcodec/libdavs2.c | 2 +- libavcodec/libfdk-aacdec.c | 1 + libavcodec/libfdk-aacenc.c | 2 +- libavcodec/libgsmenc.c | 2 +- libavcodec/libilbc.c | 1 + libavcodec/libkvazaar.c | 2 +- libavcodec/libmp3lame.c | 2 +- libavcodec/libopenh264dec.c | 1 + libavcodec/libopenh264enc.c | 1 + libavcodec/libopusdec.c | 1 + libavcodec/libopusenc.c | 2 +- libavcodec/librav1e.c | 1 + libavcodec/libspeexenc.c | 2 +- libavcodec/libsvtav1.c | 1 + libavcodec/libtwolame.c | 1 + libavcodec/libuavs3d.c | 1 + libavcodec/libvorbisenc.c | 1 + libavcodec/libvpxdec.c | 1 + libavcodec/libvpxenc.c | 1 + libavcodec/libwebpenc_common.h | 2 +- libavcodec/libx264.c | 1 + libavcodec/libx265.c | 1 + libavcodec/libxavs.c | 2 +- libavcodec/libxavs2.c | 2 +- libavcodec/libxvid.c | 2 +- libavcodec/ljpegenc.c | 2 +- libavcodec/loco.c | 1 + libavcodec/lscrdec.c | 1 + libavcodec/m101.c | 1 + libavcodec/mace.c | 1 + libavcodec/magicyuv.c | 1 + libavcodec/magicyuvenc.c | 2 +- libavcodec/mdec.c | 2 +- libavcodec/mediacodecdec.c | 1 + libavcodec/metasound.c | 2 +- libavcodec/mfenc.c | 1 + libavcodec/microdvddec.c | 2 +- libavcodec/midivid.c | 1 + libavcodec/mimic.c | 1 + libavcodec/mjpegbdec.c | 2 +- libavcodec/mjpegdec.c | 1 + libavcodec/mjpegenc.c | 1 + libavcodec/mlpdec.c | 1 + libavcodec/mlpenc.c | 2 +- libavcodec/mmaldec.c | 1 + libavcodec/mmvideo.c | 1 + libavcodec/mobiclip.c | 1 + libavcodec/motionpixels.c | 1 + libavcodec/movtextdec.c | 2 +- libavcodec/movtextenc.c | 2 +- libavcodec/mpc7.c | 1 + libavcodec/mpc8.c | 1 + libavcodec/mpeg12dec.c | 1 + libavcodec/mpeg12enc.c | 1 + libavcodec/mpeg4videodec.c | 2 +- libavcodec/mpeg4videoenc.c | 1 + libavcodec/mpegaudiodec_fixed.c | 1 + libavcodec/mpegaudiodec_float.c | 1 + libavcodec/mpegaudioenc_fixed.c | 1 + libavcodec/mpegaudioenc_float.c | 1 + libavcodec/mpl2dec.c | 2 +- libavcodec/mscc.c | 1 + libavcodec/msmpeg4dec.c | 2 +- libavcodec/msmpeg4enc.c | 2 +- libavcodec/msrle.c | 1 + libavcodec/mss1.c | 1 + libavcodec/mss2.c | 1 + libavcodec/mss3.c | 1 + libavcodec/mss4.c | 1 + libavcodec/msvideo1.c | 1 + libavcodec/msvideo1enc.c | 2 +- libavcodec/mv30.c | 1 + libavcodec/mvcdec.c | 1 + libavcodec/mvha.c | 1 + libavcodec/mwsc.c | 1 + libavcodec/mxpegdec.c | 1 + libavcodec/nellymoserdec.c | 1 + libavcodec/nellymoserenc.c | 2 +- libavcodec/notchlc.c | 1 + libavcodec/nuv.c | 1 + libavcodec/nvenc_h264.c | 2 +- libavcodec/nvenc_hevc.c | 2 +- libavcodec/omx.c | 2 +- libavcodec/on2avc.c | 1 + libavcodec/options.c | 2 +- libavcodec/opusdec.c | 1 + libavcodec/opusenc.c | 2 +- libavcodec/pafaudio.c | 1 + libavcodec/pafvideo.c | 1 + libavcodec/pamenc.c | 2 +- libavcodec/pcm-blurayenc.c | 1 + libavcodec/pcm-dvd.c | 1 + libavcodec/pcm-dvdenc.c | 1 + libavcodec/pcm.c | 1 + libavcodec/pcxenc.c | 2 +- libavcodec/pgssubdec.c | 1 + libavcodec/photocd.c | 1 + libavcodec/pixlet.c | 1 + libavcodec/pngdec.c | 1 + libavcodec/pngenc.c | 2 +- libavcodec/pnmenc.c | 2 +- libavcodec/proresdec2.c | 1 + libavcodec/proresenc_anatoliy.c | 1 + libavcodec/proresenc_kostya.c | 2 +- libavcodec/prosumer.c | 1 + libavcodec/pthread.c | 2 +- libavcodec/pthread_frame.c | 1 + libavcodec/pthread_slice.c | 1 + libavcodec/qcelpdec.c | 1 + libavcodec/qdm2.c | 1 + libavcodec/qdmc.c | 1 + libavcodec/qpeg.c | 1 + libavcodec/qsvenc_h264.c | 2 +- libavcodec/qsvenc_hevc.c | 2 +- libavcodec/qsvenc_jpeg.c | 2 +- libavcodec/qsvenc_mpeg2.c | 2 +- libavcodec/qsvenc_vp9.c | 2 +- libavcodec/qtrle.c | 1 + libavcodec/qtrleenc.c | 2 +- libavcodec/r210dec.c | 1 + libavcodec/r210enc.c | 1 + libavcodec/ra144dec.c | 1 + libavcodec/ra144enc.c | 2 +- libavcodec/ra288.c | 1 + libavcodec/ralf.c | 1 + libavcodec/rasc.c | 1 + libavcodec/rawdec.c | 1 + libavcodec/rawenc.c | 1 + libavcodec/realtextdec.c | 2 +- libavcodec/rl2.c | 1 + libavcodec/roqaudioenc.c | 2 +- libavcodec/roqvideodec.c | 1 + libavcodec/roqvideoenc.c | 1 + libavcodec/rpza.c | 1 + libavcodec/rpzaenc.c | 2 +- libavcodec/rscc.c | 1 + libavcodec/rv10.c | 1 + libavcodec/rv10enc.c | 1 + libavcodec/rv20enc.c | 1 + libavcodec/rv30.c | 2 +- libavcodec/rv40.c | 2 +- libavcodec/s302menc.c | 2 +- libavcodec/samidec.c | 2 +- libavcodec/sanm.c | 1 + libavcodec/sbcdec.c | 1 + libavcodec/sbcenc.c | 2 +- libavcodec/scpr.c | 1 + libavcodec/screenpresso.c | 1 + libavcodec/sga.c | 1 + libavcodec/sgidec.c | 1 + libavcodec/sgienc.c | 2 +- libavcodec/sgirledec.c | 1 + libavcodec/shorten.c | 1 + libavcodec/sipr.c | 1 + libavcodec/siren.c | 1 + libavcodec/smacker.c | 1 + libavcodec/smc.c | 1 + libavcodec/smcenc.c | 2 +- libavcodec/snowdec.c | 2 +- libavcodec/snowenc.c | 2 +- libavcodec/sonic.c | 1 + libavcodec/sp5xdec.c | 2 +- libavcodec/speedhq.c | 1 + libavcodec/speedhqenc.c | 1 + libavcodec/speexdec.c | 1 + libavcodec/srtdec.c | 2 +- libavcodec/srtenc.c | 2 +- libavcodec/subviewerdec.c | 2 +- libavcodec/sunrastenc.c | 2 +- libavcodec/svq1dec.c | 1 + libavcodec/svq1enc.c | 1 + libavcodec/svq3.c | 1 + libavcodec/takdec.c | 2 +- libavcodec/targa_y216dec.c | 1 + libavcodec/targaenc.c | 2 +- libavcodec/tdsc.c | 1 + libavcodec/tests/avcodec.c | 1 + libavcodec/textdec.c | 2 +- libavcodec/tiertexseqv.c | 1 + libavcodec/tiff.c | 1 + libavcodec/tiffenc.c | 2 +- libavcodec/tmv.c | 1 + libavcodec/truemotion1.c | 1 + libavcodec/truemotion2.c | 1 + libavcodec/truemotion2rt.c | 1 + libavcodec/truespeech.c | 1 + libavcodec/tscc.c | 1 + libavcodec/tscc2.c | 1 + libavcodec/tta.c | 2 +- libavcodec/ttaenc.c | 1 + libavcodec/ttmlenc.c | 2 +- libavcodec/twinvqdec.c | 2 +- libavcodec/ulti.c | 1 + libavcodec/utils.c | 1 + libavcodec/utvideodec.c | 2 +- libavcodec/utvideoenc.c | 2 +- libavcodec/v210dec.c | 2 +- libavcodec/v210enc.c | 1 + libavcodec/v210x.c | 1 + libavcodec/v308dec.c | 1 + libavcodec/v308enc.c | 1 + libavcodec/v408dec.c | 1 + libavcodec/v408enc.c | 1 + libavcodec/v410dec.c | 2 +- libavcodec/v410enc.c | 1 + libavcodec/v4l2_m2m_dec.c | 2 +- libavcodec/v4l2_m2m_enc.c | 2 +- libavcodec/vaapi_encode_h264.c | 2 +- libavcodec/vaapi_encode_h265.c | 2 +- libavcodec/vaapi_encode_mjpeg.c | 2 +- libavcodec/vaapi_encode_mpeg2.c | 2 +- libavcodec/vaapi_encode_vp8.c | 2 +- libavcodec/vaapi_encode_vp9.c | 2 +- libavcodec/vb.c | 1 + libavcodec/vble.c | 2 +- libavcodec/vc1dec.c | 1 + libavcodec/vc2enc.c | 2 +- libavcodec/vcr1.c | 1 + libavcodec/videotoolboxenc.c | 1 + libavcodec/vima.c | 1 + libavcodec/vmdaudio.c | 1 + libavcodec/vmdvideo.c | 1 + libavcodec/vmnc.c | 1 + libavcodec/vorbisdec.c | 1 + libavcodec/vorbisenc.c | 2 +- libavcodec/vp3.c | 1 + libavcodec/vp5.c | 1 + libavcodec/vp6.c | 1 + libavcodec/vp8.c | 1 + libavcodec/vp9.c | 1 + libavcodec/vqavideo.c | 1 + libavcodec/wavpack.c | 2 +- libavcodec/wavpackenc.c | 1 + libavcodec/wcmv.c | 1 + libavcodec/webp.c | 1 + libavcodec/webvttdec.c | 2 +- libavcodec/webvttenc.c | 2 +- libavcodec/wmadec.c | 1 + libavcodec/wmaenc.c | 1 + libavcodec/wmalosslessdec.c | 1 + libavcodec/wmaprodec.c | 1 + libavcodec/wmavoice.c | 1 + libavcodec/wmv2dec.c | 2 +- libavcodec/wmv2enc.c | 1 + libavcodec/wnv1.c | 1 + libavcodec/wrapped_avframe.c | 2 +- libavcodec/ws-snd1.c | 1 + libavcodec/xan.c | 1 + libavcodec/xfacedec.c | 1 + libavcodec/xl.c | 1 + libavcodec/xsubdec.c | 2 +- libavcodec/xsubenc.c | 2 +- libavcodec/xxan.c | 1 + libavcodec/y41pdec.c | 1 + libavcodec/y41penc.c | 1 + libavcodec/ylc.c | 2 +- libavcodec/yop.c | 1 + libavcodec/yuv4dec.c | 1 + libavcodec/zerocodec.c | 1 + libavcodec/zmbv.c | 1 + libavcodec/zmbvenc.c | 2 +- 459 files changed, 537 insertions(+), 206 deletions(-) create mode 100644 libavcodec/codec_internal.h