#include "avcodec.h"
#include "dsputil.h"
#include "get_bits.h"
#include "put_bits.h"
#include "simple_idct.h"
#include "dvdata.h"
#include "dv_tablegen.h"
Go to the source code of this file.
Data Structures | |
struct | DVVideoContext |
struct | BlockInfo |
struct | EncBlockInfo |
Defines | |
#define | ALT_BITSTREAM_READER |
#define | TEX_VLC_BITS 9 |
Functions | |
static int | dv_work_pool_size (const DVprofile *d) |
static void | dv_calc_mb_coordinates (const DVprofile *d, int chan, int seq, int slot, uint16_t *tbl) |
static int | dv_init_dynamic_tables (const DVprofile *d) |
static av_cold int | dvvideo_init (AVCodecContext *avctx) |
static av_cold int | dvvideo_init_encoder (AVCodecContext *avctx) |
static int | put_bits_left (PutBitContext *s) |
static void | dv_decode_ac (GetBitContext *gb, BlockInfo *mb, DCTELEM *block) |
static void | bit_copy (PutBitContext *pb, GetBitContext *gb) |
static void | dv_calculate_mb_xy (DVVideoContext *s, DVwork_chunk *work_chunk, int m, int *mb_x, int *mb_y) |
static int | dv_decode_video_segment (AVCodecContext *avctx, void *arg) |
static av_always_inline int | dv_rl2vlc (int run, int l, int sign, uint32_t *vlc) |
static av_always_inline int | dv_rl2vlc_size (int run, int l) |
static av_always_inline PutBitContext * | dv_encode_ac (EncBlockInfo *bi, PutBitContext *pb_pool, PutBitContext *pb_end) |
static av_always_inline int | dv_guess_dct_mode (DVVideoContext *s, uint8_t *data, int linesize) |
static av_always_inline int | dv_init_enc_block (EncBlockInfo *bi, uint8_t *data, int linesize, DVVideoContext *s, int bias) |
static void | dv_guess_qnos (EncBlockInfo *blks, int *qnos) |
static int | dv_encode_video_segment (AVCodecContext *avctx, void *arg) |
static int | dv_write_pack (enum dv_pack_type pack_id, DVVideoContext *c, uint8_t *buf) |
static int | dvvideo_close (AVCodecContext *c) |
Variables | |
static RL_VLC_ELEM | dv_rl_vlc [1184] |
static const int | vs_total_ac_bits = (100 * 4 + 68*2) * 5 |
static const int | mb_area_start [5] = { 1, 6, 21, 43, 64 } |
Definition in file dv.c.
#define TEX_VLC_BITS 9 |
Definition at line 66 of file dv.c.
Referenced by decode_block_intra(), dv_decode_ac(), dvvideo_init(), ff_msmpeg4_decode_block(), h263_decode_block(), mdec_decode_block_intra(), mpeg1_decode_block_inter(), mpeg1_decode_block_intra(), mpeg1_fast_decode_block_inter(), mpeg2_decode_block_intra(), mpeg2_decode_block_non_intra(), mpeg2_fast_decode_block_intra(), mpeg2_fast_decode_block_non_intra(), and mpeg4_decode_block().
static void bit_copy | ( | PutBitContext * | pb, | |
GetBitContext * | gb | |||
) | [inline, static] |
static void dv_calc_mb_coordinates | ( | const DVprofile * | d, | |
int | chan, | |||
int | seq, | |||
int | slot, | |||
uint16_t * | tbl | |||
) | [inline, static] |
static void dv_calculate_mb_xy | ( | DVVideoContext * | s, | |
DVwork_chunk * | work_chunk, | |||
int | m, | |||
int * | mb_x, | |||
int * | mb_y | |||
) | [inline, static] |
Definition at line 457 of file dv.c.
Referenced by dv_decode_video_segment(), and dv_encode_video_segment().
static void dv_decode_ac | ( | GetBitContext * | gb, | |
BlockInfo * | mb, | |||
DCTELEM * | block | |||
) | [static] |
static int dv_decode_video_segment | ( | AVCodecContext * | avctx, | |
void * | arg | |||
) | [static] |
static av_always_inline PutBitContext* dv_encode_ac | ( | EncBlockInfo * | bi, | |
PutBitContext * | pb_pool, | |||
PutBitContext * | pb_end | |||
) | [static] |
static int dv_encode_video_segment | ( | AVCodecContext * | avctx, | |
void * | arg | |||
) | [static] |
static av_always_inline int dv_guess_dct_mode | ( | DVVideoContext * | s, | |
uint8_t * | data, | |||
int | linesize | |||
) | [static] |
static void dv_guess_qnos | ( | EncBlockInfo * | blks, | |
int * | qnos | |||
) | [inline, static] |
static int dv_init_dynamic_tables | ( | const DVprofile * | d | ) | [static] |
static av_always_inline int dv_init_enc_block | ( | EncBlockInfo * | bi, | |
uint8_t * | data, | |||
int | linesize, | |||
DVVideoContext * | s, | |||
int | bias | |||
) | [static] |
static av_always_inline int dv_rl2vlc | ( | int | run, | |
int | l, | |||
int | sign, | |||
uint32_t * | vlc | |||
) | [static] |
static av_always_inline int dv_rl2vlc_size | ( | int | run, | |
int | l | |||
) | [static] |
static int dv_work_pool_size | ( | const DVprofile * | d | ) | [inline, static] |
static int dv_write_pack | ( | enum dv_pack_type | pack_id, | |
DVVideoContext * | c, | |||
uint8_t * | buf | |||
) | [inline, static] |
static int dvvideo_close | ( | AVCodecContext * | c | ) | [static] |
static av_cold int dvvideo_init | ( | AVCodecContext * | avctx | ) | [static] |
static av_cold int dvvideo_init_encoder | ( | AVCodecContext * | avctx | ) | [static] |
static int put_bits_left | ( | PutBitContext * | s | ) | [inline, static] |
RL_VLC_ELEM dv_rl_vlc[1184] [static] |
const int mb_area_start[5] = { 1, 6, 21, 43, 64 } [static] |
const int vs_total_ac_bits = (100 * 4 + 68*2) * 5 [static] |