#include "avcodec.h"
#include "get_bits.h"
#include "dsputil.h"
#include "motionpixels_tablegen.h"
Go to the source code of this file.
#define MAX_HUFF_CODES 16 |
static av_cold int mp_decode_end | ( | AVCodecContext * | avctx | ) | [static] |
Definition at line 309 of file motionpixels.c.
static int mp_decode_frame | ( | AVCodecContext * | avctx, | |
void * | data, | |||
int * | data_size, | |||
AVPacket * | avpkt | |||
) | [static] |
static void mp_decode_frame_helper | ( | MotionPixelsContext * | mp, | |
GetBitContext * | gb | |||
) | [static] |
static av_cold int mp_decode_init | ( | AVCodecContext * | avctx | ) | [static] |
Definition at line 52 of file motionpixels.c.
static void mp_decode_line | ( | MotionPixelsContext * | mp, | |
GetBitContext * | gb, | |||
int | y | |||
) | [static] |
static void mp_get_code | ( | MotionPixelsContext * | mp, | |
GetBitContext * | gb, | |||
int | size, | |||
int | code | |||
) | [static] |
static int mp_get_vlc | ( | MotionPixelsContext * | mp, | |
GetBitContext * | gb | |||
) | [static] |
Definition at line 163 of file motionpixels.c.
Referenced by mp_decode_frame_helper(), and mp_decode_line().
static YuvPixel mp_get_yuv_from_rgb | ( | MotionPixelsContext * | mp, | |
int | x, | |||
int | y | |||
) | [static] |
Definition at line 147 of file motionpixels.c.
Referenced by mp_decode_frame_helper(), and mp_decode_line().
static int mp_gradient | ( | MotionPixelsContext * | mp, | |
int | component, | |||
int | v | |||
) | [static] |
Definition at line 138 of file motionpixels.c.
Referenced by mp_decode_frame_helper(), and mp_decode_line().
static void mp_read_changes_map | ( | MotionPixelsContext * | mp, | |
GetBitContext * | gb, | |||
int | count, | |||
int | bits_len, | |||
int | read_color | |||
) | [static] |
static void mp_read_codes_table | ( | MotionPixelsContext * | mp, | |
GetBitContext * | gb | |||
) | [static] |
static void mp_set_rgb_from_yuv | ( | MotionPixelsContext * | mp, | |
int | x, | |||
int | y, | |||
const YuvPixel * | p | |||
) | [static] |
Definition at line 155 of file motionpixels.c.
Referenced by mp_decode_frame_helper(), and mp_decode_line().
Initial value:
{ .name = "motionpixels", .type = AVMEDIA_TYPE_VIDEO, .id = CODEC_ID_MOTIONPIXELS, .priv_data_size = sizeof(MotionPixelsContext), .init = mp_decode_init, .close = mp_decode_end, .decode = mp_decode_frame, .capabilities = CODEC_CAP_DR1, .long_name = NULL_IF_CONFIG_SMALL("Motion Pixels video"), }
Definition at line 323 of file motionpixels.c.