FFmpeg
|
#include "config_components.h"
#include <stddef.h>
#include <string.h>
#include "libavutil/imgutils.h"
#include "libavutil/mem_internal.h"
#include "avcodec.h"
#include "codec_internal.h"
#include "decode.h"
#include "get_bits.h"
#include "hpeldsp.h"
#include "jpegquanttables.h"
#include "mathops.h"
#include "thread.h"
#include "threadframe.h"
#include "videodsp.h"
#include "vp3data.h"
#include "vp4data.h"
#include "vp3dsp.h"
#include "xiph.h"
Go to the source code of this file.
Data Structures | |
struct | Vp3Fragment |
struct | VP4Predictor |
struct | HuffEntry |
struct | HuffTable |
Used to store optimal huffman encoding results. More... | |
struct | Vp3DecodeContext |
Macros | |
#define | VP3_MV_VLC_BITS 6 |
#define | VP4_MV_VLC_BITS 6 |
#define | SUPERBLOCK_VLC_BITS 6 |
#define | FRAGMENT_PIXELS 8 |
#define | SB_NOT_CODED 0 |
#define | SB_PARTIALLY_CODED 1 |
#define | SB_FULLY_CODED 2 |
#define | MAXIMUM_LONG_BIT_RUN 4129 |
#define | MODE_INTER_NO_MV 0 |
#define | MODE_INTRA 1 |
#define | MODE_INTER_PLUS_MV 2 |
#define | MODE_INTER_LAST_MV 3 |
#define | MODE_INTER_PRIOR_LAST 4 |
#define | MODE_USING_GOLDEN 5 |
#define | MODE_GOLDEN_MV 6 |
#define | MODE_INTER_FOURMV 7 |
#define | CODING_MODE_COUNT 8 |
#define | MODE_COPY 8 |
#define | MIN_DEQUANT_VAL 2 |
#define | TOKEN_EOB(eob_run) ((eob_run) << 2) |
#define | TOKEN_ZERO_RUN(coeff, zero_run) (((coeff) * 512) + ((zero_run) << 2) + 1) |
#define | TOKEN_COEFF(coeff) (((coeff) * 4) + 2) |
#define | BLOCK_X (2 * mb_x + (k & 1)) |
#define | BLOCK_Y (2 * mb_y + (k >> 1)) |
#define | SET_CHROMA_MODES |
#define | COMPATIBLE_FRAME(x) (compatible_frame[s->all_fragments[x].coding_method] == current_frame_type) |
#define | DC_COEFF(u) s->all_fragments[u].dc |
#define | PUL 8 |
#define | PU 4 |
#define | PUR 2 |
#define | PL 1 |
#define | TRANSPOSE(x) (((x) >> 3) | (((x) & 7) << 3)) |
Enumerations | |
enum | { VP4_DC_INTRA = 0, VP4_DC_INTER = 1, VP4_DC_GOLDEN = 2, NB_VP4_DC_TYPES, VP4_DC_UNDEFINED = NB_VP4_DC_TYPES } |
Variables | |
static const int | ModeAlphabet [6][CODING_MODE_COUNT] |
static const uint8_t | hilbert_offset [16][2] |
static const uint8_t | vp4_pred_block_type_map [8] |
const FFCodec | ff_vp3_decoder |
On2 VP3/VP4 Video Decoder
VP3 Video Decoder by Mike Melanson (mike at multimedia.cx) For more information about the VP3 coding process, visit: http://wiki.multimedia.cx/index.php?title=On2_VP3
Theora decoder by Alex Beregszaszi
Definition in file vp3.c.
#define SET_CHROMA_MODES |
#define COMPATIBLE_FRAME | ( | x | ) | (compatible_frame[s->all_fragments[x].coding_method] == current_frame_type) |
#define PUL 8 |
#define PU 4 |
#define PUR 2 |
#define PL 1 |
#define TRANSPOSE | ( | x | ) | (((x) >> 3) | (((x) & 7) << 3)) |
anonymous enum |
|
static |
Referenced by vp3_decode_frame().
|
static |
Referenced by vp3_decode_frame().
|
static |
Definition at line 318 of file vp3.c.
Referenced by allocate_tables(), and vp3_decode_end().
|
static |
Definition at line 334 of file vp3.c.
Referenced by vp3_decode_end().
|
static |
Definition at line 346 of file vp3.c.
Referenced by vp3_decode_frame().
|
static |
This function sets up all of the various blocks mappings: superblocks <-> fragments, macroblocks <-> fragments, superblocks <-> macroblocks.
Definition at line 386 of file vp3.c.
Referenced by allocate_tables().
|
static |
|
static |
|
static |
|
static |
|
static |
Definition at line 895 of file vp3.c.
Referenced by unpack_vectors().
|
static |
|
static |
|
inlinestatic |
Definition at line 1147 of file vp3.c.
Referenced by unpack_vlcs().
|
inlinestatic |
Definition at line 1155 of file vp3.c.
Referenced by unpack_vlcs().
|
static |
Definition at line 1183 of file vp3.c.
Referenced by unpack_dct_coeffs().
|
static |
Definition at line 1646 of file vp3.c.
Referenced by unpack_dct_coeffs().
|
static |
|
static |
Definition at line 1796 of file vp3.c.
Referenced by render_slice(), and vc1_decode_p_blocks().
|
inlinestatic |
Pull DCT tokens from the 64 levels to decode and dequant the coefficients for the next block in coding order.
Definition at line 1863 of file vp3.c.
Referenced by render_slice().
|
static |
called when all pixels up to row y are complete
Definition at line 1908 of file vp3.c.
Referenced by render_slice().
|
static |
Wait for the reference frame of the current fragment.
The progress value is in luma pixel rows.
Definition at line 1950 of file vp3.c.
Referenced by render_slice().
|
static |
|
static |
Allocate tables for per-frame data in Vp3DecodeContext.
Definition at line 2272 of file vp3.c.
Referenced by vp3_decode_init().
|
static |
Definition at line 2315 of file vp3.c.
Referenced by vp3_decode_init().
|
static |
Definition at line 2327 of file vp3.c.
Referenced by vp3_decode_frame().
|
static |
|
static |
|
static |
|
static |
Definition at line 96 of file vp3.c.
Referenced by unpack_modes().
|
static |
Definition at line 134 of file vp3.c.
Referenced by init_block_mapping(), and render_slice().
|
static |
const FFCodec ff_vp3_decoder |