Home
last modified time | relevance | path

Searched refs:temporal_idx (Results 1 – 25 of 37) sorted by relevance

12

/external/webrtc/modules/video_coding/codecs/vp9/include/
Dvp9_globals.h48 temporal_idx[0] = 0; in SetGofInfoVP9()
55 temporal_idx[0] = 0; in SetGofInfoVP9()
60 temporal_idx[1] = 1; in SetGofInfoVP9()
67 temporal_idx[0] = 0; in SetGofInfoVP9()
72 temporal_idx[1] = 2; in SetGofInfoVP9()
77 temporal_idx[2] = 1; in SetGofInfoVP9()
82 temporal_idx[3] = 2; in SetGofInfoVP9()
89 temporal_idx[0] = 0; in SetGofInfoVP9()
94 temporal_idx[1] = 2; in SetGofInfoVP9()
99 temporal_idx[2] = 1; in SetGofInfoVP9()
[all …]
/external/webrtc/modules/video_coding/
Drtp_frame_reference_finder.cc420 uint8_t temporal_idx) { in UpdateLayerInfoVp8() argument
425 if (layer_info_it->second[temporal_idx] != -1 && in UpdateLayerInfoVp8()
426 AheadOf<uint16_t, kPicIdLength>(layer_info_it->second[temporal_idx], in UpdateLayerInfoVp8()
433 layer_info_it->second[temporal_idx] = frame->id.picture_id; in UpdateLayerInfoVp8()
449 codec_header.temporal_idx == kNoTemporalIdx) { in ManageFrameVp9()
454 if (codec_header.temporal_idx >= kMaxTemporalLayers || in ManageFrameVp9()
489 if (codec_header.temporal_idx != 0) { in ManageFrameVp9()
549 (codec_header.temporal_idx == 0) ? unwrapped_tl0 - 1 : unwrapped_tl0); in ManageFrameVp9()
555 if (codec_header.temporal_idx == 0) { in ManageFrameVp9()
578 up_switch_.emplace(frame->id.picture_id, codec_header.temporal_idx); in ManageFrameVp9()
[all …]
Drtp_frame_reference_finder.h108 uint8_t temporal_idx);
125 uint8_t temporal_idx,
140 uint8_t temporal_idx);
145 uint8_t temporal_idx);
Dencoded_frame.cc86 _codecSpecificInfo.codecSpecific.VP9.temporal_idx = 0; in CopyCodecSpecific()
103 if (vp9_header.temporal_idx != kNoTemporalIdx) { in CopyCodecSpecific()
104 _codecSpecificInfo.codecSpecific.VP9.temporal_idx = in CopyCodecSpecific()
105 vp9_header.temporal_idx; in CopyCodecSpecific()
Djitter_buffer_unittest.cc680 vp9_header.temporal_idx = 0; in TEST_F()
692 vp9_header.temporal_idx = 0; in TEST_F()
734 vp9_header.temporal_idx = 2; in TEST_F()
742 vp9_header.temporal_idx = 1; in TEST_F()
753 vp9_header.temporal_idx = 0; in TEST_F()
763 EXPECT_EQ(0, frame_out->CodecSpecific()->codecSpecific.VP9.temporal_idx); in TEST_F()
771 EXPECT_EQ(2, frame_out->CodecSpecific()->codecSpecific.VP9.temporal_idx); in TEST_F()
778 EXPECT_EQ(1, frame_out->CodecSpecific()->codecSpecific.VP9.temporal_idx); in TEST_F()
812 vp9_header.temporal_idx = 1; in TEST_F()
822 vp9_header.temporal_idx = 1; in TEST_F()
[all …]
Dframe_buffer.cc67 _codecSpecificInfo.codecSpecific.VP9.temporal_idx = in SetGofInfo()
68 gof_info.temporal_idx[idx]; in SetGofInfo()
/external/webrtc/test/
Dlayer_filtering_transport.cc101 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()
Dfake_encoder.cc258 for (uint8_t temporal_idx = 0; temporal_idx < kMaxTemporalStreams; in SetRatesLocked() local
259 ++temporal_idx) { in SetRatesLocked()
261 temporal_idx)) { in SetRatesLocked()
263 spatial_idx, temporal_idx); in SetRatesLocked()
267 current_rate_settings_.bitrate.SetBitrate(spatial_idx, temporal_idx, in SetRatesLocked()
/external/webrtc/modules/video_coding/codecs/test/
Dvideocodec_test_stats_impl.cc92 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()
219 if (frame_stat.temporal_idx > temporal_idx) { in SliceAndCalcVideoStatistic()
311 video_stat.temporal_idx = temporal_idx; in SliceAndCalcVideoStatistic()
379 frame_stat->temporal_idx + 1); in GetNumberOfEncodedLayers()
Dvideoprocessor.cc70 size_t temporal_idx = 0; in GetTemporalLayerIndex() local
72 temporal_idx = codec_specific.codecSpecific.VP8.temporalIdx; in GetTemporalLayerIndex()
74 temporal_idx = codec_specific.codecSpecific.VP9.temporal_idx; in GetTemporalLayerIndex()
76 if (temporal_idx == kNoTemporalIdx) { in GetTemporalLayerIndex()
77 temporal_idx = 0; in GetTemporalLayerIndex()
79 return temporal_idx; in GetTemporalLayerIndex()
355 size_t temporal_idx = GetTemporalLayerIndex(codec_specific); in FrameEncoded() local
385 bitrate_allocation_.GetTemporalLayerSum(spatial_idx, temporal_idx) / 1000; in FrameEncoded()
389 frame_stat->temporal_idx = temporal_idx; in FrameEncoded()
445 for (size_t write_temporal_idx = temporal_idx; in FrameEncoded()
Dvideocodec_test_stats_impl.h60 size_t temporal_idx,
67 size_t temporal_idx,
Dvideocodec_test_fixture_impl.cc499 if (layer_stat.temporal_idx == config_.NumberOfTemporalLayers() - 1) { in AnalyzeAllFrames()
508 modifier << "tl" << layer_stat.temporal_idx; in AnalyzeAllFrames()
520 if (layer_stat.temporal_idx == config_.NumberOfTemporalLayers() - 1) { in AnalyzeAllFrames()
668 for (size_t temporal_idx = 0; temporal_idx < num_temporal_layers; in SetUpAndInitObjects() local
669 ++temporal_idx) { in SetUpAndInitObjects()
671 std::to_string(temporal_idx) + in SetUpAndInitObjects()
676 temporal_idx); in SetUpAndInitObjects()
/external/webrtc/modules/rtp_rtcp/source/
Drtp_format_vp9_unittest.cc36 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 …]
Dvideo_rtp_depacketizer_vp9_unittest.cc35 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()
Drtp_format_vp9.cc36 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()
/external/webrtc/modules/video_coding/codecs/vp8/
Ddefault_temporal_layers_unittest.cc704 BufferState(int temporal_idx, uint32_t timestamp, bool sync) in BufferState()
705 : temporal_idx(temporal_idx), timestamp(timestamp), sync(sync) {} in BufferState()
706 int temporal_idx; member
713 if (buffer_state->temporal_idx == -1) in UpdateSyncRefState()
715 if (buffer_state->temporal_idx == 0) { in UpdateSyncRefState()
735 EXPECT_LE(buffer_state.temporal_idx, temporal_layer); in ValidateReference()
773 int temporal_idx = tl_config.encoder_layer_id; in TEST_P() local
775 EXPECT_EQ(tl_config.packetizer_temporal_idx, temporal_idx); in TEST_P()
781 if (temporal_idx <= 0) { in TEST_P()
801 ValidateReference(tl_config.last_buffer_flags, last_state, temporal_idx); in TEST_P()
[all …]
/external/webrtc/video/
Dpicture_id_tests.cc78 uint8_t temporal_idx; member
107 parsed->temporal_idx = vp8_header->temporalIdx; in ParsePayload()
112 parsed->temporal_idx = vp9_header->temporal_idx; in ParsePayload()
149 current.temporal_idx == kNoTemporalIdx) { in VerifyTl0Idx()
153 if (current.timestamp == last.timestamp || current.temporal_idx != 0) { in VerifyTl0Idx()
Dvideo_analyzer.cc437 int temporal_idx = vp8_header.temporalIdx; in IsInSelectedSpatialAndTemporalLayer() local
438 return selected_tl_ < 0 || temporal_idx == kNoTemporalIdx || in IsInSelectedSpatialAndTemporalLayer()
439 temporal_idx <= selected_tl_; in IsInSelectedSpatialAndTemporalLayer()
447 int temporal_idx = vp9_header.temporal_idx; in IsInSelectedSpatialAndTemporalLayer() local
449 return (selected_tl_ < 0 || temporal_idx == kNoTemporalIdx || in IsInSelectedSpatialAndTemporalLayer()
450 temporal_idx <= selected_tl_) && in IsInSelectedSpatialAndTemporalLayer()
Dvideo_send_stream_tests.cc3350 EXPECT_EQ(kNoTemporalIdx, vp9.temporal_idx); // no tid in VerifyTemporalLayerStructure0()
3356 EXPECT_EQ(0, vp9.temporal_idx); // 0,0,0,... in VerifyTemporalLayerStructure1()
3362 EXPECT_GE(vp9.temporal_idx, 0); // 0,1,0,1,... (tid reset on I-frames). in VerifyTemporalLayerStructure2()
3363 EXPECT_LE(vp9.temporal_idx, 1); in VerifyTemporalLayerStructure2()
3364 EXPECT_EQ(vp9.temporal_idx > 0, vp9.temporal_up_switch); in VerifyTemporalLayerStructure2()
3367 (!vp9.inter_pic_predicted || last_vp9_.temporal_idx == 1) ? 0 : 1; in VerifyTemporalLayerStructure2()
3368 EXPECT_EQ(expected_tid, vp9.temporal_idx); in VerifyTemporalLayerStructure2()
3374 EXPECT_GE(vp9.temporal_idx, 0); // 0,2,1,2,... (tid reset on I-frames). in VerifyTemporalLayerStructure3()
3375 EXPECT_LE(vp9.temporal_idx, 2); in VerifyTemporalLayerStructure3()
3377 EXPECT_NE(vp9.temporal_idx, last_vp9_.temporal_idx); in VerifyTemporalLayerStructure3()
[all …]
/external/webrtc/call/
Drtp_payload_params.cc59 vp9_header.temporal_idx = info.codecSpecific.VP9.temporal_idx; in PopulateRtpWithCodecSpecifics()
217 if (vp9_header.temporal_idx != kNoTemporalIdx || in SetCodecSpecific()
220 (vp9_header.temporal_idx == 0 || in SetCodecSpecific()
221 vp9_header.temporal_idx == kNoTemporalIdx)) { in SetCodecSpecific()
320 h264_info.temporal_idx != kNoTemporalIdx ? h264_info.temporal_idx : 0; in H264ToGeneric()
Drtp_payload_params_unittest.cc105 codec_info.codecSpecific.VP9.temporal_idx = 2; in TEST()
119 EXPECT_EQ(vp9_header.temporal_idx, codec_info.codecSpecific.VP9.temporal_idx); in TEST()
143 EXPECT_EQ(vp9_header.temporal_idx, codec_info.codecSpecific.VP9.temporal_idx); in TEST()
240 codec_info.codecSpecific.VP9.temporal_idx = 1; in TEST()
254 codec_info.codecSpecific.VP9.temporal_idx = 0; in TEST()
487 codec_info.codecSpecific.H264.temporal_idx = temporal_index; in ConvertAndCheck()
525 codec_info.codecSpecific.H264.temporal_idx = in TEST_F()
/external/webrtc/modules/video_coding/include/
Dvideo_codec_interface.h64 uint8_t temporal_idx; member
89 uint8_t temporal_idx; member
/external/webrtc/api/test/
Dvideocodec_test_stats.h51 size_t temporal_idx = 0; member
84 size_t temporal_idx = 0; member
Dvideocodec_test_stats.cc31 ss << " temporal_idx " << temporal_idx; in ToString()
56 ss << "\n" << prefix << "temporal_idx: " << temporal_idx; in ToString()
/external/webrtc/modules/video_coding/codecs/vp9/test/
Dvp9_impl_unittest.cc190 EXPECT_EQ(frames[0].codec_specific_info.codecSpecific.VP9.temporal_idx, 0); in TEST_F()
191 EXPECT_EQ(frames[1].codec_specific_info.codecSpecific.VP9.temporal_idx, 1); in TEST_F()
192 EXPECT_EQ(frames[2].codec_specific_info.codecSpecific.VP9.temporal_idx, 0); in TEST_F()
193 EXPECT_EQ(frames[3].codec_specific_info.codecSpecific.VP9.temporal_idx, 1); in TEST_F()
385 codec_specific_info[0].codecSpecific.VP9.temporal_idx == 0); in TEST_F()
874 EXPECT_EQ(codec_specific_info[0].codecSpecific.VP9.temporal_idx, 1); in TEST_F()
891 EXPECT_EQ(codec_specific_info[0].codecSpecific.VP9.temporal_idx, 0); in TEST_F()
948 EXPECT_EQ(codec_specific_info[0].codecSpecific.VP9.temporal_idx, 1 - i % 2); in TEST_F()
967 EXPECT_EQ(codec_specific_info[0].codecSpecific.VP9.temporal_idx, 0); in TEST_F()
1244 EXPECT_EQ(codec_specific_info[0].codecSpecific.VP9.temporal_idx, 0u); in TEST_F()
[all …]

12