FFmpeg
|
xxan.c File Reference
#include "avcodec.h"
#include "libavutil/intreadwrite.h"
#include "libavutil/mem.h"
#include "bytestream.h"
#include "get_bits.h"
#include "internal.h"
Include dependency graph for xxan.c:
Go to the source code of this file.
Data Structures | |
struct | XanContext |
Macros | |
#define | BITSTREAM_READER_LE |
Typedefs | |
typedef struct XanContext | XanContext |
Functions | |
static av_cold int | xan_decode_end (AVCodecContext *avctx) |
static av_cold int | xan_decode_init (AVCodecContext *avctx) |
static int | xan_unpack_luma (XanContext *s, uint8_t *dst, const int dst_size) |
static int | xan_unpack (XanContext *s, uint8_t *dest, const int dest_len) |
static int | xan_decode_chroma (AVCodecContext *avctx, unsigned chroma_off) |
static int | xan_decode_frame_type0 (AVCodecContext *avctx) |
static int | xan_decode_frame_type1 (AVCodecContext *avctx) |
static int | xan_decode_frame (AVCodecContext *avctx, void *data, int *got_frame, AVPacket *avpkt) |
Variables | |
AVCodec | ff_xan_wc4_decoder |
Macro Definition Documentation
Typedef Documentation
typedef struct XanContext XanContext |
Function Documentation
|
static |
Definition at line 170 of file xxan.c.
Referenced by xan_decode_frame_type0(), and xan_decode_frame_type1().
|
static |
Definition at line 430 of file xxan.c.
Referenced by xan_decode_init().
|
static |
|
static |
Definition at line 268 of file xxan.c.
Referenced by xan_decode_frame().
|
static |
Definition at line 349 of file xxan.c.
Referenced by xan_decode_frame().
|
static |
|
static |
Definition at line 117 of file xxan.c.
Referenced by xan_decode_chroma(), and xan_decode_frame_type0().
|
static |
Definition at line 75 of file xxan.c.
Referenced by xan_decode_frame_type0(), and xan_decode_frame_type1().
Variable Documentation
AVCodec ff_xan_wc4_decoder |
Initial value:
= {
.name = "xan_wc4",
.type = AVMEDIA_TYPE_VIDEO,
.id = AV_CODEC_ID_XAN_WC4,
.priv_data_size = sizeof(XanContext),
.init = xan_decode_init,
.close = xan_decode_end,
.capabilities = CODEC_CAP_DR1,
.long_name = NULL_IF_CONFIG_SMALL("Wing Commander IV / Xxan"),
}
Definition: libavcodec/avcodec.h:144
#define CODEC_CAP_DR1
Codec uses get_buffer() for allocating buffers and supports custom allocators.
Definition: libavcodec/avcodec.h:743
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
Definition: libavutil/internal.h:123
static int xan_decode_frame(AVCodecContext *avctx, void *data, int *got_frame, AVPacket *avpkt)
Definition: xxan.c:395
struct XanContext XanContext
Definition: avutil.h:143
static int decode(AVCodecContext *avctx, void *data, int *got_frame, AVPacket *avpkt)
Definition: crystalhd.c:868
Generated on Mon Nov 18 2024 06:52:10 for FFmpeg by 1.8.11