/external/libavc/encoder/svc/ |
D | isvce_ibl_eval.c | 52 static FORCEINLINE WORD32 isvce_get_phase_array_size(DOUBLE d_spatial_res_ratio, bool b_is_chroma) in isvce_get_phase_array_size() argument 54 return (2 == d_spatial_res_ratio) ? (b_is_chroma ? 3 : 0) : 5; in isvce_get_phase_array_size() 79 UWORD32 isvce_get_svc_intra_pred_ctxt_size(UWORD8 u1_num_spatial_layers, DOUBLE d_spatial_res_ratio, in isvce_get_svc_intra_pred_ctxt_size() argument 96 pow(d_spatial_res_ratio, u1_num_spatial_layers - 1 - i)) + in isvce_get_svc_intra_pred_ctxt_size() 99 ((DOUBLE) u4_ht / pow(d_spatial_res_ratio, u1_num_spatial_layers - 1 - i)) + 0.99; in isvce_get_svc_intra_pred_ctxt_size() 120 u4_size += isvce_get_phase_array_size(d_spatial_res_ratio, b_is_chroma) * in isvce_get_svc_intra_pred_ctxt_size() 169 coordinates_t *ps_mb_pos, DOUBLE d_spatial_res_ratio, UWORD8 u1_frame_mbs_only_flag, in isvce_ref_array_pos_init() argument 172 if(1.5 == d_spatial_res_ratio) in isvce_ref_array_pos_init() 218 coordinates_t *ps_mb_pos, DOUBLE d_spatial_res_ratio, UWORD8 u1_frame_mbs_only_flag, in isvce_ref_array_phase_init() argument 229 if(1.5 == d_spatial_res_ratio) in isvce_ref_array_phase_init() [all …]
|
D | isvce_utils.h | 61 ps_svc_pic_buf->d_spatial_res_ratio = ps_svc_params->d_spatial_res_ratio; in isvce_svc_au_buf_init() 176 DOUBLE d_spatial_res_ratio); 182 extern UWORD32 isvce_get_svc_inp_buf_size(UWORD8 u1_num_spatial_layers, DOUBLE d_spatial_res_ratio, 197 DOUBLE d_spatial_res_ratio, UWORD32 u4_wd, 209 extern UWORD32 isvce_get_svc_ilp_buf_size(UWORD8 u1_num_spatial_layers, DOUBLE d_spatial_res_ratio,
|
D | isvce_residual_pred.c | 467 UWORD32 isvce_get_svc_res_pred_ctxt_size(UWORD8 u1_num_spatial_layers, DOUBLE d_spatial_res_ratio, in isvce_get_svc_res_pred_ctxt_size() argument 496 pow(d_spatial_res_ratio, u1_num_spatial_layers - 1 - i)) + in isvce_get_svc_res_pred_ctxt_size() 499 ((DOUBLE) u4_ht / pow(d_spatial_res_ratio, u1_num_spatial_layers - 1 - i)) + 0.99; in isvce_get_svc_res_pred_ctxt_size() 512 ((1.5 == d_spatial_res_ratio) ? (i4_layer_luma_mbs * MB_SIZE * MB_SIZE) : 0) * in isvce_get_svc_res_pred_ctxt_size() 516 u4_size += ((1.5 == d_spatial_res_ratio) ? (i4_layer_luma_mbs * 5) : 0) * in isvce_get_svc_res_pred_ctxt_size() 526 ((1.5 == d_spatial_res_ratio) ? (i4_layer_u_mbs * (MB_SIZE / 2) * (MB_SIZE / 2)) in isvce_get_svc_res_pred_ctxt_size() 531 u4_size += ((1.5 == d_spatial_res_ratio) ? (i4_layer_u_mbs * 5) : 3) * in isvce_get_svc_res_pred_ctxt_size() 540 pow(d_spatial_res_ratio, u1_num_spatial_layers - 1 - i)) + in isvce_get_svc_res_pred_ctxt_size() 543 ((DOUBLE) u4_ht / pow(d_spatial_res_ratio, u1_num_spatial_layers - 1 - i)) + 0.99; in isvce_get_svc_res_pred_ctxt_size() 679 DOUBLE d_spatial_res_ratio, UWORD32 u4_wd, in isvce_res_pred_layer_state_init() argument [all …]
|
D | isvce_ilp_mv.c | 67 UWORD32 isvce_get_ilp_mv_ctxt_size(UWORD8 u1_num_spatial_layers, DOUBLE d_spatial_res_ratio, in isvce_get_ilp_mv_ctxt_size() argument 85 pow(d_spatial_res_ratio, u1_num_spatial_layers - 1 - i)) + in isvce_get_ilp_mv_ctxt_size() 88 ((DOUBLE) u4_ht / pow(d_spatial_res_ratio, u1_num_spatial_layers - 1 - i)) + 0.99; in isvce_get_ilp_mv_ctxt_size() 143 DOUBLE d_spatial_res_ratio, UWORD32 u4_wd, UWORD32 u4_ht) in isvce_ilp_mv_layer_state_init() argument 157 UWORD32 u4_ref_wd = (u4_wd / d_spatial_res_ratio); in isvce_ilp_mv_layer_state_init() 158 UWORD32 u4_ref_ht = (u4_ht / d_spatial_res_ratio) * (1 + u1_ref_layer_field_pic_flag); in isvce_ilp_mv_layer_state_init() 210 DOUBLE d_spatial_res_ratio = ps_codec->s_cfg.s_svc_params.d_spatial_res_ratio; in isvce_ilp_mv_ctxt_init() local 215 isvce_get_ilp_mv_ctxt_size(u1_num_spatial_layers, d_spatial_res_ratio, u4_wd, u4_ht); in isvce_ilp_mv_ctxt_init() 255 ((DOUBLE) u4_wd / pow(d_spatial_res_ratio, u1_num_spatial_layers - 1 - j)) + in isvce_ilp_mv_ctxt_init() 258 ((DOUBLE) u4_ht / pow(d_spatial_res_ratio, u1_num_spatial_layers - 1 - j)) + in isvce_ilp_mv_ctxt_init() [all …]
|
D | isvce_utils.c | 375 DOUBLE d_spatial_res_ratio; in isvce_svc_au_props_validate() member 384 DOUBLE d_scaling_factor = ps_svc_inp_params->d_spatial_res_ratio; in isvce_svc_au_props_validate() 412 if(ps_svc_inp_params->d_spatial_res_ratio == in isvce_svc_au_props_validate() 413 gas_valid_spatial_layer_props[i].d_spatial_res_ratio) in isvce_svc_au_props_validate() 566 d_svc_size_multiplier += 1. / pow(ps_svc_inp_params->d_spatial_res_ratio, i); in isvce_get_total_svc_au_buf_size() 646 DOUBLE d_spatial_res_ratio) in isvce_get_total_svc_au_data_size() argument 657 ((DOUBLE) i4_num_luma_samples) / pow(pow(d_spatial_res_ratio, i), 2) + 0.99; in isvce_get_total_svc_au_data_size() 695 DOUBLE d_spatial_res_ratio = ps_codec->s_cfg.s_svc_params.d_spatial_res_ratio; in isvce_svc_au_data_mgr_add_bufs() local 715 pow(pow(d_spatial_res_ratio, u1_num_spatial_layers - 1 - j), 2) + in isvce_svc_au_data_mgr_add_bufs() 785 DOUBLE d_spatial_res_ratio = ps_codec->s_cfg.s_svc_params.d_spatial_res_ratio; in isvce_svc_au_buf_mgr_add_bufs() local [all …]
|
D | isvce_ibl_eval.h | 89 DOUBLE d_spatial_res_ratio, UWORD32 u4_wd, 103 DOUBLE d_spatial_res_ratio, UWORD32 u4_wd, UWORD32 u4_ht);
|
D | isvce_sub_pic_rc.c | 74 UWORD32 isvce_get_sub_pic_rc_ctxt_size(UWORD8 u1_num_spatial_layers, DOUBLE d_spatial_res_ratio, in isvce_get_sub_pic_rc_ctxt_size() argument 87 (WORD32) ((DOUBLE) u4_wd / pow(d_spatial_res_ratio, u1_num_spatial_layers - 1 - i)) + in isvce_get_sub_pic_rc_ctxt_size() 90 ((DOUBLE) u4_ht / pow(d_spatial_res_ratio, u1_num_spatial_layers - 1 - i)) + 0.99; in isvce_get_sub_pic_rc_ctxt_size() 111 DOUBLE d_spatial_res_ratio = ps_codec->s_cfg.s_svc_params.d_spatial_res_ratio; in isvce_sub_pic_rc_ctxt_init() local 117 isvce_get_sub_pic_rc_ctxt_size(u1_num_spatial_layers, d_spatial_res_ratio, u4_wd, u4_ht); in isvce_sub_pic_rc_ctxt_init() 156 pow(d_spatial_res_ratio, u1_num_spatial_layers - 1 - j)) + in isvce_sub_pic_rc_ctxt_init() 159 ((DOUBLE) u4_ht / pow(d_spatial_res_ratio, u1_num_spatial_layers - 1 - j)) + in isvce_sub_pic_rc_ctxt_init()
|
D | isvce_residual_pred.h | 81 DOUBLE d_spatial_res_ratio, UWORD32 u4_wd,
|
D | isvce_ilp_mv.h | 88 extern UWORD32 isvce_get_ilp_mv_ctxt_size(UWORD8 u1_num_spatial_layers, DOUBLE d_spatial_res_ratio,
|
D | isvce_sub_pic_rc.h | 113 DOUBLE d_spatial_res_ratio, UWORD32 u4_wd,
|
D | isvce_api.c | 2040 ps_cfg->s_svc_params.d_spatial_res_ratio = 2.0; in isvce_set_default_params() 2176 ps_cfg->s_svc_params.d_spatial_res_ratio, ps_cfg->u4_wd, in isvce_init() 2366 ps_ip->s_svc_inp_params.d_spatial_res_ratio, ps_ip->u4_wd, in isvce_fill_num_mem_rec() 2990 ps_ip->s_svc_inp_params.d_spatial_res_ratio, u4_wd, u4_ht); in isvce_fill_num_mem_rec() 3161 ps_ip->s_svc_inp_params.d_spatial_res_ratio); in isvce_fill_num_mem_rec() 3193 ps_ip->s_svc_inp_params.d_spatial_res_ratio, u4_wd, u4_ht); in isvce_fill_num_mem_rec() 3204 ps_ip->s_svc_inp_params.d_spatial_res_ratio, u4_wd, u4_ht); in isvce_fill_num_mem_rec() 3214 ps_ip->s_svc_inp_params.d_spatial_res_ratio, u4_wd, u4_ht); in isvce_fill_num_mem_rec() 3224 ps_ip->s_svc_inp_params.d_spatial_res_ratio, u4_wd, u4_ht); in isvce_fill_num_mem_rec() 3234 ps_ip->s_svc_inp_params.d_spatial_res_ratio, u4_wd, u4_ht); in isvce_fill_num_mem_rec() [all …]
|
D | isvce_process.c | 392 DOUBLE d_spatial_res_ratio = ps_codec->s_cfg.s_svc_params.d_spatial_res_ratio; 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() 2211 (ps_proc->s_svc_params.d_spatial_res_ratio == 2.) && !ps_proc->ps_ilp_mv) in isvce_process() 2339 if(ps_proc->s_svc_params.d_spatial_res_ratio == 2.) in isvce_process() 2570 ps_proc->s_svc_params.d_spatial_res_ratio, in isvce_process()
|
D | isvce.h | 112 DOUBLE d_spatial_res_ratio; member
|
D | isvce_structs.h | 98 DOUBLE d_spatial_res_ratio; member
|
/external/libavc/common/svc/ |
D | isvc_structs.h | 94 DOUBLE d_spatial_res_ratio; member
|
/external/libavc/test/svcenc/ |
D | app.h | 381 DOUBLE d_spatial_res_ratio; member
|
D | main.c | 715 sscanf(value, "%lf", &ps_app_ctxt->d_spatial_res_ratio); in parse_argument() 1084 ps_app_ctxt->d_spatial_res_ratio = DEFAULT_SPATIAL_RES_RATIO; in init_default_params() 2883 s_fill_mem_rec_ip.s_svc_inp_params.d_spatial_res_ratio = s_app_ctxt.d_spatial_res_ratio; in h264enc_main() 2982 s_init_ip.s_svc_inp_params.d_spatial_res_ratio = s_app_ctxt.d_spatial_res_ratio; in h264enc_main()
|
/external/libavc/fuzzer/ |
D | svc_enc_fuzzer.cpp | 532 sFillMemRecIp.s_svc_inp_params.d_spatial_res_ratio = mSpatialResRatio; in initEncoder() 579 sInitIp.s_svc_inp_params.d_spatial_res_ratio = mSpatialResRatio; in initEncoder()
|