Electronic Arts CMV Video Decoder by Peter Ross (pross.nosp@m.@xvi.nosp@m.d.org)
More...
#include "libavutil/common.h"
#include "libavutil/intreadwrite.h"
#include "libavutil/imgutils.h"
#include "avcodec.h"
#include "internal.h"
Go to the source code of this file.
Functions |
static av_cold int | cmv_decode_init (AVCodecContext *avctx) |
static void | cmv_decode_intra (CmvContext *s, 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, 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) |
Detailed Description
Macro Definition Documentation
#define EA_PREAMBLE_SIZE 8 |
#define MVIh_TAG MKTAG('M', 'V', 'I', 'h') |
Typedef Documentation
Function Documentation
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 |
Variable Documentation
Initial value:
Definition at line 228 of file eacmv.c.