Home
last modified time | relevance | path

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

12

/external/webrtc/modules/video_coding/codecs/vp9/include/
Dvp9_globals.h47 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/
Drtp_vp9_ref_finder.cc24 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 …]
Dencoded_frame.cc85 _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()
Drtp_vp8_ref_finder.cc189 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()
Djitter_buffer_unittest.cc679 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/
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.cc257 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/
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()
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()
Dvideoprocessor.cc67 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()
Dvideocodec_test_stats_impl.h60 size_t temporal_idx,
67 size_t temporal_idx,
Dvideocodec_test_fixture_impl.cc559 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/
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()
Dvideo_rtp_depacketizer_vp9.cc52 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/
Ddefault_temporal_layers_unittest.cc668 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/
Drtp_payload_params_unittest.cc113 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 …]
Drtp_payload_params.cc62 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/
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()
153 current.temporal_idx == kNoTemporalIdx) { in VerifyTl0Idx()
157 if (current.timestamp == last.timestamp || current.temporal_idx != 0) { in VerifyTl0Idx()
Dvideo_send_stream_tests.cc3070 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 …]
Dvideo_analyzer.cc450 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/
Dvideo_codec_interface.h64 uint8_t temporal_idx; member
89 uint8_t temporal_idx; member
/external/webrtc/api/test/
Dvideocodec_test_stats.h55 size_t temporal_idx = 0; member
92 size_t temporal_idx = 0; member
Dvideocodec_test_stats.cc43 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/
Dvp9_impl_unittest.cc295 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 …]

12