FFmpeg
|
#include "libavutil/crc.h"
#include "libavutil/mem.h"
#include "libavutil/thread.h"
#include "avcodec.h"
#include "codec_internal.h"
#include "decode.h"
#include "get_bits.h"
#include "h263data.h"
#include "hpeldsp.h"
#include "mathops.h"
#include "svq1.h"
Go to the source code of this file.
Data Structures | |
struct | svq1_pmv_s |
struct | SVQ1Context |
Macros | |
#define | SVQ1_BLOCK_TYPE_VLC_BITS 3 |
#define | SVQ1_PROCESS_VECTOR() |
#define | SVQ1_ADD_CODEBOOK() |
#define | SVQ1_CALC_CODEBOOK_ENTRIES(cbook) |
Functions | |
static int | svq1_decode_block_intra (GetBitContext *bitbuf, uint8_t *pixels, ptrdiff_t pitch) |
static int | svq1_decode_block_non_intra (GetBitContext *bitbuf, uint8_t *pixels, ptrdiff_t pitch, int buggy) |
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, ptrdiff_t pitch, int x, int y) |
static int | svq1_motion_inter_block (HpelDSPContext *hdsp, GetBitContext *bitbuf, uint8_t *current, uint8_t *previous, ptrdiff_t pitch, svq1_pmv *motion, int x, int y, int width, int height) |
static int | svq1_motion_inter_4v_block (HpelDSPContext *hdsp, GetBitContext *bitbuf, uint8_t *current, uint8_t *previous, ptrdiff_t pitch, svq1_pmv *motion, int x, int y, int width, int height) |
static int | svq1_decode_delta_block (AVCodecContext *avctx, HpelDSPContext *hdsp, GetBitContext *bitbuf, uint8_t *current, uint8_t *previous, ptrdiff_t pitch, svq1_pmv *motion, int x, int y, int width, int height, int buggy) |
static void | svq1_parse_string (GetBitContext *bitbuf, uint8_t out[257]) |
static int | svq1_decode_frame_header (AVCodecContext *avctx, AVFrame *frame, int *buggy) |
static int | svq1_decode_frame (AVCodecContext *avctx, AVFrame *cur, int *got_frame, AVPacket *avpkt) |
static av_cold void | svq1_static_init (void) |
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 | |
static VLCElem | svq1_block_type [8] |
static VLCElem | svq1_motion_component [176] |
static const VLCElem * | svq1_intra_multistage [6] |
static const VLCElem * | svq1_inter_multistage [6] |
static VLCElem | svq1_intra_mean [632] |
static VLCElem | svq1_inter_mean [1434] |
static const uint8_t | string_table [256] |
const FFCodec | 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_PROCESS_VECTOR | ( | ) |
#define SVQ1_ADD_CODEBOOK | ( | ) |
#define SVQ1_CALC_CODEBOOK_ENTRIES | ( | cbook | ) |
|
static |
Definition at line 167 of file svq1dec.c.
Referenced by svq1_decode_delta_block(), and svq1_decode_frame().
|
static |
Definition at line 234 of file svq1dec.c.
Referenced by svq1_decode_delta_block().
|
static |
Definition at line 303 of file svq1dec.c.
Referenced by svq1_motion_inter_4v_block(), and svq1_motion_inter_block().
|
static |
Definition at line 329 of file svq1dec.c.
Referenced by svq1_decode_delta_block().
|
static |
Definition at line 346 of file svq1dec.c.
Referenced by svq1_decode_delta_block().
|
static |
Definition at line 389 of file svq1dec.c.
Referenced by svq1_decode_delta_block().
|
static |
Definition at line 466 of file svq1dec.c.
Referenced by svq1_decode_frame().
|
static |
Definition at line 524 of file svq1dec.c.
Referenced by svq1_decode_frame_header().
|
static |
Definition at line 539 of file svq1dec.c.
Referenced by svq1_decode_frame().
|
static |
|
static |
Definition at line 781 of file svq1dec.c.
Referenced by svq1_decode_init().
|
static |
|
static |
|
static |
|
static |
Definition at line 49 of file svq1dec.c.
Referenced by svq1_decode_delta_block(), and svq1_static_init().
|
static |
Definition at line 50 of file svq1dec.c.
Referenced by svq1_decode_motion_vector(), and svq1_static_init().
|
static |
Definition at line 51 of file svq1dec.c.
Referenced by svq1_decode_block_intra(), and svq1_static_init().
|
static |
Definition at line 52 of file svq1dec.c.
Referenced by svq1_decode_block_non_intra(), and svq1_static_init().
|
static |
Definition at line 53 of file svq1dec.c.
Referenced by svq1_decode_block_intra(), and svq1_static_init().
|
static |
Definition at line 54 of file svq1dec.c.
Referenced by svq1_decode_block_non_intra(), and svq1_static_init().
|
static |
Definition at line 81 of file svq1dec.c.
Referenced by svq1_parse_string().
const FFCodec ff_svq1_decoder |