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, ptrdiff_t dst_stride, const unsigned char *src, ptrdiff_t 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) |
|
◆ EA_PREAMBLE_SIZE
#define EA_PREAMBLE_SIZE 8 |
◆ MVIh_TAG
#define MVIh_TAG MKTAG('M', 'V', 'I', 'h') |
◆ cmv_decode_init()
◆ cmv_decode_intra()
◆ cmv_motcomp()
static void cmv_motcomp |
( |
unsigned char * |
dst, |
|
|
ptrdiff_t |
dst_stride, |
|
|
const unsigned char * |
src, |
|
|
ptrdiff_t |
src_stride, |
|
|
int |
x, |
|
|
int |
y, |
|
|
int |
xoffset, |
|
|
int |
yoffset, |
|
|
int |
width, |
|
|
int |
height |
|
) |
| |
|
static |
◆ cmv_decode_inter()
◆ cmv_process_header()
◆ cmv_decode_frame()
◆ cmv_decode_end()
◆ ff_eacmv_decoder
Initial value:= {
.name = "eacmv",
}
static av_cold int init(AVCodecContext *avctx)
static void decode(AVCodecContext *dec_ctx, AVPacket *pkt, AVFrame *frame, FILE *outfile)
#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 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.