/external/webrtc/modules/video_coding/ |
D | encoded_frame.cc | 82 const auto& vp9_header = in CopyCodecSpecific() local 92 vp9_header.inter_pic_predicted; in CopyCodecSpecific() 94 vp9_header.flexible_mode; in CopyCodecSpecific() 96 vp9_header.num_ref_pics; in CopyCodecSpecific() 97 for (uint8_t r = 0; r < vp9_header.num_ref_pics; ++r) { in CopyCodecSpecific() 99 vp9_header.pid_diff[r]; in CopyCodecSpecific() 102 vp9_header.ss_data_available; in CopyCodecSpecific() 103 if (vp9_header.temporal_idx != kNoTemporalIdx) { in CopyCodecSpecific() 105 vp9_header.temporal_idx; in CopyCodecSpecific() 107 vp9_header.temporal_up_switch; in CopyCodecSpecific() [all …]
|
D | jitter_buffer_unittest.cc | 662 auto& vp9_header = in TEST_F() local 669 vp9_header.flexible_mode = false; in TEST_F() 670 vp9_header.spatial_idx = 0; in TEST_F() 671 vp9_header.beginning_of_frame = true; in TEST_F() 672 vp9_header.end_of_frame = true; in TEST_F() 673 vp9_header.temporal_up_switch = false; in TEST_F() 678 vp9_header.picture_id = 5; in TEST_F() 679 vp9_header.tl0_pic_idx = 200; in TEST_F() 680 vp9_header.temporal_idx = 0; in TEST_F() 681 vp9_header.ss_data_available = true; in TEST_F() [all …]
|
D | session_info.cc | 154 auto* vp9_header = absl::get_if<RTPVideoHeaderVP9>( in SetGofInfo() local 156 if (!vp9_header || vp9_header->flexible_mode) in SetGofInfo() 159 vp9_header->temporal_idx = gof_info.temporal_idx[idx]; in SetGofInfo() 160 vp9_header->temporal_up_switch = gof_info.temporal_up_switch[idx]; in SetGofInfo() 161 vp9_header->num_ref_pics = gof_info.num_ref_pics[idx]; in SetGofInfo() 163 vp9_header->pid_diff[i] = gof_info.pid_diff[idx][i]; in SetGofInfo()
|
D | rtp_frame_reference_finder_unittest.cc | 127 RTPVideoHeaderVP9 vp9_header{}; in InsertVp9Gof() local 128 vp9_header.flexible_mode = false; in InsertVp9Gof() 129 vp9_header.picture_id = pid % (1 << 15); in InsertVp9Gof() 130 vp9_header.temporal_idx = tid; in InsertVp9Gof() 131 vp9_header.spatial_idx = sid; in InsertVp9Gof() 132 vp9_header.tl0_pic_idx = tl0; in InsertVp9Gof() 133 vp9_header.temporal_up_switch = up_switch; in InsertVp9Gof() 134 vp9_header.inter_pic_predicted = inter_pic_predicted && !keyframe; in InsertVp9Gof() 136 vp9_header.ss_data_available = true; in InsertVp9Gof() 137 vp9_header.gof = *ss; in InsertVp9Gof() [all …]
|
/external/webrtc/call/ |
D | rtp_payload_params.cc | 51 auto& vp9_header = rtp->video_type_header.emplace<RTPVideoHeaderVP9>(); in PopulateRtpWithCodecSpecifics() local 52 vp9_header.InitRTPVideoHeaderVP9(); in PopulateRtpWithCodecSpecifics() 53 vp9_header.inter_pic_predicted = in PopulateRtpWithCodecSpecifics() 55 vp9_header.flexible_mode = info.codecSpecific.VP9.flexible_mode; in PopulateRtpWithCodecSpecifics() 56 vp9_header.ss_data_available = info.codecSpecific.VP9.ss_data_available; in PopulateRtpWithCodecSpecifics() 57 vp9_header.non_ref_for_inter_layer_pred = in PopulateRtpWithCodecSpecifics() 59 vp9_header.temporal_idx = info.codecSpecific.VP9.temporal_idx; in PopulateRtpWithCodecSpecifics() 60 vp9_header.temporal_up_switch = info.codecSpecific.VP9.temporal_up_switch; in PopulateRtpWithCodecSpecifics() 61 vp9_header.inter_layer_predicted = in PopulateRtpWithCodecSpecifics() 63 vp9_header.gof_idx = info.codecSpecific.VP9.gof_idx; in PopulateRtpWithCodecSpecifics() [all …]
|
D | rtp_payload_params_unittest.cc | 115 const auto& vp9_header = in TEST() local 117 EXPECT_EQ(kPictureId + 1, vp9_header.picture_id); in TEST() 118 EXPECT_EQ(kTl0PicIdx, vp9_header.tl0_pic_idx); in TEST() 119 EXPECT_EQ(vp9_header.temporal_idx, codec_info.codecSpecific.VP9.temporal_idx); in TEST() 120 EXPECT_EQ(vp9_header.spatial_idx, encoded_image.SpatialIndex()); in TEST() 121 EXPECT_EQ(vp9_header.num_spatial_layers, in TEST() 123 EXPECT_EQ(vp9_header.end_of_picture, in TEST() 141 EXPECT_EQ(kPictureId + 1, vp9_header.picture_id); in TEST() 142 EXPECT_EQ(kTl0PicIdx, vp9_header.tl0_pic_idx); in TEST() 143 EXPECT_EQ(vp9_header.temporal_idx, codec_info.codecSpecific.VP9.temporal_idx); in TEST() [all …]
|
/external/webrtc/modules/rtp_rtcp/source/ |
D | video_rtp_depacketizer_vp9.cc | 239 auto& vp9_header = in ParseRtpPayload() local 241 vp9_header.InitRTPVideoHeaderVP9(); in ParseRtpPayload() 242 vp9_header.inter_pic_predicted = p_bit; in ParseRtpPayload() 243 vp9_header.flexible_mode = f_bit; in ParseRtpPayload() 244 vp9_header.beginning_of_frame = b_bit; in ParseRtpPayload() 245 vp9_header.end_of_frame = e_bit; in ParseRtpPayload() 246 vp9_header.ss_data_available = v_bit; in ParseRtpPayload() 247 vp9_header.non_ref_for_inter_layer_pred = z_bit; in ParseRtpPayload() 250 if (i_bit && !ParsePictureId(&parser, &vp9_header)) { in ParseRtpPayload() 254 if (l_bit && !ParseLayerInfo(&parser, &vp9_header)) { in ParseRtpPayload() [all …]
|
D | rtp_format_vp9_unittest.cc | 79 auto& vp9_header = in ParseAndCheckPacket() local 81 VerifyHeader(expected, vp9_header); in ParseAndCheckPacket() 181 const auto& vp9_header = in CreateParseAndCheckPacketsLayers() local 183 EXPECT_EQ(vp9_header.spatial_idx, expected_layer); in CreateParseAndCheckPacketsLayers() 184 EXPECT_EQ(vp9_header.num_spatial_layers, num_spatial_layers); in CreateParseAndCheckPacketsLayers() 477 RTPVideoHeaderVP9 vp9_header; in TEST_F() local 478 vp9_header.InitRTPVideoHeaderVP9(); in TEST_F() 479 vp9_header.flexible_mode = true; in TEST_F() 480 vp9_header.num_spatial_layers = 3; in TEST_F() 485 for (size_t spatial_idx = 0; spatial_idx < vp9_header.num_spatial_layers - 1; in TEST_F() [all …]
|
D | rtp_sender_video_unittest.cc | 391 auto& vp9_header = header.video_type_header.emplace<RTPVideoHeaderVP9>(); in TEST_P() local 393 vp9_header.temporal_idx = tid; in TEST_P()
|
/external/webrtc/test/ |
D | layer_filtering_transport.cc | 115 const auto& vp9_header = absl::get<RTPVideoHeaderVP9>( in SendRtp() local 117 temporal_idx = vp9_header.temporal_idx; in SendRtp() 118 spatial_idx = vp9_header.spatial_idx; in SendRtp() 119 non_ref_for_inter_layer_pred = vp9_header.non_ref_for_inter_layer_pred; in SendRtp() 120 end_of_frame = vp9_header.end_of_frame; in SendRtp() 121 if (vp9_header.ss_data_available) { in SendRtp() 122 RTC_DCHECK(vp9_header.temporal_idx == kNoTemporalIdx || in SendRtp() 123 vp9_header.temporal_idx == 0); in SendRtp() 124 num_active_spatial_layers_ = vp9_header.num_spatial_layers; in SendRtp()
|
/external/webrtc/video/ |
D | picture_id_tests.cc | 108 } else if (const auto* vp9_header = absl::get_if<RTPVideoHeaderVP9>( in ParsePayload() local 110 parsed->picture_id = vp9_header->picture_id; in ParsePayload() 111 parsed->tl0_pic_idx = vp9_header->tl0_pic_idx; in ParsePayload() 112 parsed->temporal_idx = vp9_header->temporal_idx; in ParsePayload()
|
D | video_send_stream_tests.cc | 3291 const auto& vp9_header = in OnSendRtp() local 3293 VerifyCommonHeader(vp9_header); in OnSendRtp() 3296 InspectHeader(vp9_header); in OnSendRtp() 3306 last_vp9_ = vp9_header; in OnSendRtp() 3491 const auto& vp9_header = in CompareConsecutiveFrames() local 3501 EXPECT_EQ(last_vp9_.picture_id, vp9_header.picture_id); in CompareConsecutiveFrames() 3502 EXPECT_EQ(last_vp9_.temporal_idx, vp9_header.temporal_idx); in CompareConsecutiveFrames() 3503 EXPECT_EQ(last_vp9_.tl0_pic_idx, vp9_header.tl0_pic_idx); in CompareConsecutiveFrames() 3504 VerifySpatialIdxWithinFrame(vp9_header); in CompareConsecutiveFrames() 3508 EXPECT_TRUE(vp9_header.beginning_of_frame); in CompareConsecutiveFrames() [all …]
|
D | video_analyzer.cc | 445 const auto& vp9_header = absl::get<RTPVideoHeaderVP9>( in IsInSelectedSpatialAndTemporalLayer() local 447 int temporal_idx = vp9_header.temporal_idx; in IsInSelectedSpatialAndTemporalLayer() 448 int spatial_idx = vp9_header.spatial_idx; in IsInSelectedSpatialAndTemporalLayer()
|
D | rtp_video_stream_receiver2.cc | 489 if (const auto* vp9_header = in OnReceivedPayloadData() local 491 video_header.is_last_packet_in_frame |= vp9_header->end_of_frame; in OnReceivedPayloadData() 492 video_header.is_first_packet_in_frame |= vp9_header->beginning_of_frame; in OnReceivedPayloadData()
|
D | rtp_video_stream_receiver.cc | 521 if (const auto* vp9_header = in OnReceivedPayloadData() local 523 video_header.is_last_packet_in_frame |= vp9_header->end_of_frame; in OnReceivedPayloadData() 524 video_header.is_first_packet_in_frame |= vp9_header->beginning_of_frame; in OnReceivedPayloadData()
|