/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/encoder/ |
D | ihevce_encode_header.c | 561 bitstrm_t *ps_bitstrm, sps_t *ps_sps, pps_t *ps_pps, slice_header_t *ps_slice_hdr) in ihevce_generate_pred_weight_table() argument 577 if(ps_sps->i1_chroma_format_idc != 0) in ihevce_generate_pred_weight_table() 595 if(ps_sps->i1_chroma_format_idc != 0) in ihevce_generate_pred_weight_table() 672 if(ps_sps->i1_chroma_format_idc != 0) in ihevce_generate_pred_weight_table() 933 WORD32 ihevce_generate_sps(bitstrm_t *ps_bitstrm, sps_t *ps_sps) in ihevce_generate_sps() argument 937 WORD8 i1_max_sub_layers_minus1 = ps_sps->i1_sps_max_sub_layers - 1; in ihevce_generate_sps() 939 UWORD32 u4_log2_max_pic_order_cnt_lsb = (UWORD32)(ps_sps->i1_log2_max_pic_order_cnt_lsb); in ihevce_generate_sps() 942 (UWORD32)(ps_sps->i1_log2_min_coding_block_size) - 3; in ihevce_generate_sps() 945 (UWORD32)(ps_sps->i1_log2_diff_max_min_coding_block_size); in ihevce_generate_sps() 948 (UWORD32)(ps_sps->i1_log2_min_transform_block_size) - 2; in ihevce_generate_sps() [all …]
|
D | ihevce_encode_header.h | 84 WORD32 ihevce_generate_sps(bitstrm_t *ps_bitstrm, sps_t *ps_sps); 93 sps_t *ps_sps, 112 sps_t *ps_sps, 124 sps_t *ps_sps, 139 sps_t *ps_sps,
|
D | ihevce_encode_header_sei_vui.h | 103 ihevce_generate_hrd_params(bitstrm_t *ps_bitstrm, hrd_params_t *ps_hrd_params, sps_t *ps_sps); 105 WORD32 ihevce_generate_vui(bitstrm_t *ps_bitstrm, sps_t *ps_sps, vui_t s_vui); 149 sei_params_t *ps_sei, vui_t *ps_vui, sps_t *ps_sps, ihevce_vui_sei_params_t *ps_vui_sei_prms); 151 WORD32 ihevce_populate_active_parameter_set_sei(sei_params_t *ps_sei, vps_t *ps_vps, sps_t *ps_sps); 169 sps_t *ps_sps,
|
D | ihevce_entropy_interface.c | 142 ps_curr_inp->ps_sps->i2_pic_height_in_luma_samples * in ihevce_entropy_size_of_out_buffer() 143 ps_curr_inp->ps_sps->i2_pic_width_in_luma_samples); in ihevce_entropy_size_of_out_buffer() 323 sps_t *ps_sps = ps_curr_inp->ps_sps; in ihevce_entropy_encode_frame() local 356 ps_entropy_ctxt->ps_sps = ps_sps; in ihevce_entropy_encode_frame() 410 ret |= ihevce_generate_sps(ps_bitstrm, ps_entropy_ctxt->ps_sps); in ihevce_entropy_encode_frame() 431 &ps_entropy_ctxt->ps_sps->s_vui_parameters, in ihevce_entropy_encode_frame() 528 ps_entropy_ctxt->ps_sps, in ihevce_entropy_encode_frame() 686 &ps_entropy_ctxt->ps_sps->s_vui_parameters, in ihevce_entropy_encode_frame()
|
D | ihevce_cabac_rdo.c | 138 sps_t *ps_sps, in ihevce_entropy_rdo_frame_init() argument 147 ps_sps->i1_log2_min_coding_block_size + ps_sps->i1_log2_diff_max_min_coding_block_size; in ihevce_entropy_rdo_frame_init() 158 ps_rdopt_entropy_ctxt->as_cu_entropy_ctxt[0].ps_sps = ps_sps; in ihevce_entropy_rdo_frame_init() 163 ps_rdopt_entropy_ctxt->as_cu_entropy_ctxt[1].ps_sps = ps_sps; in ihevce_entropy_rdo_frame_init()
|
D | ihevce_cabac_cu_pu.c | 1058 sps_t *ps_sps = ps_entropy_ctxt->ps_sps; in ihevce_cabac_encode_coding_unit() local 1150 is_mincu = (cu_size == (1 << ps_sps->i1_log2_min_coding_block_size)); in ihevce_cabac_encode_coding_unit() 1165 WORD32 amp_enabled = ps_sps->i1_amp_enabled_flag; in ihevce_cabac_encode_coding_unit() 1181 ASSERT(0 == ps_sps->i1_pcm_enabled_flag); in ihevce_cabac_encode_coding_unit() 1278 WORD32 pic_width = ps_sps->i2_pic_width_in_luma_samples; in ihevce_cabac_encode_coding_unit() 1279 WORD32 pic_height = ps_sps->i2_pic_height_in_luma_samples; in ihevce_cabac_encode_coding_unit() 1520 UWORD8 u1_bit_depth = ps_entropy_ctxt->ps_sps->i1_bit_depth_luma_minus8 + 8; in ihevce_cabac_encode_sao() 1657 sps_t *ps_sps = ps_entropy_ctxt->ps_sps; in ihevce_encode_coding_quadtree() local 1669 WORD32 log2_min_cb_size = ps_sps->i1_log2_min_coding_block_size; in ihevce_encode_coding_quadtree() 1738 if(log2_cb_size > ps_sps->i1_log2_min_coding_block_size) in ihevce_encode_coding_quadtree() [all …]
|
/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 | 149 sps_t *ps_sps, in ihevcd_parse_pred_wt_ofst() argument 168 if(ps_sps->i1_chroma_format_idc != 0) in ihevcd_parse_pred_wt_ofst() 187 if(ps_sps->i1_chroma_format_idc != 0) in ihevcd_parse_pred_wt_ofst() 287 if(ps_sps->i1_chroma_format_idc != 0) in ihevcd_parse_pred_wt_ofst() 1447 sps_t *ps_sps; in ihevcd_parse_sps() local 1485 ps_sps = (ps_codec->s_parse.ps_sps_base + MAX_SPS_CNT - 1); in ihevcd_parse_sps() 1488 WORD16 *pi2_scaling_mat = ps_sps->pi2_scaling_mat; in ihevcd_parse_sps() 1489 memset(ps_sps, 0, sizeof(sps_t)); in ihevcd_parse_sps() 1490 ps_sps->pi2_scaling_mat = pi2_scaling_mat; in ihevcd_parse_sps() 1492 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 | 227 sps_t *ps_sps; in ihevcd_parse_slice_header() local 278 ps_sps = ps_codec->s_parse.ps_sps_base + sps_id; in ihevcd_parse_slice_header() 297 ps_slice_hdr_next->i2_ctb_y = ps_codec->s_parse.ps_sps->i2_pic_ht_in_ctb; in ihevcd_parse_slice_header() 358 num_bits = 32 - CLZ(ps_sps->i4_pic_size_in_ctb - 1); in ihevcd_parse_slice_header() 364 if(value >= ps_sps->i4_pic_size_in_ctb || value == 0) in ihevcd_parse_slice_header() 406 if(1 == ps_sps->i1_separate_colour_plane_flag) in ihevcd_parse_slice_header() 421 … BITS_PARSE("pic_order_cnt_lsb", value, ps_bitstrm, ps_sps->i1_log2_max_pic_order_cnt_lsb); in ihevcd_parse_slice_header() 433 if(ps_sps->i1_num_short_term_ref_pic_sets > 1) in ihevcd_parse_slice_header() 435 numbits = 32 - CLZ(ps_sps->i1_num_short_term_ref_pic_sets - 1); in ihevcd_parse_slice_header() 441 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_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_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_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_parse_headers.h | 46 IHEVCD_ERROR_T ihevcd_parse_pic_timing_sei(codec_t *ps_codec, sps_t *ps_sps); 47 IHEVCD_ERROR_T ihevcd_parse_buffering_period_sei(codec_t *ps_codec, sps_t *ps_sps); 50 IHEVCD_ERROR_T ihevcd_parse_active_parameter_sets_sei(codec_t *ps_codec, sps_t *ps_sps);
|
D | ihevcd_decode.c | 212 sps_t *ps_sps = (ps_codec->s_parse.ps_sps_base + ps_codec->i4_sps_id); in ihevcd_fill_outargs() local 214 ps_ptl = &ps_sps->s_ptl; in ihevcd_fill_outargs() 607 … ps_slice_hdr_next->i2_ctb_y * ps_codec->s_parse.ps_sps->i2_pic_wd_in_ctb; in ihevcd_decode() 656 … (ps_codec->s_parse.i4_next_ctb_indx != ps_codec->s_parse.ps_sps->i4_pic_size_in_ctb)) in ihevcd_decode() 669 ps_slice_hdr_next->i2_ctb_y = ps_codec->s_parse.ps_sps->i2_pic_ht_in_ctb; in ihevcd_decode() 751 sps_t *ps_sps = ps_codec->s_parse.ps_sps; in ihevcd_decode() local 771 for(i = 0; i < ps_sps->i2_pic_ht_in_ctb; i++) in ihevcd_decode() 818 sps_t *ps_sps = ps_codec->s_parse.ps_sps; in ihevcd_decode() local 819 WORD32 num_rows = 1 << ps_sps->i1_log2_ctb_size; in ihevcd_decode() 825 … num_rows = MIN(num_rows, (ps_codec->i4_disp_ht - (s_job.i2_ctb_y << ps_sps->i1_log2_ctb_size))); in ihevcd_decode() [all …]
|
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_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()
|