/external/libavc/encoder/svc/ |
D | isvce_mode_stat_visualiser.c | 55 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 …]
|
D | isvce_utils.h | 183 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,
|
D | isvce_utils.c | 486 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 …]
|
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_ilp_mv.c | 68 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()
|
D | isvce_ibl_eval.c | 47 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 …]
|
D | isvce_api.c | 366 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 …]
|
D | isvce_sub_pic_rc.c | 75 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()
|
D | isvce_mode_stat_visualiser.h | 57 extern UWORD32 isvce_get_msv_ctxt_size(UWORD32 u4_wd, UWORD32 u4_ht);
|
D | isvce_residual_pred.c | 468 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()
|
D | isvce_residual_pred.h | 81 DOUBLE d_spatial_res_ratio, UWORD32 u4_wd,
|
D | isvce_ilp_mv.h | 89 UWORD32 u4_wd, UWORD32 u4_ht);
|
D | isvce_sub_pic_rc.h | 113 DOUBLE d_spatial_res_ratio, UWORD32 u4_wd,
|
D | isvce.h | 136 UWORD32 u4_wd; member 173 UWORD32 u4_wd; member
|
/external/libavc/test/encoder/ |
D | recon.c | 181 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()
|
D | main.c | 576 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 …]
|
D | input.c | 87 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/ |
D | isvc_mem_fns.c | 301 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()
|
D | isvc_mem_fns.h | 63 typedef UWORD8 FT_NONZERO_CHECKER(UWORD8 *pu1_data, WORD32 i4_data_strd, UWORD32 u4_wd,
|
/external/libavc/test/svcenc/ |
D | main.c | 519 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 …]
|
D | input.c | 83 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/ |
D | ih264d_mem_request.h | 77 UWORD32 u4_wd,
|
/external/libhevc/encoder/ |
D | ihevce_stasino_helpers.c | 860 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/ |
D | ih264e_api.c | 169 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/ |
D | README.md | 103 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 |
|