/external/libavc/encoder/svc/ |
D | isvce_process.c | 153 ih264e_bitstrm_init(ps_bitstrm, ps_out_buf->as_bits_buf[ps_proc->u1_spatial_layer_id].pv_buf, in isvce_generate_sps_pps() 154 ps_out_buf->as_bits_buf[ps_proc->u1_spatial_layer_id].u4_bufsize); in isvce_generate_sps_pps() 193 ps_out_buf->as_bits_buf[ps_proc->u1_spatial_layer_id].u4_bytes = ps_bitstrm->u4_strm_buf_offset; in isvce_generate_sps_pps() 297 UWORD8 u1_frame_qp = ps_codec->au4_frame_qp[ps_proc->u1_spatial_layer_id]; in isvce_update_rc_post_enc() 363 ps_codec->s_rate_control.apps_rate_control_api[ps_proc->u1_spatial_layer_id], in isvce_update_rc_post_enc() 368 &ps_codec->s_rate_control.ai4_num_intra_in_prev_frame[ps_proc->u1_spatial_layer_id], in isvce_update_rc_post_enc() 369 &ps_codec->s_rate_control.ai4_avg_activity[ps_proc->u1_spatial_layer_id] in isvce_update_rc_post_enc() 387 UWORD8 u1_spatial_layer_id = ps_proc->u1_spatial_layer_id; in isvce_update_rc_post_enc() local 396 pow(d_spatial_res_ratio, u1_num_spatial_layers - u1_spatial_layer_id - 1)) + in isvce_update_rc_post_enc() 400 pow(d_spatial_res_ratio, u1_num_spatial_layers - u1_spatial_layer_id - 1)) + in isvce_update_rc_post_enc() [all …]
|
D | isvce_sub_pic_rc.c | 228 UWORD8 u1_spatial_layer_id = ps_sub_pic_rc_variables->s_layer_variables.u1_spatial_layer_id; in isvce_sub_pic_rc_ctxt_layer_init() local 230 ps_layer_state = &ps_sub_pic_rc_state->as_sub_pic_rc_layer_states[u1_spatial_layer_id]; in isvce_sub_pic_rc_ctxt_layer_init() 413 UWORD8 u1_spatial_layer_id = ps_sub_pic_rc_variables->s_layer_variables.u1_spatial_layer_id; in ihevce_svc_sub_pic_rc_set_header_bits() local 415 ps_layer_state = &ps_sub_pic_rc_state->as_sub_pic_rc_layer_states[u1_spatial_layer_id]; in ihevce_svc_sub_pic_rc_set_header_bits() 443 if((ENABLE_ILP_MV || ENABLE_IBL_MODE) && u1_spatial_layer_id) in ihevce_svc_sub_pic_rc_set_header_bits() 527 UWORD8 u1_spatial_layer_id = ps_sub_pic_rc_variables->s_layer_variables.u1_spatial_layer_id; in ihevce_svc_sub_pic_rc_set_texture_bits() local 541 ps_layer_state = &ps_sub_pic_rc_state->as_sub_pic_rc_layer_states[u1_spatial_layer_id]; in ihevce_svc_sub_pic_rc_set_texture_bits() 650 UWORD8 u1_spatial_layer_id = ps_sub_pic_rc_variables->s_layer_variables.u1_spatial_layer_id; in isvce_sub_pic_rc_ctxt_update() local 658 ps_layer_state = &ps_sub_pic_rc_state->as_sub_pic_rc_layer_states[u1_spatial_layer_id]; in isvce_sub_pic_rc_ctxt_update() 699 UWORD8 u1_spatial_layer_id = ps_sub_pic_rc_variables->s_layer_variables.u1_spatial_layer_id; in isvce_sub_pic_rc_get_mb_qp() local [all …]
|
D | isvce_nalu_stat_aggregator.c | 64 ps_nalu_descriptor->as_nalu_info[i].u1_spatial_layer_id, in isvce_nalu_info_csv_translator() 92 NAL_UNIT_TYPE_T e_nalu_type, UWORD8 u1_spatial_layer_id, in isvce_nalu_info_buf_init() argument 106 ps_nalu_info->u1_spatial_layer_id = u1_spatial_layer_id; in isvce_nalu_info_buf_init()
|
D | isvce_ilp_mv.c | 326 UWORD8 u1_spatial_layer_id = ps_ilp_mv_variables->u1_spatial_layer_id; in isvce_get_ilp_mvs_for_me() local 329 s_frame_dims.i4_abscissa = ps_svc_ilp_data->ps_residual_bufs[u1_spatial_layer_id].u4_width; in isvce_get_ilp_mvs_for_me() 330 s_frame_dims.i4_ordinate = ps_svc_ilp_data->ps_residual_bufs[u1_spatial_layer_id].u4_height; in isvce_get_ilp_mvs_for_me() 334 ps_svc_ilp_data->ps_residual_bufs[u1_spatial_layer_id - 1].u4_width; in isvce_get_ilp_mvs_for_me() 336 ps_svc_ilp_data->ps_residual_bufs[u1_spatial_layer_id - 1].u4_height; in isvce_get_ilp_mvs_for_me() 340 ps_ref_layer_data = &ps_svc_au_data->ps_svc_layer_data[u1_spatial_layer_id - 1]; in isvce_get_ilp_mvs_for_me() 341 ps_layer_state = &ps_ilp_mv_state->ps_layer_state[u1_spatial_layer_id]; in isvce_get_ilp_mvs_for_me() 565 UWORD8 u1_spatial_layer_id = ps_ilp_mv_variables->u1_spatial_layer_id; in isvce_get_mb_ilp_mv() local 567 s_frame_dims.i4_abscissa = ps_svc_ilp_data->ps_residual_bufs[u1_spatial_layer_id].u4_width; in isvce_get_mb_ilp_mv() 568 s_frame_dims.i4_ordinate = ps_svc_ilp_data->ps_residual_bufs[u1_spatial_layer_id].u4_height; in isvce_get_mb_ilp_mv() [all …]
|
D | isvce_residual_pred.c | 1195 UWORD8 u1_spatial_layer_id = ps_res_pred_variables->u1_spatial_layer_id; in isvce_get_mb_residual_pred() local 1197 ASSERT(u1_spatial_layer_id > 0); in isvce_get_mb_residual_pred() 1199 s_frame_dims.i4_abscissa = ps_svc_ilp_data->ps_residual_bufs[u1_spatial_layer_id].u4_width; in isvce_get_mb_residual_pred() 1200 s_frame_dims.i4_ordinate = ps_svc_ilp_data->ps_residual_bufs[u1_spatial_layer_id].u4_height; in isvce_get_mb_residual_pred() 1205 &ps_svc_ilp_data->ps_svc_au_data->ps_svc_layer_data[u1_spatial_layer_id - 1]; in isvce_get_mb_residual_pred() 1206 ps_layer_state = &ps_res_pred_state->ps_layer_state[u1_spatial_layer_id]; in isvce_get_mb_residual_pred() 1207 ps_ref_residual_buf = &ps_svc_ilp_data->ps_residual_bufs[u1_spatial_layer_id - 1]; in isvce_get_mb_residual_pred() 1554 UWORD8 u1_spatial_layer_id = ps_res_pred_variables->u1_spatial_layer_id; in isvce_residual_reflayer_const() local 1556 ps_layer_state = &ps_res_pred_state->ps_layer_state[u1_spatial_layer_id]; in isvce_residual_reflayer_const() 1570 s_frame_dims.i4_abscissa = ps_svc_ilp_data->ps_residual_bufs[u1_spatial_layer_id].u4_width; in isvce_residual_reflayer_const() [all …]
|
D | isvce_ibl_eval.h | 75 UWORD8 u1_spatial_layer_id; member 95 UWORD8 u1_num_spatial_layers, UWORD8 u1_spatial_layer_id, 102 UWORD8 u1_spatial_layer_id, UWORD8 u1_num_spatial_layers,
|
D | isvce_ibl_eval.c | 973 &ps_intra_pred_state->ps_layer_state[ps_proc->u1_spatial_layer_id]; in isvce_get_mb_intra_pred() 975 &ps_intra_pred_state->ps_layer_state[ps_proc->u1_spatial_layer_id - 1]; in isvce_get_mb_intra_pred() 984 ps_svc_ilp_data->ps_intra_recon_bufs[ps_proc->u1_spatial_layer_id].u4_width; in isvce_get_mb_intra_pred() 986 ps_svc_ilp_data->ps_intra_recon_bufs[ps_proc->u1_spatial_layer_id].u4_height; in isvce_get_mb_intra_pred() 1005 s_intra_samp_ctxt[i].i4_res_lyr_id = ps_proc->u1_spatial_layer_id; in isvce_get_mb_intra_pred() 1009 ps_svc_ilp_data->ps_intra_recon_bufs[ps_proc->u1_spatial_layer_id - 1].u4_width; in isvce_get_mb_intra_pred() 1011 ps_svc_ilp_data->ps_intra_recon_bufs[ps_proc->u1_spatial_layer_id - 1].u4_height; in isvce_get_mb_intra_pred() 1038 ps_svc_ilp_data->ps_intra_recon_bufs[ps_proc->u1_spatial_layer_id - 1].u4_width; in isvce_get_mb_intra_pred() 1040 ps_svc_ilp_data->ps_intra_recon_bufs[ps_proc->u1_spatial_layer_id - 1].u4_height; in isvce_get_mb_intra_pred() 1078 i4_ref_stride = ps_svc_ilp_data->ps_intra_recon_bufs[ps_proc->u1_spatial_layer_id - 1] in isvce_get_mb_intra_pred() [all …]
|
D | isvce_encode_header.h | 219 UWORD8 u1_spatial_layer_id); 240 UWORD8 u1_pps_id, UWORD8 u1_spatial_layer_id); 283 UWORD8 u1_spatial_layer_id);
|
D | isvce_nalu_stat_aggregator.h | 63 UWORD8 u1_spatial_layer_id; member 93 NAL_UNIT_TYPE_T e_nalu_type, UWORD8 u1_spatial_layer_id,
|
D | isvce_utils.c | 1917 if(ps_codec->as_process[ctxt_sel * MAX_PROCESS_THREADS].u1_spatial_layer_id > 0) in isvce_svc_au_init() 2258 UWORD8 u1_spatial_layer_id) in isvce_svc_layer_pic_init() argument 2278 ps_proc->u1_spatial_layer_id = u1_spatial_layer_id; in isvce_svc_layer_pic_init() 2280 ps_proc->s_src_pic_buf_props = ps_inp_buf->as_layer_yuv_buf_props[u1_spatial_layer_id]; in isvce_svc_layer_pic_init() 2282 ps_proc->s_rec_pic_buf_props = ps_cur_pic->ps_layer_yuv_buf_props[u1_spatial_layer_id]; in isvce_svc_layer_pic_init() 2284 ASSERT(0 == (ps_inp_buf->as_layer_yuv_buf_props[u1_spatial_layer_id].u4_width % MB_SIZE)); in isvce_svc_layer_pic_init() 2285 ASSERT(0 == (ps_inp_buf->as_layer_yuv_buf_props[u1_spatial_layer_id].u4_height % MB_SIZE)); in isvce_svc_layer_pic_init() 2288 ps_inp_buf->as_layer_yuv_buf_props[u1_spatial_layer_id].u4_width / MB_SIZE; in isvce_svc_layer_pic_init() 2290 ps_inp_buf->as_layer_yuv_buf_props[u1_spatial_layer_id].u4_height / MB_SIZE; in isvce_svc_layer_pic_init() 2292 ps_proc->u1_frame_qp = ps_codec->au4_frame_qp[u1_spatial_layer_id]; in isvce_svc_layer_pic_init() [all …]
|
D | isvce_sub_pic_rc.h | 59 UWORD8 u1_spatial_layer_id; member 76 UWORD8 u1_spatial_layer_id; member
|
D | isvce_encode_header.c | 788 UWORD8 u1_spatial_layer_id) in isvce_populate_sps() argument 903 (ps_inp_buf->as_layer_yuv_buf_props[u1_spatial_layer_id].u4_width >> 4) - 1; in isvce_populate_sps() 907 (ps_inp_buf->as_layer_yuv_buf_props[u1_spatial_layer_id].u4_height >> 4) - 1; in isvce_populate_sps() 981 UWORD8 u1_pps_id, UWORD8 u1_spatial_layer_id) in isvce_populate_pps() argument 991 ((ps_codec->s_cfg.s_svc_params.u1_num_spatial_layers > 1) && (0 == u1_spatial_layer_id)) in isvce_populate_pps() 1036 ps_codec->au4_constrained_intra_pred[u1_spatial_layer_id]; in isvce_populate_pps() 1124 if(ps_proc->u1_spatial_layer_id > 0) in isvce_populate_slice_header() 1325 ((nalu_type == NAL_PREFIX) ? 0 : ps_proc->u1_spatial_layer_id); in isvce_populate_svc_nalu_extension() 1348 UWORD8 u1_spatial_layer_id) in isvce_populate_subset_sps() argument 1353 u1_spatial_layer_id); in isvce_populate_subset_sps() [all …]
|
D | isvce_residual_pred.h | 67 UWORD8 u1_spatial_layer_id; member
|
D | isvce_cavlc.c | 1029 if(ps_ent_ctxt->u1_spatial_layer_id && ps_svc_slice_header->i1_adaptive_base_mode_flag) in isvce_write_islice_mb_cavlc() 1347 if(ps_ent_ctxt->u1_spatial_layer_id && ps_svc_slice_header->i1_adaptive_base_mode_flag) in isvce_write_pslice_mb_cavlc() 1531 if(ps_ent_ctxt->u1_spatial_layer_id && in isvce_write_pslice_mb_cavlc() 1553 if(ps_ent_ctxt->u1_spatial_layer_id && in isvce_write_pslice_mb_cavlc() 1709 if(ps_ent_ctxt->u1_spatial_layer_id && ps_svc_slice_header->i1_adaptive_base_mode_flag) in isvce_write_bslice_mb_cavlc() 1910 ps_ent_ctxt->u1_spatial_layer_id) in isvce_write_bslice_mb_cavlc() 1942 ps_ent_ctxt->u1_spatial_layer_id && (ps_mb_hdr->u1_base_mode_flag || !u1_is_intra_mb)) in isvce_write_bslice_mb_cavlc()
|
D | isvce_ilp_mv.h | 74 UWORD8 u1_spatial_layer_id; member
|
D | isvce_cabac_encode.c | 1570 if(ps_ent_ctxt->u1_spatial_layer_id && ps_svc_slice_header->i1_adaptive_base_mode_flag) in isvce_write_islice_mb_cabac() 1763 if(ps_ent_ctxt->u1_spatial_layer_id && ps_svc_slice_header->i1_adaptive_base_mode_flag) in isvce_write_pslice_mb_cabac() 1815 if(ps_ent_ctxt->u1_spatial_layer_id && in isvce_write_pslice_mb_cabac() 1826 if(ps_ent_ctxt->u1_spatial_layer_id && (u1_base_mode_flag || !u1_is_intra_mb) && in isvce_write_pslice_mb_cabac() 2041 if(ps_ent_ctxt->u1_spatial_layer_id && ps_svc_slice_header->i1_adaptive_base_mode_flag) in isvce_write_bslice_mb_cabac() 2169 ps_ent_ctxt->u1_spatial_layer_id) in isvce_write_bslice_mb_cabac() 2183 ps_ent_ctxt->u1_spatial_layer_id && (u1_base_mode_flag || !u1_is_intra_mb)) in isvce_write_bslice_mb_cabac() 2324 (ps_ent_ctxt->u1_spatial_layer_id == 0) in isvce_reencode_as_skip_frame_cabac()
|
D | isvce_core_coding.c | 1613 s_res = ps_codec->s_svc_ilp_data.ps_residual_bufs[ps_proc->u1_spatial_layer_id] in isvce_code_luma_intra_macroblock_16x16() 1771 s_res = ps_codec->s_svc_ilp_data.ps_residual_bufs[ps_proc->u1_spatial_layer_id] in isvce_code_luma_intra_macroblock_4x4() 2103 s_res = ps_codec->s_svc_ilp_data.ps_residual_bufs[ps_proc->u1_spatial_layer_id] in isvce_code_chroma_intra_macroblock_8x8() 2206 s_res = ps_codec->s_svc_ilp_data.ps_residual_bufs[ps_proc->u1_spatial_layer_id] in isvce_code_luma_inter_macroblock_16x16() 2320 s_res = ps_codec->s_svc_ilp_data.ps_residual_bufs[ps_proc->u1_spatial_layer_id] in isvce_code_chroma_inter_macroblock_8x8()
|
D | isvce_utils.h | 205 UWORD8 u1_spatial_layer_id);
|
D | isvce_intra_modes_eval.c | 275 ps_codec->au4_constrained_intra_pred[ps_proc->u1_spatial_layer_id]; in isvce_evaluate_intra16x16_modes_for_least_cost_rdoptoff() 468 ps_codec->au4_constrained_intra_pred[ps_proc->u1_spatial_layer_id]; in isvce_evaluate_intra8x8_modes_for_least_cost_rdoptoff() 764 ps_codec->au4_constrained_intra_pred[ps_proc->u1_spatial_layer_id]; in isvce_evaluate_intra4x4_modes_for_least_cost_rdoptoff() 1057 ps_codec->au4_constrained_intra_pred[ps_proc->u1_spatial_layer_id]; in isvce_evaluate_intra4x4_modes_for_least_cost_rdopton() 1394 ps_codec->au4_constrained_intra_pred[ps_proc->u1_spatial_layer_id]; in isvce_evaluate_chroma_intra8x8_modes_for_least_cost_rdoptoff()
|
D | isvce_structs.h | 715 UWORD8 u1_spatial_layer_id; member 1833 UWORD8 u1_spatial_layer_id; member
|
D | isvce_deblk.c | 996 ps_proc->ps_cur_mv_buf->ps_svc_layer_data[ps_proc->u1_spatial_layer_id].ps_mb_info + in isvce_get_deblk_mb_qp()
|