Searched refs:IsBufferAfterReset (Results 1 – 3 of 3) sorted by relevance
/external/chromium_org/content/renderer/media/ |
D | rtc_video_decoder_unittest.cc | 180 TEST_F(RTCVideoDecoderTest, IsBufferAfterReset) { in TEST_F() argument 182 EXPECT_TRUE(rtc_decoder_->IsBufferAfterReset(0, RTCVideoDecoder::ID_INVALID)); in TEST_F() 183 EXPECT_TRUE(rtc_decoder_->IsBufferAfterReset(RTCVideoDecoder::ID_LAST, in TEST_F() 185 EXPECT_FALSE(rtc_decoder_->IsBufferAfterReset(RTCVideoDecoder::ID_HALF - 2, in TEST_F() 187 EXPECT_TRUE(rtc_decoder_->IsBufferAfterReset(RTCVideoDecoder::ID_HALF + 2, in TEST_F() 190 EXPECT_FALSE(rtc_decoder_->IsBufferAfterReset(0, 0)); in TEST_F() 191 EXPECT_TRUE(rtc_decoder_->IsBufferAfterReset(0, RTCVideoDecoder::ID_LAST)); in TEST_F() 193 rtc_decoder_->IsBufferAfterReset(0, RTCVideoDecoder::ID_HALF - 2)); in TEST_F() 195 rtc_decoder_->IsBufferAfterReset(0, RTCVideoDecoder::ID_HALF + 2)); in TEST_F() 197 EXPECT_FALSE(rtc_decoder_->IsBufferAfterReset(RTCVideoDecoder::ID_LAST, 0)); in TEST_F() [all …]
|
D | rtc_video_decoder.h | 102 FRIEND_TEST_ALL_PREFIXES(RTCVideoDecoderTest, IsBufferAfterReset); in NON_EXPORTED_BASE() 116 bool IsBufferAfterReset(int32 id_buffer, int32 id_reset); in NON_EXPORTED_BASE()
|
D | rtc_video_decoder.cc | 401 if (IsBufferAfterReset(picture.bitstream_buffer_id(), in PictureReady() 536 if (!IsBufferAfterReset(buffer_data.bitstream_buffer_id, in RequestBufferDecode() 559 bool RTCVideoDecoder::IsBufferAfterReset(int32 id_buffer, int32 id_reset) { in IsBufferAfterReset() function in content::RTCVideoDecoder 622 if (!IsBufferAfterReset(buffer_data.bitstream_buffer_id, in MovePendingBuffersToDecodeBuffers()
|