FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions | Variables
dv.c File Reference

DV codec. More...

#include "libavutil/internal.h"
#include "libavutil/pixdesc.h"
#include "avcodec.h"
#include "dv.h"
#include "dvdata.h"
#include "get_bits.h"
#include "internal.h"
#include "put_bits.h"
#include "simple_idct.h"

Go to the source code of this file.

Functions

static void dv_calc_mb_coordinates (const AVDVProfile *d, int chan, int seq, int slot, uint16_t *tbl)
 
int ff_dv_init_dynamic_tables (DVVideoContext *ctx, const AVDVProfile *d)
 
av_cold int ff_dvvideo_init (AVCodecContext *avctx)
 

Variables

RL_VLC_ELEM ff_dv_rl_vlc [1664]
 
static const uint8_t dv100_qstep [16]
 
static const uint8_t dv_quant_areas [4] = { 6, 21, 43, 64 }
 

Detailed Description

DV codec.

Definition in file dv.c.

Function Documentation

static void dv_calc_mb_coordinates ( const AVDVProfile d,
int  chan,
int  seq,
int  slot,
uint16_t *  tbl 
)
inlinestatic

Definition at line 55 of file dv.c.

Referenced by ff_dv_init_dynamic_tables().

int ff_dv_init_dynamic_tables ( DVVideoContext ctx,
const AVDVProfile d 
)

Definition at line 185 of file dv.c.

Referenced by dvvideo_decode_frame(), and dvvideo_encode_init().

av_cold int ff_dvvideo_init ( AVCodecContext avctx)

Definition at line 208 of file dv.c.

Referenced by dvvideo_decode_init(), and dvvideo_encode_init().

Variable Documentation

RL_VLC_ELEM ff_dv_rl_vlc[1664]

Definition at line 53 of file dv.c.

Referenced by dv_decode_ac().

const uint8_t dv100_qstep[16]
static
Initial value:
= {
1,
1,
2, 3, 4, 5, 6, 7, 8, 16, 18, 20, 22, 24, 28, 52
}

Definition at line 177 of file dv.c.

Referenced by dv_init_weight_tables().

const uint8_t dv_quant_areas[4] = { 6, 21, 43, 64 }
static

Definition at line 183 of file dv.c.

Referenced by dv_init_weight_tables().