mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-11-26 19:01:44 +02:00
avcodec/internal: Move ff_get_buffer() to decode.h
Only used by decoders (encoders have ff_encode_alloc_frame()). Also clean up the other headers a bit while removing now redundant internal.h inclusions. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
parent
e2c24e6a29
commit
66b691f99f
@ -22,7 +22,7 @@
|
||||
|
||||
#include "avcodec.h"
|
||||
#include "codec_internal.h"
|
||||
#include "internal.h"
|
||||
#include "decode.h"
|
||||
#include "libavutil/intreadwrite.h"
|
||||
|
||||
static av_cold int zero12v_decode_init(AVCodecContext *avctx)
|
||||
|
@ -37,8 +37,8 @@
|
||||
#include "bswapdsp.h"
|
||||
#include "bytestream.h"
|
||||
#include "codec_internal.h"
|
||||
#include "decode.h"
|
||||
#include "get_bits.h"
|
||||
#include "internal.h"
|
||||
|
||||
|
||||
#define BLOCK_TYPE_VLC_BITS 5
|
||||
|
@ -30,16 +30,13 @@
|
||||
* : RGB32 (RGB 32bpp, 4th plane is alpha)
|
||||
*/
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
||||
#include "libavutil/bswap.h"
|
||||
#include "libavutil/internal.h"
|
||||
#include "libavutil/intreadwrite.h"
|
||||
#include "avcodec.h"
|
||||
#include "codec_internal.h"
|
||||
#include "decode.h"
|
||||
#include "internal.h"
|
||||
|
||||
|
||||
static const enum AVPixelFormat pixfmt_rgb24[] = {
|
||||
|
@ -42,7 +42,7 @@
|
||||
#include "libavutil/avassert.h"
|
||||
#include "avcodec.h"
|
||||
#include "codec_internal.h"
|
||||
#include "internal.h"
|
||||
#include "decode.h"
|
||||
#include "libavutil/common.h"
|
||||
|
||||
/** decoder context */
|
||||
|
@ -91,6 +91,7 @@
|
||||
|
||||
#include "libavutil/channel_layout.h"
|
||||
#include "libavutil/thread.h"
|
||||
#include "decode.h"
|
||||
#include "internal.h"
|
||||
|
||||
static VLC vlc_scalefactors;
|
||||
|
@ -44,6 +44,7 @@
|
||||
#include "ac3dec.h"
|
||||
#include "ac3dec_data.h"
|
||||
#include "ac3defs.h"
|
||||
#include "decode.h"
|
||||
#include "kbdwin.h"
|
||||
|
||||
/**
|
||||
|
@ -43,7 +43,7 @@
|
||||
#include "adpcm.h"
|
||||
#include "adpcm_data.h"
|
||||
#include "codec_internal.h"
|
||||
#include "internal.h"
|
||||
#include "decode.h"
|
||||
|
||||
/**
|
||||
* @file
|
||||
|
@ -23,8 +23,8 @@
|
||||
#include "avcodec.h"
|
||||
#include "adx.h"
|
||||
#include "codec_internal.h"
|
||||
#include "decode.h"
|
||||
#include "get_bits.h"
|
||||
#include "internal.h"
|
||||
|
||||
/**
|
||||
* @file
|
||||
|
@ -32,6 +32,7 @@
|
||||
#include "bytestream.h"
|
||||
#include "codec_internal.h"
|
||||
#include "copy_block.h"
|
||||
#include "decode.h"
|
||||
#include "get_bits.h"
|
||||
#include "idctdsp.h"
|
||||
#include "internal.h"
|
||||
|
@ -24,6 +24,7 @@
|
||||
#include "avcodec.h"
|
||||
#include "bytestream.h"
|
||||
#include "codec_internal.h"
|
||||
#include "decode.h"
|
||||
#include "internal.h"
|
||||
|
||||
#define ALIAS_HEADER_SIZE 10
|
||||
|
@ -34,6 +34,7 @@
|
||||
#include "bgmc.h"
|
||||
#include "bswapdsp.h"
|
||||
#include "codec_internal.h"
|
||||
#include "decode.h"
|
||||
#include "internal.h"
|
||||
#include "mlz.h"
|
||||
#include "libavutil/samplefmt.h"
|
||||
|
@ -44,7 +44,6 @@
|
||||
#include <math.h>
|
||||
|
||||
#include "libavutil/channel_layout.h"
|
||||
#include "libavutil/float_dsp.h"
|
||||
#include "avcodec.h"
|
||||
#include "libavutil/common.h"
|
||||
#include "libavutil/avassert.h"
|
||||
@ -56,7 +55,7 @@
|
||||
#include "lsp.h"
|
||||
#include "amr.h"
|
||||
#include "codec_internal.h"
|
||||
#include "internal.h"
|
||||
#include "decode.h"
|
||||
|
||||
#include "amrnbdata.h"
|
||||
|
||||
|
@ -26,7 +26,6 @@
|
||||
|
||||
#include "libavutil/channel_layout.h"
|
||||
#include "libavutil/common.h"
|
||||
#include "libavutil/float_dsp.h"
|
||||
#include "libavutil/lfg.h"
|
||||
|
||||
#include "avcodec.h"
|
||||
@ -37,7 +36,7 @@
|
||||
#include "acelp_vectors.h"
|
||||
#include "acelp_pitch_delay.h"
|
||||
#include "codec_internal.h"
|
||||
#include "internal.h"
|
||||
#include "decode.h"
|
||||
|
||||
#define AMR_USE_16BIT_TABLES
|
||||
#include "amr.h"
|
||||
|
@ -31,7 +31,7 @@
|
||||
#include "bswapdsp.h"
|
||||
#include "bytestream.h"
|
||||
#include "codec_internal.h"
|
||||
#include "internal.h"
|
||||
#include "decode.h"
|
||||
#include "get_bits.h"
|
||||
#include "unary.h"
|
||||
|
||||
|
@ -25,7 +25,7 @@
|
||||
#include "libavutil/channel_layout.h"
|
||||
#include "aptx.h"
|
||||
#include "codec_internal.h"
|
||||
#include "internal.h"
|
||||
#include "decode.h"
|
||||
|
||||
/*
|
||||
* Half-band QMF synthesis filter realized with a polyphase FIR filter.
|
||||
|
@ -19,18 +19,13 @@
|
||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
*/
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
||||
#include "libavutil/imgutils.h"
|
||||
#include "libavutil/internal.h"
|
||||
#include "libavutil/intreadwrite.h"
|
||||
|
||||
#include "avcodec.h"
|
||||
#include "bytestream.h"
|
||||
#include "codec_internal.h"
|
||||
#include "internal.h"
|
||||
#include "decode.h"
|
||||
|
||||
typedef struct ARBCContext {
|
||||
GetByteContext gb;
|
||||
|
@ -32,8 +32,8 @@
|
||||
#include "blockdsp.h"
|
||||
#include "codec_internal.h"
|
||||
#include "config_components.h"
|
||||
#include "decode.h"
|
||||
#include "idctdsp.h"
|
||||
#include "internal.h"
|
||||
#include "mpeg12data.h"
|
||||
|
||||
#define CCP_VLC_BITS 5
|
||||
|
@ -29,17 +29,15 @@
|
||||
/* Many thanks to Tim Craig for all the help! */
|
||||
|
||||
#include <math.h>
|
||||
#include <stddef.h>
|
||||
#include <stdio.h>
|
||||
|
||||
#include "libavutil/float_dsp.h"
|
||||
#include "libavutil/mem_internal.h"
|
||||
|
||||
#include "avcodec.h"
|
||||
#include "codec_internal.h"
|
||||
#include "decode.h"
|
||||
#include "get_bits.h"
|
||||
#include "fft.h"
|
||||
#include "internal.h"
|
||||
#include "sinewin.h"
|
||||
|
||||
#include "atrac.h"
|
||||
|
@ -34,7 +34,6 @@
|
||||
|
||||
#include <math.h>
|
||||
#include <stddef.h>
|
||||
#include <stdio.h>
|
||||
|
||||
#include "libavutil/attributes.h"
|
||||
#include "libavutil/float_dsp.h"
|
||||
@ -45,9 +44,9 @@
|
||||
#include "avcodec.h"
|
||||
#include "bytestream.h"
|
||||
#include "codec_internal.h"
|
||||
#include "decode.h"
|
||||
#include "fft.h"
|
||||
#include "get_bits.h"
|
||||
#include "internal.h"
|
||||
|
||||
#include "atrac.h"
|
||||
#include "atrac3data.h"
|
||||
|
@ -43,8 +43,8 @@
|
||||
#include "libavutil/thread.h"
|
||||
#include "avcodec.h"
|
||||
#include "codec_internal.h"
|
||||
#include "decode.h"
|
||||
#include "get_bits.h"
|
||||
#include "internal.h"
|
||||
#include "atrac.h"
|
||||
#include "atrac3plus.h"
|
||||
|
||||
|
@ -23,7 +23,7 @@
|
||||
#include "libavutil/thread.h"
|
||||
|
||||
#include "codec_internal.h"
|
||||
#include "internal.h"
|
||||
#include "decode.h"
|
||||
#include "get_bits.h"
|
||||
#include "fft.h"
|
||||
#include "atrac9tab.h"
|
||||
|
@ -28,7 +28,7 @@
|
||||
#include "ac3_parser_internal.h"
|
||||
#include "bytestream.h"
|
||||
#include "codec_internal.h"
|
||||
#include "internal.h"
|
||||
#include "decode.h"
|
||||
#include "mpegaudiodecheader.h"
|
||||
#include "libavutil/avassert.h"
|
||||
#include "libavutil/channel_layout.h"
|
||||
|
@ -25,7 +25,7 @@
|
||||
|
||||
#include "avcodec.h"
|
||||
#include "codec_internal.h"
|
||||
#include "internal.h"
|
||||
#include "decode.h"
|
||||
#include "libavutil/internal.h"
|
||||
|
||||
static av_cold int aura_decode_init(AVCodecContext *avctx)
|
||||
|
@ -21,7 +21,7 @@
|
||||
|
||||
#include "avcodec.h"
|
||||
#include "codec_internal.h"
|
||||
#include "internal.h"
|
||||
#include "decode.h"
|
||||
#include "libavutil/imgutils.h"
|
||||
|
||||
typedef struct {
|
||||
|
@ -22,7 +22,7 @@
|
||||
|
||||
#include "avcodec.h"
|
||||
#include "codec_internal.h"
|
||||
#include "internal.h"
|
||||
#include "decode.h"
|
||||
#include "libavutil/intreadwrite.h"
|
||||
|
||||
static av_cold int avui_decode_init(AVCodecContext *avctx)
|
||||
|
@ -30,7 +30,7 @@
|
||||
#include "avcodec.h"
|
||||
#include "bytestream.h"
|
||||
#include "codec_internal.h"
|
||||
#include "internal.h"
|
||||
#include "decode.h"
|
||||
|
||||
typedef struct BFIContext {
|
||||
AVCodecContext *avctx;
|
||||
|
@ -35,8 +35,6 @@
|
||||
#include "decode.h"
|
||||
#include "get_bits.h"
|
||||
#include "hpeldsp.h"
|
||||
#include "internal.h"
|
||||
#include "mathops.h"
|
||||
|
||||
#define BINK_FLAG_ALPHA 0x00100000
|
||||
#define BINK_FLAG_GRAY 0x00020000
|
||||
|
@ -36,7 +36,7 @@
|
||||
#include "cga_data.h"
|
||||
#include "bintext.h"
|
||||
#include "codec_internal.h"
|
||||
#include "internal.h"
|
||||
#include "decode.h"
|
||||
|
||||
#define FONT_WIDTH 8
|
||||
|
||||
|
@ -25,6 +25,7 @@
|
||||
#include "bytestream.h"
|
||||
#include "bmp.h"
|
||||
#include "codec_internal.h"
|
||||
#include "decode.h"
|
||||
#include "internal.h"
|
||||
#include "msrledec.h"
|
||||
|
||||
|
@ -24,7 +24,7 @@
|
||||
|
||||
#include "avcodec.h"
|
||||
#include "codec_internal.h"
|
||||
#include "internal.h"
|
||||
#include "decode.h"
|
||||
|
||||
static const int bmv_aud_mults[16] = {
|
||||
16512, 8256, 4128, 2064, 1032, 516, 258, 192, 129, 88, 64, 56, 48, 40, 36, 32
|
||||
|
@ -25,7 +25,7 @@
|
||||
#include "avcodec.h"
|
||||
#include "bytestream.h"
|
||||
#include "codec_internal.h"
|
||||
#include "internal.h"
|
||||
#include "decode.h"
|
||||
|
||||
enum BMVFlags{
|
||||
BMV_NOP = 0,
|
||||
|
@ -26,6 +26,7 @@
|
||||
#include "avcodec.h"
|
||||
#include "bytestream.h"
|
||||
#include "codec_internal.h"
|
||||
#include "decode.h"
|
||||
#include "internal.h"
|
||||
|
||||
#define HEADER1_CHUNK 0x03
|
||||
|
@ -31,6 +31,7 @@
|
||||
#include "golomb.h"
|
||||
#include "cavs.h"
|
||||
#include "codec_internal.h"
|
||||
#include "decode.h"
|
||||
#include "internal.h"
|
||||
#include "mathops.h"
|
||||
#include "mpeg12data.h"
|
||||
|
@ -32,6 +32,7 @@
|
||||
#include "avcodec.h"
|
||||
#include "bytestream.h"
|
||||
#include "codec_internal.h"
|
||||
#include "decode.h"
|
||||
#include "get_bits.h"
|
||||
#include "internal.h"
|
||||
|
||||
|
@ -26,8 +26,8 @@
|
||||
|
||||
#include "avcodec.h"
|
||||
#include "codec_internal.h"
|
||||
#include "decode.h"
|
||||
#include "get_bits.h"
|
||||
#include "internal.h"
|
||||
|
||||
static int decode_frame(AVCodecContext *avctx, AVFrame *p,
|
||||
int *got_frame, AVPacket *avpkt)
|
||||
|
@ -27,6 +27,7 @@
|
||||
#include "avcodec.h"
|
||||
#include "celp_filters.h"
|
||||
#include "codec_internal.h"
|
||||
#include "decode.h"
|
||||
#include "internal.h"
|
||||
#include "libavutil/lfg.h"
|
||||
|
||||
|
@ -52,8 +52,8 @@
|
||||
#include "get_bits.h"
|
||||
#include "bytestream.h"
|
||||
#include "codec_internal.h"
|
||||
#include "decode.h"
|
||||
#include "fft.h"
|
||||
#include "internal.h"
|
||||
#include "sinewin.h"
|
||||
#include "unary.h"
|
||||
|
||||
|
@ -30,13 +30,11 @@
|
||||
|
||||
#include "config_components.h"
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
||||
#include "avcodec.h"
|
||||
#include "codec_internal.h"
|
||||
#include "internal.h"
|
||||
#include "decode.h"
|
||||
#include "libavutil/internal.h"
|
||||
|
||||
|
||||
|
@ -25,6 +25,7 @@
|
||||
#include "dcahuff.h"
|
||||
#include "dcamath.h"
|
||||
#include "dca_syncwords.h"
|
||||
#include "decode.h"
|
||||
#include "internal.h"
|
||||
|
||||
#if ARCH_ARM
|
||||
|
@ -28,6 +28,7 @@
|
||||
#include "dcahuff.h"
|
||||
#include "dca_syncwords.h"
|
||||
#include "bytestream.h"
|
||||
#include "decode.h"
|
||||
#include "internal.h"
|
||||
|
||||
#define AMP_MAX 56
|
||||
|
@ -23,6 +23,7 @@
|
||||
#include "dcadata.h"
|
||||
#include "dcamath.h"
|
||||
#include "dca_syncwords.h"
|
||||
#include "decode.h"
|
||||
#include "internal.h"
|
||||
#include "unary.h"
|
||||
|
||||
|
@ -34,6 +34,7 @@
|
||||
#include "avcodec.h"
|
||||
#include "bytestream.h"
|
||||
#include "codec_internal.h"
|
||||
#include "decode.h"
|
||||
#include "internal.h"
|
||||
#include "texturedsp.h"
|
||||
#include "thread.h"
|
||||
|
@ -112,6 +112,13 @@ int ff_decode_preinit(AVCodecContext *avctx);
|
||||
*/
|
||||
int ff_get_format(AVCodecContext *avctx, const enum AVPixelFormat *fmt);
|
||||
|
||||
/**
|
||||
* Get a buffer for a frame. This is a wrapper around
|
||||
* AVCodecContext.get_buffer() and should be used instead calling get_buffer()
|
||||
* directly.
|
||||
*/
|
||||
int ff_get_buffer(AVCodecContext *avctx, AVFrame *frame, int flags);
|
||||
|
||||
#define FF_REGET_BUFFER_FLAG_READONLY 1 ///< the returned buffer does not need to be writable
|
||||
/**
|
||||
* Identical in function to ff_get_buffer(), except it reuses the existing buffer
|
||||
|
@ -25,7 +25,7 @@
|
||||
#include "avcodec.h"
|
||||
#include "bytestream.h"
|
||||
#include "codec_internal.h"
|
||||
#include "internal.h"
|
||||
#include "decode.h"
|
||||
|
||||
#include "libavutil/avassert.h"
|
||||
#include "libavutil/imgutils.h"
|
||||
|
@ -29,7 +29,7 @@
|
||||
#include "avcodec.h"
|
||||
#include "codec_id.h"
|
||||
#include "codec_internal.h"
|
||||
#include "internal.h"
|
||||
#include "decode.h"
|
||||
|
||||
typedef struct {
|
||||
int fq, q, s, lt;
|
||||
|
@ -33,6 +33,7 @@
|
||||
#include "get_bits.h"
|
||||
#include "bytestream.h"
|
||||
#include "codec_internal.h"
|
||||
#include "decode.h"
|
||||
#include "internal.h"
|
||||
#include "golomb.h"
|
||||
#include "dirac_arith.h"
|
||||
|
@ -26,7 +26,7 @@
|
||||
#include "libavutil/opt.h"
|
||||
|
||||
#include "codec_internal.h"
|
||||
#include "internal.h"
|
||||
#include "decode.h"
|
||||
#include "get_bits.h"
|
||||
#include "dolby_e.h"
|
||||
#include "kbdwin.h"
|
||||
|
@ -37,11 +37,10 @@
|
||||
* the fourcc 'Axan' in the 'auds' chunk of the AVI header.
|
||||
*/
|
||||
|
||||
#include "libavutil/intreadwrite.h"
|
||||
#include "avcodec.h"
|
||||
#include "bytestream.h"
|
||||
#include "codec_internal.h"
|
||||
#include "internal.h"
|
||||
#include "decode.h"
|
||||
#include "mathops.h"
|
||||
|
||||
typedef struct DPCMContext {
|
||||
|
@ -27,6 +27,7 @@
|
||||
#include "bytestream.h"
|
||||
#include "avcodec.h"
|
||||
#include "codec_internal.h"
|
||||
#include "decode.h"
|
||||
#include "internal.h"
|
||||
|
||||
enum DPX_TRC {
|
||||
|
@ -29,6 +29,7 @@
|
||||
#include "libavcodec/internal.h"
|
||||
#include "avcodec.h"
|
||||
#include "codec_internal.h"
|
||||
#include "decode.h"
|
||||
#include "dsd.h"
|
||||
|
||||
#define DSD_SILENCE 0x69
|
||||
|
@ -25,11 +25,11 @@
|
||||
*/
|
||||
|
||||
#include "libavutil/channel_layout.h"
|
||||
#include "libavutil/intreadwrite.h"
|
||||
|
||||
#include "avcodec.h"
|
||||
#include "bytestream.h"
|
||||
#include "codec_internal.h"
|
||||
#include "internal.h"
|
||||
#include "decode.h"
|
||||
#include "mathops.h"
|
||||
|
||||
typedef struct CinAudioContext {
|
||||
|
@ -22,12 +22,11 @@
|
||||
#include "libavutil/channel_layout.h"
|
||||
#include "libavutil/common.h"
|
||||
#include "libavutil/mem_internal.h"
|
||||
#include "libavutil/opt.h"
|
||||
|
||||
#include "avcodec.h"
|
||||
#include "codec_internal.h"
|
||||
#include "decode.h"
|
||||
#include "get_bits.h"
|
||||
#include "internal.h"
|
||||
|
||||
#define SUBFRAMES 4
|
||||
#define PULSE_MAX 8
|
||||
|
@ -29,11 +29,10 @@
|
||||
#include "libavutil/mem_internal.h"
|
||||
#include "libavutil/reverse.h"
|
||||
#include "codec_internal.h"
|
||||
#include "internal.h"
|
||||
#include "decode.h"
|
||||
#include "get_bits.h"
|
||||
#include "avcodec.h"
|
||||
#include "golomb.h"
|
||||
#include "mathops.h"
|
||||
#include "dsd.h"
|
||||
|
||||
#define DST_MAX_CHANNELS 6
|
||||
|
@ -22,7 +22,7 @@
|
||||
#include "libavutil/intreadwrite.h"
|
||||
#include "avcodec.h"
|
||||
#include "codec_internal.h"
|
||||
#include "internal.h"
|
||||
#include "decode.h"
|
||||
#include "dvaudio.h"
|
||||
|
||||
typedef struct DVAudioContext {
|
||||
|
@ -24,15 +24,12 @@
|
||||
* DXA Video decoder
|
||||
*/
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
#include "libavutil/common.h"
|
||||
#include "libavutil/intreadwrite.h"
|
||||
#include "bytestream.h"
|
||||
#include "avcodec.h"
|
||||
#include "codec_internal.h"
|
||||
#include "internal.h"
|
||||
#include "decode.h"
|
||||
|
||||
#include <zlib.h>
|
||||
|
||||
|
@ -33,6 +33,7 @@
|
||||
#include "libavutil/imgutils.h"
|
||||
#include "avcodec.h"
|
||||
#include "codec_internal.h"
|
||||
#include "decode.h"
|
||||
#include "internal.h"
|
||||
|
||||
typedef struct CmvContext {
|
||||
|
@ -35,6 +35,7 @@
|
||||
#include "bytestream.h"
|
||||
#include "bswapdsp.h"
|
||||
#include "codec_internal.h"
|
||||
#include "decode.h"
|
||||
#include "get_bits.h"
|
||||
#include "aandcttab.h"
|
||||
#include "eaidct.h"
|
||||
|
@ -36,6 +36,7 @@
|
||||
#include "avcodec.h"
|
||||
#include "bytestream.h"
|
||||
#include "codec_internal.h"
|
||||
#include "decode.h"
|
||||
#include "eaidct.h"
|
||||
#include "get_bits.h"
|
||||
#include "idctdsp.h"
|
||||
|
@ -35,6 +35,7 @@
|
||||
#include "avcodec.h"
|
||||
#include "get_bits.h"
|
||||
#include "codec_internal.h"
|
||||
#include "decode.h"
|
||||
#include "internal.h"
|
||||
|
||||
#define EA_PREAMBLE_SIZE 8
|
||||
|
@ -32,6 +32,7 @@
|
||||
#include "blockdsp.h"
|
||||
#include "bswapdsp.h"
|
||||
#include "codec_internal.h"
|
||||
#include "decode.h"
|
||||
#include "get_bits.h"
|
||||
#include "aandcttab.h"
|
||||
#include "eaidct.h"
|
||||
|
@ -22,8 +22,8 @@
|
||||
#define BITSTREAM_READER_LE
|
||||
#include "avcodec.h"
|
||||
#include "codec_internal.h"
|
||||
#include "decode.h"
|
||||
#include "get_bits.h"
|
||||
#include "internal.h"
|
||||
|
||||
typedef union MacroBlock {
|
||||
uint16_t pixels[4];
|
||||
|
@ -25,8 +25,8 @@
|
||||
#define BITSTREAM_READER_LE
|
||||
#include "avcodec.h"
|
||||
#include "codec_internal.h"
|
||||
#include "decode.h"
|
||||
#include "get_bits.h"
|
||||
#include "internal.h"
|
||||
|
||||
typedef struct Escape130Context {
|
||||
uint8_t *old_y_avg;
|
||||
|
@ -30,7 +30,7 @@
|
||||
#include "libavutil/opt.h"
|
||||
#include "avcodec.h"
|
||||
#include "codec_internal.h"
|
||||
#include "internal.h"
|
||||
#include "decode.h"
|
||||
#include "get_bits.h"
|
||||
#include "evrcdata.h"
|
||||
#include "acelp_vectors.h"
|
||||
|
@ -21,13 +21,10 @@
|
||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
*/
|
||||
|
||||
#include "libavutil/intreadwrite.h"
|
||||
|
||||
#include "avcodec.h"
|
||||
#include "bytestream.h"
|
||||
#include "codec_internal.h"
|
||||
#include "internal.h"
|
||||
#include "mathops.h"
|
||||
#include "decode.h"
|
||||
|
||||
typedef struct ChannelItems {
|
||||
float f[8];
|
||||
|
@ -23,7 +23,7 @@
|
||||
#include "libavutil/log.h"
|
||||
#include "avcodec.h"
|
||||
#include "codec_internal.h"
|
||||
#include "internal.h"
|
||||
#include "decode.h"
|
||||
|
||||
|
||||
#define SIN_BITS 14
|
||||
|
@ -32,6 +32,7 @@
|
||||
|
||||
#include "avcodec.h"
|
||||
#include "codec_internal.h"
|
||||
#include "decode.h"
|
||||
#include "internal.h"
|
||||
#include <float.h>
|
||||
#include "libavutil/intreadwrite.h"
|
||||
|
@ -21,13 +21,12 @@
|
||||
*/
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
||||
#include "avcodec.h"
|
||||
#include "bytestream.h"
|
||||
#include "codec_internal.h"
|
||||
#include "internal.h"
|
||||
#include "decode.h"
|
||||
|
||||
#define BLOCK_HEIGHT 112u
|
||||
#define BLOCK_WIDTH 84u
|
||||
|
@ -23,7 +23,7 @@
|
||||
#include "avcodec.h"
|
||||
#include "bytestream.h"
|
||||
#include "codec_internal.h"
|
||||
#include "internal.h"
|
||||
#include "decode.h"
|
||||
#include "libavutil/opt.h"
|
||||
|
||||
typedef struct {
|
||||
|
@ -36,6 +36,7 @@
|
||||
#include "blockdsp.h"
|
||||
#include "bytestream.h"
|
||||
#include "codec_internal.h"
|
||||
#include "decode.h"
|
||||
#include "elsdec.h"
|
||||
#include "get_bits.h"
|
||||
#include "idctdsp.h"
|
||||
|
@ -38,9 +38,9 @@
|
||||
#include "libavutil/opt.h"
|
||||
#include "avcodec.h"
|
||||
#include "codec_internal.h"
|
||||
#include "decode.h"
|
||||
#include "get_bits.h"
|
||||
#include "g722.h"
|
||||
#include "internal.h"
|
||||
|
||||
#define OFFSET(x) offsetof(G722Context, x)
|
||||
#define AD AV_OPT_FLAG_AUDIO_PARAM | AV_OPT_FLAG_DECODING_PARAM
|
||||
|
@ -33,10 +33,9 @@
|
||||
#include "acelp_vectors.h"
|
||||
#include "avcodec.h"
|
||||
#include "celp_filters.h"
|
||||
#include "celp_math.h"
|
||||
#include "codec_internal.h"
|
||||
#include "decode.h"
|
||||
#include "get_bits.h"
|
||||
#include "internal.h"
|
||||
#include "g723_1.h"
|
||||
|
||||
#define CNG_RANDOM_SEED 12345
|
||||
|
@ -30,8 +30,8 @@
|
||||
#include "libavutil/opt.h"
|
||||
#include "avcodec.h"
|
||||
#include "codec_internal.h"
|
||||
#include "decode.h"
|
||||
#include "encode.h"
|
||||
#include "internal.h"
|
||||
#include "get_bits.h"
|
||||
#include "put_bits.h"
|
||||
|
||||
|
@ -27,12 +27,11 @@
|
||||
#include "get_bits.h"
|
||||
#include "audiodsp.h"
|
||||
#include "codec_internal.h"
|
||||
#include "internal.h"
|
||||
#include "decode.h"
|
||||
|
||||
|
||||
#include "g729.h"
|
||||
#include "lsp.h"
|
||||
#include "celp_math.h"
|
||||
#include "celp_filters.h"
|
||||
#include "acelp_filters.h"
|
||||
#include "acelp_pitch_delay.h"
|
||||
|
@ -25,7 +25,6 @@
|
||||
#include "bytestream.h"
|
||||
#include "codec_internal.h"
|
||||
#include "decode.h"
|
||||
#include "internal.h"
|
||||
|
||||
typedef struct GDVContext {
|
||||
AVCodecContext *avctx;
|
||||
|
@ -27,6 +27,7 @@
|
||||
#include "avcodec.h"
|
||||
#include "bytestream.h"
|
||||
#include "codec_internal.h"
|
||||
#include "decode.h"
|
||||
#include "internal.h"
|
||||
|
||||
static const uint32_t gem_color_palette[16]={
|
||||
|
@ -29,8 +29,8 @@
|
||||
#include "libavutil/channel_layout.h"
|
||||
#include "avcodec.h"
|
||||
#include "codec_internal.h"
|
||||
#include "decode.h"
|
||||
#include "get_bits.h"
|
||||
#include "internal.h"
|
||||
#include "msgsmdec.h"
|
||||
|
||||
#include "gsmdec_template.c"
|
||||
|
@ -18,15 +18,14 @@
|
||||
|
||||
#include "libavutil/crc.h"
|
||||
#include "libavutil/float_dsp.h"
|
||||
#include "libavutil/intreadwrite.h"
|
||||
#include "libavutil/mem_internal.h"
|
||||
#include "libavutil/tx.h"
|
||||
|
||||
#include "avcodec.h"
|
||||
#include "bytestream.h"
|
||||
#include "codec_internal.h"
|
||||
#include "decode.h"
|
||||
#include "get_bits.h"
|
||||
#include "internal.h"
|
||||
#include "hca_data.h"
|
||||
|
||||
typedef struct ChannelContext {
|
||||
|
@ -22,8 +22,8 @@
|
||||
|
||||
#include "avcodec.h"
|
||||
#include "codec_internal.h"
|
||||
#include "decode.h"
|
||||
#include "get_bits.h"
|
||||
#include "internal.h"
|
||||
|
||||
typedef struct HEntry {
|
||||
int16_t l, r;
|
||||
|
@ -29,7 +29,7 @@
|
||||
#include "avcodec.h"
|
||||
#include "bytestream.h"
|
||||
#include "codec_internal.h"
|
||||
#include "internal.h"
|
||||
#include "decode.h"
|
||||
|
||||
#define HNM4_CHUNK_ID_PL 19536
|
||||
#define HNM4_CHUNK_ID_IZ 23113
|
||||
|
@ -27,6 +27,7 @@
|
||||
#include "bytestream.h"
|
||||
#include "canopus.h"
|
||||
#include "codec_internal.h"
|
||||
#include "decode.h"
|
||||
#include "get_bits.h"
|
||||
#include "internal.h"
|
||||
|
||||
|
@ -44,14 +44,12 @@
|
||||
* decoding algorithm and it worked fine on much lower spec machines.
|
||||
*/
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <stddef.h>
|
||||
#include <string.h>
|
||||
|
||||
#include "avcodec.h"
|
||||
#include "codec_internal.h"
|
||||
#include "decode.h"
|
||||
#include "internal.h"
|
||||
#include "libavutil/internal.h"
|
||||
|
||||
#define HUFFMAN_TABLE_SIZE 64 * 1024
|
||||
|
@ -33,8 +33,7 @@
|
||||
#include "bytestream.h"
|
||||
#include "avcodec.h"
|
||||
#include "codec_internal.h"
|
||||
#include "internal.h"
|
||||
#include "mathops.h"
|
||||
#include "decode.h"
|
||||
|
||||
// TODO: masking bits
|
||||
typedef enum {
|
||||
|
@ -33,7 +33,7 @@
|
||||
#include "libavutil/channel_layout.h"
|
||||
#include "avcodec.h"
|
||||
#include "codec_internal.h"
|
||||
#include "internal.h"
|
||||
#include "decode.h"
|
||||
#include "get_bits.h"
|
||||
#include "ilbcdata.h"
|
||||
|
||||
|
@ -33,7 +33,6 @@
|
||||
|
||||
#include <math.h>
|
||||
#include <stddef.h>
|
||||
#include <stdio.h>
|
||||
|
||||
#include "libavutil/channel_layout.h"
|
||||
#include "libavutil/ffmath.h"
|
||||
@ -45,9 +44,9 @@
|
||||
#include "avcodec.h"
|
||||
#include "bswapdsp.h"
|
||||
#include "codec_internal.h"
|
||||
#include "decode.h"
|
||||
#include "get_bits.h"
|
||||
#include "fft.h"
|
||||
#include "internal.h"
|
||||
#include "sinewin.h"
|
||||
|
||||
#include "imcdata.h"
|
||||
|
@ -30,6 +30,7 @@
|
||||
#include "avcodec.h"
|
||||
#include "bswapdsp.h"
|
||||
#include "codec_internal.h"
|
||||
#include "decode.h"
|
||||
#include "copy_block.h"
|
||||
#include "get_bits.h"
|
||||
#include "idctdsp.h"
|
||||
|
@ -34,6 +34,7 @@
|
||||
#include "libavutil/thread.h"
|
||||
#include "avcodec.h"
|
||||
#include "codec_internal.h"
|
||||
#include "decode.h"
|
||||
#include "copy_block.h"
|
||||
#include "bytestream.h"
|
||||
#include "get_bits.h"
|
||||
|
@ -212,13 +212,6 @@ static av_always_inline float ff_exp2fi(int x) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get a buffer for a frame. This is a wrapper around
|
||||
* AVCodecContext.get_buffer() and should be used instead calling get_buffer()
|
||||
* directly.
|
||||
*/
|
||||
int ff_get_buffer(AVCodecContext *avctx, AVFrame *frame, int flags);
|
||||
|
||||
int avpriv_h264_has_num_reorder_frames(AVCodecContext *avctx);
|
||||
|
||||
int avpriv_codec_get_cap_skip_frame_fill_param(const AVCodec *codec);
|
||||
|
@ -24,8 +24,8 @@
|
||||
#define BITSTREAM_READER_LE
|
||||
#include "avcodec.h"
|
||||
#include "codec_internal.h"
|
||||
#include "decode.h"
|
||||
#include "get_bits.h"
|
||||
#include "internal.h"
|
||||
|
||||
static const int8_t map_1bit[] = { -1, +1 };
|
||||
static const int8_t map_2bit_near[] = { -2, -1, +1, +2 };
|
||||
|
@ -35,7 +35,6 @@
|
||||
*/
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
||||
#include "libavutil/intreadwrite.h"
|
||||
@ -47,7 +46,6 @@
|
||||
#include "decode.h"
|
||||
#include "get_bits.h"
|
||||
#include "hpeldsp.h"
|
||||
#include "internal.h"
|
||||
|
||||
#define PALETTE_COUNT 256
|
||||
|
||||
|
@ -34,6 +34,7 @@
|
||||
|
||||
#define BITSTREAM_READER_LE
|
||||
#include "avcodec.h"
|
||||
#include "decode.h"
|
||||
#include "get_bits.h"
|
||||
#include "internal.h"
|
||||
#include "ivi.h"
|
||||
|
@ -32,7 +32,6 @@
|
||||
#include "codec_internal.h"
|
||||
#include "decode.h"
|
||||
#include "get_bits.h"
|
||||
#include "internal.h"
|
||||
|
||||
typedef struct JvContext {
|
||||
BlockDSPContext bdsp;
|
||||
|
@ -29,6 +29,7 @@
|
||||
#include "libavutil/imgutils.h"
|
||||
#include "avcodec.h"
|
||||
#include "codec_internal.h"
|
||||
#include "decode.h"
|
||||
#include "internal.h"
|
||||
|
||||
typedef struct KgvContext {
|
||||
|
@ -25,13 +25,11 @@
|
||||
*/
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
#include "avcodec.h"
|
||||
#include "bytestream.h"
|
||||
#include "codec_internal.h"
|
||||
#include "decode.h"
|
||||
#include "internal.h"
|
||||
#include "libavutil/common.h"
|
||||
|
||||
#define KMVC_KEYFRAME 0x80
|
||||
|
@ -32,6 +32,7 @@
|
||||
|
||||
#include "avcodec.h"
|
||||
#include "codec_internal.h"
|
||||
#include "decode.h"
|
||||
#include "internal.h"
|
||||
#include "libaom.h"
|
||||
#include "profiles.h"
|
||||
|
@ -23,7 +23,7 @@
|
||||
#include <celt/celt_header.h>
|
||||
#include "avcodec.h"
|
||||
#include "codec_internal.h"
|
||||
#include "internal.h"
|
||||
#include "decode.h"
|
||||
#include "libavutil/intreadwrite.h"
|
||||
|
||||
struct libcelt_context {
|
||||
|
@ -24,8 +24,8 @@
|
||||
#include "avcodec.h"
|
||||
#include "libavutil/opt.h"
|
||||
#include "codec_internal.h"
|
||||
#include "decode.h"
|
||||
#include "encode.h"
|
||||
#include "internal.h"
|
||||
#include "codec2utils.h"
|
||||
|
||||
typedef struct {
|
||||
|
@ -24,7 +24,7 @@
|
||||
#include "libavutil/opt.h"
|
||||
#include "avcodec.h"
|
||||
#include "codec_internal.h"
|
||||
#include "internal.h"
|
||||
#include "decode.h"
|
||||
|
||||
#ifdef AACDECODER_LIB_VL0
|
||||
#define FDKDEC_VER_AT_LEAST(vl0, vl1) \
|
||||
|
@ -40,7 +40,7 @@
|
||||
|
||||
#include "avcodec.h"
|
||||
#include "codec_internal.h"
|
||||
#include "internal.h"
|
||||
#include "decode.h"
|
||||
#include "gsm.h"
|
||||
|
||||
typedef struct LibGSMDecodeContext {
|
||||
|
@ -26,8 +26,8 @@
|
||||
#include "libavutil/opt.h"
|
||||
#include "avcodec.h"
|
||||
#include "codec_internal.h"
|
||||
#include "decode.h"
|
||||
#include "encode.h"
|
||||
#include "internal.h"
|
||||
|
||||
#ifndef LIBILBC_VERSION_MAJOR
|
||||
#define LIBILBC_VERSION_MAJOR 2
|
||||
|
@ -36,6 +36,7 @@
|
||||
|
||||
#include "avcodec.h"
|
||||
#include "codec_internal.h"
|
||||
#include "decode.h"
|
||||
#include "internal.h"
|
||||
|
||||
#include <jxl/decode.h>
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user