Lines Matching refs:InsertFrame
183 int InsertFrame(uint16_t picture_id, in InsertFrame() function in webrtc::video_coding::TestFrameBuffer2
190 return buffer_->InsertFrame( in InsertFrame()
199 return buffer_->InsertFrame(std::move(frame)); in InsertNackedFrame()
263 InsertFrame(pid, 0, ts, false, true, kFrameSize); in TEST_F()
272 InsertFrame(pid, 0, ts, false, false, kFrameSize); in TEST_F()
273 InsertFrame(pid, 1, ts, true, true, kFrameSize); in TEST_F()
287 buffer_->InsertFrame(std::move(test_frame)); in TEST_F()
299 InsertFrame(pid, 1, ts, true, true, kFrameSize); in TEST_F()
300 InsertFrame(pid, 0, ts, false, false, kFrameSize); in TEST_F()
311 InsertFrame(pid, 0, ts, false, true, kFrameSize); in TEST_F()
316 InsertFrame(pid + i + 1, 0, ts + (i + 1) * kFps10, false, true, kFrameSize, in TEST_F()
319 InsertFrame(pid + i, 0, ts + i * kFps10, false, true, kFrameSize, in TEST_F()
337 InsertFrame(pid, 0, ts, false, true, kFrameSize); in TEST_F()
338 InsertFrame(pid + 2, 0, ts, false, true, kFrameSize, pid); in TEST_F()
339 InsertFrame(pid + 3, 0, ts, false, true, kFrameSize, pid + 1, pid + 2); in TEST_F()
353 InsertFrame(pid, 0, ts, false, true, kFrameSize); in TEST_F()
357 InsertFrame(pid + i, 0, ts + i * kFps10, false, true, kFrameSize, in TEST_F()
369 InsertFrame(pid, 0, ts, false, true, kFrameSize); in TEST_F()
370 InsertFrame(pid + 1, 0, ts + kFps20, false, true, kFrameSize, pid); in TEST_F()
373 InsertFrame(pid + i, 0, ts_tl0, false, true, kFrameSize, pid + i - 2); in TEST_F()
374 InsertFrame(pid + i + 1, 0, ts_tl0 + kFps20, false, true, kFrameSize, in TEST_F()
401 InsertFrame(pid, 0, ts, false, true, kFrameSize); in TEST_F()
402 InsertFrame(pid + 1, 0, ts + 1 * kFps10, false, true, kFrameSize, pid); in TEST_F()
403 InsertFrame(pid + 2, 0, ts + 2 * kFps10, false, true, kFrameSize, pid + 1); in TEST_F()
404 InsertFrame(pid + 3, 0, ts + 3 * kFps10, false, true, kFrameSize); in TEST_F()
421 InsertFrame(pid, 0, ts, false, true, kFrameSize); in TEST_F()
423 InsertFrame(pid + i, 0, ts + i * kFps10, false, true, kFrameSize, in TEST_F()
436 InsertFrame(pid, 0, ts, false, true, kFrameSize); in TEST_F()
438 InsertFrame(pid + 2, 0, ts, false, true, kFrameSize); in TEST_F()
440 InsertFrame(pid + 1, 0, ts, false, true, kFrameSize, pid); in TEST_F()
459 InsertFrame(pid + 3, 0, ts + 300, false, true, kFrameSize); in TEST_F()
480 InsertFrame(pid + 3, 0, ts + 300, false, true, kFrameSize); in TEST_F()
494 EXPECT_EQ(-1, InsertFrame(pid + 1, 0, ts, false, true, kFrameSize, pid)); in TEST_F()
501 EXPECT_EQ(pid, InsertFrame(pid, 0, ts, false, true, kFrameSize)); in TEST_F()
502 EXPECT_EQ(pid, InsertFrame(pid + 2, 0, ts, false, true, kFrameSize, pid + 1)); in TEST_F()
503 EXPECT_EQ(pid + 2, InsertFrame(pid + 1, 0, ts, false, true, kFrameSize, pid)); in TEST_F()
505 InsertFrame(pid + 4, 0, ts, false, true, kFrameSize, pid + 3)); in TEST_F()
506 EXPECT_EQ(pid + 5, InsertFrame(pid + 5, 0, ts, false, true, kFrameSize)); in TEST_F()
513 EXPECT_EQ(pid, InsertFrame(pid, 0, ts, false, false, kFrameSize)); in TEST_F()
514 EXPECT_EQ(pid, InsertFrame(pid, 1, ts, true, true, kFrameSize)); in TEST_F()
515 EXPECT_EQ(pid, InsertFrame(pid + 1, 1, ts, true, true, kFrameSize, pid)); in TEST_F()
517 InsertFrame(pid + 2, 0, ts, false, false, kFrameSize, pid + 1)); in TEST_F()
518 EXPECT_EQ(pid, InsertFrame(pid + 2, 1, ts, true, true, kFrameSize, pid + 1)); in TEST_F()
520 InsertFrame(pid + 3, 0, ts, false, false, kFrameSize, pid + 2)); in TEST_F()
522 InsertFrame(pid + 1, 0, ts, false, false, kFrameSize, pid)); in TEST_F()
524 InsertFrame(pid + 3, 1, ts, true, true, kFrameSize, pid + 2)); in TEST_F()
531 EXPECT_EQ(pid, InsertFrame(pid, 0, ts, false, true, kFrameSize)); in TEST_F()
533 InsertFrame(pid + 1, 0, ts + 1, false, true, kFrameSize, pid)); in TEST_F()
538 EXPECT_EQ(pid - 1, InsertFrame(pid - 1, 0, ts + 2, false, true, kFrameSize)); in TEST_F()
563 EXPECT_EQ(buffer_->InsertFrame(std::move(frame)), pid); in TEST_F()
571 EXPECT_EQ(5453, InsertFrame(5453, 0, 1, false, true, kFrameSize)); in TEST_F()
573 EXPECT_EQ(5454, InsertFrame(5454, 0, 1, false, true, kFrameSize, 5453)); in TEST_F()
575 EXPECT_EQ(15670, InsertFrame(15670, 0, 1, false, true, kFrameSize)); in TEST_F()
577 EXPECT_EQ(29804, InsertFrame(29804, 0, 1, false, true, kFrameSize)); in TEST_F()
579 EXPECT_EQ(29805, InsertFrame(29805, 0, 1, false, true, kFrameSize, 29804)); in TEST_F()
581 EXPECT_EQ(29806, InsertFrame(29806, 0, 1, false, true, kFrameSize, 29805)); in TEST_F()
583 EXPECT_EQ(33819, InsertFrame(33819, 0, 1, false, true, kFrameSize)); in TEST_F()
585 EXPECT_EQ(41248, InsertFrame(41248, 0, 1, false, true, kFrameSize)); in TEST_F()
590 EXPECT_EQ(22256, InsertFrame(22256, 0, 1, false, true, kFrameSize)); in TEST_F()
592 EXPECT_EQ(22256, InsertFrame(22256, 0, 1, false, true, kFrameSize)); in TEST_F()
597 EXPECT_EQ(-1, InsertFrame(0, 0, 1000, false, true, kFrameSize, 2)); in TEST_F()
598 EXPECT_EQ(1, InsertFrame(1, 0, 2000, false, true, kFrameSize)); in TEST_F()
600 EXPECT_EQ(2, InsertFrame(2, 0, 3000, false, true, kFrameSize, 1)); in TEST_F()
604 EXPECT_EQ(1, InsertFrame(1, 0, 1000, false, true, kFrameSize)); in TEST_F()
605 EXPECT_EQ(2, InsertFrame(2, 0, 2000, false, true, kFrameSize, 1)); in TEST_F()
606 EXPECT_EQ(3, InsertFrame(3, 0, 3000, false, true, kFrameSize)); in TEST_F()
620 EXPECT_EQ(-1, InsertFrame(i, 0, i * 1000, false, true, kFrameSize, i - 1)); in TEST_F()
625 InsertFrame(kMaxBufferSize + 1, 0, (kMaxBufferSize + 1) * 1000, in TEST_F()
632 InsertFrame(1, 0, 0, false, true, kFrameSize); in TEST_F()
634 InsertFrame(3, 0, 0, false, true, kFrameSize, 2, 0); in TEST_F()
635 InsertFrame(3, 0, 0, false, true, kFrameSize, 0); in TEST_F()
636 InsertFrame(2, 0, 0, false, true, kFrameSize); in TEST_F()
642 InsertFrame(2, 0, 1, false, true, kFrameSize); in TEST_F()
643 InsertFrame(1, 0, 2, false, true, in TEST_F()
650 InsertFrame(3, 0, 4, false, true, kFrameSize); in TEST_F()
651 InsertFrame(4, 0, 3, false, true, in TEST_F()
663 InsertFrame(pid, 0, ts, false, false, kFrameSize); in TEST_F()
664 InsertFrame(pid, 1, ts, true, true, 2 * kFrameSize); in TEST_F()
681 InsertFrame(pid, 0, ts, false, false, kFrameSize); in TEST_F()
682 InsertFrame(pid, 1, ts, true, true, kFrameSize); in TEST_F()
687 InsertFrame(pid + 1, 1, ts + kFps20, false, true, kFrameSize, pid); in TEST_F()
688 InsertFrame(pid + 2, 0, ts + kFps10, false, false, kFrameSize, pid); in TEST_F()
689 InsertFrame(pid + 2, 1, ts + kFps10, true, true, kFrameSize, pid + 1); in TEST_F()