Home
last modified time | relevance | path

Searched refs:d_spatial_res_ratio (Results 1 – 18 of 18) sorted by relevance

/external/libavc/encoder/svc/
Disvce_ibl_eval.c52 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 …]
Disvce_utils.h61 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,
Disvce_residual_pred.c467 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 …]
Disvce_ilp_mv.c67 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 …]
Disvce_utils.c375 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 …]
Disvce_ibl_eval.h89 DOUBLE d_spatial_res_ratio, UWORD32 u4_wd,
103 DOUBLE d_spatial_res_ratio, UWORD32 u4_wd, UWORD32 u4_ht);
Disvce_sub_pic_rc.c74 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()
Disvce_residual_pred.h81 DOUBLE d_spatial_res_ratio, UWORD32 u4_wd,
Disvce_ilp_mv.h88 extern UWORD32 isvce_get_ilp_mv_ctxt_size(UWORD8 u1_num_spatial_layers, DOUBLE d_spatial_res_ratio,
Disvce_sub_pic_rc.h113 DOUBLE d_spatial_res_ratio, UWORD32 u4_wd,
Disvce_api.c2040 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 …]
Disvce_process.c392 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()
Disvce.h112 DOUBLE d_spatial_res_ratio; member
Disvce_structs.h98 DOUBLE d_spatial_res_ratio; member
/external/libavc/common/svc/
Disvc_structs.h94 DOUBLE d_spatial_res_ratio; member
/external/libavc/test/svcenc/
Dapp.h381 DOUBLE d_spatial_res_ratio; member
Dmain.c715 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/
Dsvc_enc_fuzzer.cpp532 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()