/external/webrtc/modules/video_coding/codecs/vp9/include/ |
D | vp9_globals.h | 47 temporal_idx[0] = 0; in SetGofInfoVP9() 54 temporal_idx[0] = 0; in SetGofInfoVP9() 59 temporal_idx[1] = 1; in SetGofInfoVP9() 66 temporal_idx[0] = 0; in SetGofInfoVP9() 71 temporal_idx[1] = 2; in SetGofInfoVP9() 76 temporal_idx[2] = 1; in SetGofInfoVP9() 81 temporal_idx[3] = 2; in SetGofInfoVP9() 94 temporal_idx[i] = src.temporal_idx[i]; in CopyGofInfoVP9() 104 uint8_t temporal_idx[kMaxVp9FramesInGof]; member 122 temporal_idx = kNoTemporalIdx; in InitRTPVideoHeaderVP9() [all …]
|
/external/webrtc/modules/video_coding/ |
D | rtp_vp9_ref_finder.cc | 24 if (codec_header.temporal_idx != kNoTemporalIdx) in ManageFrame() 25 frame->SetTemporalIndex(codec_header.temporal_idx); in ManageFrame() 30 if (codec_header.temporal_idx >= kMaxTemporalLayers || in ManageFrame() 94 if (codec_header.temporal_idx != 0) { in ManageFrameGof() 152 (codec_header.temporal_idx == 0) ? unwrapped_tl0 - 1 : unwrapped_tl0); in ManageFrameGof() 158 if (codec_header.temporal_idx == 0) { in ManageFrameGof() 181 up_switch_.emplace(frame->Id(), codec_header.temporal_idx); in ManageFrameGof() 203 if (UpSwitchInIntervalVp9(frame->Id(), codec_header.temporal_idx, in ManageFrameGof() 223 size_t temporal_idx = info.gof->temporal_idx[gof_idx]; in MissingRequiredFrameVp9() local 225 if (temporal_idx >= kMaxTemporalLayers) { in MissingRequiredFrameVp9() [all …]
|
D | encoded_frame.cc | 85 _codecSpecificInfo.codecSpecific.VP9.temporal_idx = 0; in CopyCodecSpecific() 102 if (vp9_header.temporal_idx != kNoTemporalIdx) { in CopyCodecSpecific() 103 _codecSpecificInfo.codecSpecific.VP9.temporal_idx = in CopyCodecSpecific() 104 vp9_header.temporal_idx; in CopyCodecSpecific()
|
D | rtp_vp8_ref_finder.cc | 189 uint8_t temporal_idx) { in UpdateLayerInfoVp8() argument 194 if (layer_info_it->second[temporal_idx] != -1 && in UpdateLayerInfoVp8() 195 AheadOf<uint16_t, kFrameIdLength>(layer_info_it->second[temporal_idx], in UpdateLayerInfoVp8() 202 layer_info_it->second[temporal_idx] = frame->Id(); in UpdateLayerInfoVp8()
|
D | jitter_buffer_unittest.cc | 679 vp9_header.temporal_idx = 0; in TEST_F() 691 vp9_header.temporal_idx = 0; in TEST_F() 733 vp9_header.temporal_idx = 2; in TEST_F() 741 vp9_header.temporal_idx = 1; in TEST_F() 752 vp9_header.temporal_idx = 0; in TEST_F() 762 EXPECT_EQ(0, frame_out->CodecSpecific()->codecSpecific.VP9.temporal_idx); in TEST_F() 770 EXPECT_EQ(2, frame_out->CodecSpecific()->codecSpecific.VP9.temporal_idx); in TEST_F() 777 EXPECT_EQ(1, frame_out->CodecSpecific()->codecSpecific.VP9.temporal_idx); in TEST_F() 811 vp9_header.temporal_idx = 1; in TEST_F() 821 vp9_header.temporal_idx = 1; in TEST_F() [all …]
|
/external/webrtc/test/ |
D | layer_filtering_transport.cc | 101 int temporal_idx; in SendRtp() local 107 temporal_idx = absl::get<RTPVideoHeaderVP8>( in SendRtp() 117 temporal_idx = vp9_header.temporal_idx; in SendRtp() 122 RTC_DCHECK(vp9_header.temporal_idx == kNoTemporalIdx || in SendRtp() 123 vp9_header.temporal_idx == 0); in SendRtp() 141 (selected_tl_ >= 0 && temporal_idx != kNoTemporalIdx && in SendRtp() 142 temporal_idx > selected_tl_); in SendRtp()
|
D | fake_encoder.cc | 257 for (uint8_t temporal_idx = 0; temporal_idx < kMaxTemporalStreams; in SetRatesLocked() local 258 ++temporal_idx) { in SetRatesLocked() 260 temporal_idx)) { in SetRatesLocked() 262 spatial_idx, temporal_idx); in SetRatesLocked() 266 current_rate_settings_.bitrate.SetBitrate(spatial_idx, temporal_idx, in SetRatesLocked()
|
/external/webrtc/modules/video_coding/codecs/test/ |
D | videocodec_test_stats_impl.cc | 92 for (size_t temporal_idx = 0; temporal_idx < num_temporal_layers; in SliceAndCalcLayerVideoStatistic() local 93 ++temporal_idx) { in SliceAndCalcLayerVideoStatistic() 95 first_frame_num, last_frame_num, spatial_idx, temporal_idx, false); in SliceAndCalcLayerVideoStatistic() 150 size_t temporal_idx, in CalcLayerTargetBitrateKbps() argument 163 if (superframe.temporal_idx <= temporal_idx) { in CalcLayerTargetBitrateKbps() 177 size_t temporal_idx, in SliceAndCalcVideoStatistic() argument 204 temporal_idx, aggregate_independent_layers); in SliceAndCalcVideoStatistic() 220 if (frame_stat.temporal_idx > temporal_idx) { in SliceAndCalcVideoStatistic() 314 video_stat.temporal_idx = temporal_idx; in SliceAndCalcVideoStatistic() 398 frame_stat->temporal_idx + 1); in GetNumberOfEncodedLayers()
|
D | videoprocessor.cc | 67 size_t temporal_idx = 0; in GetTemporalLayerIndex() local 69 temporal_idx = codec_specific.codecSpecific.VP8.temporalIdx; in GetTemporalLayerIndex() 71 temporal_idx = codec_specific.codecSpecific.VP9.temporal_idx; in GetTemporalLayerIndex() 73 if (temporal_idx == kNoTemporalIdx) { in GetTemporalLayerIndex() 74 temporal_idx = 0; in GetTemporalLayerIndex() 76 return temporal_idx; in GetTemporalLayerIndex() 373 size_t temporal_idx = GetTemporalLayerIndex(codec_specific); in FrameEncoded() local 410 bitrate_allocation.GetTemporalLayerSum(spatial_idx, temporal_idx) / 1000; in FrameEncoded() 414 frame_stat->temporal_idx = temporal_idx; in FrameEncoded() 468 for (size_t write_temporal_idx = temporal_idx; in FrameEncoded()
|
D | videocodec_test_stats_impl.h | 60 size_t temporal_idx, 67 size_t temporal_idx,
|
D | videocodec_test_fixture_impl.cc | 559 if (layer_stat.temporal_idx == config_.NumberOfTemporalLayers() - 1) { in AnalyzeAllFrames() 574 modifier << "tl" << layer_stat.temporal_idx; in AnalyzeAllFrames() 605 if (layer_stat.temporal_idx == config_.NumberOfTemporalLayers() - 1) { in AnalyzeAllFrames() 780 for (size_t temporal_idx = 0; temporal_idx < num_temporal_layers; in SetUpAndInitObjects() local 781 ++temporal_idx) { in SetUpAndInitObjects() 783 std::to_string(temporal_idx) + in SetUpAndInitObjects() 788 temporal_idx); in SetUpAndInitObjects()
|
/external/webrtc/modules/rtp_rtcp/source/ |
D | rtp_format_vp9_unittest.cc | 36 EXPECT_EQ(expected.temporal_idx, actual.temporal_idx); in VerifyHeader() 61 EXPECT_EQ(expected.gof.temporal_idx[i], actual.gof.temporal_idx[i]); in VerifyHeader() 260 expected_.temporal_idx = 3; in TEST_F() 283 expected_.temporal_idx = 3; in TEST_F() 348 expected_.gof.temporal_idx[0] = 0; in TEST_F() 394 expected_.gof.temporal_idx[0] = 0; in TEST_F() 395 expected_.gof.temporal_idx[1] = 1; in TEST_F() 396 expected_.gof.temporal_idx[2] = 2; in TEST_F() 438 expected_.gof.temporal_idx[0] = 0; in TEST_F() 439 expected_.gof.temporal_idx[1] = 1; in TEST_F() [all …]
|
D | video_rtp_depacketizer_vp9_unittest.cc | 35 EXPECT_EQ(expected.temporal_idx, actual.temporal_idx); in VerifyHeader() 60 EXPECT_EQ(expected.gof.temporal_idx[i], actual.gof.temporal_idx[i]); in VerifyHeader() 139 expected.temporal_idx = kTemporalIdx; in TEST() 167 expected.temporal_idx = kTemporalIdx; in TEST() 262 expected.gof.temporal_idx[0] = 0; in TEST() 263 expected.gof.temporal_idx[1] = 2; in TEST()
|
D | rtp_format_vp9.cc | 36 return (hdr.temporal_idx == kNoTemporalIdx) ? def : hdr.temporal_idx; in TemporalIdxField() 76 if (hdr.temporal_idx == kNoTemporalIdx && hdr.spatial_idx == kNoSpatialIdx) { in LayerInfoLength() 272 RETURN_FALSE_ON_ERROR(writer->WriteBits(vp9.gof.temporal_idx[i], 3)); in WriteSsData()
|
D | video_rtp_depacketizer_vp9.cc | 52 vp9->temporal_idx = parser.ReadBits(3); in ParseLayerInfo() 137 vp9->gof.temporal_idx[i] = parser.ReadBits(3); in ParseSsData()
|
/external/webrtc/modules/video_coding/codecs/vp8/ |
D | default_temporal_layers_unittest.cc | 668 BufferState(int temporal_idx, uint32_t timestamp, bool sync) in BufferState() 669 : temporal_idx(temporal_idx), timestamp(timestamp), sync(sync) {} in BufferState() 670 int temporal_idx; member 677 if (buffer_state->temporal_idx == -1) in UpdateSyncRefState() 679 if (buffer_state->temporal_idx == 0) { in UpdateSyncRefState() 699 EXPECT_LE(buffer_state.temporal_idx, temporal_layer); in ValidateReference() 737 int temporal_idx = tl_config.encoder_layer_id; in TEST_P() local 739 EXPECT_EQ(tl_config.packetizer_temporal_idx, temporal_idx); in TEST_P() 745 if (temporal_idx <= 0) { in TEST_P() 765 ValidateReference(tl_config.last_buffer_flags, last_state, temporal_idx); in TEST_P() [all …]
|
/external/webrtc/call/ |
D | rtp_payload_params_unittest.cc | 113 codec_info.codecSpecific.VP9.temporal_idx = 2; in TEST() 127 EXPECT_EQ(vp9_header.temporal_idx, codec_info.codecSpecific.VP9.temporal_idx); in TEST() 150 EXPECT_EQ(vp9_header.temporal_idx, codec_info.codecSpecific.VP9.temporal_idx); in TEST() 327 codec_info.codecSpecific.VP9.temporal_idx = 1; in TEST() 341 codec_info.codecSpecific.VP9.temporal_idx = 0; in TEST() 571 codec_info.codecSpecific.VP9.temporal_idx = kNoTemporalIdx; in TEST() 635 info.codecSpecific.VP9.temporal_idx = 0; in TEST() 643 info.codecSpecific.VP9.temporal_idx = 1; in TEST() 649 info.codecSpecific.VP9.temporal_idx = 0; in TEST() 655 info.codecSpecific.VP9.temporal_idx = 1; in TEST() [all …]
|
D | rtp_payload_params.cc | 62 vp9_header.temporal_idx = info.codecSpecific.VP9.temporal_idx; in PopulateRtpWithCodecSpecifics() 269 if (vp9_header.temporal_idx != kNoTemporalIdx || in SetCodecSpecific() 272 (vp9_header.temporal_idx == 0 || in SetCodecSpecific() 273 vp9_header.temporal_idx == kNoTemporalIdx)) { in SetCodecSpecific() 441 h264_info.temporal_idx != kNoTemporalIdx ? h264_info.temporal_idx : 0; in H264ToGeneric() 559 vp9_header.temporal_idx != kNoTemporalIdx ? vp9_header.temporal_idx : 0; in Vp9ToGeneric()
|
/external/webrtc/video/ |
D | picture_id_tests.cc | 78 uint8_t temporal_idx; member 107 parsed->temporal_idx = vp8_header->temporalIdx; in ParsePayload() 112 parsed->temporal_idx = vp9_header->temporal_idx; in ParsePayload() 153 current.temporal_idx == kNoTemporalIdx) { in VerifyTl0Idx() 157 if (current.timestamp == last.timestamp || current.temporal_idx != 0) { in VerifyTl0Idx()
|
D | video_send_stream_tests.cc | 3070 vp9_header.temporal_idx; in OnSendRtp() 3098 EXPECT_EQ(vp9.temporal_idx, last_vp9_.temporal_idx); in VerifyTemporalIdxWithinFrame() 3106 (!vp9.inter_pic_predicted || vp9.temporal_idx == 1) ? 0 : 1; in VerifyTemporalIdxWithinFrame() 3114 EXPECT_EQ(vp9.temporal_idx, last_vp9_.temporal_idx); in VerifyTemporalIdxWithinFrame() 3140 EXPECT_EQ(kNoTemporalIdx, vp9.temporal_idx); // no tid in VerifyTemporalLayerStructure0() 3147 EXPECT_EQ(0, vp9.temporal_idx); // 0,0,0,... in VerifyTemporalLayerStructure1() 3152 EXPECT_GE(vp9.temporal_idx, 0); // 0,1,0,1,... (tid reset on I-frames). in VerifyTemporalLayerStructure2() 3153 EXPECT_LE(vp9.temporal_idx, 1); in VerifyTemporalLayerStructure2() 3163 EXPECT_EQ(vp9.temporal_idx, expected_tid); in VerifyTemporalLayerStructure2() 3169 EXPECT_GE(vp9.temporal_idx, 0); // 0,2,1,2,... (tid reset on I-frames). in VerifyTemporalLayerStructure3() [all …]
|
D | video_analyzer.cc | 450 int temporal_idx = vp8_header.temporalIdx; in IsInSelectedSpatialAndTemporalLayer() local 451 return selected_tl_ < 0 || temporal_idx == kNoTemporalIdx || in IsInSelectedSpatialAndTemporalLayer() 452 temporal_idx <= selected_tl_; in IsInSelectedSpatialAndTemporalLayer() 460 int temporal_idx = vp9_header.temporal_idx; in IsInSelectedSpatialAndTemporalLayer() local 462 return (selected_tl_ < 0 || temporal_idx == kNoTemporalIdx || in IsInSelectedSpatialAndTemporalLayer() 463 temporal_idx <= selected_tl_) && in IsInSelectedSpatialAndTemporalLayer()
|
/external/webrtc/modules/video_coding/include/ |
D | video_codec_interface.h | 64 uint8_t temporal_idx; member 89 uint8_t temporal_idx; member
|
/external/webrtc/api/test/ |
D | videocodec_test_stats.h | 55 size_t temporal_idx = 0; member 92 size_t temporal_idx = 0; member
|
D | videocodec_test_stats.cc | 43 map["temporal_idx"] = std::to_string(temporal_idx); in ToMap() 81 map["temporal_idx"] = std::to_string(temporal_idx); in ToMap()
|
/external/webrtc/modules/video_coding/codecs/vp9/test/ |
D | vp9_impl_unittest.cc | 295 EXPECT_EQ(frames[0].codec_specific_info.codecSpecific.VP9.temporal_idx, 0); in TEST_P() 296 EXPECT_EQ(frames[1].codec_specific_info.codecSpecific.VP9.temporal_idx, 1); in TEST_P() 297 EXPECT_EQ(frames[2].codec_specific_info.codecSpecific.VP9.temporal_idx, 0); in TEST_P() 298 EXPECT_EQ(frames[3].codec_specific_info.codecSpecific.VP9.temporal_idx, 1); in TEST_P() 315 EXPECT_EQ(frames[0].codec_specific_info.codecSpecific.VP9.temporal_idx, 0); in TEST_P() 316 EXPECT_EQ(frames[1].codec_specific_info.codecSpecific.VP9.temporal_idx, 1); in TEST_P() 317 EXPECT_EQ(frames[2].codec_specific_info.codecSpecific.VP9.temporal_idx, 0); in TEST_P() 318 EXPECT_EQ(frames[3].codec_specific_info.codecSpecific.VP9.temporal_idx, 1); in TEST_P() 662 codec_specific_info[0].codecSpecific.VP9.temporal_idx == 0); in TEST_P() 1271 EXPECT_EQ(codec_specific_info[0].codecSpecific.VP9.temporal_idx, 1); in TEST_P() [all …]
|