VP3 Video Decoder by Mike Melanson (mike at multimedia.cx) For more information about the VP3 coding process, visit: http://multimedia.cx/
Theora decoder by Alex Beregszaszi
Definition in file vp3.c.
Go to the source code of this file.
Classes | |
| struct | Coeff |
| struct | Vp3Fragment |
| struct | Vp3DecodeContext |
Functions | |
| static void | debug_vp3 (const char *format,...) |
| static void | debug_init (const char *format,...) |
| static void | debug_dequantizers (const char *format,...) |
| static void | debug_block_coding (const char *format,...) |
| static void | debug_modes (const char *format,...) |
| static void | debug_vectors (const char *format,...) |
| static void | debug_token (const char *format,...) |
| static void | debug_vlc (const char *format,...) |
| static void | debug_dc_pred (const char *format,...) |
| static void | debug_idct (const char *format,...) |
| static int | init_block_mapping (Vp3DecodeContext *s) |
| static void | init_frame (Vp3DecodeContext *s, GetBitContext *gb) |
| static void | init_dequantizer (Vp3DecodeContext *s) |
| static void | init_loop_filter (Vp3DecodeContext *s) |
| static int | unpack_superblocks (Vp3DecodeContext *s, GetBitContext *gb) |
| static int | unpack_modes (Vp3DecodeContext *s, GetBitContext *gb) |
| static int | unpack_vectors (Vp3DecodeContext *s, GetBitContext *gb) |
| static int | unpack_vlcs (Vp3DecodeContext *s, GetBitContext *gb, VLC *table, int coeff_index, int first_fragment, int last_fragment, int eob_run) |
| static int | unpack_dct_coeffs (Vp3DecodeContext *s, GetBitContext *gb) |
| static void | reverse_dc_prediction (Vp3DecodeContext *s, int first_fragment, int fragment_width, int fragment_height) |
| static void | horizontal_filter (unsigned char *first_pixel, int stride, int *bounding_values) |
| static void | vertical_filter (unsigned char *first_pixel, int stride, int *bounding_values) |
| static void | render_slice (Vp3DecodeContext *s, int slice) |
| static void | apply_loop_filter (Vp3DecodeContext *s) |
| static void | vp3_calculate_pixel_addresses (Vp3DecodeContext *s) |
| static void | theora_calculate_pixel_addresses (Vp3DecodeContext *s) |
| static int | vp3_decode_init (AVCodecContext *avctx) |
| static int | vp3_decode_frame (AVCodecContext *avctx, void *data, int *data_size, uint8_t *buf, int buf_size) |
| static int | vp3_decode_end (AVCodecContext *avctx) |
| static int | read_huffman_tree (AVCodecContext *avctx, GetBitContext *gb) |
| static int | theora_decode_header (AVCodecContext *avctx, GetBitContext *gb) |
| static int | theora_decode_tables (AVCodecContext *avctx, GetBitContext *gb) |
| static int | theora_decode_init (AVCodecContext *avctx) |
Variables | |
| static int | ModeAlphabet [7][CODING_MODE_COUNT] |
| AVCodec | theora_decoder |
| AVCodec | vp3_decoder |
| static void debug_vp3 | ( | const char * | format, | |
| ... | ||||
| ) | [inline, static] |
Definition at line 81 of file vp3.c.
Referenced by init_block_mapping(), init_dequantizer(), reverse_dc_prediction(), theora_decode_init(), unpack_dct_coeffs(), unpack_modes(), unpack_superblocks(), and unpack_vectors().
| static void debug_init | ( | const char * | format, | |
| ... | ||||
| ) | [inline, static] |
Definition at line 87 of file vp3.c.
Referenced by init_block_mapping(), theora_calculate_pixel_addresses(), vp3_calculate_pixel_addresses(), and vp3_decode_init().
| static void debug_dequantizers | ( | const char * | format, | |
| ... | ||||
| ) | [inline, static] |
| static void debug_block_coding | ( | const char * | format, | |
| ... | ||||
| ) | [inline, static] |
| static void debug_modes | ( | const char * | format, | |
| ... | ||||
| ) | [inline, static] |
| static void debug_vectors | ( | const char * | format, | |
| ... | ||||
| ) | [inline, static] |
| static void debug_token | ( | const char * | format, | |
| ... | ||||
| ) | [inline, static] |
| static void debug_vlc | ( | const char * | format, | |
| ... | ||||
| ) | [inline, static] |
| static void debug_dc_pred | ( | const char * | format, | |
| ... | ||||
| ) | [inline, static] |
| static void debug_idct | ( | const char * | format, | |
| ... | ||||
| ) | [inline, static] |
| static int init_block_mapping | ( | Vp3DecodeContext * | s | ) | [static] |
| static void init_frame | ( | Vp3DecodeContext * | s, | |
| GetBitContext * | gb | |||
| ) | [static] |
| static void init_dequantizer | ( | Vp3DecodeContext * | s | ) | [static] |
| static void init_loop_filter | ( | Vp3DecodeContext * | s | ) | [static] |
| static int unpack_superblocks | ( | Vp3DecodeContext * | s, | |
| GetBitContext * | gb | |||
| ) | [static] |
| static int unpack_modes | ( | Vp3DecodeContext * | s, | |
| GetBitContext * | gb | |||
| ) | [static] |
| static int unpack_vectors | ( | Vp3DecodeContext * | s, | |
| GetBitContext * | gb | |||
| ) | [static] |
| static int unpack_vlcs | ( | Vp3DecodeContext * | s, | |
| GetBitContext * | gb, | |||
| VLC * | table, | |||
| int | coeff_index, | |||
| int | first_fragment, | |||
| int | last_fragment, | |||
| int | eob_run | |||
| ) | [static] |
| static int unpack_dct_coeffs | ( | Vp3DecodeContext * | s, | |
| GetBitContext * | gb | |||
| ) | [static] |
| static void reverse_dc_prediction | ( | Vp3DecodeContext * | s, | |
| int | first_fragment, | |||
| int | fragment_width, | |||
| int | fragment_height | |||
| ) | [static] |
| static void horizontal_filter | ( | unsigned char * | first_pixel, | |
| int | stride, | |||
| int * | bounding_values | |||
| ) | [static] |
| static void vertical_filter | ( | unsigned char * | first_pixel, | |
| int | stride, | |||
| int * | bounding_values | |||
| ) | [static] |
| static void render_slice | ( | Vp3DecodeContext * | s, | |
| int | slice | |||
| ) | [static] |
| static void apply_loop_filter | ( | Vp3DecodeContext * | s | ) | [static] |
| static void vp3_calculate_pixel_addresses | ( | Vp3DecodeContext * | s | ) | [static] |
| static void theora_calculate_pixel_addresses | ( | Vp3DecodeContext * | s | ) | [static] |
| static int vp3_decode_init | ( | AVCodecContext * | avctx | ) | [static] |
| static int vp3_decode_frame | ( | AVCodecContext * | avctx, | |
| void * | data, | |||
| int * | data_size, | |||
| uint8_t * | buf, | |||
| int | buf_size | |||
| ) | [static] |
| static int vp3_decode_end | ( | AVCodecContext * | avctx | ) | [static] |
| static int read_huffman_tree | ( | AVCodecContext * | avctx, | |
| GetBitContext * | gb | |||
| ) | [static] |
| static int theora_decode_header | ( | AVCodecContext * | avctx, | |
| GetBitContext * | gb | |||
| ) | [static] |
| static int theora_decode_tables | ( | AVCodecContext * | avctx, | |
| GetBitContext * | gb | |||
| ) | [static] |
| static int theora_decode_init | ( | AVCodecContext * | avctx | ) | [static] |
int ModeAlphabet[7][CODING_MODE_COUNT] [static] |
Initial value:
{
"theora",
CODEC_TYPE_VIDEO,
CODEC_ID_THEORA,
sizeof(Vp3DecodeContext),
theora_decode_init,
NULL,
vp3_decode_end,
vp3_decode_frame,
0,
NULL
}
Initial value:
{
"vp3",
CODEC_TYPE_VIDEO,
CODEC_ID_VP3,
sizeof(Vp3DecodeContext),
vp3_decode_init,
NULL,
vp3_decode_end,
vp3_decode_frame,
0,
NULL
}
1.5.5