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:
Definition at line 236 of file eacmv.c.