/external/libavc/encoder/svc/ |
D | isvce_utils.c | 385 UWORD8 u1_num_spatial_layers = ps_svc_inp_params->u1_num_spatial_layers; in isvce_svc_au_props_validate() local 401 if((ps_svc_inp_params->u1_num_spatial_layers < u1_min_num_spatial_layers) || in isvce_svc_au_props_validate() 402 (ps_svc_inp_params->u1_num_spatial_layers > u1_max_num_spatial_layers)) in isvce_svc_au_props_validate() 417 if(ps_svc_inp_params->u1_num_spatial_layers > in isvce_svc_au_props_validate() 452 au4_svc_wd[u1_num_spatial_layers - 1] = u4_svc_comp_wd; in isvce_svc_au_props_validate() 453 au4_svc_ht[u1_num_spatial_layers - 1] = u4_svc_comp_ht; in isvce_svc_au_props_validate() 455 for(i = (u1_num_spatial_layers - 1); i > 0; i--) in isvce_svc_au_props_validate() 564 for(i = 1; i < ps_svc_inp_params->u1_num_spatial_layers; i++) in isvce_get_total_svc_au_buf_size() 622 ps_svc_inp_params->u1_num_spatial_layers; in isvce_get_total_svc_au_buf_size() 624 size += ps_svc_inp_params->u1_num_spatial_layers * sizeof(yuv_buf_props_t); in isvce_get_total_svc_au_buf_size() [all …]
|
D | isvce_utils.h | 60 ps_svc_pic_buf->u1_num_spatial_layers = ps_svc_params->u1_num_spatial_layers; in isvce_svc_au_buf_init() 175 UWORD8 u1_num_spatial_layers, 182 extern UWORD32 isvce_get_svc_inp_buf_size(UWORD8 u1_num_spatial_layers, DOUBLE d_spatial_res_ratio, 191 extern void isvce_get_svc_compliant_dimensions(UWORD8 u1_num_spatial_layers, 196 extern UWORD32 isvce_get_svc_nbr_info_buf_size(UWORD8 u1_num_spatial_layers, 209 extern UWORD32 isvce_get_svc_ilp_buf_size(UWORD8 u1_num_spatial_layers, DOUBLE d_spatial_res_ratio, 235 UWORD8 u1_num_spatial_layers);
|
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 72 if(u1_num_spatial_layers > 1) in isvce_get_ilp_mv_ctxt_size() 79 u4_size += u1_num_spatial_layers * sizeof(ilp_mv_layer_state_t); in isvce_get_ilp_mv_ctxt_size() 81 for(i = u1_num_spatial_layers - 1; i >= 1; i--) in isvce_get_ilp_mv_ctxt_size() 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() 203 UWORD8 u1_num_spatial_layers = ps_codec->s_cfg.s_svc_params.u1_num_spatial_layers; in isvce_ilp_mv_ctxt_init() local 205 if(u1_num_spatial_layers > 1) in isvce_ilp_mv_ctxt_init() 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() 237 pu1_buf += u1_num_spatial_layers * sizeof(ps_ilp_mv_state->ps_layer_state[0]); in isvce_ilp_mv_ctxt_init() [all …]
|
D | isvce_downscaler.h | 71 UWORD8 u1_num_spatial_layers; member 127 DOUBLE d_scaling_factor, UWORD8 u1_num_spatial_layers, 149 extern UWORD32 isvce_get_downscaler_data_size(UWORD8 u1_num_spatial_layers, DOUBLE d_scaling_factor,
|
D | isvce_nalu_stat_aggregator.h | 79 static FORCEINLINE UWORD32 isvce_get_nalu_info_buf_size(UWORD8 u1_num_spatial_layers) in isvce_get_nalu_info_buf_size() argument 81 return MAX_NALU_PER_LAYER * u1_num_spatial_layers * MAX_BYTES_PER_NALU_INFO; in isvce_get_nalu_info_buf_size() 85 UWORD8 u1_num_spatial_layers);
|
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 84 for(i = u1_num_spatial_layers - 1; i >= 0; i--) in isvce_get_sub_pic_rc_ctxt_size() 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() 112 UWORD8 u1_num_spatial_layers = ps_codec->s_cfg.s_svc_params.u1_num_spatial_layers; 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() 149 for(j = u1_num_spatial_layers - 1; j >= 0; j--) 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() 854 for(i = 0; i < ps_sub_pic_rc_state->s_svc_params.u1_num_spatial_layers; i++) in isvce_sub_pic_rc_dump_data() [all …]
|
D | isvce_ibl_eval.h | 88 extern UWORD32 isvce_get_svc_intra_pred_ctxt_size(UWORD8 u1_num_spatial_layers, 95 UWORD8 u1_num_spatial_layers, UWORD8 u1_spatial_layer_id, 102 UWORD8 u1_spatial_layer_id, UWORD8 u1_num_spatial_layers,
|
D | isvce_downscaler.c | 120 UWORD32 isvce_get_downscaler_data_size(UWORD8 u1_num_spatial_layers, DOUBLE d_scaling_factor, in isvce_get_downscaler_data_size() argument 125 if(u1_num_spatial_layers > 1) in isvce_get_downscaler_data_size() 508 DOUBLE d_scaling_factor, UWORD8 u1_num_spatial_layers, in isvce_initialize_downscaler() argument 511 if(u1_num_spatial_layers > 1) in isvce_initialize_downscaler() 526 ps_scaler->u1_num_spatial_layers = u1_num_spatial_layers; in isvce_initialize_downscaler()
|
D | isvce_ibl_eval.c | 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 86 if(u1_num_spatial_layers > 1) in isvce_get_svc_intra_pred_ctxt_size() 90 u4_size += MAX_PROCESS_CTXT * u1_num_spatial_layers * sizeof(intra_pred_layer_state_t); in isvce_get_svc_intra_pred_ctxt_size() 92 for(i = u1_num_spatial_layers - 1; i >= 0; i--) in isvce_get_svc_intra_pred_ctxt_size() 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() 624 UWORD8 u1_num_spatial_layers = ps_codec->s_cfg.s_svc_params.u1_num_spatial_layers; 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() 631 if(u1_num_spatial_layers > 1) in isvce_intra_pred_ctxt_init() 646 pu1_buf += u1_num_spatial_layers * sizeof(ps_intra_pred_state->ps_layer_state[0]); in isvce_intra_pred_ctxt_init() [all …]
|
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 472 if(u1_num_spatial_layers > 1) in isvce_get_svc_res_pred_ctxt_size() 490 u4_size += MAX_PROCESS_CTXT * u1_num_spatial_layers * sizeof(res_pred_layer_state_t); in isvce_get_svc_res_pred_ctxt_size() 492 for(i = u1_num_spatial_layers - 1; i >= 1; i--) in isvce_get_svc_res_pred_ctxt_size() 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() 536 for(i = u1_num_spatial_layers - 1; i >= 0; i--) 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() 881 UWORD8 u1_num_spatial_layers = ps_codec->s_cfg.s_svc_params.u1_num_spatial_layers; in isvce_svc_res_pred_ctxt_init() local [all …]
|
D | isvce_encode.c | 202 ps_codec->s_cfg.s_svc_params.u1_num_spatial_layers); in isvce_encode() 204 ps_codec->s_cfg.s_svc_params.u1_num_spatial_layers; in isvce_encode() 214 for(i = 0; i < ps_codec->s_cfg.s_svc_params.u1_num_spatial_layers; i++) in isvce_encode() 408 for(i = 1; i < ps_codec->s_cfg.s_svc_params.u1_num_spatial_layers; i++) in isvce_encode() 440 for(i = 0; i < ps_codec->s_cfg.s_svc_params.u1_num_spatial_layers; i++) in isvce_encode() 464 ps_codec->s_cfg.s_svc_params.u1_num_spatial_layers); in isvce_encode() 470 for(i = 0; i < ps_codec->s_cfg.s_svc_params.u1_num_spatial_layers; i++) in isvce_encode() 758 for(i = 1; i < ps_codec->s_cfg.s_svc_params.u1_num_spatial_layers; i++) in isvce_encode() 775 for(i = 0; i < ps_codec->s_cfg.s_svc_params.u1_num_spatial_layers; i++) in isvce_encode()
|
D | isvce_process.c | 162 for(i = 1; i < ps_codec->s_cfg.s_svc_params.u1_num_spatial_layers; i++) in isvce_generate_sps_pps() 182 for(i = 1; i < ps_codec->s_cfg.s_svc_params.u1_num_spatial_layers; i++) in isvce_generate_sps_pps() 388 UWORD8 u1_num_spatial_layers = ps_codec->s_cfg.s_svc_params.u1_num_spatial_layers; 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() 412 if(u1_num_spatial_layers > 1) in isvce_update_rc_post_enc() 418 isvce_update_ibl_info(ps_proc->ps_intra_pred_ctxt, u1_num_spatial_layers, in isvce_update_rc_post_enc() 454 if(u1_spatial_layer_id < (u1_num_spatial_layers - 1)) in isvce_update_rc_post_enc() 638 for(i = 1; i < ps_proc->s_svc_params.u1_num_spatial_layers; i++) in isvce_entropy() 666 for(i = 1; i < ps_proc->s_svc_params.u1_num_spatial_layers; i++) in isvce_entropy() [all …]
|
D | isvce_nalu_stat_aggregator.c | 39 void isvce_nalu_info_au_init(nalu_descriptors_t *ps_nalu_descriptor, UWORD8 u1_num_spatial_layers) in isvce_nalu_info_au_init() argument 43 for(i = 0; i < u1_num_spatial_layers; i++) in isvce_nalu_info_au_init()
|
D | isvce_api.c | 466 for(i = 0; i < ps_ip->s_svc_inp_params.u1_num_spatial_layers; i++) in api_check_struct_sanity() 1104 for(i = 0; i < ps_codec->s_cfg.s_svc_params.u1_num_spatial_layers; i++) in api_check_struct_sanity() 1364 for(i = 0; i < ps_codec->s_cfg.s_svc_params.u1_num_spatial_layers; i++) in api_check_struct_sanity() 1830 for(i = 0; i < ps_codec->s_cfg.s_svc_params.u1_num_spatial_layers; i++) in api_check_struct_sanity() 2041 ps_cfg->s_svc_params.u1_num_spatial_layers = 1; in isvce_set_default_params() 2175 isvce_get_svc_compliant_dimensions(ps_cfg->s_svc_params.u1_num_spatial_layers, in isvce_init() 2271 for(i = 0; i < ps_cfg->s_svc_params.u1_num_spatial_layers; i++) in isvce_init() 2365 isvce_get_svc_compliant_dimensions(ps_ip->s_svc_inp_params.u1_num_spatial_layers, in isvce_fill_num_mem_rec() 2643 MAX_SPS_CNT * ps_ip->s_svc_inp_params.u1_num_spatial_layers * sizeof(subset_sps_t); in isvce_fill_num_mem_rec() 2989 ps_ip->s_svc_inp_params.u1_num_spatial_layers, in isvce_fill_num_mem_rec() [all …]
|
D | isvce_residual_pred.h | 80 extern UWORD32 isvce_get_svc_res_pred_ctxt_size(UWORD8 u1_num_spatial_layers,
|
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 | 112 extern UWORD32 isvce_get_sub_pic_rc_ctxt_size(UWORD8 u1_num_spatial_layers,
|
D | isvce_fmt_conv.c | 97 WORD32 layer_id = ps_pic->u1_num_spatial_layers - 1; in isvce_fmt_conv()
|
D | isvce_encode_header.h | 287 UWORD8 u1_max_num_ref_frames, UWORD8 u1_num_spatial_layers);
|
D | isvce_mode_stat_visualiser.c | 120 &ps_inp_buf->as_layer_yuv_buf_props[ps_svc_params->u1_num_spatial_layers - 1]; in isvce_msv_get_input_frame()
|
D | isvce_encode_header.c | 991 ((ps_codec->s_cfg.s_svc_params.u1_num_spatial_layers > 1) && (0 == u1_spatial_layer_id)) in isvce_populate_pps() 1443 UWORD8 u1_num_spatial_layers) in isvce_generate_prefix_nal() argument 1450 if(ps_svc_nalu_ext->u1_dependency_id == (u1_num_spatial_layers - 1)) in isvce_generate_prefix_nal()
|
D | isvce.h | 107 UWORD8 u1_num_spatial_layers; member
|
/external/libavc/test/svcenc/ |
D | main.c | 709 sscanf(value, "%hhu", &ps_app_ctxt->u1_num_spatial_layers); in parse_argument() 747 if((*value == '-' || *value == '\0') && i + 1 < u1_num_spatial_layers) break; \ in parse_rc_argument() 752 UWORD8 u1_num_spatial_layers = ps_app_ctxt->u1_num_spatial_layers; in parse_rc_argument() local 758 for(i = 0; i < u1_num_spatial_layers; i++) in parse_rc_argument() 766 for(i = 0; i < u1_num_spatial_layers; i++) in parse_rc_argument() 774 for(i = 0; i < u1_num_spatial_layers; i++) in parse_rc_argument() 782 for(i = 0; i < u1_num_spatial_layers; i++) in parse_rc_argument() 790 for(i = 0; i < u1_num_spatial_layers; i++) in parse_rc_argument() 798 for(i = 0; i < u1_num_spatial_layers; i++) in parse_rc_argument() 806 for(i = 0; i < u1_num_spatial_layers; i++) in parse_rc_argument() [all …]
|
D | app.h | 380 UWORD8 u1_num_spatial_layers; member
|
/external/libavc/common/svc/ |
D | isvc_structs.h | 91 UWORD8 u1_num_spatial_layers; member
|