Home
last modified time | relevance | path

Searched refs:sps (Results 1 – 25 of 47) sorted by relevance

12

/external/v4l2_codec2/vda/
Dh264_parser.cc668 H264Parser::Result H264Parser::ParseSPSScalingLists(H264SPS* sps) { in ParseSPSScalingLists() argument
679 res = ParseScalingList(arraysize(sps->scaling_list4x4[i]), in ParseSPSScalingLists()
680 sps->scaling_list4x4[i], &use_default); in ParseSPSScalingLists()
685 DefaultScalingList4x4(i, sps->scaling_list4x4); in ParseSPSScalingLists()
689 sps->scaling_list4x4); in ParseSPSScalingLists()
694 for (int i = 0; i < ((sps->chroma_format_idc != 3) ? 2 : 6); ++i) { in ParseSPSScalingLists()
698 res = ParseScalingList(arraysize(sps->scaling_list8x8[i]), in ParseSPSScalingLists()
699 sps->scaling_list8x8[i], &use_default); in ParseSPSScalingLists()
704 DefaultScalingList8x8(i, sps->scaling_list8x8); in ParseSPSScalingLists()
708 sps->scaling_list8x8); in ParseSPSScalingLists()
[all …]
Dh264_decoder.cc138 const H264SPS* sps = parser_.GetSPS(curr_sps_id_); in InitCurrPicture() local
139 if (!sps) in InitCurrPicture()
142 curr_pic_->pic_order_cnt_type = sps->pic_order_cnt_type; in InitCurrPicture()
187 const H264SPS* sps = parser_.GetSPS(curr_sps_id_); in CalculatePicOrderCounts() local
188 if (!sps) in CalculatePicOrderCounts()
214 1 << (sps->log2_max_pic_order_cnt_lsb_minus4 + 4); in CalculatePicOrderCounts()
258 if (sps->num_ref_frames_in_pic_order_cnt_cycle != 0) in CalculatePicOrderCounts()
268 if (sps->num_ref_frames_in_pic_order_cnt_cycle == 0) { in CalculatePicOrderCounts()
275 (abs_frame_num - 1) / sps->num_ref_frames_in_pic_order_cnt_cycle; in CalculatePicOrderCounts()
277 (abs_frame_num - 1) % sps->num_ref_frames_in_pic_order_cnt_cycle; in CalculatePicOrderCounts()
[all …]
Dh264_parser.h461 Result ParseSPSScalingLists(H264SPS* sps);
462 Result ParsePPSScalingLists(const H264SPS& sps, H264PPS* pps);
465 Result ParseVUIParameters(H264SPS* sps);
475 Result ParsePredWeightTable(const H264SPS& sps, H264SliceHeader* shdr);
/external/mesa3d/src/gallium/state_trackers/omx/
Dvid_dec_h264.c120 templat.level = priv->picture.h264.pps->sps->level_idc; in vid_dec_h264_BeginFrame()
131 priv->picture.h264.num_ref_frames = priv->picture.h264.pps->sps->max_num_ref_frames; in vid_dec_h264_BeginFrame()
253 if (id >= ARRAY_SIZE(priv->codec_data.h264.sps)) in seq_parameter_set_id()
256 return &priv->codec_data.h264.sps[id]; in seq_parameter_set_id()
261 struct pipe_h264_sps *sps; in seq_parameter_set() local
292 sps = seq_parameter_set_id(priv, rbsp); in seq_parameter_set()
293 if (!sps) in seq_parameter_set()
296 memset(sps, 0, sizeof(*sps)); in seq_parameter_set()
297 memset(sps->ScalingList4x4, 16, sizeof(sps->ScalingList4x4)); in seq_parameter_set()
298 memset(sps->ScalingList8x8, 16, sizeof(sps->ScalingList8x8)); in seq_parameter_set()
[all …]
Dvid_dec_h265.c214 struct vl_rbsp *rbsp, struct pipe_h265_sps *sps) in scaling_list_data() argument
223 (uint8_t (*)[6][64])sps->ScalingList8x8, in scaling_list_data()
224 (uint8_t (*)[6][64])sps->ScalingList16x16, in scaling_list_data()
225 (uint8_t (*)[6][64])sps->ScalingList32x32 in scaling_list_data()
228 (uint8_t (*)[6])sps->ScalingListDCCoeff16x16, in scaling_list_data()
229 (uint8_t (*)[6])sps->ScalingListDCCoeff32x32 in scaling_list_data()
284 memcpy(sps->ScalingList4x4[i], scaling_list4x4[i], 16); in scaling_list_data()
290 struct ref_pic_set *rps, struct pipe_h265_sps *sps, in st_ref_pic_set() argument
307 if (idx == sps->num_short_term_ref_pic_sets) in st_ref_pic_set()
400 if (id >= ARRAY_SIZE(priv->codec_data.h265.sps)) in seq_parameter_set_id()
[all …]
Dvid_dec.h95 struct pipe_h264_sps sps[32]; \
109 struct pipe_h265_sps sps[16]; \
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/h264/model/
DSeqParameterSet.java79 SeqParameterSet sps = new SeqParameterSet(); in read() local
81 sps.profile_idc = (int) reader.readNBit(8, "SPS: profile_idc"); in read()
82 sps.constraint_set_0_flag = reader in read()
84 sps.constraint_set_1_flag = reader in read()
86 sps.constraint_set_2_flag = reader in read()
88 sps.constraint_set_3_flag = reader in read()
91 sps.level_idc = (int) reader.readNBit(8, "SPS: level_idc"); in read()
92 sps.seq_parameter_set_id = reader.readUE("SPS: seq_parameter_set_id"); in read()
94 if (sps.profile_idc == 100 || sps.profile_idc == 110 in read()
95 || sps.profile_idc == 122 || sps.profile_idc == 144) { in read()
[all …]
/external/mesa3d/src/gallium/state_trackers/va/
Dpicture_hevc.c36 context->desc.h265.pps->sps->chroma_format_idc = hevc->pic_fields.bits.chroma_format_idc; in vlVaHandlePictureParameterBufferHEVC()
37 context->desc.h265.pps->sps->separate_colour_plane_flag = in vlVaHandlePictureParameterBufferHEVC()
39 context->desc.h265.pps->sps->pic_width_in_luma_samples = hevc->pic_width_in_luma_samples; in vlVaHandlePictureParameterBufferHEVC()
40 context->desc.h265.pps->sps->pic_height_in_luma_samples = hevc->pic_height_in_luma_samples; in vlVaHandlePictureParameterBufferHEVC()
41 context->desc.h265.pps->sps->bit_depth_luma_minus8 = hevc->bit_depth_luma_minus8; in vlVaHandlePictureParameterBufferHEVC()
42 context->desc.h265.pps->sps->bit_depth_chroma_minus8 = hevc->bit_depth_chroma_minus8; in vlVaHandlePictureParameterBufferHEVC()
43 context->desc.h265.pps->sps->log2_max_pic_order_cnt_lsb_minus4 = in vlVaHandlePictureParameterBufferHEVC()
45 context->desc.h265.pps->sps->sps_max_dec_pic_buffering_minus1 = in vlVaHandlePictureParameterBufferHEVC()
47 context->desc.h265.pps->sps->log2_min_luma_coding_block_size_minus3 = in vlVaHandlePictureParameterBufferHEVC()
49 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()
Dcontext.c260 context->desc.h264.pps->sps = CALLOC_STRUCT(pipe_h264_sps); in vlVaCreateContext()
261 if (!context->desc.h264.pps->sps) { in vlVaCreateContext()
276 context->desc.h265.pps->sps = CALLOC_STRUCT(pipe_h265_sps); in vlVaCreateContext()
277 if (!context->desc.h265.pps->sps) { in vlVaCreateContext()
322 FREE(context->desc.h264.pps->sps); in vlVaDestroyContext()
327 FREE(context->desc.h265.pps->sps); in vlVaDestroyContext()
/external/blktrace/btt/
Dseek.c39 struct sps_bkt sps; member
103 struct sps_bkt *sps = &sip->sps; in sps_emit() local
104 double delta = sps->t_last - sps->t_start; in sps_emit()
106 if ((sps->nseeks == 1) || (delta < DBL_EPSILON)) { in sps_emit()
107 s_p_s = (double)(sps->nseeks); in sps_emit()
108 tstamp = sps->t_start; in sps_emit()
111 s_p_s = (double)(sps->nseeks) / delta; in sps_emit()
112 tstamp = sps->t_start + (delta / 2); in sps_emit()
115 fprintf(sip->sps_fp, "%15.9lf %.2lf\n", sps->t_start, s_p_s); in sps_emit()
117 sps->t_start = 0; in sps_emit()
[all …]
/external/valgrind/coregrind/
Dm_stacktrace.c161 /*OUT*/Addr* sps, /*OUT*/Addr* fps,
251 if (sps) sps[0] = uregs.xsp;
280 if (sps) sps[0] = uregs.xsp;
462 if (sps) sps[i] = uregs.xsp;
506 /*OUT*/Addr* sps, /*OUT*/Addr* fps,
560 if (sps) sps[0] = uregs.xsp;
570 if (sps) sps[0] = uregs.xsp;
588 if (sps) sps[i] = uregs.xsp;
629 if (sps) sps[i] = uregs.xsp;
665 if (sps) sps[i] = uregs.xsp;
[all …]
Dm_addrinfo.c144 sps[VG_(clo_backtrace_size)]; in VG_() local
167 sps, NULL, 0/*first_ip_delta*/ ); in VG_()
169 if (sps[f] <= a && a < sps[f+1] in VG_()
170 && sps[f+1] - sps[f] <= 0x4000000 // 64 MB, arbitrary in VG_()
171 && sps[f+1] <= stack_max in VG_()
172 && sps[f] >= stack_min - VG_STACK_REDZONE_SZB) { in VG_()
/external/mesa3d/src/gallium/state_trackers/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()
422 picture->pps->sps->chroma_format_idc = picture_info->chroma_format_idc; in vlVdpDecoderRenderH265()
423 picture->pps->sps->separate_colour_plane_flag = picture_info->separate_colour_plane_flag; in vlVdpDecoderRenderH265()
424 picture->pps->sps->pic_width_in_luma_samples = picture_info->pic_width_in_luma_samples; in vlVdpDecoderRenderH265()
[all …]
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/authoring/tracks/
DH264TrackImpl.java442 …public SliceHeader(InputStream is, SeqParameterSet sps, PictureParameterSet pps, boolean IdrPicFla… in SliceHeader() argument
474 if (sps.residual_color_transform_flag) { in SliceHeader()
477 frame_num = reader.readU(sps.log2_max_frame_num_minus4 + 4, "SliceHeader: frame_num"); in SliceHeader()
479 if (!sps.frame_mbs_only_flag) { in SliceHeader()
487 if (sps.pic_order_cnt_type == 0) { in SliceHeader()
488 …pic_order_cnt_lsb = reader.readU(sps.log2_max_pic_order_cnt_lsb_minus4 + 4, "SliceHeader: pic_orde… in SliceHeader()
585 SeqParameterSet sps; field in H264TrackImpl.SEIMessage
587 public SEIMessage(InputStream is, SeqParameterSet sps) throws IOException { in SEIMessage() argument
588 this.sps = sps; in SEIMessage()
614 …if (sps.vuiParams != null && (sps.vuiParams.nalHRDParams != null || sps.vuiParams.vclHRDParams != … in SEIMessage()
[all …]
/external/slf4j/integration/src/test/java/org/slf4j/
DMissingSingletonMethodAssertionTest.java34 StringPrintStream sps = new StringPrintStream(System.err); field in MissingSingletonMethodAssertionTest
44 System.setErr(sps); in setUp()
61 int lineCount = sps.stringList.size(); in test()
70 String s = (String) sps.stringList.get(0); in test()
74 String s = (String) sps.stringList.get(1); in test()
78 String s = (String) sps.stringList.get(2); in test()
DVersionMismatchAssertionTest.java34 StringPrintStream sps = new StringPrintStream(System.err); field in VersionMismatchAssertionTest
44 System.setErr(sps); in setUp()
57 String s0 = (String) sps.stringList.get(0); in test()
60 String s1 = (String) sps.stringList.get(1); in test()
63 String s2 = (String) sps.stringList.get(2); in test()
DCompatibilityAssertionTest.java35 StringPrintStream sps = new StringPrintStream(System.err); field in CompatibilityAssertionTest
45 System.setErr(sps); in setUp()
57 assertEquals(1, sps.stringList.size()); in test()
58 String s0 = (String) sps.stringList.get(0); in test()
DMultiBindingAssertionTest.java35 StringPrintStream sps = new StringPrintStream(System.err); field in MultiBindingAssertionTest
45 System.setErr(sps); in setUp()
57 List<String> list = sps.stringList; in test()
DIncompatibleMultiBindingAssertionTest.java35 StringPrintStream sps = new StringPrintStream(System.err); field in IncompatibleMultiBindingAssertionTest
45 System.setErr(sps); in setUp()
61 List<String> list = sps.stringList; in test()
/external/mesa3d/src/gallium/drivers/radeon/
Dradeon_uvd.c300 …unsigned coeff_10bit = (pic->pps->sps->bit_depth_luma_minus8 || pic->pps->sps->bit_depth_chroma_mi… in calc_ctx_size_h265_main10()
309 block_size = (1 << (pic->pps->sps->log2_min_luma_coding_block_size_minus3 + 3)); in calc_ctx_size_h265_main10()
310 log2_ctb_size = block_size + pic->pps->sps->log2_diff_max_min_luma_coding_block_size; in calc_ctx_size_h265_main10()
500 result.sps_info_flags |= pic->pps->sps->direct_8x8_inference_flag << 0; in get_h264_msg()
501 result.sps_info_flags |= pic->pps->sps->mb_adaptive_frame_field_flag << 1; in get_h264_msg()
502 result.sps_info_flags |= pic->pps->sps->frame_mbs_only_flag << 2; in get_h264_msg()
503 result.sps_info_flags |= pic->pps->sps->delta_pic_order_always_zero_flag << 3; in get_h264_msg()
505 result.bit_depth_luma_minus8 = pic->pps->sps->bit_depth_luma_minus8; in get_h264_msg()
506 result.bit_depth_chroma_minus8 = pic->pps->sps->bit_depth_chroma_minus8; in get_h264_msg()
507 result.log2_max_frame_num_minus4 = pic->pps->sps->log2_max_frame_num_minus4; in get_h264_msg()
[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()
174 params.iseqparm.frame_mbs_only_flag = desc->pps->sps->frame_mbs_only_flag; in nv84_decoder_bsp()
181 params.iseqparm.log2_max_frame_num_minus4 = desc->pps->sps->log2_max_frame_num_minus4; in nv84_decoder_bsp()
182 params.iseqparm.pic_order_cnt_type = desc->pps->sps->pic_order_cnt_type; in nv84_decoder_bsp()
183 …params.iseqparm.log2_max_pic_order_cnt_lsb_minus4 = desc->pps->sps->log2_max_pic_order_cnt_lsb_min… in nv84_decoder_bsp()
184 …params.iseqparm.delta_pic_order_always_zero_flag = desc->pps->sps->delta_pic_order_always_zero_fla… in nv84_decoder_bsp()
185 params.iseqparm.direct_8x8_inference_flag = desc->pps->sps->direct_8x8_inference_flag; in nv84_decoder_bsp()
/external/webrtc/talk/media/base/
Dstreamparams_unittest.cc127 cricket::StreamParams sps[] = {l1, l2, sg1, sg2, sg3, sg4}; in TEST() local
129 for (size_t i = 0; i < arraysize(sps); ++i) { in TEST()
130 for (size_t j = 0; j < arraysize(sps); ++j) { in TEST()
131 EXPECT_EQ((sps[i] == sps[j]), (i == j)); in TEST()
132 EXPECT_EQ((sps[i] != sps[j]), (i != j)); in TEST()
/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()
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()
225 h->mb_adaptive_frame_field_flag = d->pps->sps->mb_adaptive_frame_field_flag; in nouveau_vp3_fill_picparm_h264_bsp()
/external/webrtc/webrtc/modules/rtp_rtcp/source/
Dh264_sps_parser.cc24 H264SpsParser::H264SpsParser(const uint8_t* sps, size_t byte_length) in H264SpsParser() argument
25 : sps_(sps), byte_length_(byte_length), width_(), height_() { in H264SpsParser()

12