Sorenson Vector Quantizer #1 (SVQ1) video codec. More...
#include "avcodec.h"
#include "dsputil.h"
#include "get_bits.h"
#include "internal.h"
#include "mathops.h"
#include "svq1.h"
#include <assert.h>
Go to the source code of this file.
Data Structures | |
struct | svq1_pmv_s |
struct | SVQ1Context |
Macros | |
#define | SVQ1_PROCESS_VECTOR() |
#define | SVQ1_ADD_CODEBOOK() |
#define | SVQ1_CALC_CODEBOOK_ENTRIES(cbook) |
Typedefs | |
typedef struct svq1_pmv_s | svq1_pmv |
typedef struct SVQ1Context | SVQ1Context |
Functions | |
static int | svq1_decode_block_intra (GetBitContext *bitbuf, uint8_t *pixels, int pitch) |
static int | svq1_decode_block_non_intra (GetBitContext *bitbuf, uint8_t *pixels, int pitch) |
static int | svq1_decode_motion_vector (GetBitContext *bitbuf, svq1_pmv *mv, svq1_pmv **pmv) |
static void | svq1_skip_block (uint8_t *current, uint8_t *previous, int pitch, int x, int y) |
static int | svq1_motion_inter_block (DSPContext *dsp, GetBitContext *bitbuf, uint8_t *current, uint8_t *previous, int pitch, svq1_pmv *motion, int x, int y, int width, int height) |
static int | svq1_motion_inter_4v_block (DSPContext *dsp, GetBitContext *bitbuf, uint8_t *current, uint8_t *previous, int pitch, svq1_pmv *motion, int x, int y, int width, int height) |
static int | svq1_decode_delta_block (AVCodecContext *avctx, DSPContext *dsp, GetBitContext *bitbuf, uint8_t *current, uint8_t *previous, int pitch, svq1_pmv *motion, int x, int y, int width, int height) |
static void | svq1_parse_string (GetBitContext *bitbuf, uint8_t *out) |
static int | svq1_decode_frame_header (AVCodecContext *avctx, AVFrame *frame) |
static int | svq1_decode_frame (AVCodecContext *avctx, void *data, int *got_frame, AVPacket *avpkt) |
static av_cold int | svq1_decode_init (AVCodecContext *avctx) |
static av_cold int | svq1_decode_end (AVCodecContext *avctx) |
static void | svq1_flush (AVCodecContext *avctx) |
Variables | |
const uint8_t | ff_mvtab [33][2] |
static VLC | svq1_block_type |
static VLC | svq1_motion_component |
static VLC | svq1_intra_multistage [6] |
static VLC | svq1_inter_multistage [6] |
static VLC | svq1_intra_mean |
static VLC | svq1_inter_mean |
static const uint8_t | string_table [256] |
AVCodec | ff_svq1_decoder |
Sorenson Vector Quantizer #1 (SVQ1) video codec.
For more information of the SVQ1 algorithm, visit: http://www.pcisys.net/~melanson/codecs/
Definition in file svq1dec.c.
#define SVQ1_ADD_CODEBOOK | ( | ) |
Definition at line 122 of file svq1dec.c.
Referenced by svq1_decode_block_intra(), and svq1_decode_block_non_intra().
#define SVQ1_CALC_CODEBOOK_ENTRIES | ( | cbook) |
Definition at line 145 of file svq1dec.c.
Referenced by svq1_decode_block_intra(), and svq1_decode_block_non_intra().
#define SVQ1_PROCESS_VECTOR | ( | ) |
Definition at line 105 of file svq1dec.c.
Referenced by svq1_decode_block_intra(), and svq1_decode_block_non_intra().
typedef struct svq1_pmv_s svq1_pmv |
typedef struct SVQ1Context SVQ1Context |
|
static |
Definition at line 157 of file svq1dec.c.
Referenced by svq1_decode_delta_block(), and svq1_decode_frame().
|
static |
Definition at line 222 of file svq1dec.c.
Referenced by svq1_decode_delta_block().
|
static |
Definition at line 448 of file svq1dec.c.
Referenced by svq1_decode_frame().
|
static |
|
static |
|
static |
Definition at line 519 of file svq1dec.c.
Referenced by svq1_decode_frame().
|
static |
|
static |
Definition at line 280 of file svq1dec.c.
Referenced by svq1_motion_inter_4v_block(), and svq1_motion_inter_block().
|
static |
|
static |
Definition at line 367 of file svq1dec.c.
Referenced by svq1_decode_delta_block().
|
static |
Definition at line 323 of file svq1dec.c.
Referenced by svq1_decode_delta_block().
|
static |
Definition at line 505 of file svq1dec.c.
Referenced by svq1_decode_frame_header().
|
static |
Definition at line 306 of file svq1dec.c.
Referenced by svq1_decode_delta_block().
const uint8_t ff_mvtab[33][2] |
Definition at line 91 of file h263data.h.
AVCodec ff_svq1_decoder |
|
static |
Definition at line 70 of file svq1dec.c.
Referenced by svq1_parse_string().