Home
last modified time | relevance | path

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

/external/chromium_org/content/renderer/media/
Drtc_video_decoder_unittest.cc170 TEST_F(RTCVideoDecoderTest, IsBufferAfterReset) { in TEST_F() argument
171 EXPECT_TRUE(rtc_decoder_->IsBufferAfterReset(0, RTCVideoDecoder::ID_INVALID)); in TEST_F()
172 EXPECT_TRUE(rtc_decoder_->IsBufferAfterReset(RTCVideoDecoder::ID_LAST, in TEST_F()
174 EXPECT_FALSE(rtc_decoder_->IsBufferAfterReset(RTCVideoDecoder::ID_HALF - 2, in TEST_F()
176 EXPECT_TRUE(rtc_decoder_->IsBufferAfterReset(RTCVideoDecoder::ID_HALF + 2, in TEST_F()
179 EXPECT_FALSE(rtc_decoder_->IsBufferAfterReset(0, 0)); in TEST_F()
180 EXPECT_TRUE(rtc_decoder_->IsBufferAfterReset(0, RTCVideoDecoder::ID_LAST)); in TEST_F()
182 rtc_decoder_->IsBufferAfterReset(0, RTCVideoDecoder::ID_HALF - 2)); in TEST_F()
184 rtc_decoder_->IsBufferAfterReset(0, RTCVideoDecoder::ID_HALF + 2)); in TEST_F()
186 EXPECT_FALSE(rtc_decoder_->IsBufferAfterReset(RTCVideoDecoder::ID_LAST, 0)); in TEST_F()
[all …]
Drtc_video_decoder.h112 FRIEND_TEST_ALL_PREFIXES(RTCVideoDecoderTest, IsBufferAfterReset); in NON_EXPORTED_BASE()
128 bool IsBufferAfterReset(int32 id_buffer, int32 id_reset); in NON_EXPORTED_BASE()
Drtc_video_decoder.cc403 if (IsBufferAfterReset(picture.bitstream_buffer_id(), in PictureReady()
535 if (!IsBufferAfterReset(buffer_data.bitstream_buffer_id, in RequestBufferDecode()
558 bool RTCVideoDecoder::IsBufferAfterReset(int32 id_buffer, int32 id_reset) { in IsBufferAfterReset() function in content::RTCVideoDecoder
621 if (!IsBufferAfterReset(buffer_data.bitstream_buffer_id, in MovePendingBuffersToDecodeBuffers()