Home
last modified time | relevance | path

Searched refs:IsFirstBufferAfterReset (Results 1 – 3 of 3) sorted by relevance

/external/chromium_org/content/renderer/media/
Drtc_video_decoder_unittest.cc195 TEST_F(RTCVideoDecoderTest, IsFirstBufferAfterReset) { in TEST_F() argument
197 rtc_decoder_->IsFirstBufferAfterReset(0, RTCVideoDecoder::ID_INVALID)); in TEST_F()
199 rtc_decoder_->IsFirstBufferAfterReset(1, RTCVideoDecoder::ID_INVALID)); in TEST_F()
200 EXPECT_FALSE(rtc_decoder_->IsFirstBufferAfterReset(0, 0)); in TEST_F()
201 EXPECT_TRUE(rtc_decoder_->IsFirstBufferAfterReset(1, 0)); in TEST_F()
202 EXPECT_FALSE(rtc_decoder_->IsFirstBufferAfterReset(2, 0)); in TEST_F()
204 EXPECT_FALSE(rtc_decoder_->IsFirstBufferAfterReset(RTCVideoDecoder::ID_HALF, in TEST_F()
206 EXPECT_TRUE(rtc_decoder_->IsFirstBufferAfterReset( in TEST_F()
208 EXPECT_FALSE(rtc_decoder_->IsFirstBufferAfterReset( in TEST_F()
211 EXPECT_FALSE(rtc_decoder_->IsFirstBufferAfterReset(RTCVideoDecoder::ID_LAST, in TEST_F()
[all …]
Drtc_video_decoder.h113 FRIEND_TEST_ALL_PREFIXES(RTCVideoDecoderTest, IsFirstBufferAfterReset); in NON_EXPORTED_BASE()
132 bool IsFirstBufferAfterReset(int32 id_buffer, int32 id_reset); in NON_EXPORTED_BASE()
Drtc_video_decoder.cc227 } else if (IsFirstBufferAfterReset(next_bitstream_buffer_id_, in Decode()
567 bool RTCVideoDecoder::IsFirstBufferAfterReset(int32 id_buffer, int32 id_reset) { in IsFirstBufferAfterReset() function in content::RTCVideoDecoder