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, AVFrame *frame, 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()
| static void cmv_decode_intra |
( |
CmvContext * | s, |
|
|
AVFrame * | frame, |
|
|
const uint8_t * | buf, |
|
|
const uint8_t * | buf_end ) |
|
static |
◆ 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()
| static void cmv_decode_inter |
( |
CmvContext * | s, |
|
|
AVFrame * | frame, |
|
|
const uint8_t * | buf, |
|
|
const uint8_t * | buf_end ) |
|
static |
◆ cmv_process_header()
| static int cmv_process_header |
( |
CmvContext * | s, |
|
|
const uint8_t * | buf, |
|
|
const uint8_t * | buf_end ) |
|
static |
◆ cmv_decode_frame()
◆ cmv_decode_end()
◆ ff_eacmv_decoder
Initial value:= {
.p.name = "eacmv",
}
static av_cold void close(AVCodecParserContext *s)
#define FF_CODEC_DECODE_CB(func)
#define CODEC_LONG_NAME(str)
#define FF_CODEC_CAP_INIT_CLEANUP
The codec allows calling the close function for deallocation even if the init function returned a fai...
int(* init)(AVBSFContext *ctx)
static av_cold int cmv_decode_init(AVCodecContext *avctx)
static av_cold int cmv_decode_end(AVCodecContext *avctx)
static int cmv_decode_frame(AVCodecContext *avctx, AVFrame *frame, int *got_frame, AVPacket *avpkt)
#define AV_CODEC_CAP_DR1
Codec uses get_buffer() or get_encode_buffer() for allocating buffers and supports custom allocators.
Definition at line 234 of file eacmv.c.