/external/libavc/encoder/ |
D | ih264e_encode_header.c | 438 WORD32 ih264e_generate_sps(bitstrm_t *ps_bitstrm, sps_t *ps_sps, vui_t *ps_vui) in ih264e_generate_sps() argument 452 PUT_BITS(ps_bitstrm, ps_sps->u1_profile_idc, 8, return_status, "profile_idc"); in ih264e_generate_sps() 455 … PUT_BITS(ps_bitstrm, ps_sps->u1_constraint_set0_flag, 1, return_status, "constrained_set0_flag"); in ih264e_generate_sps() 456 … PUT_BITS(ps_bitstrm, ps_sps->u1_constraint_set1_flag, 1, return_status, "constrained_set1_flag"); in ih264e_generate_sps() 457 … PUT_BITS(ps_bitstrm, ps_sps->u1_constraint_set2_flag, 1, return_status, "constrained_set2_flag"); in ih264e_generate_sps() 458 … PUT_BITS(ps_bitstrm, ps_sps->u1_constraint_set3_flag, 1, return_status, "constrained_set3_flag"); in ih264e_generate_sps() 464 PUT_BITS(ps_bitstrm, ps_sps->u1_level_idc, 8, return_status, "level_idc"); in ih264e_generate_sps() 467 PUT_BITS_UEV(ps_bitstrm, ps_sps->u1_sps_id, return_status, "seq_parameter_set_id"); in ih264e_generate_sps() 469 if (ps_sps->u1_profile_idc >= IH264_PROFILE_HIGH) in ih264e_generate_sps() 472 PUT_BITS_UEV(ps_bitstrm, ps_sps->u1_chroma_format_idc, return_status, "chroma_format_idc"); in ih264e_generate_sps() [all …]
|
D | ih264e_encode_header.h | 104 sps_t *ps_sps, 130 sps_t *ps_sps 168 sps_t *ps_sps 192 sps_t *ps_sps 249 sps_t *ps_sps
|
/external/libhevc/decoder/ |
D | ihevcd_ilf_padding.c | 81 sps_t *ps_sps; in ihevcd_ilf_pad_frame() local 87 ps_sps = ps_deblk_ctxt->ps_sps; in ihevcd_ilf_pad_frame() 90 ctb_size = (1 << ps_sps->i1_log2_ctb_size); in ihevcd_ilf_pad_frame() 92 for(i4_ctb_y = 0; i4_ctb_y < ps_sps->i2_pic_ht_in_ctb; i4_ctb_y++) in ihevcd_ilf_pad_frame() 94 for(i4_ctb_x = 0; i4_ctb_x < ps_sps->i2_pic_wd_in_ctb; i4_ctb_x++) in ihevcd_ilf_pad_frame() 116 if(i4_ctb_x == ps_sps->i2_pic_wd_in_ctb - 1) in ihevcd_ilf_pad_frame() 123 last_x_pos = (ps_sps->i2_pic_wd_in_ctb << ps_sps->i1_log2_ctb_size); in ihevcd_ilf_pad_frame() 124 if(last_x_pos == ps_sps->i2_pic_width_in_luma_samples) in ihevcd_ilf_pad_frame() 134 if(i4_ctb_y == ps_sps->i2_pic_ht_in_ctb - 1) in ihevcd_ilf_pad_frame() 140 last_y_pos = (ps_sps->i2_pic_ht_in_ctb << ps_sps->i1_log2_ctb_size); in ihevcd_ilf_pad_frame() [all …]
|
D | ihevcd_parse_headers.c | 147 sps_t *ps_sps, in ihevcd_parse_pred_wt_ofst() argument 161 if(ps_sps->i1_chroma_format_idc != 0) in ihevcd_parse_pred_wt_ofst() 175 if(ps_sps->i1_chroma_format_idc != 0) in ihevcd_parse_pred_wt_ofst() 252 if(ps_sps->i1_chroma_format_idc != 0) in ihevcd_parse_pred_wt_ofst() 1199 sps_t *ps_sps; in ihevcd_parse_sps() local 1232 ps_sps = (ps_codec->s_parse.ps_sps_base + MAX_SPS_CNT - 1); in ihevcd_parse_sps() 1235 WORD16 *pi2_scaling_mat = ps_sps->pi2_scaling_mat; in ihevcd_parse_sps() 1236 memset(ps_sps, 0, sizeof(sps_t)); in ihevcd_parse_sps() 1237 ps_sps->pi2_scaling_mat = pi2_scaling_mat; in ihevcd_parse_sps() 1239 ps_sps->i1_sps_id = sps_id; in ihevcd_parse_sps() [all …]
|
D | ihevcd_process_slice.c | 112 sps_t *ps_sps = ps_proc->ps_sps; in ihevcd_proc_map_check() local 143 * ps_sps->i2_pic_wd_in_ctb); in ihevcd_proc_map_check() 158 idx = x_pos + (ps_proc->i4_ctb_y * ps_sps->i2_pic_wd_in_ctb); in ihevcd_proc_map_check() 167 idx = x_pos + ((ps_proc->i4_ctb_y - 1) * ps_sps->i2_pic_wd_in_ctb); in ihevcd_proc_map_check() 209 sps_t *ps_sps = ps_proc->ps_sps; in ihevcd_proc_map_update() local 212 idx += ((ps_proc->i4_ctb_y) * ps_sps->i2_pic_wd_in_ctb); in ihevcd_proc_map_update() 250 sps_t *ps_sps = ps_proc->ps_sps; in ihevcd_ctb_pos_update() local 261 …slice_start_ctb_idx = ps_slice_hdr->i2_ctb_x + (ps_slice_hdr->i2_ctb_y * ps_sps->i2_pic_wd_in_ctb); in ihevcd_ctb_pos_update() 262 tile_start_ctb_idx = ps_tile->u1_pos_x + (ps_tile->u1_pos_y * ps_sps->i2_pic_wd_in_ctb); in ihevcd_ctb_pos_update() 284 WORD32 temp_stride = (ps_sps->i2_pic_wd_in_ctb - ps_slice_hdr->i2_ctb_x); in ihevcd_ctb_pos_update() [all …]
|
D | ihevcd_sao.c | 91 sps_t *ps_sps; in ihevcd_sao_ctb() local 116 ps_sps = ps_sao_ctxt->ps_sps; in ihevcd_sao_ctb() 117 log2_ctb_size = ps_sps->i1_log2_ctb_size; in ihevcd_sao_ctb() 123 …ps_sao = ps_sao_ctxt->ps_pic_sao + ps_sao_ctxt->i4_ctb_x + ps_sao_ctxt->i4_ctb_y * ps_sps->i2_pic_… in ihevcd_sao_ctb() 124 loop_filter_strd = (ps_sps->i2_pic_width_in_luma_samples + 63) / 64; in ihevcd_sao_ctb() 136 … remaining_cols = ps_sps->i2_pic_width_in_luma_samples - (ps_sao_ctxt->i4_ctb_x << log2_ctb_size); in ihevcd_sao_ctb() 140 … remaining_rows = ps_sps->i2_pic_height_in_luma_samples - (ps_sao_ctxt->i4_ctb_y << log2_ctb_size); in ihevcd_sao_ctb() 186 if(ps_sps->i2_pic_wd_in_ctb - 1 == ps_sao_ctxt->i4_ctb_x) in ihevcd_sao_ctb() 208 if(ps_sps->i2_pic_ht_in_ctb - 1 == ps_sao_ctxt->i4_ctb_y) in ihevcd_sao_ctb() 534 sps_t *ps_sps; in ihevcd_sao_shift_ctb() local [all …]
|
D | ihevcd_parse_slice.c | 126 sps_t *ps_sps; in ihevcd_parse_transform_tree() local 139 ps_sps = ps_codec->s_parse.ps_sps; in ihevcd_parse_transform_tree() 145 if((log2_trafo_size <= ps_sps->i1_log2_max_transform_block_size) && in ihevcd_parse_transform_tree() 146 (log2_trafo_size > ps_sps->i1_log2_min_transform_block_size) && in ihevcd_parse_transform_tree() 163 if((0 == ps_sps->i1_max_transform_hierarchy_depth_inter) && in ihevcd_parse_transform_tree() 171 if((log2_trafo_size > ps_sps->i1_log2_max_transform_block_size) || in ihevcd_parse_transform_tree() 246 ctb_x_base = ps_codec->s_parse.i4_ctb_x << ps_sps->i1_log2_ctb_size; in ihevcd_parse_transform_tree() 247 ctb_y_base = ps_codec->s_parse.i4_ctb_y << ps_sps->i1_log2_ctb_size; in ihevcd_parse_transform_tree() 325 if (cu_qp_delta_abs < MIN_CU_QP_DELTA_ABS(ps_sps->i1_bit_depth_luma_minus8) in ihevcd_parse_transform_tree() 326 … || cu_qp_delta_abs > MAX_CU_QP_DELTA_ABS(ps_sps->i1_bit_depth_luma_minus8)) in ihevcd_parse_transform_tree() [all …]
|
D | ihevcd_utils.c | 202 sps_t *ps_sps = (ps_codec->s_parse.ps_sps_base + ps_codec->i4_sps_id); in ihevcd_get_total_pic_buf_size() local 205 max_dpb_size = ps_sps->ai1_sps_max_dec_pic_buffering[ps_sps->i1_sps_max_sub_layers - 1]; in ihevcd_get_total_pic_buf_size() 208 max_dpb_size += ps_sps->ai1_sps_max_num_reorder_pics[ps_sps->i1_sps_max_sub_layers - 1]; in ihevcd_get_total_pic_buf_size() 337 WORD32 ihevcd_nctb_cnt(codec_t *ps_codec, sps_t *ps_sps) in ihevcd_nctb_cnt() argument 343 if(ps_sps->i1_log2_ctb_size < 5) in ihevcd_nctb_cnt() 350 sps_t *ps_sps, in ihevcd_get_tile_pos() argument 388 next_tile_ctb_x = ps_sps->i2_pic_wd_in_ctb; in ihevcd_get_tile_pos() 410 next_tile_ctb_y = ps_sps->i2_pic_ht_in_ctb; in ihevcd_get_tile_pos() 458 sps_t *ps_sps; in ihevcd_pic_buf_mgr_add_bufs() local 467 ps_sps = ps_codec->s_parse.ps_sps; in ihevcd_pic_buf_mgr_add_bufs() [all …]
|
D | ihevcd_parse_slice_header.c | 226 sps_t *ps_sps; in ihevcd_parse_slice_header() local 273 ps_sps = ps_codec->s_parse.ps_sps_base + sps_id; in ihevcd_parse_slice_header() 292 ps_slice_hdr_next->i2_ctb_y = ps_codec->s_parse.ps_sps->i2_pic_ht_in_ctb; in ihevcd_parse_slice_header() 353 num_bits = 32 - CLZ(ps_sps->i4_pic_size_in_ctb - 1); in ihevcd_parse_slice_header() 359 if(value >= ps_sps->i4_pic_size_in_ctb) in ihevcd_parse_slice_header() 397 if(1 == ps_sps->i1_separate_colour_plane_flag) in ihevcd_parse_slice_header() 412 … BITS_PARSE("pic_order_cnt_lsb", value, ps_bitstrm, ps_sps->i1_log2_max_pic_order_cnt_lsb); in ihevcd_parse_slice_header() 424 if(ps_sps->i1_num_short_term_ref_pic_sets > 1) in ihevcd_parse_slice_header() 426 numbits = 32 - CLZ(ps_sps->i1_num_short_term_ref_pic_sets - 1); in ihevcd_parse_slice_header() 432 num_neg_pics = ps_sps->as_stref_picset[st_rps_idx].i1_num_neg_pics; in ihevcd_parse_slice_header() [all …]
|
D | ihevcd_boundary_strength.c | 212 sps_t *ps_sps; in ihevcd_ctb_boundary_strength_islice() local 235 ps_sps = ps_bs_ctxt->ps_sps; in ihevcd_ctb_boundary_strength_islice() 240 log2_ctb_size = ps_sps->i1_log2_ctb_size; in ihevcd_ctb_boundary_strength_islice() 245 bs_strd = (ps_sps->i2_pic_wd_in_ctb + 1) << (2 * log2_ctb_size - 7); in ihevcd_ctb_boundary_strength_islice() 255 qp_strd = ps_sps->i2_pic_wd_in_ctb << (log2_ctb_size - 3); in ihevcd_ctb_boundary_strength_islice() 258 ctb_indx = ps_bs_ctxt->i4_ctb_x + ps_sps->i2_pic_wd_in_ctb * ps_bs_ctxt->i4_ctb_y; in ihevcd_ctb_boundary_strength_islice() 379 ctb_addr = ps_bs_ctxt->i4_ctb_x + (ps_bs_ctxt->i4_ctb_y * ps_sps->i2_pic_wd_in_ctb); in ihevcd_ctb_boundary_strength_islice() 383 … ctb_addr = (ps_bs_ctxt->i4_ctb_x - 1) + (ps_bs_ctxt->i4_ctb_y * ps_sps->i2_pic_wd_in_ctb); in ihevcd_ctb_boundary_strength_islice() 401 ctb_addr = ps_bs_ctxt->i4_ctb_x + (ps_bs_ctxt->i4_ctb_y * ps_sps->i2_pic_wd_in_ctb); in ihevcd_ctb_boundary_strength_islice() 405 … ctb_addr = (ps_bs_ctxt->i4_ctb_x) + ((ps_bs_ctxt->i4_ctb_y - 1) * ps_sps->i2_pic_wd_in_ctb); in ihevcd_ctb_boundary_strength_islice() [all …]
|
D | ihevcd_deblk.c | 126 sps_t *ps_sps; in ihevcd_deblk_ctb() local 133 ps_sps = ps_deblk->ps_sps; in ihevcd_deblk_ctb() 138 log2_ctb_size = ps_sps->i1_log2_ctb_size; in ihevcd_deblk_ctb() 139 ctb_size = (1 << ps_sps->i1_log2_ctb_size); in ihevcd_deblk_ctb() 143 bs_strd = (ps_sps->i2_pic_wd_in_ctb + 1) << (2 * log2_ctb_size - 7); in ihevcd_deblk_ctb() 155 qp_strd = ps_sps->i2_pic_wd_in_ctb << (log2_ctb_size - 3); in ihevcd_deblk_ctb() 160 ctb_indx = ps_deblk->i4_ctb_x + ps_sps->i2_pic_wd_in_ctb * ps_deblk->i4_ctb_y; in ihevcd_deblk_ctb() 173 ctb_indx += ps_sps->i2_pic_wd_in_ctb; in ihevcd_deblk_ctb() 200 … ps_deblk->s_bs_ctxt.pu1_pic_qp_const_in_ctb[(ctb_indx - ps_sps->i2_pic_wd_in_ctb - 1) >> 3] & in ihevcd_deblk_ctb() 201 (1 << ((ctb_indx - ps_sps->i2_pic_wd_in_ctb - 1) & 7)); in ihevcd_deblk_ctb() [all …]
|
D | ihevcd_get_mv.c | 111 sps_t *ps_sps; in ihevcd_get_mv_ctb() local 135 ps_sps = ps_mv_ctxt->ps_sps; in ihevcd_get_mv_ctb() 142 ctb_size = (1 << ps_sps->i1_log2_ctb_size); in ihevcd_get_mv_ctb() 147 …mv_ctxt->pu1_pic_pu_map + (ps_mv_ctxt->i4_ctb_x + ps_mv_ctxt->i4_ctb_y * ps_sps->i2_pic_wd_in_ctb)… in ihevcd_get_mv_ctb() 169 WORD32 rows_remaining = ps_sps->i2_pic_height_in_luma_samples in ihevcd_get_mv_ctb() 170 - (ps_mv_ctxt->i4_ctb_y << ps_sps->i1_log2_ctb_size); in ihevcd_get_mv_ctb() 182 WORD32 cols_remaining = ps_sps->i2_pic_width_in_luma_samples in ihevcd_get_mv_ctb() 183 - (ps_mv_ctxt->i4_ctb_x << ps_sps->i1_log2_ctb_size); in ihevcd_get_mv_ctb() 211 … index_pic_map = ((ps_mv_ctxt->i4_ctb_x - 1) + ps_mv_ctxt->i4_ctb_y * ps_sps->i2_pic_wd_in_ctb); in ihevcd_get_mv_ctb() 225 …index_pic_map = ((ps_mv_ctxt->i4_ctb_x - 1) + (ps_mv_ctxt->i4_ctb_y - 1) * ps_sps->i2_pic_wd_in_ct… in ihevcd_get_mv_ctb() [all …]
|
D | ihevcd_iquant_itrans_recon_ctb.c | 348 sps_t *ps_sps; in ihevcd_get_intra_nbr_flag() local 362 ps_sps = ps_proc->ps_sps; in ihevcd_get_intra_nbr_flag() 494 WORD32 cols_remaining = ps_sps->i2_pic_width_in_luma_samples in ihevcd_get_intra_nbr_flag() 495 - (ps_proc->i4_ctb_x << ps_sps->i1_log2_ctb_size) in ihevcd_get_intra_nbr_flag() 502 WORD32 rows_remaining = ps_sps->i2_pic_height_in_luma_samples in ihevcd_get_intra_nbr_flag() 503 - (ps_proc->i4_ctb_y << ps_sps->i1_log2_ctb_size) in ihevcd_get_intra_nbr_flag() 555 sps_t *ps_sps; in ihevcd_iquant_itrans_recon_ctb() local 578 ps_sps = ps_proc->ps_sps; in ihevcd_iquant_itrans_recon_ctb() 588 ctb_size = (1 << ps_sps->i1_log2_ctb_size); in ihevcd_iquant_itrans_recon_ctb() 599 …if((1 == ps_sps->i1_scaling_list_enable_flag) && (1 == ps_pps->i1_pps_scaling_list_data_present_fl… in ihevcd_iquant_itrans_recon_ctb() [all …]
|
D | ihevcd_fmt_conv.c | 708 sps_t *ps_sps; in ihevcd_fmt_conv() local 717 ps_sps = ps_proc->ps_sps; in ihevcd_fmt_conv() 722 if(CHROMA_FMT_IDC_YUV420 == ps_sps->i1_chroma_format_idc) in ihevcd_fmt_conv() 734 …pu1_luma += ps_codec->i4_strd * ps_sps->i2_pic_crop_top_offset * crop_unit_y + ps_sps->i2_pic_c… in ihevcd_fmt_conv() 737 …pu1_chroma += ps_codec->i4_strd * ps_sps->i2_pic_crop_top_offset + ps_sps->i2_pic_crop_left_offse… in ihevcd_fmt_conv() 800 last_row = cur_row + MAX(num_rows, (1 << ps_sps->i1_log2_ctb_size)) + in ihevcd_fmt_conv() 801 ps_sps->i2_pic_crop_top_offset * crop_unit_y; in ihevcd_fmt_conv() 802 last_ctb_y = (last_row >> ps_sps->i1_log2_ctb_size) - 1; in ihevcd_fmt_conv() 807 last_ctb_y = MIN(last_ctb_y, (ps_sps->i2_pic_ht_in_ctb - 1)); in ihevcd_fmt_conv() 809 idx = (last_ctb_y * ps_sps->i2_pic_wd_in_ctb); in ihevcd_fmt_conv() [all …]
|
D | ihevcd_inter_pred.c | 121 sps_t *ps_sps; in ihevcd_inter_pred_ctb() local 171 ps_sps = ps_proc->ps_sps; in ihevcd_inter_pred_ctb() 173 + ps_proc->i4_ctb_y * (ps_sps->i2_pic_wd_in_ctb); in ihevcd_inter_pred_ctb() 219 pu_x = (ps_proc->i4_ctb_x << ps_sps->i1_log2_ctb_size) + (ps_pu->b4_pos_x << 2); in ihevcd_inter_pred_ctb() 220 pu_y = (ps_proc->i4_ctb_y << ps_sps->i1_log2_ctb_size) + (ps_pu->b4_pos_y << 2); in ihevcd_inter_pred_ctb() 274 …= CLIP3(ps_pu->mv.s_l0_mv.i2_mvx, (-((MAX_CTB_SIZE + pu_x + 7) << 2)), ((ps_sps->i2_pic_width_in_l… in ihevcd_inter_pred_ctb() 278 …= CLIP3(ps_pu->mv.s_l0_mv.i2_mvy, (-((MAX_CTB_SIZE + pu_y + 7) << 2)), ((ps_sps->i2_pic_height_in_… in ihevcd_inter_pred_ctb() 293 …= CLIP3(ps_pu->mv.s_l1_mv.i2_mvx, (-((MAX_CTB_SIZE + pu_x + 7) << 2)), ((ps_sps->i2_pic_width_in_l… in ihevcd_inter_pred_ctb() 297 …= CLIP3(ps_pu->mv.s_l1_mv.i2_mvy, (-((MAX_CTB_SIZE + pu_y + 7) << 2)), ((ps_sps->i2_pic_height_in_… in ihevcd_inter_pred_ctb() 321 …= CLIP3(ps_pu->mv.s_l0_mv.i2_mvx, (-((MAX_CTB_SIZE + pu_x + 7) << 2)), ((ps_sps->i2_pic_width_in_l… in ihevcd_inter_pred_ctb() [all …]
|
D | ihevcd_intra_pred_mode_prediction.c | 120 sps_t *ps_sps = ps_parse->ps_sps; in ihevcd_intra_pred_mode_prediction() local 148 WORD32 numbytes_row = (ps_sps->i2_pic_width_in_luma_samples + 63) / 64; in ihevcd_intra_pred_mode_prediction() 173 WORD32 numbytes_row = (ps_sps->i2_pic_width_in_luma_samples + 63) / 64; in ihevcd_intra_pred_mode_prediction()
|
D | ihevcd_ref_list.c | 93 WORD32 ihevcd_ref_list(codec_t *ps_codec, pps_t *ps_pps, sps_t *ps_sps, slice_header_t *ps_slice_hd… in ihevcd_ref_list() argument 133 u4_max_poc_lsb = (1 << ps_sps->i1_log2_max_pic_order_cnt_lsb); in ihevcd_ref_list() 140 num_neg_pics = ps_sps->as_stref_picset[st_rps_idx].i1_num_neg_pics; in ihevcd_ref_list() 141 num_pos_pics = ps_sps->as_stref_picset[st_rps_idx].i1_num_pos_pics; in ihevcd_ref_list() 142 pi1_used = ps_sps->as_stref_picset[st_rps_idx].ai1_used; in ihevcd_ref_list() 143 pi2_delta_poc = ps_sps->as_stref_picset[st_rps_idx].ai2_delta_poc; in ihevcd_ref_list() 147 st_rps_idx = ps_sps->i1_num_short_term_ref_pic_sets; in ihevcd_ref_list()
|
D | ihevcd_decode.c | 561 … ps_slice_hdr_next->i2_ctb_y * ps_codec->s_parse.ps_sps->i2_pic_wd_in_ctb; in ihevcd_decode() 610 … (ps_codec->s_parse.i4_next_ctb_indx != ps_codec->s_parse.ps_sps->i4_pic_size_in_ctb)) in ihevcd_decode() 623 ps_slice_hdr_next->i2_ctb_y = ps_codec->s_parse.ps_sps->i2_pic_ht_in_ctb; in ihevcd_decode() 699 sps_t *ps_sps = ps_codec->s_parse.ps_sps; in ihevcd_decode() local 719 for(i = 0; i < ps_sps->i2_pic_ht_in_ctb; i++) in ihevcd_decode() 766 sps_t *ps_sps = ps_codec->s_parse.ps_sps; in ihevcd_decode() local 767 WORD32 num_rows = 1 << ps_sps->i1_log2_ctb_size; in ihevcd_decode() 773 … num_rows = MIN(num_rows, (ps_codec->i4_disp_ht - (s_job.i2_ctb_y << ps_sps->i1_log2_ctb_size))); in ihevcd_decode() 781 s_job.i2_ctb_y << ps_sps->i1_log2_ctb_size, in ihevcd_decode()
|
D | ihevcd_utils.h | 44 WORD32 ihevcd_nctb_cnt(codec_t *ps_codec, sps_t *ps_sps); 47 sps_t *ps_sps,
|
D | ihevcd_structs.h | 227 sps_t *ps_sps; member 325 sps_t *ps_sps; member 474 sps_t *ps_sps; member 543 sps_t *ps_sps; member 851 sps_t *ps_sps; member 1235 sps_t *ps_sps; member
|
D | ihevcd_api.c | 1079 sps_t *ps_sps = ps_codec->ps_sps_base; in ihevcd_init() local 1084 ps_sps->i1_sps_valid = 0; in ihevcd_init() 1085 ps_sps++; in ihevcd_init() 1367 sps_t *ps_sps = ps_codec->ps_sps_base; in ihevcd_allocate_static_bufs() local 1376 ps_sps->pi2_scaling_mat = pi2_scaling_mat; in ihevcd_allocate_static_bufs() 1378 ps_sps++; in ihevcd_allocate_static_bufs() 1923 sps_t *ps_sps = (ps_codec->s_parse.ps_sps_base + ps_codec->i4_sps_id); in ihevcd_allocate_dynamic_bufs() local 1937 max_dpb_size = ps_sps->ai1_sps_max_dec_pic_buffering[ps_sps->i1_sps_max_sub_layers - 1]; in ihevcd_allocate_dynamic_bufs() 2408 sps_t *ps_sps = (ps_codec->s_parse.ps_sps_base + ps_codec->i4_sps_id); in ihevcd_get_status() local 2412 … reorder_pic_cnt = ps_sps->ai1_sps_max_num_reorder_pics[ps_sps->i1_sps_max_sub_layers - 1]; in ihevcd_get_status() [all …]
|
D | ihevcd_mv_merge.c | 147 sps_t *ps_sps = ps_mv_ctxt->ps_sps; in ihevcd_collocated_mvp() local 167 log2_ctb_size = ps_sps->i1_log2_ctb_size; in ihevcd_collocated_mvp() 193 … && ((x_col + (ps_mv_ctxt->i4_ctb_x << log2_ctb_size)) < ps_sps->i2_pic_width_in_luma_samples) in ihevcd_collocated_mvp() 195 < ps_sps->i2_pic_height_in_luma_samples))) in ihevcd_collocated_mvp() 201 col_ctb_idx = col_ctb_x + (col_ctb_y)*(ps_sps->i2_pic_wd_in_ctb); in ihevcd_collocated_mvp() 311 …slice_idx = *(ps_mv_buf_col->pu1_pic_slice_map + col_ctb_x + col_ctb_y * ps_sps->i2_pic_wd_in_ctb); in ihevcd_collocated_mvp()
|
D | ihevcd_ref_list.h | 37 WORD32 ihevcd_ref_list(codec_t *ps_codec, pps_t *ps_pps, sps_t *ps_sps, slice_header_t *ps_slice_hd…
|
D | ihevcd_parse_slice_header.h | 45 sps_t *ps_sps,
|
/external/libavc/decoder/ |
D | ih264d_parse_headers.c | 193 dec_seq_params_t * ps_sps = NULL; in ih264d_parse_pps() local 230 ps_sps = &ps_dec->ps_sps[u4_temp]; in ih264d_parse_pps() 231 ps_pps->ps_sps = ps_sps; in ih264d_parse_pps() 323 if(u1_more_data_flag && (ps_pps->ps_sps->u1_profile_idc == HIGH_PROFILE_IDC)) in ih264d_parse_pps() 991 ps_dec->ps_sps[u1_seq_parameter_set_id] = *ps_seq; in ih264d_parse_sps() 992 ps_dec->ps_cur_sps = &ps_dec->ps_sps[u1_seq_parameter_set_id]; in ih264d_parse_sps()
|