FFmpeg  4.0
Data Fields
DiracContext Struct Reference

Data Fields

AVCodecContextavctx
 
MpegvideoEncDSPContext mpvencdsp
 
VideoDSPContext vdsp
 
DiracDSPContext diracdsp
 
DiracGolombLUTreader_ctx
 
DiracVersionInfo version
 
GetBitContext gb
 
AVDiracSeqHeader seq
 
int seen_sequence_header
 
int frame_number
 
Plane plane [3]
 
int chroma_x_shift
 
int chroma_y_shift
 
int bit_depth
 
int pshift
 
int zero_res
 
int is_arith
 
int core_syntax
 
int low_delay
 
int hq_picture
 
int ld_picture
 
int dc_prediction
 
int globalmc_flag
 
int num_refs
 
unsigned wavelet_depth
 
unsigned wavelet_idx
 
unsigned old_delta_quant
 schroedinger older than 1.0.8 doesn't store quant delta if only one codebook exists in a band More...
 
unsigned codeblock_mode
 
unsigned num_x
 
unsigned num_y
 
uint8_tthread_buf
 
int threads_num_buf
 
int thread_buf_size
 
DiracSliceslice_params_buf
 
int slice_params_num_buf
 
struct {
   unsigned   width
 
   unsigned   height
 
codeblock [MAX_DWT_LEVELS+1]
 
struct {
   AVRational   bytes
 
   uint8_t   quant [MAX_DWT_LEVELS][4]
 
lowdelay
 
struct {
   unsigned   prefix_bytes
 
   uint64_t   size_scaler
 
highquality
 
struct {
   int   pan_tilt [2]
 
   int   zrs [2][2]
 
   int   perspective [2]
 
   unsigned   zrs_exp
 
   unsigned   perspective_exp
 
globalmc [2]
 
uint8_t mv_precision
 
int16_t weight [2]
 
unsigned weight_log2denom
 
int blwidth
 
int blheight
 
int sbwidth
 
int sbheight
 
uint8_tsbsplit
 
DiracBlockblmotion
 
uint8_tedge_emu_buffer [4]
 
uint8_tedge_emu_buffer_base
 
uint16_t * mctmp
 
uint8_tmcscratch
 
int buffer_stride
 
uint8_t obmc_weight [3][MAX_BLOCKSIZE *MAX_BLOCKSIZE]
 
void(* put_pixels_tab [4])(uint8_t *dst, const uint8_t *src[5], int stride, int h)
 
void(* avg_pixels_tab [4])(uint8_t *dst, const uint8_t *src[5], int stride, int h)
 
void(* add_obmc )(uint16_t *dst, const uint8_t *src, int stride, const uint8_t *obmc_weight, int yblen)
 
dirac_weight_func weight_func
 
dirac_biweight_func biweight_func
 
DiracFramecurrent_picture
 
DiracFrameref_pics [2]
 
DiracFrameref_frames [MAX_REFERENCE_FRAMES+1]
 
DiracFramedelay_frames [MAX_DELAY+1]
 
DiracFrame all_frames [MAX_FRAMES]
 

Detailed Description

Definition at line 134 of file diracdec.c.

Field Documentation

◆ avctx

AVCodecContext* DiracContext::avctx

◆ mpvencdsp

MpegvideoEncDSPContext DiracContext::mpvencdsp

Definition at line 136 of file diracdec.c.

Referenced by dirac_decode_init(), and interpolate_refplane().

◆ vdsp

VideoDSPContext DiracContext::vdsp

Definition at line 137 of file diracdec.c.

Referenced by dirac_decode_init(), and mc_subpel().

◆ diracdsp

DiracDSPContext DiracContext::diracdsp

◆ reader_ctx

DiracGolombLUT* DiracContext::reader_ctx

Definition at line 139 of file diracdec.c.

Referenced by decode_hq_slice(), dirac_decode_end(), and dirac_decode_init().

◆ version

DiracVersionInfo DiracContext::version

Definition at line 140 of file diracdec.c.

Referenced by dirac_decode_data_unit().

◆ gb

GetBitContext DiracContext::gb

◆ seq

AVDiracSeqHeader DiracContext::seq

◆ seen_sequence_header

int DiracContext::seen_sequence_header

Definition at line 143 of file diracdec.c.

Referenced by dirac_decode_data_unit(), and dirac_decode_flush().

◆ frame_number

int DiracContext::frame_number

◆ plane

Plane DiracContext::plane[3]

◆ chroma_x_shift

int DiracContext::chroma_x_shift

◆ chroma_y_shift

int DiracContext::chroma_y_shift

◆ bit_depth

int DiracContext::bit_depth

Definition at line 149 of file diracdec.c.

Referenced by dirac_decode_data_unit(), and dirac_decode_frame_internal().

◆ pshift

int DiracContext::pshift

◆ zero_res

int DiracContext::zero_res

Definition at line 152 of file diracdec.c.

Referenced by dirac_decode_frame_internal(), and dirac_unpack_idwt_params().

◆ is_arith

int DiracContext::is_arith

Definition at line 153 of file diracdec.c.

Referenced by decode_component(), and dirac_decode_data_unit().

◆ core_syntax

int DiracContext::core_syntax

Definition at line 154 of file diracdec.c.

Referenced by dirac_decode_data_unit().

◆ low_delay

int DiracContext::low_delay

◆ hq_picture

int DiracContext::hq_picture

◆ ld_picture

int DiracContext::ld_picture

Definition at line 157 of file diracdec.c.

Referenced by dirac_decode_data_unit(), and dirac_unpack_idwt_params().

◆ dc_prediction

int DiracContext::dc_prediction

Definition at line 158 of file diracdec.c.

Referenced by decode_lowdelay(), and dirac_decode_data_unit().

◆ globalmc_flag

int DiracContext::globalmc_flag

Definition at line 159 of file diracdec.c.

Referenced by decode_block_params(), and dirac_unpack_prediction_parameters().

◆ num_refs

int DiracContext::num_refs

◆ wavelet_depth

unsigned DiracContext::wavelet_depth

◆ wavelet_idx

unsigned DiracContext::wavelet_idx

Definition at line 164 of file diracdec.c.

Referenced by dirac_decode_frame_internal(), and dirac_unpack_idwt_params().

◆ old_delta_quant

unsigned DiracContext::old_delta_quant

schroedinger older than 1.0.8 doesn't store quant delta if only one codebook exists in a band

Definition at line 170 of file diracdec.c.

Referenced by dirac_decode_data_unit().

◆ codeblock_mode

unsigned DiracContext::codeblock_mode

Definition at line 171 of file diracdec.c.

Referenced by dirac_unpack_idwt_params().

◆ num_x

unsigned DiracContext::num_x

◆ num_y

unsigned DiracContext::num_y

◆ thread_buf

uint8_t* DiracContext::thread_buf

◆ threads_num_buf

int DiracContext::threads_num_buf

Definition at line 177 of file diracdec.c.

Referenced by decode_lowdelay(), and dirac_decode_init().

◆ thread_buf_size

int DiracContext::thread_buf_size

Definition at line 178 of file diracdec.c.

Referenced by decode_hq_slice_row(), decode_lowdelay(), and dirac_decode_init().

◆ slice_params_buf

DiracSlice* DiracContext::slice_params_buf

Definition at line 180 of file diracdec.c.

Referenced by decode_lowdelay(), and dirac_decode_end().

◆ slice_params_num_buf

int DiracContext::slice_params_num_buf

Definition at line 181 of file diracdec.c.

Referenced by decode_lowdelay().

◆ width

unsigned DiracContext::width

Definition at line 184 of file diracdec.c.

Referenced by dirac_unpack_idwt_params().

◆ height

unsigned DiracContext::height

Definition at line 185 of file diracdec.c.

Referenced by dirac_unpack_idwt_params().

◆ codeblock

struct { ... } DiracContext::codeblock[MAX_DWT_LEVELS+1]

◆ bytes

AVRational DiracContext::bytes

Definition at line 189 of file diracdec.c.

Referenced by decode_lowdelay(), and dirac_unpack_idwt_params().

◆ quant

uint8_t DiracContext::quant[MAX_DWT_LEVELS][4]

Definition at line 190 of file diracdec.c.

Referenced by decode_hq_slice(), decode_lowdelay_slice(), and dirac_unpack_idwt_params().

◆ lowdelay

struct { ... } DiracContext::lowdelay

◆ prefix_bytes

unsigned DiracContext::prefix_bytes

Definition at line 194 of file diracdec.c.

Referenced by decode_hq_slice(), decode_lowdelay(), and dirac_unpack_idwt_params().

◆ size_scaler

uint64_t DiracContext::size_scaler

Definition at line 195 of file diracdec.c.

Referenced by decode_hq_slice(), decode_lowdelay(), and dirac_unpack_idwt_params().

◆ highquality

struct { ... } DiracContext::highquality

◆ pan_tilt

int DiracContext::pan_tilt[2]

Definition at line 199 of file diracdec.c.

Referenced by dirac_unpack_prediction_parameters(), and global_mv().

◆ zrs

int DiracContext::zrs[2][2]

Definition at line 200 of file diracdec.c.

Referenced by dirac_unpack_prediction_parameters(), and global_mv().

◆ perspective

int DiracContext::perspective[2]

Definition at line 201 of file diracdec.c.

Referenced by dirac_unpack_prediction_parameters(), and global_mv().

◆ zrs_exp

unsigned DiracContext::zrs_exp

Definition at line 202 of file diracdec.c.

Referenced by dirac_unpack_prediction_parameters(), and global_mv().

◆ perspective_exp

unsigned DiracContext::perspective_exp

Definition at line 203 of file diracdec.c.

Referenced by dirac_unpack_prediction_parameters(), and global_mv().

◆ globalmc

struct { ... } DiracContext::globalmc[2]

◆ mv_precision

uint8_t DiracContext::mv_precision

Definition at line 207 of file diracdec.c.

Referenced by dirac_unpack_prediction_parameters(), interpolate_refplane(), and mc_subpel().

◆ weight

int16_t DiracContext::weight[2]

Definition at line 208 of file diracdec.c.

Referenced by block_mc(), dirac_unpack_prediction_parameters(), and select_dsp_funcs().

◆ weight_log2denom

unsigned DiracContext::weight_log2denom

Definition at line 209 of file diracdec.c.

Referenced by block_mc(), dirac_unpack_prediction_parameters(), and select_dsp_funcs().

◆ blwidth

int DiracContext::blwidth

Definition at line 211 of file diracdec.c.

Referenced by dirac_decode_frame_internal(), dirac_unpack_block_motion_data(), and mc_row().

◆ blheight

int DiracContext::blheight

◆ sbwidth

int DiracContext::sbwidth

Definition at line 213 of file diracdec.c.

Referenced by dirac_unpack_block_motion_data().

◆ sbheight

int DiracContext::sbheight

Definition at line 214 of file diracdec.c.

Referenced by dirac_unpack_block_motion_data().

◆ sbsplit

uint8_t* DiracContext::sbsplit

◆ blmotion

DiracBlock* DiracContext::blmotion

◆ edge_emu_buffer

uint8_t* DiracContext::edge_emu_buffer[4]

Definition at line 219 of file diracdec.c.

Referenced by alloc_buffers(), dirac_decode_frame_internal(), and mc_subpel().

◆ edge_emu_buffer_base

uint8_t* DiracContext::edge_emu_buffer_base

Definition at line 220 of file diracdec.c.

Referenced by alloc_buffers(), dirac_decode_frame_internal(), and free_sequence_buffers().

◆ mctmp

uint16_t* DiracContext::mctmp

Definition at line 222 of file diracdec.c.

Referenced by alloc_buffers(), dirac_decode_frame_internal(), and free_sequence_buffers().

◆ mcscratch

uint8_t* DiracContext::mcscratch

Definition at line 223 of file diracdec.c.

Referenced by alloc_buffers(), block_mc(), and free_sequence_buffers().

◆ buffer_stride

int DiracContext::buffer_stride

Definition at line 224 of file diracdec.c.

Referenced by alloc_buffers(), and free_sequence_buffers().

◆ obmc_weight

uint8_t DiracContext::obmc_weight[3][MAX_BLOCKSIZE *MAX_BLOCKSIZE]

Definition at line 226 of file diracdec.c.

Referenced by init_obmc_weights(), and mc_row().

◆ put_pixels_tab

void(* DiracContext::put_pixels_tab[4])(uint8_t *dst, const uint8_t *src[5], int stride, int h)

Definition at line 228 of file diracdec.c.

Referenced by block_mc(), and select_dsp_funcs().

◆ avg_pixels_tab

void(* DiracContext::avg_pixels_tab[4])(uint8_t *dst, const uint8_t *src[5], int stride, int h)

Definition at line 229 of file diracdec.c.

Referenced by block_mc(), and select_dsp_funcs().

◆ add_obmc

void(* DiracContext::add_obmc) (uint16_t *dst, const uint8_t *src, int stride, const uint8_t *obmc_weight, int yblen)

Definition at line 230 of file diracdec.c.

Referenced by block_mc(), and select_dsp_funcs().

◆ weight_func

dirac_weight_func DiracContext::weight_func

Definition at line 231 of file diracdec.c.

Referenced by block_mc(), and select_dsp_funcs().

◆ biweight_func

dirac_biweight_func DiracContext::biweight_func

Definition at line 232 of file diracdec.c.

Referenced by block_mc(), and select_dsp_funcs().

◆ current_picture

DiracFrame* DiracContext::current_picture

◆ ref_pics

DiracFrame* DiracContext::ref_pics[2]

Definition at line 235 of file diracdec.c.

Referenced by dirac_decode_frame_internal(), dirac_decode_picture_header(), and mc_subpel().

◆ ref_frames

DiracFrame* DiracContext::ref_frames[MAX_REFERENCE_FRAMES+1]

Definition at line 237 of file diracdec.c.

Referenced by dirac_decode_picture_header(), and free_sequence_buffers().

◆ delay_frames

DiracFrame* DiracContext::delay_frames[MAX_DELAY+1]

Definition at line 238 of file diracdec.c.

Referenced by dirac_decode_frame(), free_sequence_buffers(), and get_delayed_pic().

◆ all_frames

DiracFrame DiracContext::all_frames[MAX_FRAMES]

The documentation for this struct was generated from the following file: