slice Struct Reference

Slice. More...

#include <global.h>

Collaboration diagram for slice:

Collaboration graph
[legend]

Data Fields

struct img_parp_Img
InputParametersp_Inp
pic_parameter_set_rbsp_t * active_pps
seq_parameter_set_rbsp_t * active_sps
int picture_id
int qp
int qs
short slice_type
unsigned int frame_num
unsigned int max_frame_num
signed int framepoc
signed int ThisPOC
short slice_nr
int model_number
char colour_plane_id
int lossless_qpprime_flag
int P444_joined
int disthres
int Transform8x8Mode
int UseRDOQuant
int RDOQ_QP_Num
char num_ref_idx_active [2]
int ref_pic_list_reordering_flag [2]
int * reordering_of_pic_nums_idc [2]
int * abs_diff_pic_num_minus1 [2]
int * long_term_pic_idx [2]
int width_blk
int height_blk
PictureStructure structure
Boolean MbaffFrameFlag
int start_mb_nr
int max_part_nr
int num_mb
int cmp_cbp [3]
int curr_cbp [2]
char symbol_mode
short NoResidueDirect
short partition_mode
short idr_flag
int frame_no
unsigned int PicSizeInMbs
int num_blk8x8_uv
int nal_reference_idc
short bitdepth_luma
short bitdepth_chroma
DataPartitionpartArr
MotionInfoContexts * mot_ctx
TextureInfoContexts * tex_ctx
int mvscale [6][MAX_REFERENCE_PICTURES]
char direct_spatial_mv_pred_flag
char DFDisableIdc
char DFAlphaC0Offset
char DFBetaOffset
byte weighted_prediction
byte weighted_bipred_idc
short luma_log_weight_denom
short chroma_log_weight_denom
short wp_luma_round
short wp_chroma_round
short max_num_references
short ****** all_mv
short ******* bipred_mv
short *** wp_weight
short *** wp_offset
short **** wbp_weight
int ***** cofAC_new
int **** cofAC
int *** cofDC
int diffy [16][16]
int64 cur_cbp_blk [MAX_PLANE]
int coeff_cost_cr [MAX_PLANE]
int ** tblk16x16
int ** tblk4x4
int **** i16blk4x4
RD_DATArddata
RD_DATA rddata_trellis_best
RD_DATA rddata_trellis_curr
RD_DATA rddata_top_frame_mb
RD_DATA rddata_bot_frame_mb
RD_DATA rddata_top_field_mb
RD_DATA rddata_bot_field_mb
Boolean si_frame_indicator
Boolean sp2_frame_indicator
char *** direct_ref_idx
char ** direct_pdir
MotionVector **** tmp_mv8
int *** motion_cost8
int deltaQPTable [9]
struct est_bits_cabac * estBitsCabac
double norm_factor_4x4
double norm_factor_8x8
imgpel **** mpr_4x4
imgpel **** mpr_8x8
imgpel **** mpr_16x16
imgpel *** mb_pred
int *** mb_rres
int *** mb_ores
char b8_ipredmode8x8 [4][4]
char b8_intra_pred_modes8x8 [16]
char b4_ipredmode [16]
char b4_intra_pred_modes [16]
struct rdo_structure * p_RDO
struct colocated_paramsp_colocated
struct epzs_params * p_EPZS
struct storable_picture ** listX [6]
char listXsize [6]
int coeff [64]
int coeff_ctr
int pos
int(* Mode_Decision_for_4x4IntraBlocks )(Macroblock *currMB, int b8, int b4, double lambda, double *min_cost)
int(* Mode_Decision_for_8x8IntraBlocks )(Macroblock *currMB, int b8, double lambda, double *min_cost)
double(* rdcost_for_4x4_intra_blocks )(Macroblock *currMB, int *c_nz, int b8, int b4, int ipmode, double lambda, int mostProbableMode, double min_rdcost)
double(* rdcost_for_8x8_intra_blocks )(Macroblock *currMB, int *c_nz, int b8, int ipmode, double lambda, double min_rdcost, int mostProbableMode)
void(* Get_Direct_Motion_Vectors )(Macroblock *currMB)
Boolean(* slice_too_big )(int bits_slice)
void(* SetMotionVectorsMB )(Macroblock *currMB, struct pic_motion_params *motion)
void(* encode_one_macroblock )(Macroblock *currMB)
void(* set_stored_mb_parameters )(Macroblock *currMB)
void(* set_ref_and_motion_vectors )(Macroblock *currMB, struct pic_motion_params *motion, Info8x8 *part, int block)
int(* distI16x16 )(Macroblock *currMB, imgpel **img_org, imgpel **pred_img, double min_cost)
void(* compute_cost8x8 )(struct img_par *p_Img, imgpel **cur_img, imgpel **prd_img, int pic_opix_x, int *cost, int min_cost)
void(* compute_cost4x4 )(struct img_par *p_Img, imgpel **cur_img, imgpel **prd_img, int pic_opix_x, int *cost, int min_cost)
double(* find_sad_16x16 )(Macroblock *currMB)
void(* SetLagrangianMultipliers )(struct img_par *p_Img, InputParameters *p_Inp)
void(* writeMB_typeInfo )(Macroblock *currMB, SyntaxElement *se, DataPartition *dP)
void(* writeMB_Skip )(Macroblock *currMB, SyntaxElement *se, DataPartition *dP)
void(* writeIntraPredMode )(SyntaxElement *se, DataPartition *dP)
void(* writeB8_typeInfo )(SyntaxElement *se, DataPartition *dP)
void(* writeRefFrame [6])(SyntaxElement *se, DataPartition *dP)
int(* writeMotionInfo2NAL )(Macroblock *currMB)
int(* write_MB_layer )(Macroblock *currMB, int rdopt, int *coeff_rate)
void(* writeMVD )(Macroblock *currMB, SyntaxElement *se, DataPartition *dP)
void(* writeCBP )(Macroblock *currMB, SyntaxElement *se, DataPartition *dP)
void(* writeDquant )(Macroblock *currMB, SyntaxElement *se, DataPartition *dP)
void(* writeCIPredMode )(Macroblock *currMB, SyntaxElement *se, DataPartition *dP)
void(* writeFieldModeInfo )(Macroblock *currMB, SyntaxElement *se, DataPartition *dP)
void(* writeMB_transform_size )(Macroblock *currMB, SyntaxElement *se, DataPartition *dP)
int(* writeCoeff16x16 )(Macroblock *currMB, ColorPlane)
int(* writeCoeff4x4_CAVLC )(Macroblock *currMB, int block_type, int b8, int b4, int param)
void(* write_and_store_CBP_block_bit )(Macroblock *currMB, EncodingEnvironmentPtr eep_dp, int type, int cbp_bit, TextureInfoContexts *tex_ctx)
void(* reset_coding_state )(Macroblock *currMB, struct coding_state *)
void(* store_coding_state )(Macroblock *currMB, struct coding_state *)
void(* poc_ref_pic_reorder_frame )(struct slice *currSlice, struct storable_picture **list, unsigned num_ref_idx_lX_active, int *reordering_of_pic_nums_idc, int *abs_diff_pic_num_minus1, int *long_term_pic_idx, int list_no)
int(* quant_4x4 )(Macroblock *currMB, int **tblock, struct quant_methods *q_method)
int(* quant_ac4x4cr )(Macroblock *currMB, int **tblock, struct quant_methods *q_method, int type)
int(* quant_dc4x4 )(Macroblock *currMB, int **tblock, int qp, int *DCLevel, int *DCRun, LevelQuantParams *q_params_4x4, const byte(*pos_scan)[2])
int(* quant_ac4x4 )(Macroblock *currMB, int **tblock, struct quant_methods *q_method, int type)
int(* quant_8x8 )(Macroblock *currMB, int **tblock, struct quant_methods *q_method)
int(* quant_8x8cavlc )(Macroblock *currMB, int **tblock, struct quant_methods *q_method, int ***cofAC)
int(* quant_dc_cr )(Macroblock *currMB, int **tblock, int qp, int *DCLevel, int *DCRun, LevelQuantParams *q_params_4x4, int **fadjust, const byte(*pos_scan)[2])
void(* rdoq_4x4 )(Macroblock *currMB, int **tblock, struct quant_methods *q_method, int levelTrellis[16])
void(* rdoq_dc )(Macroblock *currMB, int **tblock, int qp_per, int qp_rem, LevelQuantParams *q_params_4x4, const byte(*pos_scan)[2], int levelTrellis[16], int type)
void(* rdoq_ac4x4 )(Macroblock *currMB, int **tblock, struct quant_methods *q_method, int levelTrellis[16], int type)
void(* rdoq_dc_cr )(Macroblock *currMB, int **tblock, int qp_per, int qp_rem, LevelQuantParams *q_params_4x4, const byte(*pos_scan)[2], int levelTrellis[16], int type)
void(* set_modes_and_reframe )(Macroblock *currMB, int b8, short *p_dir, int list_mode[2], char *list_ref_idx)
int64(* getDistortion )(Macroblock *currMB)

Detailed Description

Slice.

Definition at line 475 of file global.h.


Field Documentation

short****** all_mv

short******* bipred_mv

int**** cofAC

int***** cofAC_new

AC coefficients [comp][8x8block][4x4block][level/run][scan_pos].

Definition at line 561 of file global.h.

int*** cofDC

colour plane id for 4:4:4 profile

Definition at line 492 of file global.h.

Deblocking Filter Alpha offset.

Definition at line 540 of file global.h.

Referenced by SliceHeader(), and start_macroblock().

Deblocking Filter Beta offset.

Definition at line 541 of file global.h.

Referenced by SliceHeader(), and start_macroblock().

Deblocking Filter Disable indicator.

Definition at line 539 of file global.h.

Referenced by SliceHeader(), and start_macroblock().

char** direct_pdir

char*** direct_ref_idx

Direct Mode type to be used (0: Temporal, 1: Spatial).

Definition at line 537 of file global.h.

Referenced by compute_colocated(), and compute_colocated_JV().

signed int framepoc

min (toppoc, bottompoc)

Definition at line 488 of file global.h.

Referenced by init_lists().

Number of lines in blocks.

Definition at line 509 of file global.h.

maximum number of reference pictures that may occur

Definition at line 551 of file global.h.

Referenced by get_mem_bipred_mv(), and get_mem_mv().

int*** mb_ores

imgpel*** mb_pred

int*** mb_rres

the diff pixel values between the original macroblock/block and its prediction (reconstructed)

Definition at line 607 of file global.h.

Referenced by chroma_residual_coding(), copyblock_sp(), dct_4x4(), dct_4x4_ls(), dct_4x4_sp(), dct_4x4_sp2(), dct_8x8_cavlc(), dct_chroma(), dct_chroma_ls(), dct_chroma_sp(), dct_chroma_sp2(), and free_slice().

MotionInfoContexts* mot_ctx

imgpel**** mpr_16x16

imgpel**** mpr_4x4

imgpel**** mpr_8x8

nal_reference_idc from NAL unit

Definition at line 527 of file global.h.

Referenced by create_slice_nalus().

int num_mb

number of MBs in the slice

Definition at line 516 of file global.h.

Referenced by end_macroblock(), and malloc_slice().

For MB level field/frame coding tools.

Definition at line 582 of file global.h.

Referenced by encode_one_slice(), free_slice(), and init_slice().

Boolean(* slice_too_big)(int bits_slice)

for use of callback functions

Referenced by end_macroblock().

short slice_type

picture type

Definition at line 485 of file global.h.

Referenced by alloc_ref_pic_list_reordering_buffer(), B8Mode2Value(), BlockMotionSearch(), chroma_residual_coding(), compute_mode_RD_cost(), copy_rdopt_data(), dct_16x16(), dct_16x16_ls(), decode_one_mb(), encode_one_macroblock_high(), encode_one_macroblock_highfast(), encode_one_macroblock_highloss(), encode_one_macroblock_low(), encode_one_slice(), encode_one_slice_MBAFF(), end_encode_one_macroblock(), EPZSIntPelBlockMotionSearch(), EPZSIntPelBlockMotionSearchSubMB(), EPZSPelBlockMotionSearch(), EPZSPelBlockMotionSearchSubMB(), EPZSSliceInit(), find_sad_16x16_JM(), free_slice(), FullPelBlockMotionSearch(), get_picture_type(), get_predicted_concealment_mb(), get_predicted_mb(), GetDirectCostMB(), init_enc_mb_params(), init_lists(), init_mv_block(), init_rdopt(), intra_chroma_prediction(), list_prediction_cost(), luma_residual_coding(), luma_residual_coding_16x16(), luma_residual_coding_8x8(), luma_residual_coding_p444(), luma_residual_coding_p444_16x16(), luma_residual_coding_p444_8x8(), MBType2Value(), min_rdcost_16x16(), Mode_Decision_for_4x4IntraBlocks_JM_High(), Mode_Decision_for_4x4IntraBlocks_JM_High444(), next_macroblock(), PartitionMotionSearch(), perform_mc(), perform_mc_concealment(), pred_weight_table(), rdcost_for_8x8_intra_blocks(), rdcost_for_8x8_intra_blocks_444(), RDCost_for_8x8blocks(), RDCost_for_macroblocks(), ref_pic_list_reordering(), reorder_lists(), RestoreMVBlock8x8(), set_mbaff_parameters(), set_modes_and_reframe(), set_stored_macroblock_parameters(), set_stored_macroblock_parameters_mpass(), set_stored_macroblock_parameters_sp(), SetCoeffAndReconstruction8x8(), SetModesAndRefframeForBlocks(), SetupFastFullPelSearch(), SliceHeader(), smpUMHEX_decide_intrabk_SAD(), smpUMHEX_skip_intrabk_SAD(), smpUMHEXFullSubPelBlockMotionSearch(), start_macroblock(), store_macroblock_parameters(), StoreMVBlock8x8(), StoreNewMotionVectorsBlock8x8(), submacroblock_mode_decision(), submacroblock_mode_decision_low(), SubPartitionMotionSearch(), SubPelBlockMotionSearch(), terminate_slice(), transform_termination_control(), UMHEX_decide_intrabk_SAD(), wp_mcprec_reorder_lists(), wpxAdaptRefNum(), wpxDetermineWP(), wpxModifyRefPicList(), write_macroblock(), writeCBPandDquant(), writeCoeff8x8_CABAC(), and writeMotionInfo2NAL().

int** tblk16x16

Transform related array.

Definition at line 573 of file global.h.

Referenced by allocate_block_mem(), copyblock_sp(), dct_16x16(), dct_16x16_ls(), dct_4x4(), dct_4x4_sp(), dct_4x4_sp2(), and dct_chroma_sp2().

int** tblk4x4

Transform related array.

Definition at line 574 of file global.h.

Referenced by allocate_block_mem(), dct_16x16(), dct_16x16_ls(), dct_chroma(), dct_chroma_ls(), and dct_chroma_sp().

TextureInfoContexts* tex_ctx

signed int ThisPOC

current picture POC

Definition at line 489 of file global.h.

Referenced by init_lists().

short**** wbp_weight

Use of weighted biprediction (note that weighted_pred_flag is probably not needed here).

Definition at line 544 of file global.h.

Use of weighted prediction.

Definition at line 543 of file global.h.

Referenced by chroma_prediction(), chroma_prediction_4x4(), init_mv_block(), luma_prediction(), luma_prediction_bi(), and SliceHeader().

int width_blk

Number of columns in blocks.

Definition at line 508 of file global.h.

short*** wp_offset

short*** wp_weight


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

Documentation generated with DoxyGen