Sorenson Vector Quantizer #1 (SVQ1) video codec. More...
#include "avcodec.h"
#include "dsputil.h"
#include "mpegvideo.h"
#include "mathops.h"
#include "svq1.h"
#include <assert.h>
Go to the source code of this file.
Data Structures | |
struct | svq1_pmv_s |
Macros | |
#define | SVQ1_PROCESS_VECTOR() |
#define | SVQ1_ADD_CODEBOOK() |
#define | SVQ1_DO_CODEBOOK_INTRA() |
#define | SVQ1_DO_CODEBOOK_NONINTRA() |
#define | SVQ1_CALC_CODEBOOK_ENTRIES(cbook) |
Typedefs | |
typedef struct svq1_pmv_s | svq1_pmv |
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 (MpegEncContext *s, GetBitContext *bitbuf, uint8_t *current, uint8_t *previous, int pitch, svq1_pmv *motion, int x, int y) |
static int | svq1_motion_inter_4v_block (MpegEncContext *s, GetBitContext *bitbuf, uint8_t *current, uint8_t *previous, int pitch, svq1_pmv *motion, int x, int y) |
static int | svq1_decode_delta_block (MpegEncContext *s, GetBitContext *bitbuf, uint8_t *current, uint8_t *previous, int pitch, svq1_pmv *motion, int x, int y) |
uint16_t | ff_svq1_packet_checksum (const uint8_t *data, const int length, int value) |
static void | svq1_parse_string (GetBitContext *bitbuf, uint8_t *out) |
static int | svq1_decode_frame_header (GetBitContext *bitbuf, MpegEncContext *s) |
static int | svq1_decode_frame (AVCodecContext *avctx, void *data, int *data_size, AVPacket *avpkt) |
static av_cold int | svq1_decode_init (AVCodecContext *avctx) |
static av_cold int | svq1_decode_end (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 uint16_t | checksum_table [256] |
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 | ( | ) |
#define SVQ1_CALC_CODEBOOK_ENTRIES | ( | cbook | ) |
Definition at line 196 of file svq1dec.c.
Referenced by svq1_decode_block_intra(), and svq1_decode_block_non_intra().
#define SVQ1_DO_CODEBOOK_INTRA | ( | ) |
Definition at line 170 of file svq1dec.c.
Referenced by svq1_decode_block_intra().
#define SVQ1_DO_CODEBOOK_NONINTRA | ( | ) |
Definition at line 182 of file svq1dec.c.
Referenced by svq1_decode_block_non_intra().
#define SVQ1_PROCESS_VECTOR | ( | ) |
Definition at line 131 of file svq1dec.c.
Referenced by svq1_decode_block_intra(), and svq1_decode_block_non_intra().
typedef struct svq1_pmv_s svq1_pmv |
uint16_t ff_svq1_packet_checksum | ( | const uint8_t * | data, |
const int | length, | ||
int | value | ||
) |
Definition at line 527 of file svq1dec.c.
Referenced by svq1_decode_frame_header(), and svq3_decode_init().
|
static |
Definition at line 207 of file svq1dec.c.
Referenced by svq1_decode_delta_block(), and svq1_decode_frame().
|
static |
Definition at line 262 of file svq1dec.c.
Referenced by svq1_decode_delta_block().
|
static |
Definition at line 473 of file svq1dec.c.
Referenced by svq1_decode_frame().
|
static |
|
static |
|
static |
Definition at line 551 of file svq1dec.c.
Referenced by svq1_decode_frame().
|
static |
|
static |
Definition at line 305 of file svq1dec.c.
Referenced by svq1_motion_inter_4v_block(), and svq1_motion_inter_block().
|
static |
XXX /FIXME clipping or padding?
Definition at line 389 of file svq1dec.c.
Referenced by svq1_decode_delta_block().
|
static |
Definition at line 344 of file svq1dec.c.
Referenced by svq1_decode_delta_block().
|
static |
Definition at line 537 of file svq1dec.c.
Referenced by svq1_decode_frame_header().
|
static |
Definition at line 329 of file svq1dec.c.
Referenced by svq1_decode_delta_block().
|
static |
Definition at line 61 of file svq1dec.c.
Referenced by ff_svq1_packet_checksum().
const uint8_t ff_mvtab[33][2] |
Definition at line 91 of file h263data.h.
AVCodec ff_svq1_decoder |
|
static |
Definition at line 96 of file svq1dec.c.
Referenced by svq1_parse_string().