FFmpeg
|
eacmv.c File Reference
Electronic Arts CMV Video Decoder by Peter Ross (pross) @xvi d.orgMore...
#include "libavutil/common.h"
#include "libavutil/intreadwrite.h"
#include "libavutil/imgutils.h"
#include "avcodec.h"
#include "internal.h"
Include dependency graph for eacmv.c:
Go to the source code of this file.
Data Structures | |
struct | CmvContext |
Macros | |
#define | EA_PREAMBLE_SIZE 8 |
#define | MVIh_TAG MKTAG('M', 'V', 'I', 'h') |
Typedefs | |
typedef struct CmvContext | CmvContext |
Functions | |
static av_cold int | cmv_decode_init (AVCodecContext *avctx) |
static void | cmv_decode_intra (CmvContext *s, AVFrame *frame, const uint8_t *buf, const uint8_t *buf_end) |
static void | cmv_motcomp (unsigned char *dst, int dst_stride, const unsigned char *src, int src_stride, int x, int y, int xoffset, int yoffset, int width, int height) |
static void | cmv_decode_inter (CmvContext *s, AVFrame *frame, const uint8_t *buf, const uint8_t *buf_end) |
static void | cmv_process_header (CmvContext *s, const uint8_t *buf, const uint8_t *buf_end) |
static int | cmv_decode_frame (AVCodecContext *avctx, void *data, int *got_frame, AVPacket *avpkt) |
static av_cold int | cmv_decode_end (AVCodecContext *avctx) |
Variables | |
AVCodec | ff_eacmv_decoder |
Detailed Description
Electronic Arts CMV Video Decoder by Peter Ross (pross) @xvi d.org
Technical details here: http://wiki.multimedia.cx/index.php?title=Electronic_Arts_CMV
Definition in file eacmv.c.
Macro Definition Documentation
#define EA_PREAMBLE_SIZE 8 |
Definition at line 163 of file eacmv.c.
Referenced by cmv_decode_frame().
Definition at line 164 of file eacmv.c.
Referenced by cmv_decode_frame().
Typedef Documentation
typedef struct CmvContext CmvContext |
Function Documentation
|
static |
|
static |
|
static |
|
static |
Definition at line 94 of file eacmv.c.
Referenced by cmv_decode_frame().
|
static |
Definition at line 62 of file eacmv.c.
Referenced by cmv_decode_frame().
|
static |
Definition at line 75 of file eacmv.c.
Referenced by cmv_decode_inter().
|
static |
Definition at line 133 of file eacmv.c.
Referenced by cmv_decode_frame().
Variable Documentation
AVCodec ff_eacmv_decoder |
Initial value:
= {
.name = "eacmv",
.type = AVMEDIA_TYPE_VIDEO,
.id = AV_CODEC_ID_CMV,
.priv_data_size = sizeof(CmvContext),
.init = cmv_decode_init,
.close = cmv_decode_end,
.capabilities = CODEC_CAP_DR1,
.long_name = NULL_IF_CONFIG_SMALL("Electronic Arts CMV video"),
}
#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
struct CmvContext CmvContext
static int cmv_decode_frame(AVCodecContext *avctx, void *data, int *got_frame, AVPacket *avpkt)
Definition: eacmv.c:166
Definition: libavcodec/avcodec.h:221
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:05 for FFmpeg by 1.8.11