Home
last modified time | relevance | path

Searched refs:pps (Results 1 – 25 of 87) sorted by relevance

1234

/external/mesa3d/src/gallium/frontends/va/
Dpicture_hevc.c37 context->desc.h265.pps->sps->chroma_format_idc = hevc->pic_fields.bits.chroma_format_idc; in vlVaHandlePictureParameterBufferHEVC()
38 context->desc.h265.pps->sps->separate_colour_plane_flag = in vlVaHandlePictureParameterBufferHEVC()
40 context->desc.h265.pps->sps->pic_width_in_luma_samples = hevc->pic_width_in_luma_samples; in vlVaHandlePictureParameterBufferHEVC()
41 context->desc.h265.pps->sps->pic_height_in_luma_samples = hevc->pic_height_in_luma_samples; in vlVaHandlePictureParameterBufferHEVC()
42 context->desc.h265.pps->sps->bit_depth_luma_minus8 = hevc->bit_depth_luma_minus8; in vlVaHandlePictureParameterBufferHEVC()
43 context->desc.h265.pps->sps->bit_depth_chroma_minus8 = hevc->bit_depth_chroma_minus8; in vlVaHandlePictureParameterBufferHEVC()
44 context->desc.h265.pps->sps->log2_max_pic_order_cnt_lsb_minus4 = in vlVaHandlePictureParameterBufferHEVC()
46 context->desc.h265.pps->sps->sps_max_dec_pic_buffering_minus1 = in vlVaHandlePictureParameterBufferHEVC()
48 context->desc.h265.pps->sps->log2_min_luma_coding_block_size_minus3 = in vlVaHandlePictureParameterBufferHEVC()
50 context->desc.h265.pps->sps->log2_diff_max_min_luma_coding_block_size = in vlVaHandlePictureParameterBufferHEVC()
[all …]
Dpicture_h264.c64 context->desc.h264.pps->sps->frame_mbs_only_flag = in vlVaHandlePictureParameterBufferH264()
66 context->desc.h264.pps->sps->mb_adaptive_frame_field_flag = in vlVaHandlePictureParameterBufferH264()
68 context->desc.h264.pps->sps->direct_8x8_inference_flag = in vlVaHandlePictureParameterBufferH264()
71 context->desc.h264.pps->sps->log2_max_frame_num_minus4 = in vlVaHandlePictureParameterBufferH264()
73 context->desc.h264.pps->sps->pic_order_cnt_type = in vlVaHandlePictureParameterBufferH264()
75 context->desc.h264.pps->sps->log2_max_pic_order_cnt_lsb_minus4 = in vlVaHandlePictureParameterBufferH264()
77 context->desc.h264.pps->sps->delta_pic_order_always_zero_flag = in vlVaHandlePictureParameterBufferH264()
82 context->desc.h264.pps->pic_init_qp_minus26 = in vlVaHandlePictureParameterBufferH264()
85 context->desc.h264.pps->chroma_qp_index_offset = in vlVaHandlePictureParameterBufferH264()
87 context->desc.h264.pps->second_chroma_qp_index_offset = in vlVaHandlePictureParameterBufferH264()
[all …]
Dcontext.c259 context->desc.h264.pps = CALLOC_STRUCT(pipe_h264_pps); in vlVaCreateContext()
260 if (!context->desc.h264.pps) { in vlVaCreateContext()
264 context->desc.h264.pps->sps = CALLOC_STRUCT(pipe_h264_sps); in vlVaCreateContext()
265 if (!context->desc.h264.pps->sps) { in vlVaCreateContext()
266 FREE(context->desc.h264.pps); in vlVaCreateContext()
275 context->desc.h265.pps = CALLOC_STRUCT(pipe_h265_pps); in vlVaCreateContext()
276 if (!context->desc.h265.pps) { in vlVaCreateContext()
280 context->desc.h265.pps->sps = CALLOC_STRUCT(pipe_h265_sps); in vlVaCreateContext()
281 if (!context->desc.h265.pps->sps) { in vlVaCreateContext()
282 FREE(context->desc.h265.pps); in vlVaCreateContext()
[all …]
Dpicture_mpeg4.c40 context->mpeg4.pps = *mpeg4; in vlVaHandlePictureParameterBufferMPEG4()
193 write_bit(&bs_vop, context->mpeg4.pps.vop_fields.bits.vop_rounding_type); in vlVaDecoderFixMPEG4Startcode()
194 write_bits(&bs_vop, context->mpeg4.pps.vop_fields.bits.intra_dc_vlc_thr, 3); in vlVaDecoderFixMPEG4Startcode()
195 if (context->mpeg4.pps.vol_fields.bits.interlaced) { in vlVaDecoderFixMPEG4Startcode()
196 write_bit(&bs_vop, context->mpeg4.pps.vop_fields.bits.top_field_first); in vlVaDecoderFixMPEG4Startcode()
197 write_bit(&bs_vop, context->mpeg4.pps.vop_fields.bits.alternate_vertical_scan_flag); in vlVaDecoderFixMPEG4Startcode()
200 write_bits(&bs_vop, context->mpeg4.quant_scale, context->mpeg4.pps.quant_precision); in vlVaDecoderFixMPEG4Startcode()
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/h264/model/
DPictureParameterSet.java88 PictureParameterSet pps = new PictureParameterSet(); in read() local
90 pps.pic_parameter_set_id = reader.readUE("PPS: pic_parameter_set_id"); in read()
91 pps.seq_parameter_set_id = reader.readUE("PPS: seq_parameter_set_id"); in read()
92 pps.entropy_coding_mode_flag = reader in read()
94 pps.pic_order_present_flag = reader in read()
96 pps.num_slice_groups_minus1 = reader in read()
98 if (pps.num_slice_groups_minus1 > 0) { in read()
99 pps.slice_group_map_type = reader in read()
101 pps.top_left = new int[pps.num_slice_groups_minus1 + 1]; in read()
102 pps.bottom_right = new int[pps.num_slice_groups_minus1 + 1]; in read()
[all …]
/external/mesa3d/src/gallium/frontends/vdpau/
Ddecode.c362 picture->pps->sps->mb_adaptive_frame_field_flag = picture_info->mb_adaptive_frame_field_flag; in vlVdpDecoderRenderH264()
363 picture->pps->sps->frame_mbs_only_flag = picture_info->frame_mbs_only_flag; in vlVdpDecoderRenderH264()
364 picture->pps->sps->log2_max_frame_num_minus4 = picture_info->log2_max_frame_num_minus4; in vlVdpDecoderRenderH264()
365 picture->pps->sps->pic_order_cnt_type = picture_info->pic_order_cnt_type; in vlVdpDecoderRenderH264()
366 …picture->pps->sps->log2_max_pic_order_cnt_lsb_minus4 = picture_info->log2_max_pic_order_cnt_lsb_mi… in vlVdpDecoderRenderH264()
367 …picture->pps->sps->delta_pic_order_always_zero_flag = picture_info->delta_pic_order_always_zero_fl… in vlVdpDecoderRenderH264()
368 picture->pps->sps->direct_8x8_inference_flag = picture_info->direct_8x8_inference_flag; in vlVdpDecoderRenderH264()
370 picture->pps->transform_8x8_mode_flag = picture_info->transform_8x8_mode_flag; in vlVdpDecoderRenderH264()
371 picture->pps->chroma_qp_index_offset = picture_info->chroma_qp_index_offset; in vlVdpDecoderRenderH264()
372 picture->pps->second_chroma_qp_index_offset = picture_info->second_chroma_qp_index_offset; in vlVdpDecoderRenderH264()
[all …]
/external/mesa3d/src/gallium/frontends/omx/
Dvid_dec_h264_common.c59 templat.level = priv->picture.h264.pps->sps->level_idc; in vid_dec_h264_BeginFrame()
70 priv->picture.h264.num_ref_frames = priv->picture.h264.pps->sps->max_num_ref_frames; in vid_dec_h264_BeginFrame()
363 if (id >= ARRAY_SIZE(priv->codec_data.h264.pps)) in pic_parameter_set_id()
366 return &priv->codec_data.h264.pps[id]; in pic_parameter_set_id()
372 struct pipe_h264_pps *pps; in picture_parameter_set() local
375 pps = pic_parameter_set_id(priv, rbsp); in picture_parameter_set()
376 if (!pps) in picture_parameter_set()
379 memset(pps, 0, sizeof(*pps)); in picture_parameter_set()
381 sps = pps->sps = seq_parameter_set_id(priv, rbsp); in picture_parameter_set()
385 memcpy(pps->ScalingList4x4, sps->ScalingList4x4, sizeof(pps->ScalingList4x4)); in picture_parameter_set()
[all …]
/external/mesa3d/src/gallium/frontends/omx/bellagio/
Dvid_dec_h265.c523 if (id >= ARRAY_SIZE(priv->codec_data.h265.pps)) in pic_parameter_set_id()
526 return &priv->codec_data.h265.pps[id]; in pic_parameter_set_id()
533 struct pipe_h265_pps *pps; in picture_parameter_set() local
536 pps = pic_parameter_set_id(priv, rbsp); in picture_parameter_set()
537 if (!pps) in picture_parameter_set()
540 memset(pps, 0, sizeof(*pps)); in picture_parameter_set()
541 sps = pps->sps = seq_parameter_set_id(priv, rbsp); in picture_parameter_set()
545 pps->dependent_slice_segments_enabled_flag = vl_rbsp_u(rbsp, 1); in picture_parameter_set()
546 pps->output_flag_present_flag = vl_rbsp_u(rbsp, 1); in picture_parameter_set()
547 pps->num_extra_slice_header_bits = vl_rbsp_u(rbsp, 3); in picture_parameter_set()
[all …]
/external/mesa3d/src/gallium/drivers/radeon/
Dradeon_uvd.c300 (pic->pps->sps->bit_depth_luma_minus8 || pic->pps->sps->bit_depth_chroma_minus8) ? 2 : 1; in calc_ctx_size_h265_main10()
309 log2_ctb_size = pic->pps->sps->log2_min_luma_coding_block_size_minus3 + 3 + in calc_ctx_size_h265_main10()
310 pic->pps->sps->log2_diff_max_min_luma_coding_block_size; in calc_ctx_size_h265_main10()
515 result.sps_info_flags |= pic->pps->sps->direct_8x8_inference_flag << 0; in get_h264_msg()
516 result.sps_info_flags |= pic->pps->sps->mb_adaptive_frame_field_flag << 1; in get_h264_msg()
517 result.sps_info_flags |= pic->pps->sps->frame_mbs_only_flag << 2; in get_h264_msg()
518 result.sps_info_flags |= pic->pps->sps->delta_pic_order_always_zero_flag << 3; in get_h264_msg()
520 result.bit_depth_luma_minus8 = pic->pps->sps->bit_depth_luma_minus8; in get_h264_msg()
521 result.bit_depth_chroma_minus8 = pic->pps->sps->bit_depth_chroma_minus8; in get_h264_msg()
522 result.log2_max_frame_num_minus4 = pic->pps->sps->log2_max_frame_num_minus4; in get_h264_msg()
[all …]
Dradeon_vcn_dec.c102 result.sps_info_flags |= pic->pps->sps->direct_8x8_inference_flag << 0; in get_h264_msg()
103 result.sps_info_flags |= pic->pps->sps->mb_adaptive_frame_field_flag << 1; in get_h264_msg()
104 result.sps_info_flags |= pic->pps->sps->frame_mbs_only_flag << 2; in get_h264_msg()
105 result.sps_info_flags |= pic->pps->sps->delta_pic_order_always_zero_flag << 3; in get_h264_msg()
108 result.bit_depth_luma_minus8 = pic->pps->sps->bit_depth_luma_minus8; in get_h264_msg()
109 result.bit_depth_chroma_minus8 = pic->pps->sps->bit_depth_chroma_minus8; in get_h264_msg()
110 result.log2_max_frame_num_minus4 = pic->pps->sps->log2_max_frame_num_minus4; in get_h264_msg()
111 result.pic_order_cnt_type = pic->pps->sps->pic_order_cnt_type; in get_h264_msg()
112 result.log2_max_pic_order_cnt_lsb_minus4 = pic->pps->sps->log2_max_pic_order_cnt_lsb_minus4; in get_h264_msg()
132 result.pps_info_flags |= pic->pps->transform_8x8_mode_flag << 0; in get_h264_msg()
[all …]
/external/webrtc/webrtc/test/
Drtp_file_reader_unittest.cc83 PacketsPerSsrc pps; in CountRtpPacketsPerSsrc() local
90 pps[header.ssrc]++; in CountRtpPacketsPerSsrc()
93 return pps; in CountRtpPacketsPerSsrc()
112 PacketsPerSsrc pps = CountRtpPacketsPerSsrc(); in TEST_F() local
113 EXPECT_EQ(2UL, pps.size()); in TEST_F()
114 EXPECT_EQ(370, pps[0x78d48f61]); in TEST_F()
115 EXPECT_EQ(60, pps[0xae94130b]); in TEST_F()
120 PacketsPerSsrc pps = CountRtpPacketsPerSsrc(); in TEST_F() local
121 EXPECT_EQ(3UL, pps.size()); in TEST_F()
122 EXPECT_EQ(162, pps[0x938c5eaa]); in TEST_F()
[all …]
/external/v4l2_codec2/accel/
Dh264_parser.cc836 H264PPS* pps) { in ParsePPSScalingLists() argument
846 res = ParseScalingList(base::size(pps->scaling_list4x4[i]), in ParsePPSScalingLists()
847 pps->scaling_list4x4[i], &use_default); in ParsePPSScalingLists()
852 DefaultScalingList4x4(i, pps->scaling_list4x4); in ParsePPSScalingLists()
858 pps->scaling_list4x4); in ParsePPSScalingLists()
862 sps.scaling_list4x4[3], pps->scaling_list4x4); in ParsePPSScalingLists()
867 if (pps->transform_8x8_mode_flag) { in ParsePPSScalingLists()
872 res = ParseScalingList(base::size(pps->scaling_list8x8[i]), in ParsePPSScalingLists()
873 pps->scaling_list8x8[i], &use_default); in ParsePPSScalingLists()
878 DefaultScalingList8x8(i, pps->scaling_list8x8); in ParsePPSScalingLists()
[all …]
/external/libhevc/encoder/arm/
Dihevce_me_neon.c103 #define COMBINE_SADS(pps, as, i) \ argument
105 pps[PART_ID_NxN_TL][i] = (as[0] + as[1] + as[4] + as[5]); \
106 pps[PART_ID_NxN_TR][i] = (as[2] + as[3] + as[6] + as[7]); \
107 pps[PART_ID_NxN_BL][i] = (as[8] + as[9] + as[12] + as[13]); \
108 pps[PART_ID_NxN_BR][i] = (as[10] + as[11] + as[14] + as[15]); \
110 pps[PART_ID_Nx2N_L][i] = pps[PART_ID_NxN_TL][i] + pps[PART_ID_NxN_BL][i]; \
111 pps[PART_ID_Nx2N_R][i] = pps[PART_ID_NxN_TR][i] + pps[PART_ID_NxN_BR][i]; \
112 pps[PART_ID_2NxN_T][i] = pps[PART_ID_NxN_TR][i] + pps[PART_ID_NxN_TL][i]; \
113 pps[PART_ID_2NxN_B][i] = pps[PART_ID_NxN_BR][i] + pps[PART_ID_NxN_BL][i]; \
115 pps[PART_ID_nLx2N_L][i] = (as[8] + as[0] + as[12] + as[4]); \
[all …]
/external/mesa3d/src/gallium/drivers/nouveau/nv50/
Dnv84_video_bsp.c144 if (desc->field_pic_flag || desc->pps->sps->mb_adaptive_frame_field_flag) in nv84_decoder_bsp()
170 params.iseqparm.mb_adaptive_frame_field_flag = desc->pps->sps->mb_adaptive_frame_field_flag; in nv84_decoder_bsp()
171 params.ipicparm.constrained_intra_pred_flag = desc->pps->constrained_intra_pred_flag; in nv84_decoder_bsp()
172 params.ipicparm.weighted_pred_flag = desc->pps->weighted_pred_flag; in nv84_decoder_bsp()
173 params.ipicparm.weighted_bipred_idc = desc->pps->weighted_bipred_idc; in nv84_decoder_bsp()
174 params.iseqparm.frame_mbs_only_flag = desc->pps->sps->frame_mbs_only_flag; in nv84_decoder_bsp()
175 params.ipicparm.transform_8x8_mode_flag = desc->pps->transform_8x8_mode_flag; in nv84_decoder_bsp()
176 params.ipicparm.chroma_qp_index_offset = desc->pps->chroma_qp_index_offset; in nv84_decoder_bsp()
177 params.ipicparm.second_chroma_qp_index_offset = desc->pps->second_chroma_qp_index_offset; in nv84_decoder_bsp()
178 params.ipicparm.pic_init_qp_minus26 = desc->pps->pic_init_qp_minus26; in nv84_decoder_bsp()
[all …]
/external/exoplayer/tree/library/extractor/src/main/java/com/google/android/exoplayer2/extractor/ts/
DH264Reader.java55 private final NalUnitTargetBuffer pps; field in H264Reader
89 pps = new NalUnitTargetBuffer(NAL_UNIT_TYPE_PPS, 128); in H264Reader()
100 pps.reset(); in seek()
176 pps.startNalUnit(nalUnitType); in startNalUnit()
186 pps.appendToNalUnit(dataArray, offset, limit); in nalUnitData()
196 pps.endNalUnit(discardPadding); in endNalUnit()
198 if (sps.isCompleted() && pps.isCompleted()) { in endNalUnit()
201 initializationData.add(Arrays.copyOf(pps.nalData, pps.nalLength)); in endNalUnit()
203 NalUnitUtil.PpsData ppsData = NalUnitUtil.parsePpsNalUnit(pps.nalData, 3, pps.nalLength); in endNalUnit()
223 pps.reset(); in endNalUnit()
[all …]
DH265Reader.java67 private final NalUnitTargetBuffer pps; field in H265Reader
86 pps = new NalUnitTargetBuffer(PPS_NUT, 128); in H265Reader()
98 pps.reset(); in seek()
180 pps.startNalUnit(nalUnitType); in startNalUnit()
192 pps.appendToNalUnit(dataArray, offset, limit); in nalUnitData()
204 pps.endNalUnit(discardPadding); in endNalUnit()
205 if (vps.isCompleted() && sps.isCompleted() && pps.isCompleted()) { in endNalUnit()
206 output.format(parseMediaFormat(formatId, vps, sps, pps)); in endNalUnit()
232 NalUnitTargetBuffer pps) { in parseMediaFormat() argument
234 byte[] csdData = new byte[vps.nalLength + sps.nalLength + pps.nalLength]; in parseMediaFormat()
[all …]
/external/mesa3d/src/gallium/drivers/nouveau/
Dnouveau_vp3_video_bsp.c207 h->log2_max_frame_num_minus4 = d->pps->sps->log2_max_frame_num_minus4; in nouveau_vp3_fill_picparm_h264_bsp()
208 h->frame_mbs_only_flag = d->pps->sps->frame_mbs_only_flag; in nouveau_vp3_fill_picparm_h264_bsp()
209 h->direct_8x8_inference_flag = d->pps->sps->direct_8x8_inference_flag; in nouveau_vp3_fill_picparm_h264_bsp()
212 h->entropy_coding_mode_flag = d->pps->entropy_coding_mode_flag; in nouveau_vp3_fill_picparm_h264_bsp()
213 h->pic_order_present_flag = d->pps->bottom_field_pic_order_in_frame_present_flag; in nouveau_vp3_fill_picparm_h264_bsp()
214 h->pic_order_cnt_type = d->pps->sps->pic_order_cnt_type; in nouveau_vp3_fill_picparm_h264_bsp()
215 h->log2_max_pic_order_cnt_lsb_minus4 = d->pps->sps->log2_max_pic_order_cnt_lsb_minus4; in nouveau_vp3_fill_picparm_h264_bsp()
216 h->delta_pic_order_always_zero_flag = d->pps->sps->delta_pic_order_always_zero_flag; in nouveau_vp3_fill_picparm_h264_bsp()
219 h->weighted_pred_flag = d->pps->weighted_pred_flag; in nouveau_vp3_fill_picparm_h264_bsp()
220 h->weighted_bipred_idc = d->pps->weighted_bipred_idc; in nouveau_vp3_fill_picparm_h264_bsp()
[all …]
/external/nist-sip/java/gov/nist/javax/sip/parser/ims/
DPPreferredServiceParser.java52 public PPreferredServiceParser(String pps) in PPreferredServiceParser() argument
54 super(pps); in PPreferredServiceParser()
104 PPreferredService pps = new PPreferredService(); in parse() local
120 pps.setSubserviceIdentifiers(serviceID); in parse()
132 pps.setApplicationIdentifiers(appID); in parse()
146 return pps; in parse()
DPAssertedServiceParser.java66 PAssertedService pps = new PAssertedService(); in parse() local
82 pps.setSubserviceIdentifiers(urn.split(ParameterNamesIms.SERVICE_ID_LABEL)[1]); in parse()
94pps.setApplicationIdentifiers(urn.split(ParameterNamesIms.APPLICATION_ID_LABEL)[1]); in parse()
108 return pps; in parse()
/external/wpa_supplicant_8/hs20/client/
Dosu_client.h70 void get_user_pw(struct hs20_osu_client *ctx, xml_node_t *pps,
73 xml_node_t *pps);
83 xml_node_t *pps);
88 xml_node_t *pps);
101 xml_node_t *pps);
106 xml_node_t *pps);
Doma_dm_client.c501 xml_node_t *add, xml_node_t *pps, in oma_dm_run_add() argument
540 pps_node = get_node(ctx->xml, pps, pos); in oma_dm_run_add()
554 pps_node = get_node(ctx->xml, pps, uri); in oma_dm_run_add()
563 pps_node = pps; in oma_dm_run_add()
647 if (update_pps_file(ctx, pps_fname, pps) < 0) in oma_dm_run_add()
657 xml_node_t *pps, const char *pps_fname) in oma_dm_add() argument
689 ret = oma_dm_run_add(ctx, locuri, add, pps, pps_fname); in oma_dm_add()
725 xml_node_t *pps, const char *pps_fname) in oma_dm_replace() argument
770 pps_node = get_node(ctx->xml, pps, pos); in oma_dm_replace()
836 if (update_pps_file(ctx, pps_fname, pps) < 0) in oma_dm_replace()
[all …]
Dspp_client.c147 static int process_update_node(struct hs20_osu_client *ctx, xml_node_t *pps, in process_update_node() argument
263 node = get_node(ctx->xml, pps, pos); in process_update_node()
272 parent = pps; in process_update_node()
275 parent = get_node(ctx->xml, pps, pos); in process_update_node()
294 const char *pps_fname, xml_node_t *pps) in update_pps() argument
299 if (process_update_node(ctx, pps, update) < 0) in update_pps()
303 return update_pps_file(ctx, pps_fname, pps); in update_pps()
513 xml_node_t *pps, xml_node_t **ret_node) in hs20_spp_exec() argument
601 const char *pps_fname, xml_node_t *pps) in process_spp_post_dev_data_response() argument
653 res = update_pps(ctx, update, pps_fname, pps); in process_spp_post_dev_data_response()
[all …]
Dosu_client.c398 xml_node_t *pps, *node; in cmd_dl_osu_ca() local
401 pps = node_from_file(ctx->xml, pps_fname); in cmd_dl_osu_ca()
402 if (pps == NULL) { in cmd_dl_osu_ca()
407 node = get_child_node(ctx->xml, pps, in cmd_dl_osu_ca()
411 xml_node_free(ctx->xml, pps); in cmd_dl_osu_ca()
416 xml_node_free(ctx->xml, pps); in cmd_dl_osu_ca()
425 xml_node_t *pps, *node; in cmd_dl_polupd_ca() local
428 pps = node_from_file(ctx->xml, pps_fname); in cmd_dl_polupd_ca()
429 if (pps == NULL) { in cmd_dl_polupd_ca()
434 node = get_child_node(ctx->xml, pps, in cmd_dl_polupd_ca()
[all …]
/external/strace/tests-mx32/
Dnlattr_tc_stats.c101 .pps = 0xabdceade, in main()
107 PRINT_FIELD_U(", ", est, pps); in main()
133 .pps = 0xcdabeabdfeabceaf in main()
139 PRINT_FIELD_U(", ", est64, pps); in main()
/external/strace/tests/
Dnlattr_tc_stats.c101 .pps = 0xabdceade, in main()
107 PRINT_FIELD_U(", ", est, pps); in main()
133 .pps = 0xcdabeabdfeabceaf in main()
139 PRINT_FIELD_U(", ", est64, pps); in main()

1234