Home
last modified time | relevance | path

Searched refs:ps_pps (Results 1 – 25 of 36) sorted by relevance

12

/external/libavc/decoder/
Dih264d_parse_headers.c194 dec_pic_params_t * ps_pps = NULL; in ih264d_parse_pps() local
212 ps_pps = ps_dec->pv_scratch_sps_pps; in ih264d_parse_pps()
213 *ps_pps = ps_dec->ps_pps[u4_temp]; in ih264d_parse_pps()
214 ps_pps->u1_pic_parameter_set_id = (WORD8)u4_temp; in ih264d_parse_pps()
215 COPYTHECONTEXT("PPS: pic_parameter_set_id",ps_pps->u1_pic_parameter_set_id); in ih264d_parse_pps()
220 ps_pps->i4_transform_8x8_mode_flag = 0; in ih264d_parse_pps()
221 ps_pps->i4_pic_scaling_matrix_present_flag = 0; in ih264d_parse_pps()
231 ps_pps->ps_sps = ps_sps; in ih264d_parse_pps()
236 ps_pps->u1_entropy_coding_mode = ih264d_get_bit_h264(ps_bitstrm); in ih264d_parse_pps()
237 COPYTHECONTEXT("PPS: entropy_coding_mode_flag",ps_pps->u1_entropy_coding_mode); in ih264d_parse_pps()
[all …]
Dih264d_parse_slice.c165 dec_pic_params_t *ps_pps) in ih264d_start_of_pic() argument
175 dec_seq_params_t *ps_seq = ps_pps->ps_sps; in ih264d_start_of_pic()
338 ret = ih264d_init_pic(ps_dec, u2_frame_num, i4_poc, ps_pps); in ih264d_start_of_pic()
515 ps_dec->ps_cur_pic->i4_top_field_order_cnt = ps_pps->i4_top_field_order_cnt; in ih264d_start_of_pic()
517 ps_pps->i4_bottom_field_order_cnt; in ih264d_start_of_pic()
518 ps_dec->ps_cur_pic->i4_avg_poc = ps_pps->i4_avg_poc; in ih264d_start_of_pic()
676 || (ps_pps->i4_pic_scaling_matrix_present_flag)) in ih264d_start_of_pic()
678 ih264d_form_scaling_matrix_picture(ps_seq, ps_pps, ps_dec); in ih264d_start_of_pic()
686 if(ps_pps->i4_transform_8x8_mode_flag) in ih264d_start_of_pic()
1021 dec_pic_params_t *ps_pps; in ih264d_parse_decode_slice() local
[all …]
Dih264d_utils.h63 dec_pic_params_t * ps_pps);
71 dec_pic_params_t * ps_pps,
Dih264d_parse_slice.h51 dec_pic_params_t *ps_pps);
Dih264d_parse_pslice.c1495 if(ps_dec->ps_pps[i].u1_is_valid == TRUE) in ih264d_mark_err_slice_skip()
1497 if(ps_dec->ps_pps[i].ps_sps->u1_is_valid == TRUE) in ih264d_mark_err_slice_skip()
1520 &ps_dec->ps_pps[j]); in ih264d_mark_err_slice_skip()
1899 dec_pic_params_t * ps_pps = ps_dec->ps_cur_pps; in ih264d_parse_pslice() local
2077 if(ps_pps->u1_wted_pred_flag) in ih264d_parse_pslice()
2117 if(ps_pps->u1_entropy_coding_mode == CABAC) in ih264d_parse_pslice()
2130 i_temp = ps_pps->u1_pic_init_qp in ih264d_parse_pslice()
2138 (WORD8)(ps_cur_slice->u1_slice_qp - ps_pps->u1_pic_init_qp)); in ih264d_parse_pslice()
2140 if(ps_pps->u1_deblocking_filter_parameters_present_flag == 1) in ih264d_parse_pslice()
2187 if(ps_pps->u1_entropy_coding_mode) in ih264d_parse_pslice()
Dih264d_parse_bslice.c1350 dec_pic_params_t * ps_pps = ps_dec->ps_cur_pps; in ih264d_parse_bslice() local
1568 if(ps_pps->u1_wted_bipred_idc == 1) in ih264d_parse_bslice()
1576 else if(ps_pps->u1_wted_bipred_idc == 2) in ih264d_parse_bslice()
1606 if(ps_pps->u1_entropy_coding_mode == CABAC) in ih264d_parse_bslice()
1618 i_temp = ps_pps->u1_pic_init_qp in ih264d_parse_bslice()
1626 (WORD8)(ps_slice->u1_slice_qp - ps_pps->u1_pic_init_qp)); in ih264d_parse_bslice()
1628 if(ps_pps->u1_deblocking_filter_parameters_present_flag == 1) in ih264d_parse_bslice()
1674 if(ps_pps->u1_entropy_coding_mode) in ih264d_parse_bslice()
/external/libavc/encoder/
Dih264e_encode_header.c607 WORD32 ih264e_generate_pps(bitstrm_t *ps_bitstrm, pps_t *ps_pps, sps_t *ps_sps) in ih264e_generate_pps() argument
618 PUT_BITS_UEV(ps_bitstrm, ps_pps->u1_pps_id, return_status, "pic_parameter_set_id"); in ih264e_generate_pps()
621 PUT_BITS_UEV(ps_bitstrm, ps_pps->u1_sps_id, return_status, "seq_parameter_set_id"); in ih264e_generate_pps()
624 …PUT_BITS(ps_bitstrm, ps_pps->u1_entropy_coding_mode_flag, 1, return_status, "Entropy coding : 0-VL… in ih264e_generate_pps()
627 …PUT_BITS(ps_bitstrm, ps_pps->u1_pic_order_present_flag, 1, return_status, "Pic order present flag"… in ih264e_generate_pps()
630 …PUT_BITS_UEV(ps_bitstrm, ps_pps->u1_num_slice_groups - 1, return_status, "Number of slice groups"); in ih264e_generate_pps()
632 if (ps_pps->u1_num_slice_groups > 1) in ih264e_generate_pps()
639 …PUT_BITS_UEV(ps_bitstrm, ps_pps->i1_num_ref_idx_l0_default_active - 1, return_status, "num_ref_idx… in ih264e_generate_pps()
642 …PUT_BITS_UEV(ps_bitstrm, ps_pps->i1_num_ref_idx_l1_default_active - 1, return_status, "num_ref_idx… in ih264e_generate_pps()
645 PUT_BITS(ps_bitstrm, ps_pps->i1_weighted_pred_flag, 1, return_status, "weighted_pred_flag"); in ih264e_generate_pps()
[all …]
Dih264e_encode_header.h129 pps_t *ps_pps,
167 pps_t *ps_pps,
216 pps_t *ps_pps
248 pps_t *ps_pps,
/external/libhevc/decoder/
Dihevcd_parse_headers.c148 pps_t *ps_pps, in ihevcd_parse_pred_wt_ofst() argument
156 UNUSED(ps_pps); in ihevcd_parse_pred_wt_ofst()
1548 pps_t *ps_pps = ps_codec->ps_pps_base; in ihevcd_unmark_pps() local
1550 for(pps_id = 0; pps_id < MAX_PPS_CNT - 1; pps_id++, ps_pps++) in ihevcd_unmark_pps()
1552 if((ps_pps->i1_pps_valid) && in ihevcd_unmark_pps()
1553 (ps_pps->i1_sps_id == sps_id)) in ihevcd_unmark_pps()
1554 ps_pps->i1_pps_valid = 0; in ihevcd_unmark_pps()
1617 pps_t *ps_pps; in ihevcd_parse_pps() local
1637 ps_pps = (ps_codec->s_parse.ps_pps_base + MAX_PPS_CNT - 1); in ihevcd_parse_pps()
1639 ps_pps->i1_pps_id = pps_id; in ihevcd_parse_pps()
[all …]
Dihevcd_parse_slice_header.c225 pps_t *ps_pps; in ihevcd_parse_slice_header() local
255 ps_pps = ps_codec->s_parse.ps_pps_base + pps_id; in ihevcd_parse_slice_header()
256 if(0 == ps_pps->i1_pps_valid) in ihevcd_parse_slice_header()
269 sps_id = ps_pps->i1_sps_id; in ihevcd_parse_slice_header()
317 if((ps_pps->i1_dependent_slice_enabled_flag) && in ihevcd_parse_slice_header()
373 for(i = 0; i < ps_pps->i1_num_extra_slice_header_bits; i++) in ihevcd_parse_slice_header()
390 if(ps_pps->i1_output_flag_present_flag) in ihevcd_parse_slice_header()
568 ps_slice_hdr->i1_num_ref_idx_l0_active = ps_pps->i1_num_ref_idx_l0_default_active; in ihevcd_parse_slice_header()
572 … ps_slice_hdr->i1_num_ref_idx_l1_active = ps_pps->i1_num_ref_idx_l1_default_active; in ihevcd_parse_slice_header()
581 if((ps_pps->i1_lists_modification_present_flag) && (num_poc_total_curr > 1)) in ihevcd_parse_slice_header()
[all …]
Dihevcd_deblk.c127 pps_t *ps_pps; in ihevcd_deblk_ctb() local
134 ps_pps = ps_deblk->ps_pps; in ihevcd_deblk_ctb()
603 ps_pps->i1_pic_cb_qp_offset, in ihevcd_deblk_ctb()
604 ps_pps->i1_pic_cr_qp_offset, in ihevcd_deblk_ctb()
613ps_pps->i1_pic_cr_qp_offset, in ihevcd_deblk_ctb()
614ps_pps->i1_pic_cb_qp_offset, in ihevcd_deblk_ctb()
625ps_pps->i1_pic_cb_qp_offset, in ihevcd_deblk_ctb()
626ps_pps->i1_pic_cr_qp_offset, in ihevcd_deblk_ctb()
752 ps_pps->i1_pic_cb_qp_offset, in ihevcd_deblk_ctb()
753 ps_pps->i1_pic_cr_qp_offset, in ihevcd_deblk_ctb()
[all …]
Dihevcd_parse_slice.c124 pps_t *ps_pps; in ihevcd_parse_transform_tree() local
137 ps_pps = ps_codec->s_parse.ps_pps; in ihevcd_parse_transform_tree()
281 … if(ps_pps->i1_cu_qp_delta_enabled_flag && !ps_codec->s_parse.i4_is_cu_qp_delta_coded) in ihevcd_parse_transform_tree()
1158 pps_t *ps_pps; in ihevcd_parse_coding_unit() local
1177 ps_pps = ps_codec->s_parse.ps_pps; in ihevcd_parse_coding_unit()
1191 if(ps_pps->i1_transquant_bypass_enable_flag) in ihevcd_parse_coding_unit()
1678 pps_t *ps_pps; in ihevcd_parse_coding_quadtree() local
1687 ps_pps = ps_codec->s_parse.ps_pps; in ihevcd_parse_coding_quadtree()
1804 if((ps_pps->i1_cu_qp_delta_enabled_flag) && in ihevcd_parse_coding_quadtree()
1805 (log2_cb_size >= ps_pps->i1_log2_min_cu_qp_delta_size)) in ihevcd_parse_coding_quadtree()
[all …]
Dihevcd_utils.c349 IHEVCD_ERROR_T ihevcd_get_tile_pos(pps_t *ps_pps, in ihevcd_get_tile_pos() argument
373 ps_tile_tmp = ps_pps->ps_tile; in ihevcd_get_tile_pos()
374 if(0 == ps_pps->i1_tiles_enabled_flag) in ihevcd_get_tile_pos()
382 for(i = 0; i < ps_pps->i1_num_tile_columns; i++) in ihevcd_get_tile_pos()
385 ps_tile_tmp = ps_pps->ps_tile + i; //* ps_pps->i1_num_tile_rows; in ihevcd_get_tile_pos()
386 if((ps_pps->i1_num_tile_columns - 1) == i) in ihevcd_get_tile_pos()
393 ps_tile_next_tmp = ps_pps->ps_tile + i + 1; in ihevcd_get_tile_pos()
404 for(i = 0; i < ps_pps->i1_num_tile_rows; i++) in ihevcd_get_tile_pos()
407 ps_tile_tmp = ps_pps->ps_tile + i * ps_pps->i1_num_tile_columns; in ihevcd_get_tile_pos()
408 if((ps_pps->i1_num_tile_rows - 1) == i) in ihevcd_get_tile_pos()
[all …]
Dihevcd_process_slice.c113 pps_t *ps_pps = ps_proc->ps_pps; in ihevcd_proc_map_check() local
151 ps_pps = ps_proc->ps_pps; in ihevcd_proc_map_check()
152 if(ps_pps->i1_tiles_enabled_flag) in ihevcd_proc_map_check()
258 if(ps_proc->ps_pps->i1_tiles_enabled_flag) in ihevcd_ctb_pos_update()
673 s_mv_ctxt.ps_pps = ps_proc->ps_pps; in ihevcd_process()
767 if(ps_proc->ps_pps->i1_tiles_enabled_flag) in ihevcd_process()
797 ps_proc->s_bs_ctxt.ps_pps = ps_proc->ps_pps; in ihevcd_process()
1027 ps_proc->s_deblk_ctxt.ps_pps = ps_proc->ps_pps; in ihevcd_process()
1133 ps_proc->s_sao_ctxt.ps_pps = ps_proc->ps_pps; in ihevcd_process()
1365 pps_t *ps_pps; in ihevcd_init_proc_ctxt() local
[all …]
Dihevcd_sao.c536 pps_t *ps_pps; in ihevcd_sao_shift_ctb() local
584 ps_pps = ps_sao_ctxt->ps_pps; in ihevcd_sao_shift_ctb()
879 … if((!ps_slice_hdr->i1_first_slice_in_pic_flag) || (ps_pps->i1_tiles_enabled_flag)) in ihevcd_sao_shift_ctb()
999 if(ps_pps->i1_tiles_enabled_flag) in ihevcd_sao_shift_ctb()
1005 if(!ps_pps->i1_loop_filter_across_tiles_enabled_flag) in ihevcd_sao_shift_ctb()
1045 … au4_ilf_across_tile_slice_enable[i] &= ps_pps->i1_loop_filter_across_tiles_enabled_flag; //=0 in ihevcd_sao_shift_ctb()
1110 else if((!ps_slice_hdr->i1_first_slice_in_pic_flag) || (ps_pps->i1_tiles_enabled_flag)) in ihevcd_sao_shift_ctb()
1202 … if((!ps_slice_hdr->i1_first_slice_in_pic_flag) || (ps_pps->i1_tiles_enabled_flag)) in ihevcd_sao_shift_ctb()
1309 if(ps_pps->i1_tiles_enabled_flag) in ihevcd_sao_shift_ctb()
1315 if(!ps_pps->i1_loop_filter_across_tiles_enabled_flag) in ihevcd_sao_shift_ctb()
[all …]
Dihevcd_boundary_strength.c211 pps_t *ps_pps; in ihevcd_ctb_boundary_strength_islice() local
234 ps_pps = ps_bs_ctxt->ps_pps; in ihevcd_ctb_boundary_strength_islice()
236 i1_loop_filter_across_tiles_enabled_flag = ps_pps->i1_loop_filter_across_tiles_enabled_flag; in ihevcd_ctb_boundary_strength_islice()
361 if(!ps_pps->i1_tiles_enabled_flag) in ihevcd_ctb_boundary_strength_islice()
461 pps_t *ps_pps; in ihevcd_ctb_boundary_strength_pbslice() local
486 ps_pps = ps_bs_ctxt->ps_pps; in ihevcd_ctb_boundary_strength_pbslice()
514 i1_loop_filter_across_tiles_enabled_flag = ps_pps->i1_loop_filter_across_tiles_enabled_flag; in ihevcd_ctb_boundary_strength_pbslice()
917 if(!ps_pps->i1_tiles_enabled_flag) in ihevcd_ctb_boundary_strength_pbslice()
Dihevcd_structs.h222 pps_t *ps_pps; member
320 pps_t *ps_pps; member
469 pps_t *ps_pps; member
538 pps_t *ps_pps; member
846 pps_t *ps_pps; member
1230 pps_t *ps_pps; member
Dihevcd_parse_residual.c189 pps_t *ps_pps; in ihevcd_parse_residual_coding() local
208 ps_pps = ps_codec->s_parse.ps_pps; in ihevcd_parse_residual_coding()
210 sign_data_hiding_flag = ps_pps->i1_sign_data_hiding_flag; in ihevcd_parse_residual_coding()
212 if(ps_pps->i1_transform_skip_enabled_flag && in ihevcd_parse_residual_coding()
Dihevcd_iquant_itrans_recon_ctb.c556 pps_t *ps_pps; in ihevcd_iquant_itrans_recon_ctb() local
577 ps_pps = ps_proc->ps_pps; in ihevcd_iquant_itrans_recon_ctb()
597 …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()
599 pi2_scaling_mat = ps_pps->pi2_scaling_mat; in ihevcd_iquant_itrans_recon_ctb()
889 i1_chroma_pic_qp_offset = ps_pps->i1_pic_cb_qp_offset; in ihevcd_iquant_itrans_recon_ctb()
900 i1_chroma_pic_qp_offset = ps_pps->i1_pic_cr_qp_offset; in ihevcd_iquant_itrans_recon_ctb()
952ps_pps->i1_constrained_intra_pred_flag, in ihevcd_iquant_itrans_recon_ctb()
Dihevcd_get_mv.c112 pps_t *ps_pps; in ihevcd_get_mv_ctb() local
136 ps_pps = ps_mv_ctxt->ps_pps; in ihevcd_get_mv_ctb()
312 …if((ps_pps->i1_log2_parallel_merge_level > 2) && cb_size == 8 && (pu_wd_single_mcl != pu_ht_single… in ihevcd_get_mv_ctb()
Dihevcd_inter_pred.c122 pps_t *ps_pps; in ihevcd_inter_pred_ctb() local
170 ps_pps = ps_proc->ps_pps; in ihevcd_inter_pred_ctb()
225 weighted_pred = (ps_slice_hdr->i1_slice_type == PSLICE) ? ps_pps->i1_weighted_pred_flag : in ihevcd_inter_pred_ctb()
226 ps_pps->i1_weighted_bipred_flag; in ihevcd_inter_pred_ctb()
Dihevcd_ref_list.h37 WORD32 ihevcd_ref_list(codec_t *ps_codec, pps_t *ps_pps, sps_t *ps_sps, slice_header_t *ps_slice_hd…
Dihevcd_parse_slice_header.h46 pps_t *ps_pps,
Dihevcd_nal.c446 pps_t *ps_pps = ps_codec->ps_pps_base + MAX_PPS_CNT - 1; in ihevcd_nal_unit() local
447 ihevcd_copy_pps(ps_codec, ps_pps->i1_pps_id, MAX_PPS_CNT - 1); in ihevcd_nal_unit()
Dihevcd_utils.h46 IHEVCD_ERROR_T ihevcd_get_tile_pos(pps_t *ps_pps,

12