ImageParameters Struct Reference

ImageParameters. More...

#include <global.h>

Collaboration diagram for ImageParameters:

Collaboration graph
[legend]

Data Fields

int number
int start_frame_no
int gop_number
int frm_number
int cur_frm_number
int last_idr_number
int idr_gop_number
int rewind_frame
int pn
int LevelIndex
int MaxVmvR [6]
int MaxHmvR [6]
int current_mb_nr
int current_slice_nr
int type
int structure
int base_dist
int num_ref_frames
int max_num_references
int masterQP
int qp
int qpsp
int RCMinQP
int RCMaxQP
float framerate
int width
int width_padded
int width_blk
int width_cr
int height
int height_padded
int height_blk
int height_cr
int height_cr_frame
int size
int size_cr
int subblock_x
int subblock_y
int is_intra_block
int is_v_block
int mb_y_upd
int mb_y_intra
int block_c_x
char ** ipredmode
char ** ipredmode8x8
int cod_counter
int *** nz_coeff
int mb_x
int mb_y
int block_x
int block_y
int pix_x
int pix_y
int pix_c_x
int pix_c_y
int opix_x
int opix_y
int opix_c_x
int opix_c_y
int *** mb_rres
int *** mb_ores
int ** curr_res
imgpel **** mpr_4x4
imgpel **** mpr_8x8
imgpel **** mpr_16x16
imgpel *** mb_pred
imgpel ** curr_prd
imgpel min_IPCM_value
int **** cofAC
int ***** cofAC_new
int *** cofDC
int **** ARCofAdj4x4
int **** ARCofAdj8x8
Picture * currentPicture
Slice * currentSlice
Macroblock * mb_data
Block8x8Info * b8x8info
int * quad
int * intra_block
int frame_no
int fld_type
byte fld_flag
unsigned int rd_pass
int frm_no_in_file
double frame_interval
int b_frame_to_code
int fw_mb_mode
int bw_mb_mode
short ****** pred_mv
short ****** all_mv
short ******* bipred_mv
int DFDisableIdc
int DFAlphaC0Offset
int DFBetaOffset
int direct_spatial_mv_pred_flag
int num_ref_idx_active_list [2]
int num_ref_idx_l0_active
int num_ref_idx_l1_active
byte field_mode
byte top_field
int mvscale [6][MAX_REFERENCE_PICTURES]
int buf_cycle
int i16offset
int layer
int NoResidueDirect
int AdaptiveRounding
int redundant_pic_cnt
int MbaffFrameFlag
unsigned int pic_order_cnt_type
Boolean delta_pic_order_always_zero_flag
int offset_for_non_ref_pic
int offset_for_top_to_bottom_field
unsigned int num_ref_frames_in_pic_order_cnt_cycle
int offset_for_ref_frame [1]
unsigned int pic_order_cnt_lsb
int delta_pic_order_cnt_bottom
int delta_pic_order_cnt [2]
int frm_iter
unsigned int field_picture
signed int toppoc
signed int bottompoc
signed int framepoc
signed int ThisPOC
unsigned int frame_num
signed int start_tr_gop
unsigned int PicWidthInMbs
unsigned int PicHeightInMapUnits
unsigned int FrameHeightInMbs
unsigned int PicSizeInMbs
unsigned int FrameSizeInMbs
Boolean pic_order_present_flag
int nal_reference_idc
int adaptive_ref_pic_buffering_flag
int no_output_of_prior_pics_flag
int long_term_reference_flag
DecRefPicMarking_t * dec_ref_pic_marking_buffer
int model_number
int NumberofCodedMacroBlocks
int BasicUnitQP
int NumberofMBTextureBits
int NumberofMBHeaderBits
unsigned int BasicUnit
byte write_macroblock
byte bot_MB
int write_mbaff_frame
int DeblockCall
int last_pic_bottom_field
int last_has_mmco_5
int pre_frame_num
int slice_group_change_cycle
int pic_unit_size_on_disk
int out_unit_size_on_disk
int bitdepth_luma
int bitdepth_chroma
int bitdepth_scale [2]
int bitdepth_luma_qp_scale
int bitdepth_chroma_qp_scale
int bitdepth_lambda_scale
int max_bitCount
int max_qp_delta
int min_qp_delta
LambdaParams ** lambda
double ** lambda_md
double *** lambda_me
int *** lambda_mf
double ** lambda_mf_factor
unsigned int dc_pred_value_comp [MAX_PLANE]
unsigned int dc_pred_value
int max_imgpel_value_comp [MAX_PLANE]
int max_imgpel_value_comp_sq [MAX_PLANE]
int max_imgpel_value
int num_blk8x8_uv
int num_cdc_coeff
int yuv_format
int P444_joined
int lossless_qpprime_flag
int mb_cr_size_x
int mb_cr_size_y
int mb_size [MAX_PLANE][2]
int chroma_qp_offset [2]
int auto_crop_right
int auto_crop_bottom
short checkref
int last_valid_reference
int bytes_in_picture
int AverageFrameQP
int SumFrameQP
int GopLevels
int ChromaArrayType
Macroblock * mb_data_JV [MAX_PLANE]
int colour_plane_id
int lastIDRnumber
int lastIntraNumber
int lastINTRA
int last_ref_idc
int idr_refresh
unsigned int primary_pic_type
int frameOffsetTotal [2][MAX_REFERENCE_PICTURES]
int frameOffsetCount [2][MAX_REFERENCE_PICTURES]
int frameOffset [2][MAX_REFERENCE_PICTURES]
int frameOffsetAvail

Detailed Description

ImageParameters.

Definition at line 982 of file global.h.


Field Documentation

int number

current image number to be encoded (in all layers)

Definition at line 988 of file global.h.

current idr image number to be encoded

Definition at line 990 of file global.h.

Referenced by encode_sequence(), init_img(), and prepare_second_layer().

current image number to be encoded

Definition at line 991 of file global.h.

Referenced by CalculateFrameNumber(), and init_img().

int pn

picture number

Definition at line 992 of file global.h.

mapped level idc

Definition at line 993 of file global.h.

Referenced by SetLevelIndices(), and update_mv_limits().

int MaxVmvR[6]

maximum vertical motion vector

Definition at line 994 of file global.h.

Referenced by clip_mv_range(), out_of_bounds_mvs(), test_clip_mvs(), and update_mv_limits().

int MaxHmvR[6]

maximum horizontal motion vector

Definition at line 995 of file global.h.

Referenced by clip_mv_range(), out_of_bounds_mvs(), test_clip_mvs(), and update_mv_limits().

int structure

number of reference frames to be used

Definition at line 1001 of file global.h.

Referenced by check_num_ref(), and init_img().

int masterQP

int qp

int qpsp

quant for the prediction frame of SP-frame

Definition at line 1005 of file global.h.

Referenced by init_field(), init_frame(), SliceHeader(), and start_macroblock().

int width

Width in pels of padded picture.

Definition at line 1012 of file global.h.

Referenced by init_global_buffers(), and init_img().

int width_blk

Number of columns in blocks.

Definition at line 1013 of file global.h.

Referenced by init_global_buffers(), and init_img().

int width_cr

int height

Number in lines of padded picture.

Definition at line 1016 of file global.h.

Referenced by init_global_buffers(), and init_img().

Number of lines in blocks.

Definition at line 1017 of file global.h.

Referenced by init_global_buffers(), and init_img().

int height_cr

Number of lines chroma frame.

Definition at line 1019 of file global.h.

Referenced by distortion_fld(), field_picture(), frame_mode_buffer(), and init_img().

int size

int size_cr

int block_c_x

current block chroma vertical

Definition at line 1028 of file global.h.

Referenced by init_field(), and init_frame().

char** ipredmode

char** ipredmode8x8

Current count of number of skipped macroblocks in a row.

Definition at line 1031 of file global.h.

Referenced by encode_one_slice(), encode_one_slice_MBAFF(), end_macroblock(), RDCost_for_macroblocks(), start_macroblock(), and writeMBLayer().

int*** nz_coeff

int mb_x

int mb_y

int block_x

int block_y

int pix_x

int pix_y

int pix_c_x

int pix_c_y

int opix_x

int opix_y

int opix_c_x

int opix_c_y

int*** mb_rres

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

Definition at line 1048 of file global.h.

Referenced by ChromaResidualCoding(), copyblock_sp(), dct_4x4(), dct_4x4_ls(), dct_4x4_sp(), dct_4x4_sp2(), dct_8x8(), dct_8x8_cavlc(), dct_chroma(), dct_chroma_ls(), dct_chroma_sp(), dct_chroma_sp2(), free_img(), init_img(), and select_plane().

int*** mb_ores

int** curr_res

pointer to current residual

Definition at line 1050 of file global.h.

Referenced by init_img(), and select_plane().

imgpel**** mpr_4x4

prediction samples for 4x4 intra prediction modes

Definition at line 1051 of file global.h.

Referenced by free_img(), intrapred_4x4(), Mode_Decision_for_4x4IntraBlocks_JM_High(), and Mode_Decision_for_4x4IntraBlocks_JM_Low().

imgpel**** mpr_8x8

prediction samples for 8x8 intra prediction modes

Definition at line 1052 of file global.h.

Referenced by free_img(), intrapred_8x8(), Mode_Decision_for_8x8IntraBlocks_JM_High(), and Mode_Decision_for_8x8IntraBlocks_JM_Low().

imgpel**** mpr_16x16

imgpel*** mb_pred

imgpel** curr_prd

pointer to current prediction

Definition at line 1055 of file global.h.

Referenced by init_img(), and select_plane().

int**** cofAC

int***** cofAC_new

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

Definition at line 1059 of file global.h.

int*** cofDC

int**** ARCofAdj4x4

int**** ARCofAdj8x8

Picture* currentPicture

array containing all MBs of a whole frame

Definition at line 1068 of file global.h.

Referenced by arienco_done_encoding(), Build_Status_Map(), change_plane_JV(), CheckAvailabilityOfNeighbors(), CheckAvailabilityOfNeighborsCABAC(), copy_conceal_picture(), DeblockFrame(), DeblockMb(), EdgeLoopChromaMBAff(), EdgeLoopChromaNormal(), EdgeLoopLumaMBAff(), EdgeLoopLumaNormal(), EPZSSpatialPredictors(), EPZSSubPelBlockSearchBiPred(), est_RunLevel_CAVLC(), est_write_and_store_CBP_block_bit(), EstimateWPBSliceAlg0(), EstimateWPBSliceAlg1(), EstimateWPBSliceAlg2(), EstimateWPPSliceAlg0(), EstimateWPPSliceAlg1(), EstimateWPPSliceAlg2(), field_flag_inference(), FindSkipModeMotionVector(), free_global_buffers(), Get_Direct_Motion_Vectors(), getAffNeighbour(), GetMotionVectorPredictor(), GetStrengthMBAff(), init_frame(), init_img(), mb_is_available(), OneComponentChromaPrediction4x4_regenerate(), rdoq_4x4_CABAC(), rdoq_4x4_CAVLC(), rdoq_8x8_CABAC(), rdoq_8x8_CAVLC(), rdoq_ac4x4_CABAC(), rdoq_ac4x4_CAVLC(), rdoq_dc_CABAC(), rdoq_dc_CAVLC(), rdoq_dc_cr_CABAC(), rdoq_dc_cr_CAVLC(), reset_macroblock(), set_MB_parameters(), start_macroblock(), SubPelBlockSearchBiPred(), terminate_slice(), TestWPBSliceAlg0(), TestWPBSliceAlg1(), TestWPBSliceAlg2(), TestWPPSliceAlg0(), TestWPPSliceAlg1(), TestWPPSliceAlg2(), UMHEXSetMotionVectorPredictor(), write_and_store_CBP_block_bit(), writeCBP_BIT_CABAC(), writeCIPredMode_CABAC(), writeDquant_CABAC(), writeFieldModeInfo_CABAC(), writeMB_transform_size_CABAC(), writeMB_typeInfo_CABAC(), writeMBLayer(), writeMVD_CABAC(), and writeRefFrame_CABAC().

int* quad

Array containing square values,used for snr computation */ /* Values are limited to 5000 for pixel differences over 70 (sqr(5000)).

Definition at line 1070 of file global.h.

Referenced by computeBiPredSSE1(), computeSSE(), computeSSEWP(), distortion4x4(), distortion8x8(), free_img(), and init_img().

int fld_type

top or bottom field

Definition at line 1074 of file global.h.

Referenced by init_field(), put_buffer_bot(), and put_buffer_top().

frame interval (frame_skip + 1)

Definition at line 1079 of file global.h.

Referenced by CalculateFrameNumber(), init_img(), and prepare_second_layer().

short****** pred_mv

motion vector predictors for all block types and all reference frames

Definition at line 1085 of file global.h.

short****** all_mv

short******* bipred_mv

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

Definition at line 1093 of file global.h.

Referenced by compute_colocated(), compute_colocated_JV(), encode_one_frame(), Get_Direct_Motion_Vectors(), and SliceHeader().

For MB level field/frame -- field mode on flag.

Definition at line 1099 of file global.h.

Referenced by encode_one_slice_MBAFF(), IntraChromaPrediction(), and IntraChromaRDDecision().

For MB level field/frame -- top field flag.

Definition at line 1100 of file global.h.

Referenced by encode_one_slice_MBAFF().

int layer

which layer this picture belonged to

Definition at line 1105 of file global.h.

Referenced by prepare_first_layer(), prepare_second_layer(), PrepareAggregationSEIMessage(), and write_non_vcl_nalu().

signed int toppoc

signed int bottompoc

for completeness - poc of bottom field of a frame (always = poc+1)

Definition at line 1135 of file global.h.

Referenced by adaptive_memory_management(), ExplicitUpdateImgParams(), field_picture(), init_frame_params(), prepare_enc_frame_picture(), prepare_second_layer(), and SliceHeader().

signed int framepoc

signed int ThisPOC

unsigned int frame_num

signed int start_tr_gop

initial tr for current gop

Definition at line 1139 of file global.h.

Referenced by CalculateFrameNumber(), init_img(), and prepare_second_layer().

double** lambda_md

double*** lambda_me

Motion Estimation Lambda.

Definition at line 1194 of file global.h.

Referenced by free_global_buffers(), init_enc_mb_params(), and init_img().

int*** lambda_mf

Integer formatted Motion Estimation Lambda.

Definition at line 1195 of file global.h.

Referenced by free_global_buffers(), init_enc_mb_params(), and init_img().

double** lambda_mf_factor

Motion Estimation Lamda Scale Factor.

Definition at line 1197 of file global.h.

Referenced by free_global_buffers(), and init_img().

unsigned int dc_pred_value_comp[MAX_PLANE]

component value for DC prediction (depends on component pel bit depth)

Definition at line 1199 of file global.h.

Referenced by clear_picture(), init_img(), IntraChromaPrediction(), and select_plane().

unsigned int dc_pred_value

DC prediction value for current component.

Definition at line 1200 of file global.h.

Referenced by init_img(), intrapred_16x16(), intrapred_4x4(), intrapred_8x8(), and select_plane().

int max_imgpel_value_comp[MAX_PLANE]

int max_imgpel_value_comp_sq[MAX_PLANE]

max value that one picture element (pixel) can take (depends on pic_unit_bitdepth)

Definition at line 1202 of file global.h.

Referenced by init_img(), and report().

offset for qp for chroma [0-Cb, 1-Cr]

Definition at line 1214 of file global.h.

Referenced by init_img().

Macroblock* mb_data_JV[MAX_PLANE]

mb_data to be used during 4:4:4 independent mode encoding

Definition at line 1228 of file global.h.

Referenced by change_plane_JV(), free_global_buffers(), init_frame(), and init_img().

colour_plane_id of the current coded slice (valid only when separate_colour_plane_flag is 1)

Definition at line 1229 of file global.h.

Referenced by CalculateOffset8Param(), CalculateOffsetParam(), change_plane_JV(), code_a_picture(), compute_colocated_JV(), encode_one_slice(), encode_one_slice_MBAFF(), init_img(), init_slice(), SliceHeader(), and update_offset_params().


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

Documentation generated with DoxyGen