FFmpeg
Data Fields
AVSContext Struct Reference

#include <cavs.h>

Data Fields

AVCodecContextavctx
 
BlockDSPContext bdsp
 
H264ChromaContext h264chroma
 
VideoDSPContext vdsp
 
CAVSDSPContext cdsp
 
GetBitContext gb
 
AVSFrame cur
 currently decoded frame More...
 
AVSFrame DPB [2]
 reference frames More...
 
int dist [2]
 temporal distances from current frame to ref frames More...
 
int low_delay
 
int profile
 
int level
 
int aspect_ratio
 
int mb_width
 
int mb_height
 
int width
 
int height
 
int stream_revision
 0 for samples from 2006, 1 for rm52j encoder More...
 
int progressive
 
int pic_structure
 
int skip_mode_flag
 select between skip_count or one skip_flag per MB More...
 
int loop_filter_disable
 
int alpha_offset
 
int beta_offset
 
int ref_flag
 
int mbx
 
int mby
 
int mbidx
 macroblock coordinates More...
 
int flags
 availability flags of neighbouring macroblocks More...
 
int stc
 last start code More...
 
uint8_t * cy
 
uint8_t * cu
 
uint8_t * cv
 current MB sample pointers More...
 
int left_qp
 
uint8_t * top_qp
 
cavs_vector mv [2 *4 *3]
 mv motion vector cache 0: D3 B2 B3 C2 4: A1 X0 X1 - 8: A3 X2 X3 - More...
 
cavs_vectortop_mv [2]
 
cavs_vectorcol_mv
 
int pred_mode_Y [3 *3]
 luma pred mode cache 0: – B2 B3 3: A1 X0 X1 6: A3 X2 X3
More...
 
inttop_pred_Y
 
ptrdiff_t l_stride
 
ptrdiff_t c_stride
 
int luma_scan [4]
 
int qp
 
int qp_fixed
 
int pic_qp_fixed
 
int cbp
 
uint8_t permutated_scantable [64]
 
uint8_t * top_border_y
 intra prediction is done with un-deblocked samples they are saved here before deblocking the MB
More...
 
uint8_t * top_border_u
 
uint8_t * top_border_v
 
uint8_t left_border_y [26]
 
uint8_t left_border_u [10]
 
uint8_t left_border_v [10]
 
uint8_t intern_border_y [26]
 
uint8_t topleft_border_y
 
uint8_t topleft_border_u
 
uint8_t topleft_border_v
 
void(* intra_pred_l [8])(uint8_t *d, uint8_t *top, uint8_t *left, ptrdiff_t stride)
 
void(* intra_pred_c [7])(uint8_t *d, uint8_t *top, uint8_t *left, ptrdiff_t stride)
 
uint8_t * col_type_base
 
int sym_factor
 for scaling in symmetrical B block More...
 
int direct_den [2]
 for scaling in direct B block More...
 
int scale_den [2]
 for scaling neighbouring MVs More...
 
uint8_t * edge_emu_buffer
 
int got_keyframe
 
int16_t * block
 

Detailed Description

Definition at line 169 of file cavs.h.

Field Documentation

◆ avctx

AVCodecContext* AVSContext::avctx

Definition at line 170 of file cavs.h.

◆ bdsp

BlockDSPContext AVSContext::bdsp

Definition at line 171 of file cavs.h.

◆ h264chroma

H264ChromaContext AVSContext::h264chroma

Definition at line 172 of file cavs.h.

◆ vdsp

VideoDSPContext AVSContext::vdsp

Definition at line 173 of file cavs.h.

◆ cdsp

CAVSDSPContext AVSContext::cdsp

Definition at line 174 of file cavs.h.

◆ gb

GetBitContext AVSContext::gb

Definition at line 175 of file cavs.h.

◆ cur

AVSFrame AVSContext::cur

currently decoded frame

Definition at line 176 of file cavs.h.

◆ DPB

AVSFrame AVSContext::DPB[2]

reference frames

Definition at line 177 of file cavs.h.

◆ dist

int AVSContext::dist[2]

temporal distances from current frame to ref frames

Definition at line 178 of file cavs.h.

◆ low_delay

int AVSContext::low_delay

Definition at line 179 of file cavs.h.

◆ profile

int AVSContext::profile

Definition at line 180 of file cavs.h.

◆ level

int AVSContext::level

Definition at line 180 of file cavs.h.

◆ aspect_ratio

int AVSContext::aspect_ratio

Definition at line 181 of file cavs.h.

◆ mb_width

int AVSContext::mb_width

Definition at line 182 of file cavs.h.

◆ mb_height

int AVSContext::mb_height

Definition at line 182 of file cavs.h.

◆ width

int AVSContext::width

Definition at line 183 of file cavs.h.

◆ height

int AVSContext::height

Definition at line 183 of file cavs.h.

◆ stream_revision

int AVSContext::stream_revision

0 for samples from 2006, 1 for rm52j encoder

Definition at line 184 of file cavs.h.

◆ progressive

int AVSContext::progressive

Definition at line 185 of file cavs.h.

◆ pic_structure

int AVSContext::pic_structure

Definition at line 186 of file cavs.h.

◆ skip_mode_flag

int AVSContext::skip_mode_flag

select between skip_count or one skip_flag per MB

Definition at line 187 of file cavs.h.

◆ loop_filter_disable

int AVSContext::loop_filter_disable

Definition at line 188 of file cavs.h.

◆ alpha_offset

int AVSContext::alpha_offset

Definition at line 189 of file cavs.h.

◆ beta_offset

int AVSContext::beta_offset

Definition at line 189 of file cavs.h.

◆ ref_flag

int AVSContext::ref_flag

Definition at line 190 of file cavs.h.

◆ mbx

int AVSContext::mbx

Definition at line 191 of file cavs.h.

◆ mby

int AVSContext::mby

Definition at line 191 of file cavs.h.

◆ mbidx

int AVSContext::mbidx

macroblock coordinates

Definition at line 191 of file cavs.h.

◆ flags

int AVSContext::flags

availability flags of neighbouring macroblocks

Definition at line 192 of file cavs.h.

◆ stc

int AVSContext::stc

last start code

Definition at line 193 of file cavs.h.

◆ cy

uint8_t* AVSContext::cy

Definition at line 194 of file cavs.h.

◆ cu

uint8_t * AVSContext::cu

Definition at line 194 of file cavs.h.

◆ cv

uint8_t * AVSContext::cv

current MB sample pointers

Definition at line 194 of file cavs.h.

◆ left_qp

int AVSContext::left_qp

Definition at line 195 of file cavs.h.

◆ top_qp

uint8_t* AVSContext::top_qp

Definition at line 196 of file cavs.h.

◆ mv

cavs_vector AVSContext::mv[2 *4 *3]

mv motion vector cache 0: D3 B2 B3 C2 4: A1 X0 X1 - 8: A3 X2 X3 -

X are the vectors in the current macroblock (5,6,9,10) A is the macroblock to the left (4,8) B is the macroblock to the top (1,2) C is the macroblock to the top-right (3) D is the macroblock to the top-left (0)

the same is repeated for backward motion vectors

Definition at line 210 of file cavs.h.

◆ top_mv

cavs_vector* AVSContext::top_mv[2]

Definition at line 211 of file cavs.h.

◆ col_mv

cavs_vector* AVSContext::col_mv

Definition at line 212 of file cavs.h.

◆ pred_mode_Y

int AVSContext::pred_mode_Y[3 *3]

luma pred mode cache 0: – B2 B3 3: A1 X0 X1 6: A3 X2 X3

Definition at line 218 of file cavs.h.

◆ top_pred_Y

int* AVSContext::top_pred_Y

Definition at line 219 of file cavs.h.

◆ l_stride

ptrdiff_t AVSContext::l_stride

Definition at line 220 of file cavs.h.

◆ c_stride

ptrdiff_t AVSContext::c_stride

Definition at line 220 of file cavs.h.

◆ luma_scan

int AVSContext::luma_scan[4]

Definition at line 221 of file cavs.h.

◆ qp

int AVSContext::qp

Definition at line 222 of file cavs.h.

◆ qp_fixed

int AVSContext::qp_fixed

Definition at line 223 of file cavs.h.

◆ pic_qp_fixed

int AVSContext::pic_qp_fixed

Definition at line 224 of file cavs.h.

◆ cbp

int AVSContext::cbp

Definition at line 225 of file cavs.h.

◆ permutated_scantable

uint8_t AVSContext::permutated_scantable[64]

Definition at line 226 of file cavs.h.

◆ top_border_y

uint8_t* AVSContext::top_border_y

intra prediction is done with un-deblocked samples they are saved here before deblocking the MB

Definition at line 230 of file cavs.h.

◆ top_border_u

uint8_t * AVSContext::top_border_u

Definition at line 230 of file cavs.h.

◆ top_border_v

uint8_t * AVSContext::top_border_v

Definition at line 230 of file cavs.h.

◆ left_border_y

uint8_t AVSContext::left_border_y[26]

Definition at line 231 of file cavs.h.

◆ left_border_u

uint8_t AVSContext::left_border_u[10]

Definition at line 231 of file cavs.h.

◆ left_border_v

uint8_t AVSContext::left_border_v[10]

Definition at line 231 of file cavs.h.

◆ intern_border_y

uint8_t AVSContext::intern_border_y[26]

Definition at line 232 of file cavs.h.

◆ topleft_border_y

uint8_t AVSContext::topleft_border_y

Definition at line 233 of file cavs.h.

◆ topleft_border_u

uint8_t AVSContext::topleft_border_u

Definition at line 233 of file cavs.h.

◆ topleft_border_v

uint8_t AVSContext::topleft_border_v

Definition at line 233 of file cavs.h.

◆ intra_pred_l

void(* AVSContext::intra_pred_l[8])(uint8_t *d, uint8_t *top, uint8_t *left, ptrdiff_t stride)

Definition at line 235 of file cavs.h.

◆ intra_pred_c

void(* AVSContext::intra_pred_c[7])(uint8_t *d, uint8_t *top, uint8_t *left, ptrdiff_t stride)

Definition at line 236 of file cavs.h.

◆ col_type_base

uint8_t* AVSContext::col_type_base

Definition at line 237 of file cavs.h.

◆ sym_factor

int AVSContext::sym_factor

for scaling in symmetrical B block

Definition at line 240 of file cavs.h.

◆ direct_den

int AVSContext::direct_den[2]

for scaling in direct B block

Definition at line 241 of file cavs.h.

◆ scale_den

int AVSContext::scale_den[2]

for scaling neighbouring MVs

Definition at line 242 of file cavs.h.

◆ edge_emu_buffer

uint8_t* AVSContext::edge_emu_buffer

Definition at line 244 of file cavs.h.

◆ got_keyframe

int AVSContext::got_keyframe

Definition at line 246 of file cavs.h.

◆ block

int16_t* AVSContext::block

Definition at line 247 of file cavs.h.


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