FFmpeg
|
DV codec. More...
#include "libavutil/internal.h"
#include "libavutil/pixdesc.h"
#include "avcodec.h"
#include "get_bits.h"
#include "internal.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 | EncBlockInfo |
Functions | |
static void | dv_calc_mb_coordinates (const DVprofile *d, int chan, int seq, int slot, uint16_t *tbl) |
int | ff_dv_init_dynamic_tables (const DVprofile *d) |
av_cold int | ff_dvvideo_init (AVCodecContext *avctx) |
static av_cold int | dvvideo_init_encoder (AVCodecContext *avctx) |
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) |
Variables | |
RL_VLC_ELEM | ff_dv_rl_vlc [1184] |
static const uint8_t | dv100_qstep [16] |
static const uint8_t | dv_quant_areas [4] = { 6, 21, 43, 64 } |
static const int | vs_total_ac_bits = (100 * 4 + 68*2) * 5 |
static const int | mb_area_start [5] = { 1, 6, 21, 43, 64 } |
static const int | dv_weight_bits = 18 |
static const int | dv_weight_88 [64] |
static const int | dv_weight_248 [64] |
DV codec.
Definition in file dv.c.
|
inlinestatic |
Definition at line 54 of file dv.c.
Referenced by ff_dv_init_dynamic_tables().
int ff_dv_init_dynamic_tables | ( | const DVprofile * | d | ) |
Definition at line 178 of file dv.c.
Referenced by dvvideo_decode_frame().
av_cold int ff_dvvideo_init | ( | AVCodecContext * | avctx | ) |
Definition at line 239 of file dv.c.
Referenced by dvvideo_init_encoder().
|
static |
|
static |
Definition at line 399 of file dv.c.
Referenced by dv_encode_ac().
|
static |
Definition at line 405 of file dv.c.
Referenced by dv_guess_qnos(), and dv_init_enc_block().
|
static |
Definition at line 425 of file dv.c.
Referenced by dv_encode_video_segment().
|
static |
Definition at line 468 of file dv.c.
Referenced by dv_init_enc_block().
|
static |
Definition at line 503 of file dv.c.
Referenced by dv_encode_video_segment().
|
inlinestatic |
Definition at line 597 of file dv.c.
Referenced by dv_encode_video_segment().
|
static |
|
inlinestatic |
RL_VLC_ELEM ff_dv_rl_vlc[1184] |
Definition at line 52 of file dv.c.
Referenced by dv_decode_ac().
|
static |
Definition at line 170 of file dv.c.
Referenced by ff_dv_init_dynamic_tables().
|
static |
Definition at line 176 of file dv.c.
Referenced by ff_dv_init_dynamic_tables().
|
static |
Definition at line 353 of file dv.c.
Referenced by dv_encode_video_segment(), and dv_guess_qnos().
|
static |
Definition at line 354 of file dv.c.
Referenced by dv_guess_qnos(), and dv_init_enc_block().
|
static |
Definition at line 482 of file dv.c.
Referenced by dv_init_enc_block().
|
static |