Go to the source code of this file.
|
static av_cold int | mp_decode_init (AVCodecContext *avctx) |
|
static void | mp_read_changes_map (MotionPixelsContext *mp, GetBitContext *gb, int count, int bits_len, int read_color) |
|
static int | mp_get_code (MotionPixelsContext *mp, GetBitContext *gb, int size, int code) |
|
static int | mp_read_codes_table (MotionPixelsContext *mp, GetBitContext *gb) |
|
static int | mp_gradient (MotionPixelsContext *mp, int component, int v) |
|
static YuvPixel | mp_get_yuv_from_rgb (MotionPixelsContext *mp, int x, int y) |
|
static void | mp_set_rgb_from_yuv (MotionPixelsContext *mp, int x, int y, const YuvPixel *p) |
|
static int | mp_get_vlc (MotionPixelsContext *mp, GetBitContext *gb) |
|
static void | mp_decode_line (MotionPixelsContext *mp, GetBitContext *gb, int y) |
|
static void | mp_decode_frame_helper (MotionPixelsContext *mp, GetBitContext *gb) |
|
static int | mp_decode_frame (AVCodecContext *avctx, void *data, int *got_frame, AVPacket *avpkt) |
|
static av_cold int | mp_decode_end (AVCodecContext *avctx) |
|
#define MAX_HUFF_CODES 16 |
Initial value:= {
.name = "motionpixels",
}
static av_cold int init(AVCodecContext *avctx)
#define CODEC_CAP_DR1
Codec uses get_buffer() for allocating buffers and supports custom allocators.
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
struct MotionPixelsContext MotionPixelsContext
static int mp_decode_frame(AVCodecContext *avctx, void *data, int *got_frame, AVPacket *avpkt)
static av_cold int mp_decode_init(AVCodecContext *avctx)
static void close(AVCodecParserContext *s)
static av_cold int mp_decode_end(AVCodecContext *avctx)
static int decode(AVCodecContext *avctx, void *data, int *got_frame, AVPacket *avpkt)
Definition at line 333 of file motionpixels.c.