Home | History | Annotate | Download | only in media

Lines Matching refs:sps

110   // If we are in kDecoding, we can resume without processing an SPS.
225 const H264SPS* sps = parser_.GetSPS(pps->seq_parameter_set_id);
226 DCHECK(sps);
233 #define FROM_SPS_TO_PP(a) pic_param.a = sps->a;
234 #define FROM_SPS_TO_PP2(a, b) pic_param.b = sps->a;
244 #define FROM_SPS_TO_PP_SF(a) pic_param.seq_fields.bits.a = sps->a;
245 #define FROM_SPS_TO_PP_SF2(a, b) pic_param.seq_fields.bits.b = sps->a;
253 pic_param.seq_fields.bits.MinLumaBiPredSize8x8 = (sps->level_idc >= 31);
301 pic_param.num_ref_frames = sps->max_num_ref_frames;
326 const H264SPS* sps = parser_.GetSPS(pps->seq_parameter_set_id);
327 DCHECK(sps);
330 iq_matrix_buf.ScalingList4x4[i][j] = sps->scaling_list4x4[i][j];
335 iq_matrix_buf.ScalingList8x8[i][j] = sps->scaling_list8x8[i][j];
348 const H264SPS* sps = parser_.GetSPS(pps->seq_parameter_set_id);
349 DCHECK(sps);
524 const H264SPS* sps = parser_.GetSPS(curr_sps_id_);
529 switch (sps->pic_order_cnt_type) {
595 if (sps->num_ref_frames_in_pic_order_cnt_cycle != 0)
605 if (sps->num_ref_frames_in_pic_order_cnt_cycle == 0) {
612 sps->num_ref_frames_in_pic_order_cnt_cycle;
614 sps->num_ref_frames_in_pic_order_cnt_cycle;
617 sps->expected_delta_per_pic_order_cnt_cycle;
620 expected_pic_order_cnt += sps->offset_for_ref_frame[i];
624 expected_pic_order_cnt += sps->offset_for_non_ref_pic;
630 sps->offset_for_top_to_bottom_field +
637 sps->offset_for_top_to_bottom_field +
677 DVLOG(1) << "Invalid pic_order_cnt_type: " << sps->pic_order_cnt_type;
1392 const H264SPS* sps = parser_.GetSPS(sps_id);
1393 DCHECK(sps);
1394 DVLOG(4) << "Processing SPS";
1398 if (sps->frame_mbs_only_flag == 0) {
1404 if (sps->gaps_in_frame_num_value_allowed_flag) {
1410 curr_sps_id_ = sps->seq_parameter_set_id;
1414 int width_mb = sps->pic_width_in_mbs_minus1 + 1;
1415 int height_mb = (2 - sps->frame_mbs_only_flag) *
1416 (sps->pic_height_in_map_units_minus1 + 1);
1425 // Already have surfaces and this SPS keeps the same resolution,
1433 max_pic_order_cnt_lsb_ = 1 << (sps->log2_max_pic_order_cnt_lsb_minus4 + 4);
1434 max_frame_num_ = 1 << (sps->log2_max_frame_num_minus4 + 4);
1436 int level = sps->level_idc;
1528 // decoding state not only starting at/resuming from an SPS, but also from
1531 // Otherwise we just look for an SPS and don't produce any output frames.
1552 // TODO(posciak): the IDR may require an SPS that we don't have
1554 // to keep going until the next SPS in the stream.
1556 // We need an SPS, skip this IDR and keep looking.