Electronic Arts CMV Video Decoder by Peter Ross (pross.nosp@m.@xvi.nosp@m.d.org)
More...
Go to the source code of this file.
|
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 int | 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) |
|
#define EA_PREAMBLE_SIZE 8 |
#define MVIh_TAG MKTAG('M', 'V', 'I', 'h') |
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 |
Initial value:= {
.name = "eacmv",
}
static av_cold int init(AVCodecContext *avctx)
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
static av_cold int cmv_decode_init(AVCodecContext *avctx)
static int cmv_decode_frame(AVCodecContext *avctx, void *data, int *got_frame, AVPacket *avpkt)
static int decode(AVCodecContext *avctx, void *data, int *got_sub, AVPacket *avpkt)
static av_cold int cmv_decode_end(AVCodecContext *avctx)
#define AV_CODEC_CAP_DR1
Codec uses get_buffer() for allocating buffers and supports custom allocators.
Definition at line 236 of file eacmv.c.