InputParameters Struct Reference

all input parameters More...

#include <global.h>

Collaboration diagram for InputParameters:

Collaboration graph
[legend]

Data Fields

int ProfileIDC
int LevelIDC
int IntraProfile
int no_frm_base
int no_frames
int qp [2][NUM_SLICE_TYPES]
int qpsp [2]
int frame_skip
int jumpd
int DisableSubpelME
int search_range
int num_ref_frames
int P_List0_refs
int B_List0_refs
int B_List1_refs
int Log2MaxFNumMinus4
int Log2MaxPOCLsbMinus4
FrameFormat source
FrameFormat output
int rgb_input_flag
int is_interleaved
int src_resize
int src_BitDepthRescale
int yuv_format
int intra_upd
int blc_size [8][2]
int part_size [8][2]
int slice_mode
int slice_argument
int UseConstrainedIntraPred
int infile_header
VideoDataFile input_file1
char outfile [FILE_NAME_SIZE]
char ReconFile [FILE_NAME_SIZE]
char TraceFile [FILE_NAME_SIZE]
char StatsFile [FILE_NAME_SIZE]
char QmatrixFile [FILE_NAME_SIZE]
int ProcessInput
int EnableOpenGOP
int EnableIDRGOP
int grayscale
int idr_period
int intra_period
int intra_delay
int adaptive_idr_period
int adaptive_intra_period
int start_frame
int GenerateMultiplePPS
int GenerateSEIMessage
char SEIMessageText [INPUT_TEXT_SIZE]
int ResendSPS
int ResendPPS
int SendAUD
int skip_gl_stats
int NumberBFrames
int PReplaceBSlice
int qpBRSOffset [2]
int direct_spatial_mv_pred_flag
int directInferenceFlag
int BiPredMotionEstimation
int BiPredSearch [4]
int BiPredMERefinements
int BiPredMESearchRange
int BiPredMESubPel
int sp_periodicity
int si_frame_indicator
int sp2_frame_indicator
int sp_output_indicator
char sp_output_filename [FILE_NAME_SIZE]
char sp2_input_filename1 [FILE_NAME_SIZE]
char sp2_input_filename2 [FILE_NAME_SIZE]
int WeightedPrediction
int WeightedBiprediction
int WPMethod
int WPIterMC
int WPMCPrecision
int WPMCPrecFullRef
int WPMCPrecBSlice
int EnhancedBWeightSupport
int ChromaWeightSupport
int UseWeightedReferenceME
int RDPictureDecision
int RDPictureIntra
int RDPSliceWeightOnly
int RDPSliceBTest
int RDBSliceWeightOnly
int SkipIntraInInterSlices
int BRefPictures
int HierarchicalCoding
int HierarchyLevelQPEnable
char ExplicitHierarchyFormat [INPUT_TEXT_SIZE]
int ExplicitSeqCoding
char ExplicitSeqFile [FILE_NAME_SIZE]
int ReferenceReorder
int PocMemoryManagement
int symbol_mode
int of_mode
int partition_mode
int InterSearch [2][8]
int DisableIntra4x4
int DisableIntra16x16
int FastMDEnable
int FastIntraMD
int FastIntra4x4
int FastIntra16x16
int FastIntra8x8
int FastIntraChroma
int DisableIntraInInter
int IntraDisableInterOnly
int Intra4x4ParDisable
int Intra4x4DiagDisable
int Intra4x4DirDisable
int Intra16x16ParDisable
int Intra16x16PlaneDisable
int ChromaIntraDisable
int EnableIPCM
double FrameRate
int chroma_qp_index_offset
int full_search
int last_frame
int qp2start
int rdopt
int Distortion [TOTAL_DIST_TYPES]
double VisualResWavPSNR
int SSIMOverlapSize
int DistortionYUVtoRGB
int CtxAdptLagrangeMult
int FastCrIntraDecision
int disthres
int nobskip
int NumberLeakyBuckets
char LeakyBucketRateFile [FILE_NAME_SIZE]
char LeakyBucketParamFile [FILE_NAME_SIZE]
int PicInterlace
int MbInterlace
int IntraBottom
int LossRateA
int LossRateB
int LossRateC
int NoOfDecoders
int ErrorConcealment
int RestrictRef
int NumFramesInELSubSeq
int RandomIntraMBRefresh
int ChromaMCBuffer
int ChromaMEEnable
int ChromaMEWeight
int MEErrorMetric [3]
int ModeDecisionMetric
int SkipDeBlockNonRef
int DFSendParameters
int DFDisableIdc [2][NUM_SLICE_TYPES]
int DFAlpha [2][NUM_SLICE_TYPES]
int DFBeta [2][NUM_SLICE_TYPES]
int SparePictureOption
int SPDetectionThreshold
int SPPercentageThreshold
char SliceGroupConfigFileName [FILE_NAME_SIZE]
int num_slice_groups_minus1
int slice_group_map_type
int * top_left
int * bottom_right
byte * slice_group_id
int * run_length_minus1
int slice_group_change_direction_flag
int slice_group_change_rate_minus1
int slice_group_change_cycle
int redundant_pic_flag
int pic_order_cnt_type
int context_init_method
int model_number
int Transform8x8Mode
int ReportFrameStats
int DisplayEncParams
int Verbose
int RCEnable
int bit_rate
int SeinitialQP
unsigned int basicunit
int channel_type
int RCUpdateMode
double RCIoverPRatio
double RCBoverPRatio
double RCISliceBitRatio
double RCBSliceBitRatio [RC_MAX_TEMPORAL_LEVELS]
int RCMinQP [NUM_SLICE_TYPES]
int RCMaxQP [NUM_SLICE_TYPES]
int RCMaxQPChange
int UseMVLimits
int SetMVXLimit
int SetMVYLimit
SearchType SearchMode
int UMHexDSR
int UMHexScale
int EPZSPattern
int EPZSDual
int EPZSFixed
int EPZSTemporal
int EPZSSpatialMem
int EPZSBlockType
int EPZSMinThresScale
int EPZSMaxThresScale
int EPZSMedThresScale
int EPZSSubPelGrid
int EPZSGrid
int EPZSSubPelME
int EPZSSubPelMEBiPred
int EPZSSubPelThresScale
int UseExplicitLambdaParams
int UpdateLambdaChromaME
double LambdaWeight [6]
double FixedLambda [6]
char QOffsetMatrixFile [FILE_NAME_SIZE]
int OffsetMatrixPresentFlag
int AdaptiveRounding
int AdaptRoundingFixed
int AdaptRndPeriod
int AdaptRndChroma
int AdaptRndWFactor [2][NUM_SLICE_TYPES]
int AdaptRndCrWFactor [2][NUM_SLICE_TYPES]
int ScalingMatrixPresentFlag
int ScalingListPresentFlag [12]
int cb_qp_index_offset
int cr_qp_index_offset
int LosslessCoding
int EarlySkipEnable
int SelectiveIntraEnable
int DisposableP
int DispPQPOffset
int NumRedundantHierarchy
int PrimaryGOPLength
int NumRefPrimary
int ToneMappingSEIPresentFlag
char ToneMappingFile [FILE_NAME_SIZE]
int separate_colour_plane_flag
double WeightY
double WeightCb
double WeightCr
int UseRDOQuant
int RDOQ_DC
int RDOQ_CR
int RDOQ_DC_CR
int RDOQ_QP_Num
int RDOQ_CP_Mode
int RDOQ_CP_MV
int RDOQ_Fast
int EnableVUISupport
VUIParameters VUI

Detailed Description

all input parameters

Definition at line 650 of file global.h.


Field Documentation

int LevelIDC

value of syntax element level_idc

Definition at line 653 of file global.h.

Referenced by IdentifyLevel(), information_init(), LevelCheck(), and report_stats().

int no_frames

number of frames to be encoded

Definition at line 657 of file global.h.

Referenced by CalculateFrameNumber(), compute_frameno_params(), encode_sequence(), getNumberOfFrames(), init_encoder(), PatchInp(), and prepare_first_layer().

int qp[2][NUM_SLICE_TYPES]

QP values for all slice types (first and second group).

Definition at line 658 of file global.h.

Referenced by create_hierarchy(), information_init(), init_field(), init_frame(), interpret_gop_structure(), rc_alloc_quadratic(), and UMHEX_DefineThresholdMB().

int qpsp[2]

QPSP quantization value.

Definition at line 659 of file global.h.

Referenced by information_init(), init_field(), and init_frame().

number of frames to skip in input sequence (e.g 2 takes frame 0,3,6,9...)

Definition at line 660 of file global.h.

Referenced by CalculateFrameNumber(), compute_frameno_params(), init_img(), PatchInp(), and updateOutFormat().

int jumpd

number of frames to skip in input sequence including intermediate pictures (e.g 2 takes frame 0,3,6,9...)

Definition at line 661 of file global.h.

Referenced by encode_sequence(), init_field(), init_img(), and PatchInp().

Disable sub-pixel motion estimation.

Definition at line 663 of file global.h.

Referenced by BiPredBlockMotionSearch(), BlockMotionSearch(), and PatchInp().

search range - integer pel search and 16x16 blocks. The search window is generally around the predicted vector. Max vector is 2xmcrange.

Definition at line 664 of file global.h.

Referenced by EPZSInit(), information_init(), Init_Motion_Search_Module(), InitializeFastFullIntegerSearch(), PartitionMotionSearch(), PatchInp(), report_stats(), UMHEX_get_mem(), UMHEXBipredIntegerPelBlockMotionSearch(), UMHEXIntegerPelBlockMotionSearch(), and UMHEXSetMotionVectorPredictor().

number of reference picture in list 0 in P pictures

Definition at line 667 of file global.h.

Referenced by information_init(), init_slice(), PatchInp(), report_stats(), and wpxAdaptRefNum().

number of reference picture in list 0 in B pictures

Definition at line 668 of file global.h.

Referenced by information_init(), init_slice(), PatchInp(), report_stats(), TestWPBSliceAlg0(), TestWPBSliceAlg1(), TestWPBSliceAlg2(), and wpxAdaptRefNum().

number of reference picture in list 1 in B pictures

Definition at line 669 of file global.h.

Referenced by information_init(), init_slice(), PatchInp(), report_stats(), TestWPBSliceAlg0(), TestWPBSliceAlg1(), TestWPBSliceAlg2(), and wpxAdaptRefNum().

value of syntax element log2_max_frame_num

Definition at line 670 of file global.h.

Referenced by PatchInp().

value of syntax element log2_max_pic_order_cnt_lsb_minus4

Definition at line 671 of file global.h.

Referenced by PatchInp().

FrameFormat source

source related information

Definition at line 674 of file global.h.

Referenced by encode_one_frame(), getNumberOfFrames(), init_img(), PatchInp(), rc_init_GOP(), ReadOneFrame(), and updateOutFormat().

FrameFormat output

Control if input sequence will be resized (currently only cropping is supported).

Definition at line 678 of file global.h.

Referenced by updateOutFormat().

Control if input sequence bitdepth should be adjusted.

Definition at line 679 of file global.h.

Referenced by PatchInp(), and updateOutFormat().

YUV format (0=4:0:0, 1=4:2:0, 2=4:2:2, 3=4:4:4).

Definition at line 680 of file global.h.

Referenced by PatchInp(), ProfileCheck(), and updateOutFormat().

int intra_upd

For error robustness. 0: no special action. 1: One GOB/frame is intra coded as regular 'update'. 2: One GOB every 2 frames is intra coded etc. In connection with this intra update, restrictions is put on motion vectors to prevent errors to propagate from the past

Definition at line 681 of file global.h.

Referenced by information_init(), init_field(), init_frame(), and report_stats().

int blc_size[8][2]

int part_size[8][2]

array for different partition sizes

Definition at line 686 of file global.h.

Referenced by BIDPartitionCost(), BPredPartitionCost(), PartitionMotionSearch(), PatchInp(), SetRefAndMotionVectors(), and writeMotionVector8x8().

Indicate what algorithm to use for setting slices.

Definition at line 688 of file global.h.

Referenced by Build_Status_Map(), end_macroblock(), LevelCheck(), malloc_slice(), next_macroblock(), PatchInp(), and start_macroblock().

Argument to the specified slice algorithm.

Definition at line 689 of file global.h.

Referenced by end_macroblock(), LevelCheck(), malloc_slice(), PatchInp(), and slice_too_big().

If input file has a header set this to the length of the header.

Definition at line 691 of file global.h.

Referenced by encode_one_frame(), and getNumberOfFrames().

VideoDataFile input_file1

char outfile[FILE_NAME_SIZE]

H.264 compressed output bitstream.

Definition at line 693 of file global.h.

Referenced by information_init(), and start_sequence().

char ReconFile[FILE_NAME_SIZE]

Reconstructed Pictures.

Definition at line 694 of file global.h.

Referenced by information_init(), and PatchInp().

char TraceFile[FILE_NAME_SIZE]

Trace Outputs.

Definition at line 695 of file global.h.

Referenced by PatchInp().

char StatsFile[FILE_NAME_SIZE]

Stats File.

Definition at line 696 of file global.h.

Referenced by report_stats().

char QmatrixFile[FILE_NAME_SIZE]

Q matrix cfg file.

Definition at line 697 of file global.h.

Referenced by Init_QMatrix().

Filter Input Sequence.

Definition at line 698 of file global.h.

support for open gops.

Definition at line 699 of file global.h.

Referenced by encode_sequence(), init_slice(), is_gop_first_unit(), and PatchInp().

support for IDR closed gops with no shared B coded pictures.

Definition at line 700 of file global.h.

Referenced by CalculateFrameNumber(), code_a_picture(), compute_frameno_params(), PatchInp(), and prepare_second_layer().

int grayscale

encode in grayscale (Currently only works for 8 bit, YUV 420)

Definition at line 701 of file global.h.

Referenced by ReadOneFrame().

intra picture period

Definition at line 704 of file global.h.

Referenced by PatchInp(), ProfileCheck(), rc_init_GOP(), SetImgType(), UnifiedOneForthPix(), updateLastBU(), and updateNegativeTarget().

IDR picture delay.

Definition at line 705 of file global.h.

Referenced by CalculateFrameNumber(), init_frame_params(), PatchInp(), and prepare_second_layer().

reinitialize start of intra period

Definition at line 707 of file global.h.

Encode sequence starting from Frame start_frame.

Definition at line 709 of file global.h.

Referenced by getNumberOfFrames(), ReadFrameConcatenated(), ReadFrameSeparate(), and ReadTIFFImage().

int SendAUD

send Access Unit Delimiter NALU

Definition at line 718 of file global.h.

Referenced by rewrite_paramsets(), start_sequence(), and write_non_vcl_nalu().

int qpBRSOffset[2]

QP for reference B slice coded pictures.

Definition at line 724 of file global.h.

Referenced by create_hierarchy(), information_init(), init_field(), and init_frame().

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

Definition at line 725 of file global.h.

Referenced by encode_one_frame(), and PatchInp().

Direct Mode Inference Flag.

Definition at line 726 of file global.h.

Referenced by GenerateSequenceParameterSet(), LevelCheck(), PatchInp(), and ProfileCheck().

int BiPredSearch[4]

Bipredictive motion estimation for modes 16x16, 16x8, 8x16, and 8x8.

Definition at line 729 of file global.h.

Referenced by is_bipred_enabled(), and PatchInp().

Max number of Iterations for Bi-predictive motion estimation.

Definition at line 730 of file global.h.

Referenced by BiPredBlockMotionSearch(), and set_mbaff_parameters().

Search range of Bi-predictive motion estimation.

Definition at line 731 of file global.h.

Referenced by BiPredBlockMotionSearch(), EPZSInit(), and PatchInp().

Use of subpixel refinement for Bi-predictive motion estimation.

Definition at line 732 of file global.h.

Referenced by BiPredBlockMotionSearch().

The periodicity of SP-pictures.

Definition at line 735 of file global.h.

Referenced by free_global_buffers(), information_init(), init_global_buffers(), PatchInp(), ProfileCheck(), report(), and SetImgType().

Flag indicating whether SI frames should be encoded rather than SP frames (0: not used, 1: used).

Definition at line 737 of file global.h.

Referenced by encode_one_frame(), free_global_buffers(), and init_global_buffers().

Flag indicating whether switching SP frames should be encoded rather than SP frames (0: not used, 1: used).

Definition at line 738 of file global.h.

Referenced by encode_one_frame(), init_field(), init_frame(), and list_prediction_cost().

Flag indicating whether coefficients are output to allow future encoding of switchin SP frames (0: not used, 1: used).

Definition at line 739 of file global.h.

Referenced by encode_one_frame(), and list_prediction_cost().

char sp_output_filename[FILE_NAME_SIZE]

Filename where SP coefficients are output.

Definition at line 740 of file global.h.

Referenced by output_SP_coefficients().

char sp2_input_filename1[FILE_NAME_SIZE]

Filename of coefficients of the first bitstream when encoding SP frames to switch bitstreams.

Definition at line 741 of file global.h.

Referenced by read_SP_coefficients().

char sp2_input_filename2[FILE_NAME_SIZE]

Filenames of coefficients of the second bitstream when encoding SP frames to switch bitstreams.

Definition at line 742 of file global.h.

Referenced by read_SP_coefficients().

Weighted prediction for P frames (0: not used, 1: explicit).

Definition at line 745 of file global.h.

Referenced by free_global_buffers(), GenerateParameterSets(), init_global_buffers(), PatchInp(), and ProfileCheck().

Weighted prediction for B frames (0: not used, 1: explicit, 2: implicit).

Definition at line 746 of file global.h.

Referenced by free_global_buffers(), GenerateParameterSets(), init_global_buffers(), PatchInp(), and ProfileCheck().

int WPMethod

WP method (0: DC, 1: LMS).

Definition at line 747 of file global.h.

Referenced by InitWP().

int WPIterMC

Iterative WP method.

Definition at line 748 of file global.h.

Referenced by encode_one_frame(), encode_one_slice(), InitWP(), and TestWPBSliceAlg2().

Use Weighted Reference for ME.

Definition at line 754 of file global.h.

Referenced by BlockMotionSearch().

Perform RD optimal decision between various coded versions of same picture.

Definition at line 755 of file global.h.

Referenced by encode_one_frame(), init_img(), init_slice(), PatchInp(), rc_allocate_memory(), rc_free_memory(), and rc_init_frame().

Enabled RD pic decision for intra as well.

Definition at line 756 of file global.h.

Referenced by encode_one_frame().

If enabled, does not check QP variations for P slices.

Definition at line 757 of file global.h.

Referenced by rdPictureCoding().

Tests B slice replacement for P.

Definition at line 758 of file global.h.

Referenced by rdPictureCoding(), TestWPPSliceAlg0(), TestWPPSliceAlg1(), and TestWPPSliceAlg2().

If enabled, does not check QP variations for B slices.

Definition at line 759 of file global.h.

Referenced by rdPictureCoding().

Skip intra type checking in inter slices if best_mode is skip/direct.

Definition at line 760 of file global.h.

Referenced by encode_one_macroblock_high(), encode_one_macroblock_highfast(), and encode_one_macroblock_highloss().

B coded reference pictures replace P pictures (0: not used, 1: used).

Definition at line 761 of file global.h.

Referenced by field_picture(), free_global_buffers(), information_init(), init_frame_params(), init_global_buffers(), init_poc(), PatchInp(), prepare_second_layer(), ProfileCheck(), and SetImgType().

char ExplicitHierarchyFormat[INPUT_TEXT_SIZE]

Explicit GOP format (HierarchicalCoding==3).

Definition at line 764 of file global.h.

Referenced by interpret_gop_structure().

Reordering based on Poc distances.

Definition at line 768 of file global.h.

Referenced by init_slice(), and PatchInp().

Memory management based on Poc distances for hierarchical coding.

Definition at line 769 of file global.h.

Referenced by init_slice(), and PatchInp().

Specifies the mode the symbols are mapped on bits.

Definition at line 771 of file global.h.

Referenced by create_coding_state(), GeneratePictureParameterSet(), information_init(), malloc_slice(), ProfileCheck(), and report_stats().

int of_mode

Specifies the mode of the output file.

Definition at line 772 of file global.h.

Referenced by information_init(), PatchInp(), start_sequence(), and terminate_sequence().

Force Intra Bottom at GOP periods.

Definition at line 822 of file global.h.

Referenced by field_picture().

int LossRateA

assumed loss probablility of partition A (or full slice), in per cent, used for loss-aware R/D optimization

Definition at line 825 of file global.h.

Referenced by Build_Status_Map().

int LossRateB

assumed loss probablility of partition B, in per cent, used for loss-aware R/D

Definition at line 826 of file global.h.

Referenced by Build_Status_Map().

int LossRateC

assumed loss probablility of partition C, in per cent, used for loss-aware R/D

Definition at line 827 of file global.h.

Referenced by Build_Status_Map().

Error concealment method used for loss-aware RDO (0: Copy Concealment).

Definition at line 829 of file global.h.

Referenced by init_encoder().

Number of pseudo-random intra-MBs per picture.

Definition at line 833 of file global.h.

Referenced by init_img().

char SliceGroupConfigFileName[FILE_NAME_SIZE]

Filename for config info fot type 0, 2, 6.

Definition at line 854 of file global.h.

Referenced by read_slice_group_info().

"FmoNumSliceGroups" in encoder.cfg, same as FmoNumSliceGroups, which should be erased later

Definition at line 855 of file global.h.

Referenced by GeneratePictureParameterSet(), PatchInp(), ProfileCheck(), and read_slice_group_info().

int* top_left

top_left and bottom_right store values indicating foregrounds

Definition at line 858 of file global.h.

Referenced by GeneratePictureParameterSet(), and read_slice_group_info().

slice_group_id is for slice group type being 6

Definition at line 860 of file global.h.

Referenced by GeneratePictureParameterSet(), and read_slice_group_info().

run_length_minus1 is for slice group type being 0

Definition at line 861 of file global.h.

Referenced by GeneratePictureParameterSet(), and read_slice_group_info().

encoding of redundant pictures

Definition at line 868 of file global.h.

Referenced by GenerateSequenceParameterSet(), init_poc(), and PatchInp().

POC type.

Definition at line 870 of file global.h.

int RCEnable

char QOffsetMatrixFile[FILE_NAME_SIZE]

Quantization Offset matrix cfg file.

Definition at line 926 of file global.h.

Referenced by Init_QOffsetMatrix().

Enable Explicit Quantization Offset Matrices.

Definition at line 927 of file global.h.

Referenced by Init_QOffsetMatrix(), and InitOffsetParam().

Global rounding for all qps.

Definition at line 930 of file global.h.

Referenced by allocate_QOffsets(), CalculateOffset8Param(), CalculateOffsetParam(), free_QOffsets(), InitOffsetParam(), and update_offset_params().

Set period for adaptive rounding of JVT-N011 in MBs.

Definition at line 931 of file global.h.

Referenced by encode_one_slice(), and encode_one_slice_MBAFF().

int AdaptRndWFactor[2][NUM_SLICE_TYPES]

Weighting factors for luma component based on reference indicator and slice type.

Definition at line 933 of file global.h.

Referenced by CalculateOffsetParam().

int AdaptRndCrWFactor[2][NUM_SLICE_TYPES]

Weighting factors for chroma components based on reference indicator and slice type.

Definition at line 934 of file global.h.

Referenced by CalculateOffsetParam().

number of entries to allocate redundant pictures in a GOP

Definition at line 953 of file global.h.

Referenced by Init_redundant_frame(), PatchInp(), and Set_redundant_frame().

GOP length of primary pictures.

Definition at line 954 of file global.h.

Referenced by Init_redundant_frame(), PatchInp(), and Set_redundant_frame().

number of reference frames for primary picture

Definition at line 955 of file global.h.

Referenced by init_slice().

char ToneMappingFile[FILE_NAME_SIZE]

ToneMapping SEI message cfg file.

Definition at line 959 of file global.h.


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

Documentation generated with DoxyGen