Home
last modified time | relevance | path

Searched refs:u4_wd (Results 1 – 25 of 39) sorted by relevance

12

/external/libavc/encoder/svc/
Disvce_mode_stat_visualiser.c55 UWORD32 isvce_get_msv_ctxt_size(UWORD32 u4_wd, UWORD32 u4_ht) in isvce_get_msv_ctxt_size() argument
58 WORD32 i4_num_luma_samples = u4_wd * u4_ht; in isvce_get_msv_ctxt_size()
73 UWORD32 u4_wd = ps_codec->s_cfg.u4_wd; in isvce_msv_ctxt_init() local
75 WORD32 i4_num_luma_samples = u4_wd * u4_ht; in isvce_msv_ctxt_init()
78 WORD64 i8_alloc_mem_size = isvce_get_msv_ctxt_size(u4_wd, u4_ht); in isvce_msv_ctxt_init()
91 ps_frame_buf->u4_width = u4_wd; in isvce_msv_ctxt_init()
98 UWORD32 u4_stride = u4_wd >> u1_is_chroma; in isvce_msv_ctxt_init()
150 UWORD32 u4_wd = MB_SIZE >> u1_is_chroma; in isvce_msv_set_mode() local
155 pu1_buf += ps_mb_pos->i4_abscissa * u4_wd + ps_mb_pos->i4_ordinate * u4_ht * i4_stride; in isvce_msv_set_mode()
159 for(k = 0; k < u4_wd; k++) in isvce_msv_set_mode()
[all …]
Disvce_utils.h183 UWORD32 u4_wd, UWORD32 u4_ht);
192 DOUBLE d_scaling_factor, UWORD32 u4_wd,
197 DOUBLE d_spatial_res_ratio, UWORD32 u4_wd,
210 UWORD32 u4_wd, UWORD32 u4_ht);
234 extern UWORD32 isvce_get_min_outbuf_size(UWORD32 u4_wd, UWORD32 u4_ht,
Disvce_utils.c486 UWORD32 u4_error_code = isvce_svc_au_props_validate(&ps_ip->s_svc_inp_params, ps_ip->u4_wd, in isvce_svc_inp_params_validate()
487 ps_ip->u4_ht, ps_cfg->u4_wd, ps_cfg->u4_ht); in isvce_svc_inp_params_validate()
693 WORD32 i4_num_luma_samples = ALIGN16(ps_codec->s_cfg.u4_wd) * ALIGN16(ps_codec->s_cfg.u4_ht); in isvce_svc_au_data_mgr_add_bufs()
805 WORD32 i4_layer_luma_wd = ((DOUBLE) ps_codec->s_cfg.u4_wd / in isvce_svc_au_buf_mgr_add_bufs()
891 UWORD32 u4_wd, UWORD32 u4_ht) in isvce_get_svc_inp_buf_size() argument
908 WORD32 i4_layer_luma_wd = ((DOUBLE) u4_wd / pow(d_spatial_res_ratio, i)) + 0.99; in isvce_get_svc_inp_buf_size()
950 UWORD32 u4_wd = ps_codec->s_cfg.u4_wd; in isvce_svc_inp_buf_init() local
954 isvce_get_svc_inp_buf_size(u1_num_spatial_layers, d_spatial_res_ratio, u4_wd, u4_ht); in isvce_svc_inp_buf_init()
969 ((DOUBLE) u4_wd / pow(d_spatial_res_ratio, u1_num_spatial_layers - 1 - j)) + 0.99; in isvce_svc_inp_buf_init()
1030 UWORD32 u4_wd = ps_inp->s_inp_props.s_raw_buf.au4_wd[Y]; in isvce_init_svc_dimension() 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_ilp_mv.c68 UWORD32 u4_wd, UWORD32 u4_ht) in isvce_get_ilp_mv_ctxt_size() argument
84 (WORD32) ((DOUBLE) u4_wd / 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()
159 UWORD32 u4_scaled_wd = u4_wd; in isvce_ilp_mv_layer_state_init()
211 UWORD32 u4_wd = ps_codec->s_cfg.u4_wd; 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()
Disvce_ibl_eval.c47 static FORCEINLINE WORD32 isvce_get_num_mb_states(UWORD32 u4_wd, UWORD32 u4_ht) in isvce_get_num_mb_states() argument
49 return (u4_wd / MB_SIZE) * (u4_ht / MB_SIZE); in isvce_get_num_mb_states()
80 UWORD32 u4_wd, UWORD32 u4_ht) in isvce_get_svc_intra_pred_ctxt_size() argument
95 (WORD32) ((DOUBLE) u4_wd / in isvce_get_svc_intra_pred_ctxt_size()
447 DOUBLE d_spatial_res_ratio, UWORD32 u4_wd, UWORD32 u4_ht, in isvce_ibl_layer_state_init() argument
479 UWORD32 u4_ref_wd = (u4_wd / d_spatial_res_ratio); in isvce_ibl_layer_state_init()
481 UWORD32 u4_scaled_wd = u4_wd; in isvce_ibl_layer_state_init()
625 UWORD32 u4_wd = ps_codec->s_cfg.u4_wd; in isvce_intra_pred_ctxt_init() local
629 u1_num_spatial_layers, d_spatial_res_ratio, u4_wd, u4_ht); in isvce_intra_pred_ctxt_init()
657 ((DOUBLE) u4_wd / pow(d_spatial_res_ratio, u1_num_spatial_layers - 1 - i)) + in isvce_intra_pred_ctxt_init()
[all …]
Disvce_api.c366 WORD32 wd = ALIGN16(ps_ip->u4_wd); in api_check_struct_sanity()
617 s_ip.u4_wd = wd; in api_check_struct_sanity()
990 if(ps_ip->s_ive_ip.u4_wd < MIN_WD) in api_check_struct_sanity()
997 if(ps_ip->s_ive_ip.u4_wd > ps_codec->s_cfg.u4_max_wd) in api_check_struct_sanity()
1018 if(ps_ip->s_ive_ip.u4_wd & 1) in api_check_struct_sanity()
1986 ps_cfg->u4_wd = MAX_WD; in isvce_set_default_params()
2173 UWORD32 u4_ht, u4_wd; in isvce_init() local
2176 ps_cfg->s_svc_params.d_spatial_res_ratio, ps_cfg->u4_wd, in isvce_init()
2177 ps_cfg->u4_ht, &u4_wd, &u4_ht); in isvce_init()
2353 UWORD32 u4_wd, u4_ht; in isvce_fill_num_mem_rec() local
[all …]
Disvce_sub_pic_rc.c75 UWORD32 u4_wd, UWORD32 u4_ht) 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()
113 UWORD32 u4_wd = ps_codec->s_cfg.u4_wd; 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()
155 (WORD32) ((DOUBLE) u4_wd / in isvce_sub_pic_rc_ctxt_init()
Disvce_mode_stat_visualiser.h57 extern UWORD32 isvce_get_msv_ctxt_size(UWORD32 u4_wd, UWORD32 u4_ht);
Disvce_residual_pred.c468 UWORD32 u4_wd, UWORD32 u4_ht) in isvce_get_svc_res_pred_ctxt_size() argument
495 (WORD32) ((DOUBLE) u4_wd / in isvce_get_svc_res_pred_ctxt_size()
539 (WORD32) ((DOUBLE) u4_wd / 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
703 UWORD32 u4_ref_wd = (u4_wd / d_spatial_res_ratio); in isvce_res_pred_layer_state_init()
705 UWORD32 u4_scaled_wd = u4_wd; in isvce_res_pred_layer_state_init()
883 UWORD32 u4_wd = ps_codec->s_cfg.u4_wd; in isvce_svc_res_pred_ctxt_init() local
887 isvce_get_svc_res_pred_ctxt_size(u1_num_spatial_layers, d_spatial_res_ratio, u4_wd, u4_ht); in isvce_svc_res_pred_ctxt_init()
954 ((DOUBLE) u4_wd / pow(d_spatial_res_ratio, u1_num_spatial_layers - 1 - j)) + in isvce_svc_res_pred_ctxt_init()
1068 ((DOUBLE) u4_wd / pow(d_spatial_res_ratio, u1_num_spatial_layers - 1 - j)) + in isvce_svc_res_pred_ctxt_init()
Disvce_residual_pred.h81 DOUBLE d_spatial_res_ratio, UWORD32 u4_wd,
Disvce_ilp_mv.h89 UWORD32 u4_wd, UWORD32 u4_ht);
Disvce_sub_pic_rc.h113 DOUBLE d_spatial_res_ratio, UWORD32 u4_wd,
Disvce.h136 UWORD32 u4_wd; member
173 UWORD32 u4_wd; member
/external/libavc/test/encoder/
Drecon.c181 ps_raw_buf->au4_wd[0] = ps_app_ctxt->u4_wd; in init_raw_buf_descr()
183 ps_raw_buf->au4_strd[0] = ps_app_ctxt->u4_wd; in init_raw_buf_descr()
187 ps_raw_buf->au4_wd[1] = ps_app_ctxt->u4_wd; in init_raw_buf_descr()
193 ps_raw_buf->au4_strd[1] = ps_app_ctxt->u4_wd; in init_raw_buf_descr()
199 ps_raw_buf->au4_wd[1] = ps_app_ctxt->u4_wd / 2; in init_raw_buf_descr()
200 ps_raw_buf->au4_wd[2] = ps_app_ctxt->u4_wd / 2; in init_raw_buf_descr()
205 ps_raw_buf->au4_strd[1] = ps_app_ctxt->u4_wd / 2; in init_raw_buf_descr()
206 ps_raw_buf->au4_strd[2] = ps_app_ctxt->u4_wd / 2; in init_raw_buf_descr()
Dmain.c576 sscanf(value, "%d", &ps_app_ctxt->u4_wd); in parse_argument()
892 if(0 >= (WORD32)ps_app_ctxt->u4_wd) in validate_params()
894 sprintf(ac_error, "Invalid width: %d", ps_app_ctxt->u4_wd); in validate_params()
964 ps_app_ctxt->u4_wd = DEFAULT_WD; in init_default_params()
1026 s_frame_dimensions_ip.s_ive_ip.u4_wd = ps_app_ctxt->u4_wd; in set_dimensions()
2124 ps_inp_raw_buf->au4_wd[0] = ps_app_ctxt->u4_wd; in synchronous_encode()
2125 ps_inp_raw_buf->au4_wd[1] = ps_app_ctxt->u4_wd; in synchronous_encode()
2137 pu1_buf += (ps_app_ctxt->u4_wd) * ps_app_ctxt->u4_ht; in synchronous_encode()
2139 pu1_buf += (ps_app_ctxt->u4_wd >> 1) * (ps_app_ctxt->u4_ht >> 1); in synchronous_encode()
2142 ps_inp_raw_buf->au4_wd[0] = ps_app_ctxt->u4_wd; in synchronous_encode()
[all …]
Dinput.c87 num_mbs = ALIGN16(ps_app_ctxt->u4_wd) * ALIGN16(ps_app_ctxt->u4_ht); in read_mb_info()
246 luma_size = ps_app_ctxt->u4_wd * ps_app_ctxt->u4_ht; in allocate_input()
/external/libavc/common/svc/
Disvc_mem_fns.c301 UWORD8 isvc_is_nonzero_blk(UWORD8 *pu1_data, WORD32 i4_data_strd, UWORD32 u4_wd, UWORD32 u4_ht) in isvc_is_nonzero_blk() argument
307 for(j = 0; j < u4_wd; j++) in isvc_is_nonzero_blk()
Disvc_mem_fns.h63 typedef UWORD8 FT_NONZERO_CHECKER(UWORD8 *pu1_data, WORD32 i4_data_strd, UWORD32 u4_wd,
/external/libavc/test/svcenc/
Dmain.c519 sscanf(value, "%d", &ps_app_ctxt->u4_wd); in parse_argument()
977 if(0 >= (WORD32) ps_app_ctxt->u4_wd) in validate_params()
979 snprintf(ac_error, sizeof(ac_error) - 1, "Invalid width: %d", ps_app_ctxt->u4_wd); in validate_params()
1050 ps_app_ctxt->u4_wd = DEFAULT_WD; in init_default_params()
1099 s_frame_dimensions_ip.s_ive_ip.u4_wd = ps_app_ctxt->u4_wd; in set_dimensions()
1127 s_ip.u4_inp_frame_wd = ps_app_ctxt->u4_wd; in get_enc_dimensions()
2098 ps_inp_raw_buf->au4_wd[0] = ps_app_ctxt->u4_wd; in synchronous_encode()
2099 ps_inp_raw_buf->au4_wd[1] = ps_app_ctxt->u4_wd; in synchronous_encode()
2111 pu1_buf += (ps_app_ctxt->u4_wd) * ps_app_ctxt->u4_ht; in synchronous_encode()
2113 pu1_buf += (ps_app_ctxt->u4_wd >> 1) * (ps_app_ctxt->u4_ht >> 1); in synchronous_encode()
[all …]
Dinput.c83 num_mbs = ALIGN16(ps_app_ctxt->u4_wd) * ALIGN16(ps_app_ctxt->u4_ht); in read_mb_info()
237 luma_size = ps_app_ctxt->u4_wd * ps_app_ctxt->u4_ht; in allocate_input()
/external/libavc/decoder/
Dih264d_mem_request.h77 UWORD32 u4_wd,
/external/libhevc/encoder/
Dihevce_stasino_helpers.c860 UWORD32 u4_wd, u4_ht; in ihevce_calc_variance_for_diff_weights() local
876 u4_wd = ps_result[i4_k].pu.b4_wd + 1; in ihevce_calc_variance_for_diff_weights()
878 u1_num_base_blks = u4_wd * u4_ht; in ihevce_calc_variance_for_diff_weights()
/external/libavc/encoder/
Dih264e_api.c169 UWORD32 u4_wd, u4_ht; in api_check_input_dimensions() local
173 u4_wd = ps_inp_buf->au4_wd[0]; in api_check_input_dimensions()
211 u4_wd = ps_inp_buf->au4_wd[0] / 2; in api_check_input_dimensions()
219 if (u4_wd != ps_curr_cfg->u4_disp_wd) in api_check_input_dimensions()
1219 if (ps_ip->s_ive_ip.u4_wd < MIN_WD) in api_check_struct_sanity()
1228 if (ps_ip->s_ive_ip.u4_wd > ps_codec->s_cfg.u4_max_wd) in api_check_struct_sanity()
1255 if(ps_ip->s_ive_ip.u4_wd & 1) in api_check_struct_sanity()
2419 UWORD32 wd_aln = ALIGN16(ps_cfg->u4_wd); in ih264e_codec_update_config()
2422 if (ps_curr_cfg->u4_wd != wd_aln || ps_curr_cfg->u4_ht != ht_aln in ih264e_codec_update_config()
2426 ps_curr_cfg->u4_wd = wd_aln; in ih264e_codec_update_config()
[all …]
/external/libavc/fuzzer/
DREADME.md103 1. Frame Width (parameter name: `u4_wd`)
144 | `u4_wd` | In the range `0 to 10239` | All the bits of 1st and 2nd byte of data |

12