mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-11-26 19:01:44 +02:00
avcodec/internal: Move ff_set_dimensions() to decode.h
Decoder-only, as the dimensions are set by the user when encoding. Also fixup the other headers a bit while removing unnecessary internal.h inclusions. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
parent
b6a680989c
commit
b9eaf77ed1
@ -20,8 +20,6 @@
|
||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
*/
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
||||
#define BITSTREAM_READER_LE
|
||||
@ -35,7 +33,6 @@
|
||||
#include "decode.h"
|
||||
#include "get_bits.h"
|
||||
#include "idctdsp.h"
|
||||
#include "internal.h"
|
||||
|
||||
static const uint8_t unscaled_luma[64] = {
|
||||
16, 11, 10, 16, 24, 40, 51, 61, 12, 12, 14, 19,
|
||||
|
@ -25,7 +25,6 @@
|
||||
#include "bytestream.h"
|
||||
#include "codec_internal.h"
|
||||
#include "decode.h"
|
||||
#include "internal.h"
|
||||
|
||||
#define ALIAS_HEADER_SIZE 10
|
||||
|
||||
|
@ -26,13 +26,11 @@
|
||||
|
||||
#include "libavutil/common.h"
|
||||
#include "libavutil/frame.h"
|
||||
#include "libavutil/lfg.h"
|
||||
#include "libavutil/xga_font_data.h"
|
||||
#include "avcodec.h"
|
||||
#include "cga_data.h"
|
||||
#include "codec_internal.h"
|
||||
#include "decode.h"
|
||||
#include "internal.h"
|
||||
|
||||
#define ATTR_BOLD 0x01 /**< Bold/Bright-foreground (mode 1) */
|
||||
#define ATTR_FAINT 0x02 /**< Faint (mode 2) */
|
||||
|
@ -29,7 +29,6 @@
|
||||
#include "codec_internal.h"
|
||||
#include "decode.h"
|
||||
#include "hwconfig.h"
|
||||
#include "internal.h"
|
||||
#include "profiles.h"
|
||||
#include "thread.h"
|
||||
|
||||
|
@ -23,7 +23,6 @@
|
||||
#include "codec_internal.h"
|
||||
#include "decode.h"
|
||||
#include "get_bits.h"
|
||||
#include "internal.h"
|
||||
|
||||
typedef struct AvsContext {
|
||||
AVFrame *frame;
|
||||
|
@ -26,7 +26,6 @@
|
||||
#include "bmp.h"
|
||||
#include "codec_internal.h"
|
||||
#include "decode.h"
|
||||
#include "internal.h"
|
||||
#include "msrledec.h"
|
||||
|
||||
static int bmp_decode_frame(AVCodecContext *avctx, AVFrame *p,
|
||||
|
@ -27,7 +27,6 @@
|
||||
#include "bytestream.h"
|
||||
#include "codec_internal.h"
|
||||
#include "decode.h"
|
||||
#include "internal.h"
|
||||
|
||||
#define HEADER1_CHUNK 0x03
|
||||
#define HEADER2_CHUNK 0x3D
|
||||
|
@ -23,7 +23,6 @@
|
||||
#include "bytestream.h"
|
||||
#include "codec_internal.h"
|
||||
#include "decode.h"
|
||||
#include "internal.h"
|
||||
|
||||
typedef struct C93DecoderContext {
|
||||
AVFrame *pictures[2];
|
||||
|
@ -32,7 +32,6 @@
|
||||
#include "cavs.h"
|
||||
#include "codec_internal.h"
|
||||
#include "decode.h"
|
||||
#include "internal.h"
|
||||
#include "mathops.h"
|
||||
#include "mpeg12data.h"
|
||||
#include "startcode.h"
|
||||
|
@ -23,7 +23,6 @@
|
||||
#include "bytestream.h"
|
||||
#include "codec_internal.h"
|
||||
#include "decode.h"
|
||||
#include "internal.h"
|
||||
|
||||
/**
|
||||
* @file
|
||||
|
@ -28,13 +28,11 @@
|
||||
#define UNCHECKED_BITSTREAM_READER 1
|
||||
|
||||
#include "libavutil/intreadwrite.h"
|
||||
#include "libavutil/imgutils.h"
|
||||
#include "avcodec.h"
|
||||
#include "bytestream.h"
|
||||
#include "codec_internal.h"
|
||||
#include "decode.h"
|
||||
#include "get_bits.h"
|
||||
#include "internal.h"
|
||||
|
||||
#define BIT_PLANAR 0x00
|
||||
#define CHUNKY 0x20
|
||||
|
@ -26,13 +26,13 @@
|
||||
#include "libavutil/attributes.h"
|
||||
#include "libavutil/buffer.h"
|
||||
#include "libavutil/common.h"
|
||||
#include "libavutil/imgutils.h"
|
||||
#include "libavutil/intreadwrite.h"
|
||||
#include "libavutil/opt.h"
|
||||
#include "libavutil/pixdesc.h"
|
||||
|
||||
#include "avcodec.h"
|
||||
#include "bytestream.h"
|
||||
#include "codec_internal.h"
|
||||
#include "decode.h"
|
||||
#include "get_bits.h"
|
||||
#include "internal.h"
|
||||
#include "thread.h"
|
||||
|
@ -33,7 +33,6 @@
|
||||
#include "decode.h"
|
||||
#include "get_bits.h"
|
||||
#include "idctdsp.h"
|
||||
#include "internal.h"
|
||||
#include "mathops.h"
|
||||
#include "clearvideodata.h"
|
||||
|
||||
|
@ -32,8 +32,8 @@
|
||||
#include "avcodec.h"
|
||||
#include "bytestream.h"
|
||||
#include "codec_internal.h"
|
||||
#include "decode.h"
|
||||
#include "get_bits.h"
|
||||
#include "internal.h"
|
||||
#include "thread.h"
|
||||
|
||||
typedef struct CRIContext {
|
||||
|
@ -35,9 +35,7 @@
|
||||
#include "bytestream.h"
|
||||
#include "codec_internal.h"
|
||||
#include "decode.h"
|
||||
#include "internal.h"
|
||||
#include "texturedsp.h"
|
||||
#include "thread.h"
|
||||
|
||||
#define DDPF_FOURCC (1 << 2)
|
||||
#define DDPF_PALETTE (1 << 5)
|
||||
|
@ -99,6 +99,12 @@ int ff_copy_palette(void *dst, const AVPacket *src, void *logctx);
|
||||
*/
|
||||
int ff_decode_preinit(AVCodecContext *avctx);
|
||||
|
||||
/**
|
||||
* Check that the provided frame dimensions are valid and set them on the codec
|
||||
* context.
|
||||
*/
|
||||
int ff_set_dimensions(AVCodecContext *s, int width, int height);
|
||||
|
||||
/**
|
||||
* Check that the provided sample aspect ratio is valid and set it on the codec
|
||||
* context.
|
||||
|
@ -31,14 +31,11 @@
|
||||
#include "libavutil/thread.h"
|
||||
#include "avcodec.h"
|
||||
#include "get_bits.h"
|
||||
#include "bytestream.h"
|
||||
#include "codec_internal.h"
|
||||
#include "decode.h"
|
||||
#include "internal.h"
|
||||
#include "golomb.h"
|
||||
#include "dirac_arith.h"
|
||||
#include "dirac_vlc.h"
|
||||
#include "mpeg12data.h"
|
||||
#include "mpegpicture.h"
|
||||
#include "mpegvideoencdsp.h"
|
||||
#include "dirac_dwt.h"
|
||||
|
@ -24,17 +24,17 @@
|
||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
*/
|
||||
|
||||
#include "libavutil/imgutils.h"
|
||||
#include "libavutil/mem_internal.h"
|
||||
#include "libavutil/pixdesc.h"
|
||||
|
||||
#include "avcodec.h"
|
||||
#include "blockdsp.h"
|
||||
#include "codec_internal.h"
|
||||
#include "decode.h"
|
||||
#define UNCHECKED_BITSTREAM_READER 1
|
||||
#include "get_bits.h"
|
||||
#include "dnxhddata.h"
|
||||
#include "idctdsp.h"
|
||||
#include "internal.h"
|
||||
#include "profiles.h"
|
||||
#include "thread.h"
|
||||
|
||||
|
@ -24,11 +24,9 @@
|
||||
#include "libavutil/intfloat.h"
|
||||
#include "libavutil/imgutils.h"
|
||||
#include "libavutil/timecode.h"
|
||||
#include "bytestream.h"
|
||||
#include "avcodec.h"
|
||||
#include "codec_internal.h"
|
||||
#include "decode.h"
|
||||
#include "internal.h"
|
||||
|
||||
enum DPX_TRC {
|
||||
DPX_TRC_USER_DEFINED = 0,
|
||||
|
@ -23,7 +23,7 @@
|
||||
#include "get_bits.h"
|
||||
#include "bytestream.h"
|
||||
#include "codec_internal.h"
|
||||
#include "internal.h"
|
||||
#include "decode.h"
|
||||
#include "libavutil/colorspace.h"
|
||||
#include "libavutil/imgutils.h"
|
||||
#include "libavutil/opt.h"
|
||||
|
@ -36,10 +36,8 @@
|
||||
*/
|
||||
|
||||
#include "libavutil/avassert.h"
|
||||
#include "libavutil/imgutils.h"
|
||||
#include "libavutil/internal.h"
|
||||
#include "libavutil/mem_internal.h"
|
||||
#include "libavutil/pixdesc.h"
|
||||
#include "libavutil/thread.h"
|
||||
|
||||
#include "avcodec.h"
|
||||
@ -49,7 +47,6 @@
|
||||
#include "dv_profile_internal.h"
|
||||
#include "dvdata.h"
|
||||
#include "get_bits.h"
|
||||
#include "internal.h"
|
||||
#include "put_bits.h"
|
||||
#include "simple_idct.h"
|
||||
#include "thread.h"
|
||||
|
@ -21,13 +21,13 @@
|
||||
|
||||
#include "avcodec.h"
|
||||
#include "codec_internal.h"
|
||||
#include "decode.h"
|
||||
#include "get_bits.h"
|
||||
#include "internal.h"
|
||||
|
||||
#include "libavutil/attributes.h"
|
||||
#include "libavutil/colorspace.h"
|
||||
#include "libavutil/opt.h"
|
||||
#include "libavutil/imgutils.h"
|
||||
#include "libavutil/bswap.h"
|
||||
|
||||
typedef struct DVDSubContext
|
||||
|
@ -34,7 +34,6 @@
|
||||
#include "avcodec.h"
|
||||
#include "codec_internal.h"
|
||||
#include "decode.h"
|
||||
#include "internal.h"
|
||||
|
||||
typedef struct CmvContext {
|
||||
AVCodecContext *avctx;
|
||||
|
@ -40,7 +40,6 @@
|
||||
#include "aandcttab.h"
|
||||
#include "eaidct.h"
|
||||
#include "idctdsp.h"
|
||||
#include "internal.h"
|
||||
#include "mpeg12data.h"
|
||||
#include "mpeg12vlc.h"
|
||||
|
||||
|
@ -40,7 +40,6 @@
|
||||
#include "eaidct.h"
|
||||
#include "get_bits.h"
|
||||
#include "idctdsp.h"
|
||||
#include "internal.h"
|
||||
|
||||
typedef struct TgqContext {
|
||||
AVCodecContext *avctx;
|
||||
|
@ -28,7 +28,6 @@
|
||||
* http://wiki.multimedia.cx/index.php?title=Electronic_Arts_TGV
|
||||
*/
|
||||
|
||||
#include "libavutil/imgutils.h"
|
||||
#include "libavutil/mem.h"
|
||||
|
||||
#define BITSTREAM_READER_LE
|
||||
@ -36,7 +35,6 @@
|
||||
#include "get_bits.h"
|
||||
#include "codec_internal.h"
|
||||
#include "decode.h"
|
||||
#include "internal.h"
|
||||
|
||||
#define EA_PREAMBLE_SIZE 8
|
||||
#define kVGT_TAG MKTAG('k', 'V', 'G', 'T')
|
||||
|
@ -37,7 +37,6 @@
|
||||
#include "aandcttab.h"
|
||||
#include "eaidct.h"
|
||||
#include "idctdsp.h"
|
||||
#include "internal.h"
|
||||
#include "mpeg12data.h"
|
||||
#include "mpeg12dec.h"
|
||||
|
||||
|
@ -54,7 +54,6 @@
|
||||
#include "decode.h"
|
||||
#include "exrdsp.h"
|
||||
#include "get_bits.h"
|
||||
#include "internal.h"
|
||||
#include "mathops.h"
|
||||
#include "thread.h"
|
||||
|
||||
|
@ -33,7 +33,6 @@
|
||||
#include "avcodec.h"
|
||||
#include "codec_internal.h"
|
||||
#include "decode.h"
|
||||
#include "internal.h"
|
||||
#include <float.h>
|
||||
#include "libavutil/intreadwrite.h"
|
||||
#include "libavutil/intfloat.h"
|
||||
|
@ -35,8 +35,7 @@
|
||||
|
||||
#include "config_components.h"
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <stddef.h>
|
||||
#include <zlib.h>
|
||||
|
||||
#include "libavutil/intreadwrite.h"
|
||||
@ -45,7 +44,6 @@
|
||||
#include "codec_internal.h"
|
||||
#include "decode.h"
|
||||
#include "get_bits.h"
|
||||
#include "internal.h"
|
||||
#include "zlib_wrapper.h"
|
||||
|
||||
typedef struct BlockInfo {
|
||||
|
@ -29,7 +29,6 @@
|
||||
#include <zlib.h>
|
||||
|
||||
#include "libavutil/imgutils.h"
|
||||
#include "libavutil/intreadwrite.h"
|
||||
#include "libavutil/mem_internal.h"
|
||||
|
||||
#include "avcodec.h"
|
||||
@ -40,9 +39,7 @@
|
||||
#include "elsdec.h"
|
||||
#include "get_bits.h"
|
||||
#include "idctdsp.h"
|
||||
#include "internal.h"
|
||||
#include "jpegtables.h"
|
||||
#include "mjpeg.h"
|
||||
#include "mjpegdec.h"
|
||||
|
||||
#define EPIC_PIX_STACK_SIZE 1024
|
||||
|
@ -28,7 +28,6 @@
|
||||
#include "bytestream.h"
|
||||
#include "codec_internal.h"
|
||||
#include "decode.h"
|
||||
#include "internal.h"
|
||||
|
||||
static const uint32_t gem_color_palette[16]={
|
||||
0xFFFFFFFF, 0xFFFF0000, 0xFF00FF00, 0xFFFFFF00,
|
||||
|
@ -21,13 +21,11 @@
|
||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
*/
|
||||
|
||||
#include "libavutil/imgutils.h"
|
||||
#include "libavutil/opt.h"
|
||||
#include "avcodec.h"
|
||||
#include "bytestream.h"
|
||||
#include "codec_internal.h"
|
||||
#include "decode.h"
|
||||
#include "internal.h"
|
||||
#include "lzw.h"
|
||||
#include "gif.h"
|
||||
|
||||
|
@ -29,12 +29,12 @@
|
||||
#include "libavutil/thread.h"
|
||||
#include "avcodec.h"
|
||||
#include "codec_internal.h"
|
||||
#include "decode.h"
|
||||
#include "mpeg_er.h"
|
||||
#include "mpegutils.h"
|
||||
#include "mpegvideo.h"
|
||||
#include "mpegvideodec.h"
|
||||
#include "h261.h"
|
||||
#include "internal.h"
|
||||
|
||||
#define H261_MBA_VLC_BITS 8
|
||||
#define H261_MTYPE_VLC_BITS 6
|
||||
|
@ -40,7 +40,6 @@
|
||||
#include "h263_parser.h"
|
||||
#endif
|
||||
#include "hwconfig.h"
|
||||
#include "internal.h"
|
||||
#include "mpeg_er.h"
|
||||
#include "mpeg4video.h"
|
||||
#include "mpeg4videodec.h"
|
||||
|
@ -18,13 +18,10 @@
|
||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
*/
|
||||
|
||||
#include <stdlib.h>
|
||||
|
||||
#include "libavutil/imgutils.h"
|
||||
#include "avcodec.h"
|
||||
#include "internal.h"
|
||||
#include "bytestream.h"
|
||||
#include "codec_internal.h"
|
||||
#include "decode.h"
|
||||
#include "thread.h"
|
||||
|
||||
#define MINELEN 8
|
||||
|
@ -21,7 +21,6 @@
|
||||
#include <stdint.h>
|
||||
|
||||
#include "libavutil/attributes.h"
|
||||
#include "libavutil/intreadwrite.h"
|
||||
|
||||
#include "avcodec.h"
|
||||
#include "bytestream.h"
|
||||
@ -29,7 +28,6 @@
|
||||
#include "codec_internal.h"
|
||||
#include "decode.h"
|
||||
#include "get_bits.h"
|
||||
#include "internal.h"
|
||||
|
||||
#include "hq_hqa.h"
|
||||
#include "hq_hqadsp.h"
|
||||
|
@ -20,8 +20,7 @@
|
||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
*/
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <stddef.h>
|
||||
#include <string.h>
|
||||
|
||||
#include "libavutil/mem_internal.h"
|
||||
@ -34,7 +33,6 @@
|
||||
#include "copy_block.h"
|
||||
#include "get_bits.h"
|
||||
#include "idctdsp.h"
|
||||
#include "internal.h"
|
||||
|
||||
#define CBPLO_VLC_BITS 6
|
||||
#define CBPHI_VLC_BITS 6
|
||||
|
@ -39,7 +39,6 @@
|
||||
#include "bytestream.h"
|
||||
#include "get_bits.h"
|
||||
#include "hpeldsp.h"
|
||||
#include "internal.h"
|
||||
|
||||
#include "indeo3data.h"
|
||||
|
||||
|
@ -216,12 +216,6 @@ int avpriv_h264_has_num_reorder_frames(AVCodecContext *avctx);
|
||||
|
||||
int avpriv_codec_get_cap_skip_frame_fill_param(const AVCodec *codec);
|
||||
|
||||
/**
|
||||
* Check that the provided frame dimensions are valid and set them on the codec
|
||||
* context.
|
||||
*/
|
||||
int ff_set_dimensions(AVCodecContext *s, int width, int height);
|
||||
|
||||
/**
|
||||
* Add or update AV_FRAME_DATA_MATRIXENCODING side data.
|
||||
*/
|
||||
|
@ -36,7 +36,6 @@
|
||||
#include "avcodec.h"
|
||||
#include "decode.h"
|
||||
#include "get_bits.h"
|
||||
#include "internal.h"
|
||||
#include "ivi.h"
|
||||
#include "ivi_dsp.h"
|
||||
|
||||
|
@ -37,7 +37,7 @@
|
||||
#include "avcodec.h"
|
||||
#include "bytestream.h"
|
||||
#include "codec_internal.h"
|
||||
#include "internal.h"
|
||||
#include "decode.h"
|
||||
#include "thread.h"
|
||||
#include "jpeg2000.h"
|
||||
#include "jpeg2000dsp.h"
|
||||
|
@ -30,7 +30,6 @@
|
||||
#include "avcodec.h"
|
||||
#include "codec_internal.h"
|
||||
#include "decode.h"
|
||||
#include "internal.h"
|
||||
|
||||
typedef struct KgvContext {
|
||||
uint16_t *frame_buffer;
|
||||
|
@ -33,7 +33,6 @@
|
||||
#include "avcodec.h"
|
||||
#include "codec_internal.h"
|
||||
#include "decode.h"
|
||||
#include "internal.h"
|
||||
#include "libaom.h"
|
||||
#include "profiles.h"
|
||||
|
||||
|
@ -37,7 +37,6 @@
|
||||
#include "avcodec.h"
|
||||
#include "codec_internal.h"
|
||||
#include "decode.h"
|
||||
#include "internal.h"
|
||||
|
||||
#include <jxl/decode.h>
|
||||
#include <jxl/thread_parallel_runner.h>
|
||||
|
@ -32,7 +32,6 @@
|
||||
#include "avcodec.h"
|
||||
#include "codec_internal.h"
|
||||
#include "decode.h"
|
||||
#include "internal.h"
|
||||
#include "libopenh264.h"
|
||||
|
||||
typedef struct SVCContext {
|
||||
|
@ -32,7 +32,7 @@
|
||||
|
||||
#include "avcodec.h"
|
||||
#include "codec_internal.h"
|
||||
#include "internal.h"
|
||||
#include "decode.h"
|
||||
#include "thread.h"
|
||||
|
||||
#include <openjpeg.h>
|
||||
|
@ -22,7 +22,6 @@
|
||||
#include "avcodec.h"
|
||||
#include "codec_internal.h"
|
||||
#include "decode.h"
|
||||
#include "internal.h"
|
||||
#include "libavutil/opt.h"
|
||||
#include "librsvg-2.0/librsvg/rsvg.h"
|
||||
|
||||
|
@ -31,7 +31,6 @@
|
||||
#include "avs3.h"
|
||||
#include "codec_internal.h"
|
||||
#include "decode.h"
|
||||
#include "internal.h"
|
||||
#include "uavs3d.h"
|
||||
|
||||
typedef struct uavs3d_context {
|
||||
|
@ -37,7 +37,6 @@
|
||||
#include "avcodec.h"
|
||||
#include "codec_internal.h"
|
||||
#include "decode.h"
|
||||
#include "internal.h"
|
||||
#include "libvpx.h"
|
||||
#include "profiles.h"
|
||||
|
||||
|
@ -29,9 +29,8 @@
|
||||
#include "avcodec.h"
|
||||
#include "bytestream.h"
|
||||
#include "codec_internal.h"
|
||||
#include "decode.h"
|
||||
#include "get_bits.h"
|
||||
#include "huffyuvdsp.h"
|
||||
#include "internal.h"
|
||||
#include "lossless_videodsp.h"
|
||||
#include "thread.h"
|
||||
|
||||
|
@ -33,7 +33,6 @@
|
||||
|
||||
#include "avcodec.h"
|
||||
#include "decode.h"
|
||||
#include "internal.h"
|
||||
|
||||
#include "mediacodec.h"
|
||||
#include "mediacodec_surface.h"
|
||||
|
@ -19,8 +19,6 @@
|
||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
*/
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <stdint.h>
|
||||
|
||||
#include "libavutil/mem_internal.h"
|
||||
@ -29,7 +27,7 @@
|
||||
#include "avcodec.h"
|
||||
#include "blockdsp.h"
|
||||
#include "codec_internal.h"
|
||||
#include "internal.h"
|
||||
#include "decode.h"
|
||||
#include "get_bits.h"
|
||||
#include "bytestream.h"
|
||||
#include "bswapdsp.h"
|
||||
|
@ -22,7 +22,7 @@
|
||||
|
||||
#define UNCHECKED_BITSTREAM_READER 1
|
||||
|
||||
#include "internal.h"
|
||||
#include "decode.h"
|
||||
#include "parser.h"
|
||||
#include "mpegvideo.h"
|
||||
#include "mpeg4video.h"
|
||||
|
@ -20,7 +20,7 @@
|
||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
*/
|
||||
|
||||
#include "internal.h"
|
||||
#include "decode.h"
|
||||
#include "parser.h"
|
||||
#include "mpeg12.h"
|
||||
#include "mpeg12data.h"
|
||||
|
@ -32,7 +32,6 @@
|
||||
#include "bytestream.h"
|
||||
#include "codec_internal.h"
|
||||
#include "decode.h"
|
||||
#include "internal.h"
|
||||
|
||||
typedef struct MvcContext {
|
||||
int vflip;
|
||||
|
@ -20,16 +20,14 @@
|
||||
*/
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
||||
#define BITSTREAM_READER_LE
|
||||
#include "libavutil/intreadwrite.h"
|
||||
#include "avcodec.h"
|
||||
#include "bytestream.h"
|
||||
#include "codec_internal.h"
|
||||
#include "decode.h"
|
||||
#include "get_bits.h"
|
||||
#include "internal.h"
|
||||
#include "lzf.h"
|
||||
#include "thread.h"
|
||||
|
||||
|
@ -19,11 +19,9 @@
|
||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
*/
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <stddef.h>
|
||||
#include <limits.h>
|
||||
|
||||
#include "libavutil/bswap.h"
|
||||
#include "libavutil/common.h"
|
||||
#include "libavutil/intreadwrite.h"
|
||||
#include "libavutil/lzo.h"
|
||||
@ -31,8 +29,6 @@
|
||||
#include "avcodec.h"
|
||||
#include "codec_internal.h"
|
||||
#include "decode.h"
|
||||
#include "idctdsp.h"
|
||||
#include "internal.h"
|
||||
#include "rtjpeg.h"
|
||||
|
||||
typedef struct NuvContext {
|
||||
|
@ -22,13 +22,11 @@
|
||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
*/
|
||||
|
||||
#include "libavutil/imgutils.h"
|
||||
#include "avcodec.h"
|
||||
#include "bytestream.h"
|
||||
#include "codec_internal.h"
|
||||
#include "decode.h"
|
||||
#include "get_bits.h"
|
||||
#include "internal.h"
|
||||
|
||||
#define PCX_HEADER_SIZE 128
|
||||
|
||||
|
@ -27,11 +27,10 @@
|
||||
#include "avcodec.h"
|
||||
#include "bytestream.h"
|
||||
#include "codec_internal.h"
|
||||
#include "internal.h"
|
||||
#include "decode.h"
|
||||
#include "mathops.h"
|
||||
|
||||
#include "libavutil/colorspace.h"
|
||||
#include "libavutil/imgutils.h"
|
||||
#include "libavutil/opt.h"
|
||||
|
||||
#define RGBA(r,g,b,a) (((unsigned)(a) << 24) | ((r) << 16) | ((g) << 8) | (b))
|
||||
|
@ -20,7 +20,6 @@
|
||||
*/
|
||||
|
||||
#include "avcodec.h"
|
||||
#include "internal.h"
|
||||
#include "bytestream.h"
|
||||
#include "codec_internal.h"
|
||||
#include "decode.h"
|
||||
|
@ -36,8 +36,8 @@
|
||||
#include "avcodec.h"
|
||||
#include "bytestream.h"
|
||||
#include "codec_internal.h"
|
||||
#include "decode.h"
|
||||
#include "get_bits.h"
|
||||
#include "internal.h"
|
||||
#include "thread.h"
|
||||
|
||||
typedef struct PhotoCDContext {
|
||||
|
@ -30,7 +30,6 @@
|
||||
#include "cga_data.h"
|
||||
#include "codec_internal.h"
|
||||
#include "decode.h"
|
||||
#include "internal.h"
|
||||
|
||||
typedef struct PicContext {
|
||||
int width, height;
|
||||
|
@ -21,15 +21,13 @@
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
#include "libavutil/imgutils.h"
|
||||
#include "libavutil/intmath.h"
|
||||
#include "libavutil/opt.h"
|
||||
|
||||
#include "avcodec.h"
|
||||
#include "bytestream.h"
|
||||
#include "codec_internal.h"
|
||||
#include "decode.h"
|
||||
#include "get_bits.h"
|
||||
#include "internal.h"
|
||||
#include "thread.h"
|
||||
#include "unary.h"
|
||||
|
||||
|
@ -34,7 +34,7 @@
|
||||
#include "avcodec.h"
|
||||
#include "bytestream.h"
|
||||
#include "codec_internal.h"
|
||||
#include "internal.h"
|
||||
#include "decode.h"
|
||||
#include "apng.h"
|
||||
#include "png.h"
|
||||
#include "pngdsp.h"
|
||||
|
@ -26,7 +26,7 @@
|
||||
#include "libavutil/imgutils.h"
|
||||
#include "libavutil/avstring.h"
|
||||
#include "avcodec.h"
|
||||
#include "internal.h"
|
||||
#include "decode.h"
|
||||
#include "pnm.h"
|
||||
|
||||
static inline int pnm_space(int c)
|
||||
|
@ -35,12 +35,11 @@
|
||||
|
||||
#include "avcodec.h"
|
||||
#include "codec_internal.h"
|
||||
#include "decode.h"
|
||||
#include "get_bits.h"
|
||||
#include "hwconfig.h"
|
||||
#include "idctdsp.h"
|
||||
#include "internal.h"
|
||||
#include "profiles.h"
|
||||
#include "simple_idct.h"
|
||||
#include "proresdec.h"
|
||||
#include "proresdata.h"
|
||||
#include "thread.h"
|
||||
|
@ -22,7 +22,6 @@
|
||||
#include "bytestream.h"
|
||||
#include "codec_internal.h"
|
||||
#include "decode.h"
|
||||
#include "internal.h"
|
||||
|
||||
enum PsdCompr {
|
||||
PSD_RAW,
|
||||
|
@ -24,7 +24,6 @@
|
||||
#include "avcodec.h"
|
||||
#include "codec_internal.h"
|
||||
#include "decode.h"
|
||||
#include "internal.h"
|
||||
|
||||
static int ptx_decode_frame(AVCodecContext *avctx, AVFrame *p,
|
||||
int *got_frame, AVPacket *avpkt)
|
||||
|
@ -32,7 +32,6 @@
|
||||
#include "bytestream.h"
|
||||
#include "codec_internal.h"
|
||||
#include "decode.h"
|
||||
#include "internal.h"
|
||||
|
||||
enum QuickdrawOpcodes {
|
||||
CLIP = 0x0001,
|
||||
|
@ -18,13 +18,10 @@
|
||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
*/
|
||||
|
||||
#include <stdlib.h>
|
||||
|
||||
#include "libavutil/imgutils.h"
|
||||
#include "avcodec.h"
|
||||
#include "internal.h"
|
||||
#include "bytestream.h"
|
||||
#include "codec_internal.h"
|
||||
#include "decode.h"
|
||||
#include "thread.h"
|
||||
#include "qoi.h"
|
||||
|
||||
|
@ -29,7 +29,6 @@
|
||||
#include "bytestream.h"
|
||||
#include "codec_internal.h"
|
||||
#include "decode.h"
|
||||
#include "internal.h"
|
||||
#include "zlib_wrapper.h"
|
||||
|
||||
#include <zlib.h>
|
||||
|
@ -26,8 +26,6 @@
|
||||
* @see http://wiki.multimedia.cx/index.php?title=RL2
|
||||
*/
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
||||
#include "libavutil/internal.h"
|
||||
@ -36,7 +34,6 @@
|
||||
#include "avcodec.h"
|
||||
#include "codec_internal.h"
|
||||
#include "decode.h"
|
||||
#include "internal.h"
|
||||
|
||||
|
||||
#define EXTRADATA1_SIZE (6 + 256 * 3) ///< video base, clr count, palette
|
||||
|
@ -32,11 +32,11 @@
|
||||
|
||||
#include "avcodec.h"
|
||||
#include "codec_internal.h"
|
||||
#include "decode.h"
|
||||
#include "error_resilience.h"
|
||||
#include "h263.h"
|
||||
#include "h263data.h"
|
||||
#include "h263dec.h"
|
||||
#include "internal.h"
|
||||
#include "mpeg_er.h"
|
||||
#include "mpegutils.h"
|
||||
#include "mpegvideo.h"
|
||||
|
@ -29,15 +29,14 @@
|
||||
#include "libavutil/internal.h"
|
||||
#include "libavutil/mem_internal.h"
|
||||
#include "libavutil/thread.h"
|
||||
#include "libavutil/video_enc_params.h"
|
||||
|
||||
#include "avcodec.h"
|
||||
#include "decode.h"
|
||||
#include "error_resilience.h"
|
||||
#include "mpegutils.h"
|
||||
#include "mpegvideo.h"
|
||||
#include "mpegvideodec.h"
|
||||
#include "golomb.h"
|
||||
#include "internal.h"
|
||||
#include "mathops.h"
|
||||
#include "mpeg_er.h"
|
||||
#include "qpeldsp.h"
|
||||
|
@ -21,15 +21,12 @@
|
||||
*/
|
||||
|
||||
#include "libavutil/avassert.h"
|
||||
#include "libavutil/bswap.h"
|
||||
#include "libavutil/imgutils.h"
|
||||
|
||||
#include "avcodec.h"
|
||||
#include "bytestream.h"
|
||||
#include "copy_block.h"
|
||||
#include "codec_internal.h"
|
||||
#include "decode.h"
|
||||
#include "internal.h"
|
||||
|
||||
#define NGLYPHS 256
|
||||
#define GLYPH_COORD_VECT_SIZE 16
|
||||
|
@ -24,7 +24,6 @@
|
||||
#include "bytestream.h"
|
||||
#include "codec_internal.h"
|
||||
#include "decode.h"
|
||||
#include "internal.h"
|
||||
|
||||
#define PALDATA_FOLLOWS_TILEDATA 4
|
||||
#define HAVE_COMPRESSED_TILEMAP 32
|
||||
|
@ -19,12 +19,10 @@
|
||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
*/
|
||||
|
||||
#include "libavutil/imgutils.h"
|
||||
#include "avcodec.h"
|
||||
#include "bytestream.h"
|
||||
#include "codec_internal.h"
|
||||
#include "decode.h"
|
||||
#include "internal.h"
|
||||
#include "sgi.h"
|
||||
|
||||
typedef struct SgiState {
|
||||
|
@ -21,11 +21,9 @@
|
||||
|
||||
#include "libavutil/common.h"
|
||||
#include "libavutil/intreadwrite.h"
|
||||
#include "libavutil/imgutils.h"
|
||||
#include "avcodec.h"
|
||||
#include "codec_internal.h"
|
||||
#include "decode.h"
|
||||
#include "internal.h"
|
||||
#include "sunrast.h"
|
||||
|
||||
static int sunrast_decode_frame(AVCodecContext *avctx, AVFrame *p,
|
||||
|
@ -41,7 +41,6 @@
|
||||
#include "get_bits.h"
|
||||
#include "h263data.h"
|
||||
#include "hpeldsp.h"
|
||||
#include "internal.h"
|
||||
#include "mathops.h"
|
||||
#include "svq1.h"
|
||||
|
||||
|
@ -48,7 +48,6 @@
|
||||
|
||||
#include "codec_internal.h"
|
||||
#include "decode.h"
|
||||
#include "internal.h"
|
||||
#include "avcodec.h"
|
||||
#include "mpegutils.h"
|
||||
#include "h264data.h"
|
||||
@ -66,8 +65,6 @@
|
||||
#include <zlib.h>
|
||||
#endif
|
||||
|
||||
#include "svq1.h"
|
||||
|
||||
/**
|
||||
* @file
|
||||
* svq3 decoder.
|
||||
|
@ -19,13 +19,10 @@
|
||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
*/
|
||||
|
||||
#include "libavutil/intreadwrite.h"
|
||||
#include "libavutil/imgutils.h"
|
||||
#include "avcodec.h"
|
||||
#include "bytestream.h"
|
||||
#include "codec_internal.h"
|
||||
#include "decode.h"
|
||||
#include "internal.h"
|
||||
#include "targa.h"
|
||||
|
||||
typedef struct TargaContext {
|
||||
|
@ -42,7 +42,6 @@
|
||||
#include "bytestream.h"
|
||||
#include "codec_internal.h"
|
||||
#include "decode.h"
|
||||
#include "internal.h"
|
||||
|
||||
#define BITMAPINFOHEADER_SIZE 0x28
|
||||
#define TDSF_HEADER_SIZE 0x56
|
||||
|
@ -29,7 +29,6 @@
|
||||
#include "codec_internal.h"
|
||||
#include "decode.h"
|
||||
#include "get_bits.h"
|
||||
#include "internal.h"
|
||||
|
||||
|
||||
typedef struct SeqVideoContext {
|
||||
|
@ -34,19 +34,16 @@
|
||||
#endif
|
||||
|
||||
#include "libavutil/attributes.h"
|
||||
#include "libavutil/avstring.h"
|
||||
#include "libavutil/error.h"
|
||||
#include "libavutil/intreadwrite.h"
|
||||
#include "libavutil/imgutils.h"
|
||||
#include "libavutil/opt.h"
|
||||
#include "libavutil/reverse.h"
|
||||
#include "avcodec.h"
|
||||
#include "bytestream.h"
|
||||
#include "codec_internal.h"
|
||||
#include "decode.h"
|
||||
#include "faxcompr.h"
|
||||
#include "internal.h"
|
||||
#include "lzw.h"
|
||||
#include "mathops.h"
|
||||
#include "tiff.h"
|
||||
#include "tiff_data.h"
|
||||
#include "mjpegdec.h"
|
||||
|
@ -36,7 +36,6 @@
|
||||
#include "avcodec.h"
|
||||
#include "codec_internal.h"
|
||||
#include "decode.h"
|
||||
#include "internal.h"
|
||||
#include "libavutil/imgutils.h"
|
||||
#include "libavutil/internal.h"
|
||||
#include "libavutil/intreadwrite.h"
|
||||
|
@ -18,11 +18,6 @@
|
||||
* 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"
|
||||
|
||||
@ -31,7 +26,6 @@
|
||||
#include "codec_internal.h"
|
||||
#include "decode.h"
|
||||
#include "get_bits.h"
|
||||
#include "internal.h"
|
||||
|
||||
typedef struct TrueMotion2RTContext {
|
||||
GetBitContext gb;
|
||||
|
@ -21,13 +21,10 @@
|
||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
*/
|
||||
|
||||
#include "libavutil/intreadwrite.h"
|
||||
#include "libavutil/imgutils.h"
|
||||
#include "bytestream.h"
|
||||
#include "avcodec.h"
|
||||
#include "codec_internal.h"
|
||||
#include "decode.h"
|
||||
#include "internal.h"
|
||||
#include "texturedsp.h"
|
||||
|
||||
#define TXD_DXT1 0x31545844
|
||||
|
@ -28,7 +28,7 @@
|
||||
#include <fcntl.h>
|
||||
#include <poll.h>
|
||||
#include "libavcodec/avcodec.h"
|
||||
#include "libavcodec/internal.h"
|
||||
#include "decode.h"
|
||||
#include "v4l2_buffers.h"
|
||||
#include "v4l2_fmt.h"
|
||||
#include "v4l2_m2m.h"
|
||||
|
@ -27,7 +27,6 @@
|
||||
#include "bytestream.h"
|
||||
#include "codec_internal.h"
|
||||
#include "decode.h"
|
||||
#include "internal.h"
|
||||
#include "texturedsp.h"
|
||||
#include "vbn.h"
|
||||
#include "libavutil/imgutils.h"
|
||||
|
@ -28,7 +28,6 @@
|
||||
|
||||
#include "libavutil/attributes.h"
|
||||
#include "libavutil/thread.h"
|
||||
#include "internal.h"
|
||||
#include "avcodec.h"
|
||||
#include "decode.h"
|
||||
#include "mpegvideo.h"
|
||||
|
@ -32,8 +32,7 @@
|
||||
|
||||
#include "config_components.h"
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <stddef.h>
|
||||
#include <string.h>
|
||||
|
||||
#include "libavutil/imgutils.h"
|
||||
@ -44,7 +43,6 @@
|
||||
#include "decode.h"
|
||||
#include "get_bits.h"
|
||||
#include "hpeldsp.h"
|
||||
#include "internal.h"
|
||||
#include "mathops.h"
|
||||
#include "thread.h"
|
||||
#include "threadframe.h"
|
||||
|
@ -23,12 +23,11 @@
|
||||
* VP5 compatible video decoder
|
||||
*/
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
||||
#include "avcodec.h"
|
||||
#include "codec_internal.h"
|
||||
#include "internal.h"
|
||||
#include "decode.h"
|
||||
|
||||
#include "vp56.h"
|
||||
#include "vp56data.h"
|
||||
|
@ -26,7 +26,6 @@
|
||||
#include "avcodec.h"
|
||||
#include "bytestream.h"
|
||||
#include "decode.h"
|
||||
#include "internal.h"
|
||||
#include "h264chroma.h"
|
||||
#include "vp56.h"
|
||||
#include "vp56data.h"
|
||||
|
@ -31,9 +31,9 @@
|
||||
|
||||
#include "avcodec.h"
|
||||
#include "codec_internal.h"
|
||||
#include "decode.h"
|
||||
#include "get_bits.h"
|
||||
#include "huffman.h"
|
||||
#include "internal.h"
|
||||
|
||||
#include "vp56.h"
|
||||
#include "vp56data.h"
|
||||
|
@ -26,16 +26,13 @@
|
||||
|
||||
#include "config_components.h"
|
||||
|
||||
#include "libavutil/imgutils.h"
|
||||
#include "libavutil/mem_internal.h"
|
||||
|
||||
#include "avcodec.h"
|
||||
#include "codec_internal.h"
|
||||
#include "decode.h"
|
||||
#include "hwconfig.h"
|
||||
#include "internal.h"
|
||||
#include "mathops.h"
|
||||
#include "rectangle.h"
|
||||
#include "thread.h"
|
||||
#include "threadframe.h"
|
||||
#include "vp8.h"
|
||||
|
@ -25,9 +25,9 @@
|
||||
|
||||
#include "avcodec.h"
|
||||
#include "codec_internal.h"
|
||||
#include "decode.h"
|
||||
#include "get_bits.h"
|
||||
#include "hwconfig.h"
|
||||
#include "internal.h"
|
||||
#include "profiles.h"
|
||||
#include "thread.h"
|
||||
#include "threadframe.h"
|
||||
|
@ -70,16 +70,13 @@
|
||||
*/
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
||||
#include "libavutil/intreadwrite.h"
|
||||
#include "libavutil/imgutils.h"
|
||||
#include "avcodec.h"
|
||||
#include "bytestream.h"
|
||||
#include "codec_internal.h"
|
||||
#include "decode.h"
|
||||
#include "internal.h"
|
||||
|
||||
#define PALETTE_COUNT 256
|
||||
#define VQA_HEADER_SIZE 0x2A
|
||||
|
@ -21,7 +21,7 @@
|
||||
#include "avcodec.h"
|
||||
#include "bytestream.h"
|
||||
#include "codec_internal.h"
|
||||
#include "internal.h"
|
||||
#include "decode.h"
|
||||
#include "thread.h"
|
||||
|
||||
static unsigned int getv(GetByteContext * gb)
|
||||
|
@ -46,9 +46,9 @@
|
||||
#include "avcodec.h"
|
||||
#include "bytestream.h"
|
||||
#include "codec_internal.h"
|
||||
#include "decode.h"
|
||||
#include "exif.h"
|
||||
#include "get_bits.h"
|
||||
#include "internal.h"
|
||||
#include "thread.h"
|
||||
#include "tiff_common.h"
|
||||
#include "vp8.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