/dports/multimedia/jmref/JM/lencod/src/ |
H A D | configfile.c | 801 if ( (p_Inp->PicInterlace || p_Inp->MbInterlace) && p_Inp->symbol_mode ) in PatchInp() 817 p_Inp->input_file1.format = p_Inp->source; in PatchInp() 820 if (p_Inp->idr_period && p_Inp->intra_delay && p_Inp->idr_period <= p_Inp->intra_delay) in PatchInp() 827 …if ( p_Inp->idr_period > 0 && (p_Inp->NumberBFrames + 1 + p_Inp->intra_delay) > p_Inp->idr_period ) in PatchInp() 830 p_Inp->NumberBFrames = p_Inp->idr_period - 1 - p_Inp->intra_delay; in PatchInp() 841 …if ( p_Inp->intra_period > 0 && (p_Inp->NumberBFrames + 1 + p_Inp->intra_delay) > p_Inp->intra_per… in PatchInp() 844 p_Inp->NumberBFrames = p_Inp->intra_period - 1 - p_Inp->intra_delay; in PatchInp() 856 if (p_Inp->intra_delay && p_Inp->NumberBFrames > 0 && p_Inp->EnableOpenGOP) in PatchInp() 860 p_Inp->jumpd = (p_Inp->NumberBFrames + 1) * (p_Inp->frame_skip + 1) - 1; in PatchInp() 1152 …if ((p_Inp->NumberBFrames)&&(p_Inp->BRefPictures)&&(p_Inp->idr_period)&&(p_Inp->pic_order_cnt_type… in PatchInp() [all …]
|
H A D | conformance.c | 299 if ((p_Inp->partition_mode) && (p_Inp->symbol_mode==CABAC)) in profile_check() 335 if ((p_Inp->NumberBFrames || p_Inp->BRefPictures==2) && p_Inp->PReplaceBSlice == 0) in profile_check() 355 if ((p_Inp->PicInterlace) ||(p_Inp->MbInterlace)) in profile_check() 431 if (p_Inp->IntraProfile && !p_Inp->idr_period) in profile_check() 437 if (p_Inp->IntraProfile && p_Inp->intra_period != 1) in profile_check() 443 if (p_Inp->IntraProfile && p_Inp->num_ref_frames) in profile_check() 467 …if(p_Inp->yuv_format==YUV422 && ( p_Inp->ProfileIDC != FREXT_Hi422 && p_Inp->ProfileIDC !=FREXT_Hi… in profile_check() 559 …if ( ((p_Inp->LevelIDC<21) || (p_Inp->LevelIDC>41)) && (p_Inp->PicInterlace > 0 || p_Inp->MbInterl… in level_check() 590 if ( p_Inp->bit_rate > (int)(cpbBrFactor * getMaxBR(p_Inp->ProfileIDC, p_Inp->LevelIDC, 0)) ) in level_check() 593 …p_Inp->bit_rate, cpbBrFactor * getMaxBR(p_Inp->ProfileIDC, p_Inp->LevelIDC, 0), (float) p_Inp->Lev… in level_check() [all …]
|
H A D | pred_struct.c | 220 InputParameters *p_Inp = p_Vid->p_Inp; in init_poc() local 454 …p_Inp->FrmStructBufferLength = imax( p_Inp->FrmStructBufferLength, imax( p_Inp->idr_period, p_Inp-… in init_seq_structure() 457 p_Inp->FrmStructBufferLength = imin( p_Inp->FrmStructBufferLength, p_Inp->no_frames ); in init_seq_structure() 459 p_Inp->FrmStructBufferLength = p_Inp->no_frames; in init_seq_structure() 978 if ( p_Inp->PreferDispOrder && !(p_Inp->EnableIDRGOP) ) in get_fixed_frame_for_prd() 1264 else if ( p_Inp->intra_delay && !p_Inp->EnableIDRGOP ) in init_gop_struct() 1268 else if ( p_Inp->intra_delay || !p_Inp->EnableIDRGOP ) in init_gop_struct() 1280 assert( p_Inp->intra_delay < p_Inp->idr_period ); in init_gop_struct() 1307 assert( p_Inp->intra_delay < p_Inp->intra_period ); in init_gop_struct() 1329 if ( p_Inp->intra_delay && p_Inp->intra_period != 1 && p_Inp->idr_period != 1 ) in init_gop_struct() [all …]
|
H A D | lambda.c | 21 InputParameters *p_Inp = p_Vid->p_Inp; in SetLambda() local 39 if(p_Vid->p_Inp->ProfileIDC >= FREXT_HP) in CalcMaxLamdaMD() 86 InputParameters *p_Inp = currSlice->p_Inp; in get_implicit_lambda_p_slice() local 102 if (p_Inp->NumberBFrames > 0) in get_implicit_lambda_p_slice() 119 if (p_Inp->CtxAdptLagrangeMult == 1) in get_implicit_lambda_p_slice() 130 InputParameters *p_Inp = currSlice->p_Inp; in get_implicit_lambda_b_slice() local 146 if (p_Inp->NumberBFrames > 0) in get_implicit_lambda_b_slice() 183 InputParameters *p_Inp = currSlice->p_Inp; in get_implicit_lambda_i_slice() local 229 InputParameters *p_Inp = currSlice->p_Inp; in get_implicit_lambda_sp_slice() local 278 InputParameters *p_Inp = currSlice->p_Inp; in get_explicit_lambda() local [all …]
|
H A D | lencod.c | 378 InputParameters *p_Inp = p_Vid->p_Inp; in set_storage_format() local 398 p_Vid->p_Inp = p_Inp; in init_encoder() 455 if (p_Inp->PicInterlace || p_Inp->MbInterlace) in init_encoder() 673 InputParameters *p_Inp = p_Vid->p_Inp; in setup_coding_layer() local 1110 InputParameters *p_Inp = p_Vid->p_Inp; in init_img() local 1344 …if(((p_Inp->RDPictureDecision) && p_Inp->GenerateMultiplePPS) || (p_Inp->WeightedPrediction || p_I… in init_img() 1376 initInput(p_Vid, &p_Inp->source, &p_Inp->output); in init_img() 1379 AllocateFrameMemory(p_Vid, p_Inp, &p_Inp->source); in init_img() 1439 p_Vid->p_Inp = p_Inp; in init_img() 1554 InputParameters *p_Inp = p_Vid->p_Inp; in init_orig_buffers() local [all …]
|
H A D | report.c | 334 if (p_Inp->SearchMode[0] == EPZS || p_Inp->SearchMode[1] == EPZS) in report_stats() 346 if (p_Inp->rdopt) in report_stats() 549 fprintf(p_log,"%5d | %d/%d |", p_Inp->no_frames, p_Inp->PicInterlace, p_Inp->MbInterlace); in report_log() 550 fprintf(p_log," %-3d| %-3d| %-3d|", p_Inp->qp[I_SLICE], p_Inp->qp[P_SLICE], p_Inp->qp[B_SLICE]); in report_log() 603 …fprintf(p_log," %3d (%3d) | %2d |", p_Inp->search_range[0], p_Inp->search_range[1], p_Inp->num_re… in report_log() 1117 p_Inp->B_List0_refs_org[0] ? p_Inp->B_List0_refs_org[0] : p_Inp->num_ref_frames_org, in information_init() 1118 p_Inp->B_List1_refs_org[0] ? p_Inp->B_List1_refs_org[0] : p_Inp->num_ref_frames_org); in information_init() 1124 p_Inp->B_List0_refs_org[1] ? p_Inp->B_List0_refs_org[1] : p_Inp->num_ref_frames_org, in information_init() 1125 p_Inp->B_List1_refs_org[1] ? p_Inp->B_List1_refs_org[1] : p_Inp->num_ref_frames_org); in information_init() 1133 p_Inp->qp[I_SLICE], p_Inp->qp[P_SLICE], p_Inp->qp[B_SLICE]); in information_init() [all …]
|
H A D | img_distortion.c | 97 InputParameters *p_Inp = p_Vid->p_Inp; in find_distortion() local 145 InputParameters *p_Inp = p_Vid->p_Inp; in select_img() local 148 imgSRC->format = p_Inp->output; in select_img() 149 imgREF->format = p_Inp->output; in select_img() 164 imgSRC->format = p_Inp->output; in select_img() 165 imgREF->format = p_Inp->output; in select_img() 169 if ((p_Inp->PicInterlace == ADAPTIVE_CODING) || (p_Inp->separate_colour_plane_flag != 0)) in select_img() 188 InputParameters *p_Inp = p_Vid->p_Inp; in compute_distortion() local 190 if (p_Inp->Verbose != 0) in compute_distortion() 195 if (p_Inp->Distortion[SSIM] == 1) in compute_distortion() [all …]
|
H A D | ratectl.c | 35 InputParameters *p_Inp = currMB->p_Inp; in rc_store_mad() local 242 switch( p_Inp->RCUpdateMode ) in rc_init_gop_params() 249 …np = (int) (p_Inp->no_frames + p_Inp->NumberBFrames) / (1 + p_Inp->NumberBFrames) - 1 + 1; // appr… in rc_init_gop_params() 258 if (p_Inp->idr_period == 0) in rc_init_gop_params() 263 …np = (int) (p_Inp->no_frames + p_Inp->NumberBFrames) / (1 + p_Inp->NumberBFrames) - 1 + 1; // appr… in rc_init_gop_params() 272 int n = p_Inp->idr_period; in rc_init_gop_params() 275 if ((p_Vid->curr_frm_idx / p_Inp->idr_period) >= (p_Inp->no_frames / p_Inp->idr_period)) in rc_init_gop_params() 302 switch( p_Inp->RCUpdateMode ) in rc_init_frame() 307 …if( (p_Inp->MbInterlace) && (p_Inp->basicunit < p_Vid->FrameSizeInMbs) && (p_Vid->type == P_SLICE … in rc_init_frame() 339 switch( p_Inp->RCUpdateMode ) in rc_init_sequence() [all …]
|
H A D | image_mp.c | 53 InputParameters *p_Inp = p_Vid->p_Inp; in store_coding_and_rc_info() local 57 if ( p_Inp->RCEnable ) in store_coding_and_rc_info() 90 InputParameters *p_Inp = p_Vid->p_Inp; in frame_picture_mp_exit() local 97 if ( p_Inp->RCEnable ) in frame_picture_mp_exit() 120 if(p_Inp->WPIterMC) in frame_picture_mp_p_slice() 142 InitWP(p_Vid, p_Inp, 0); in frame_picture_mp_p_slice() 187 if(p_Inp->WPMethod == 0 || p_Inp->WPMCPrecision) in frame_picture_mp_p_slice() 340 if ( p_Inp->RCEnable ) in frame_picture_mp_p_slice() 396 if ( p_Inp->RCEnable ) in frame_picture_mp_i_slice() 472 if(p_Inp->WPIterMC) in frame_picture_mp_b_slice() [all …]
|
H A D | image.c | 265 InputParameters *p_Inp = p_Vid->p_Inp; in code_a_picture() local 566 InputParameters *p_Inp = p_Vid->p_Inp; in write_frame_picture() local 612 InputParameters *p_Inp = p_Vid->p_Inp; in write_frame_picture() local 649 InputParameters *p_Inp = p_Vid->p_Inp; in read_input_data_32pulldown() local 718 InputParameters *p_Inp = p_Vid->p_Inp; in read_input_data() local 753 InputParameters *p_Inp = p_Vid->p_Inp; in perform_encode_field() local 771 InputParameters *p_Inp = p_Vid->p_Inp; in perform_encode_frame() local 960 InputParameters *p_Inp = p_Vid->p_Inp; in store_coded_picture() local 1129 InputParameters *p_Inp = p_Vid->p_Inp; in update_video_stats() local 1581 InputParameters *p_Inp = p_Vid->p_Inp; in prepare_enc_frame_picture() local [all …]
|
H A D | rc_quadratic.c | 326 …t i_period = p_Inp->intra_period == 0 ? p_Inp->idr_period : (p_Inp->idr_period == 0 ? p_Inp->intra… in rc_init_GOP() 432 if ( !p_Inp->PicInterlace && p_Inp->MbInterlace && p_Inp->basicunit == p_Vid->FrameSizeInMbs ) in rc_init_GOP() 455 if( p_Inp->PicInterlace == ADAPTIVE_CODING || p_Inp->MbInterlace ) in rc_init_GOP() 1714 if((p_Inp->PicInterlace==ADAPTIVE_CODING)||(p_Inp->MbInterlace)) in updateQPRC2() 1729 if((p_Inp->PicInterlace==ADAPTIVE_CODING)||(p_Inp->MbInterlace)) in updateQPRC2() 1812 if((p_Inp->PicInterlace==ADAPTIVE_CODING)||(p_Inp->MbInterlace)) in updateQPRC2() 1825 if((p_Inp->PicInterlace==ADAPTIVE_CODING)||(p_Inp->MbInterlace)) in updateQPRC2() 2492 InputParameters *p_Inp = currMB->p_Inp; in rc_handle_mb() local 2640 …if ( p_Inp->RDPictureDecision || p_Inp->MbInterlace == ADAPTIVE_CODING || p_Inp->PicInterlace == A… in rc_allocate_memory() 2670 …if ( p_Inp->RDPictureDecision || p_Inp->MbInterlace == ADAPTIVE_CODING || p_Inp->PicInterlace == A… in rc_free_memory() [all …]
|
H A D | slice.c | 412 InputParameters *p_Inp = p_Vid->p_Inp; in init_bipred_enabled() local 433 InputParameters *p_Inp = p_Vid->p_Inp; in encode_one_slice() local 573 InputParameters *p_Inp = p_Vid->p_Inp; in encode_one_slice_MBAFF() local 1243 InputParameters *p_Inp = p_Vid->p_Inp; in set_slice() local 1246 currSlice->p_Inp = p_Inp; in set_slice() 1311 InputParameters *p_Inp = p_Vid->p_Inp; in init_slice() local 1762 InputParameters *p_Inp = p_Vid->p_Inp; in init_slice_lite() local 1963 currSlice->p_Inp = p_Inp; in malloc_slice() 2007 dataPart->p_Inp = p_Inp; in malloc_slice() 2040 currSlice->p_Inp = p_Inp; in malloc_slice_lite() [all …]
|
H A D | explicit_gop.c | 32 void init_gop_structure(VideoParameters *p_Vid, InputParameters *p_Inp) in init_gop_structure() argument 34 int max_gopsize = p_Inp->NumberBFrames; in init_gop_structure() 63 int nLength = (int) strlen(p_Inp->ExplicitHierarchyFormat); in interpret_gop_structure() 77 switch (p_Inp->ExplicitHierarchyFormat[i]) in interpret_gop_structure() 103 if (isdigit((int)(*(p_Inp->ExplicitHierarchyFormat+i)))) in interpret_gop_structure() 108 if (display_no < 0 || display_no >= p_Inp->NumberBFrames) in interpret_gop_structure() 132 switch (p_Inp->ExplicitHierarchyFormat[i]) in interpret_gop_structure() 155 sscanf(p_Inp->ExplicitHierarchyFormat+i,"%d",&dqp); in interpret_gop_structure() 170 … if (p_Inp->ExplicitHierarchyFormat[i] == 't' || p_Inp->ExplicitHierarchyFormat[i] == 'T') in interpret_gop_structure() 198 if (coded_frame >= p_Inp->NumberBFrames ) in interpret_gop_structure() [all …]
|
H A D | parset.c | 58 InputParameters *p_Inp = p_Vid->p_Inp; in generate_parameter_sets() local 79 …ctureParameterSet( p_Vid->PicParSet[0], sps, p_Vid, p_Inp, 0, 0, 0, p_Inp->cb_qp_index_offset, p_I… in generate_parameter_sets() 80 …ctureParameterSet( p_Vid->PicParSet[1], sps, p_Vid, p_Inp, 1, 1, 1, p_Inp->cb_qp_index_offset, p_I… in generate_parameter_sets() 81 …ctureParameterSet( p_Vid->PicParSet[2], sps, p_Vid, p_Inp, 2, 1, 2, p_Inp->cb_qp_index_offset, p_I… in generate_parameter_sets() 94 …ePictureParameterSet( p_Vid->PicParSet[0], sps, p_Vid, p_Inp, 0, p_Inp->WeightedPrediction, p_Inp-… in generate_parameter_sets() 95 p_Inp->cb_qp_index_offset, p_Inp->cr_qp_index_offset); in generate_parameter_sets() 97 …ePictureParameterSet( p_Vid->PicParSet[0], sps, p_Vid, p_Inp, 0, p_Inp->WeightedPrediction, p_Inp-… in generate_parameter_sets() 266 InputParameters *p_Inp = p_Vid->p_Inp; in GenerateSequenceParameterSet() local 341 sps->frame_mbs_only_flag = (Boolean) !(p_Inp->PicInterlace || p_Inp->MbInterlace); in GenerateSequenceParameterSet() 879 InputParameters *p_Inp = p_Vid->p_Inp; in GeneratePic_parameter_set_rbsp() local [all …]
|
H A D | filehandle.c | 75 switch(p_Inp->of_mode) in start_sequence() 93 if ( p_Inp->SendAUD ) in start_sequence() 131 if (p_Inp->GenerateSEIMessage) in start_sequence() 134 nalu = GenerateSEImessage_NALU(p_Inp); in start_sequence() 141 if(p_Inp->num_of_views==2) in start_sequence() 176 InputParameters *p_Inp = p_Vid->p_Inp; in rewrite_paramsets() local 181 if ( p_Inp->SendAUD ) in rewrite_paramsets() 214 if (p_Inp->GenerateSEIMessage) in rewrite_paramsets() 217 nalu = GenerateSEImessage_NALU(p_Inp); in rewrite_paramsets() 224 if(p_Inp->num_of_views==2) in rewrite_paramsets() [all …]
|
H A D | mode_decision.c | 71 InputParameters *p_Inp = currMB->p_Inp; in end_encode_one_macroblock() local 114 InputParameters *p_Inp = currMB->p_Inp; in init_enc_mb_params() local 279 InputParameters *p_Inp = currMB->p_Inp; in list_prediction_cost() local 290 int sp_indicator = (p_Inp->sp2_frame_indicator || p_Inp->sp_output_indicator); in list_prediction_cost() 294 if (p_Inp->sp2_frame_indicator == 0 && p_Inp->sp_output_indicator == 0) in list_prediction_cost() 420 InputParameters *p_Inp = currMB->p_Inp; in compute_mode_RD_cost() local 462 if (p_Inp->RCEnable) in compute_mode_RD_cost() 474 if(p_Inp->rdopt == 2 && mode == 0 && p_Inp->EarlySkipEnable) in compute_mode_RD_cost() 513 if (p_Inp->RCEnable) in compute_mode_RD_cost() 589 InputParameters *p_Inp = currMB->p_Inp; in update_lambda_costs() local [all …]
|
H A D | q_offsets.c | 219 int max_bitdepth = imax(p_Inp->output.bit_depth[0], p_Inp->output.bit_depth[1]); in allocate_QOffsets() 223 if (p_Inp->AdaptRoundingFixed) in allocate_QOffsets() 463 InputParameters *p_Inp = p_Vid->p_Inp; in init_qoffset() local 467 if (p_Inp->OffsetMatrixPresentFlag) in init_qoffset() 470 p_Inp->QOffsetMatrixFile); in init_qoffset() 477 p_Inp->OffsetMatrixPresentFlag = 0; in init_qoffset() 485 InitOffsetParam (p_Vid->p_Quant, p_Inp); in init_qoffset() 509 if (p_Inp->OffsetMatrixPresentFlag) in InitOffsetParam() 516 if (p_Inp->OffsetMatrixFlat == 1) in InitOffsetParam() 642 InputParameters *p_Inp = p_Vid->p_Inp; in CalculateOffset4x4Param() local [all …]
|
H A D | mv_search.c | 141 InputParameters *p_Inp = currMB->p_Inp; in init_ME_engine() local 320 …t search_range_orig = p_Inp->SepViewInterSearch ? imax( p_Inp->search_range[0], p_Inp->se… in init_motion_search_module() 555 …if ((p_Inp->SearchMode[0] == FAST_FULL_SEARCH || p_Inp->SearchMode[1] == FAST_FULL_SEARCH) && (!p_… in clear_motion_search_module() 700 InputParameters *p_Inp = currMB->p_Inp; in init_mv_block() local 868 InputParameters *p_Inp = currMB->p_Inp; in BlockMotionSearch() local 1041 InputParameters *p_Inp = currMB->p_Inp; in BiPredBlockMotionSearch() local 1261 InputParameters *p_Inp = currMB->p_Inp; in GetSkipCostMB() local 1416 InputParameters *p_Inp = currMB->p_Inp; in GetDirectCost8x8() local 1519 InputParameters *p_Inp = currSlice->p_Inp; in GetDirectCostMB() local 1611 InputParameters *p_Inp = currMB->p_Inp; in PartitionMotionSearch() local [all …]
|
H A D | me_epzs_int.c | 51 InputParameters *p_Inp = currMB->p_Inp; in EPZS_integer_motion_estimation() local 84 if (p_Inp->EPZSSpatialMem) in EPZS_integer_motion_estimation() 112 if (p_Inp->EPZSSpatialMem) in EPZS_integer_motion_estimation() 162 if (p_Inp->EPZSSpatialMem) in EPZS_integer_motion_estimation() 167 if (p_Inp->HMEEnable == 1 && p_Inp->EPZSUseHMEPredictors == 1) in EPZS_integer_motion_estimation() 175 if (p_Inp->EPZSTemporal) in EPZS_integer_motion_estimation() 413 if (p_Inp->EPZSSpatialMem) in EPZS_integer_motion_estimation() 446 InputParameters *p_Inp = currMB->p_Inp; in EPZS_integer_subMB_motion_estimation() local 478 if (p_Inp->EPZSSpatialMem) in EPZS_integer_subMB_motion_estimation() 767 if (p_Inp->EPZSSpatialMem) in EPZS_integer_subMB_motion_estimation() [all …]
|
H A D | me_epzs_common.c | 426 InputParameters *p_Inp = currSlice->p_Inp; in EPZSStructInit() local 437 …p_Inp->BiPredMotionEstimation ? (2 * imax (p_Inp->search_range[p_Vid->view_id], p_Inp->BiPredMESea… in EPZSStructInit() 502 if (p_Inp->EPZSSpatialMem) in EPZSStructInit() 514 if (p_Inp->EPZSTemporal) in EPZSStructInit() 543 switch (p_Inp->EPZSDual) in EPZSStructInit() 578 InputParameters *p_Inp = currSlice->p_Inp; in EPZSStructDelete() local 583 if (p_Inp->EPZSTemporal) in EPZSStructDelete() 623 InputParameters *p_Inp = currSlice->p_Inp; in EPZSSliceInit() local 676 if (p_Inp->EPZSTemporal) in EPZSSliceInit() 1923 if ( (p_Inp->num_of_views == 2) && (p_Inp->EnableEnhLayerEPZSScalers) ) in EPZSOutputStats() [all …]
|
H A D | md_highloss.c | 43 InputParameters *p_Inp = currMB->p_Inp; in encode_one_macroblock_highloss() local 86 p_Inp->rdopt= (rerun==0) ? 1 : 3; in encode_one_macroblock_highloss() 88 if (p_Inp->AdaptiveRounding) in encode_one_macroblock_highloss() 112 if (p_Inp->CtxAdptLagrangeMult == 1) in encode_one_macroblock_highloss() 195 if (p_Inp->Transform8x8Mode) in encode_one_macroblock_highloss() 213 if (p_Inp->Transform8x8Mode != 2) in encode_one_macroblock_highloss() 231 if (p_Inp->RCEnable) in encode_one_macroblock_highloss() 251 …( ((!intra || !p_Inp->IntraDisableInterOnly) && p_Inp->ChromaIntraDisable == 1 && currMB->c_ipred… in encode_one_macroblock_highloss() 277 if (p_Inp->SkipIntraInInterSlices) in encode_one_macroblock_highloss() 310 if(p_Inp->RCEnable && p_Inp->RCUpdateMode <= MAX_RC_MODE) in encode_one_macroblock_highloss() [all …]
|
/dports/multimedia/jmref/JM/lencod/inc/ |
H A D | rc_quadratic.h | 26 extern void rc_alloc_quadratic( VideoParameters *p_Vid, InputParameters *p_Inp, RCQuadratic **p_qua… 34 extern void rc_init_pict (VideoParameters *p_Vid, InputParameters *p_Inp, 37 extern void rc_update_picture (VideoParameters *p_Vid, InputParameters *p_Inp, int bits); 47 extern void updateBottomField ( InputParameters *p_Inp, RCQuadratic *p_quad ); 52 extern void predictCurrPicMAD ( InputParameters *p_Inp, RCQuadratic *p_quad, RCGeneric *p_gen ); 67 extern void rc_init_top_field ( VideoParameters *p_Vid, InputParameters *p_Inp ); 69 extern void rc_init_frame_rdpic ( VideoParameters *p_Vid, InputParameters *p_Inp, float rateRatio … 70 extern void rc_allocate_memory ( VideoParameters *p_Vid, InputParameters *p_Inp ); 71 extern void rc_free_memory ( VideoParameters *p_Vid, InputParameters *p_Inp ); 73 extern void rc_save_state ( VideoParameters *p_Vid, InputParameters *p_Inp ); [all …]
|
H A D | pred_struct.h | 24 extern void get_poc_type_zero( VideoParameters *p_Vid, InputParameters *p_Inp, FrameUnitStruct *p_f… 25 extern void get_poc_type_one( VideoParameters *p_Vid, InputParameters *p_Inp, FrameUnitStruct *p_fr… 27 extern SeqStructure * init_seq_structure( VideoParameters *p_Vid, InputParameters *p_Inp, int *memo… 29 extern void populate_frm_struct( VideoParameters *p_Vid, InputParameters *p_Inp, SeqStructure *p_se… 30 extern void populate_frame_explicit( ExpFrameInfo *info, InputParameters *p_Inp, FrameUnitStruct *p… 31 extern void populate_frame_slice_type( InputParameters *p_Inp, FrameUnitStruct *p_frm_struct, int s… 32 extern void populate_reg_pic( InputParameters *p_Inp, PicStructure *p_pic, FrameUnitStruct *p_frm_s… 33 extern void populate_frm_struct_mvc( VideoParameters *p_Vid, InputParameters *p_Inp, SeqStructure *…
|
/dports/multimedia/jmref/JM/ldecod/src/ |
H A D | configfile.c | 72 static void PatchInp (InputParameters *p_Inp); 154 memcpy (&cfgparams, p_Inp, sizeof (InputParameters)); in ParseCommand() 159 *p_Inp = cfgparams; in ParseCommand() 227 p_Inp->silent = 1; in ParseCommand() 293 PatchInp(p_Inp); in ParseCommand() 294 cfgparams = *p_Inp; in ParseCommand() 295 p_Inp->enable_32_pulldown = 0; in ParseCommand() 296 if (p_Inp->bDisplayDecParams) in ParseCommand() 307 static void PatchInp (InputParameters *p_Inp) in PatchInp() argument 312 if(p_Inp->export_views == 1) in PatchInp() [all …]
|
H A D | decoder_test.c | 34 static void Configure(InputParameters *p_Inp, int ac, char *av[]) in Configure() argument 38 memset(p_Inp, 0, sizeof(InputParameters)); in Configure() 39 strcpy(p_Inp->infile, BITSTREAM_FILENAME); //! set default bitstream name in Configure() 40 strcpy(p_Inp->outfile, DECRECON_FILENAME); //! set default output file name in Configure() 47 ParseCommand(p_Inp, ac, av); in Configure() 51 if(!p_Inp->bDisplayDecParams) in Configure() 61 fprintf(stdout," Rate_decoder : %8ld \n",p_Inp->R_decoder); in Configure() 62 fprintf(stdout," B_decoder : %8ld \n",p_Inp->B_decoder); in Configure() 63 fprintf(stdout," F_decoder : %8ld \n",p_Inp->F_decoder); in Configure() 65 calc_buffer(p_Inp); in Configure() [all …]
|