Lines Matching refs:kVideoTrackNumber
69 segment_.AddVideoTrack(kWidth, kHeight, kVideoTrackNumber)); in AddVideoTrack()
70 ASSERT_EQ(kVideoTrackNumber, vid_track); in AddVideoTrack()
74 video->set_uid(kVideoTrackNumber); in AddVideoTrack()
132 AddDummyFrameAndFinalize(kVideoTrackNumber); in TEST_F()
144 dynamic_cast<VideoTrack*>(segment_.GetTrackByNumber(kVideoTrackNumber)); in TEST_F()
158 EXPECT_EQ(static_cast<uint64_t>(kVideoTrackNumber), video->uid()); in TEST_F()
176 AddDummyFrameAndFinalize(kVideoTrackNumber); in TEST_F()
193 AddDummyFrameAndFinalize(kVideoTrackNumber); in TEST_F()
204 EXPECT_TRUE(segment_.AddFrame(dummy_data_, kFrameLength, kVideoTrackNumber, 0, in TEST_F()
208 EXPECT_TRUE(segment_.AddFrame(dummy_data_, kFrameLength, kVideoTrackNumber, in TEST_F()
212 EXPECT_FALSE(segment_.AddFrame(dummy_data_, kFrameLength, kVideoTrackNumber, in TEST_F()
216 EXPECT_FALSE(segment_.AddFrame(NULL, 0, kVideoTrackNumber, 8000000, false)); in TEST_F()
233 frame.set_track_number(kVideoTrackNumber); in TEST_F()
317 kVideoTrackNumber, 0, true)); in TEST_F()
322 kVideoTrackNumber, 2000000, false)); in TEST_F()
327 kVideoTrackNumber, 1, false)); in TEST_F()
332 kVideoTrackNumber, 3000000, false)); in TEST_F()
336 0, 1, kVideoTrackNumber, 4000000, in TEST_F()
358 frame.set_track_number(kVideoTrackNumber); in TEST_F()
392 frame.set_track_number(kVideoTrackNumber); in TEST_F()
417 EXPECT_TRUE(segment_.AddFrame(dummy_data_, kFrameLength, kVideoTrackNumber, 0, in TEST_F()
419 EXPECT_TRUE(segment_.AddFrame(dummy_data_, kFrameLength, kVideoTrackNumber, in TEST_F()
434 EXPECT_TRUE(segment_.AddFrame(dummy_data_, kFrameLength, kVideoTrackNumber, 0, in TEST_F()
437 EXPECT_TRUE(segment_.AddFrame(dummy_data_, kFrameLength, kVideoTrackNumber, in TEST_F()
439 EXPECT_TRUE(segment_.AddFrame(dummy_data_, kFrameLength, kVideoTrackNumber, in TEST_F()
442 EXPECT_TRUE(segment_.AddFrame(dummy_data_, kFrameLength, kVideoTrackNumber, in TEST_F()
457 segment_.AddFrame(dummy_data_, kFrameLength, kVideoTrackNumber, 0, true)); in TEST_F()
458 EXPECT_TRUE(segment_.AddFrame(dummy_data_, kFrameLength, kVideoTrackNumber, in TEST_F()
460 EXPECT_TRUE(segment_.AddFrame(dummy_data_, kFrameLength, kVideoTrackNumber, in TEST_F()
462 EXPECT_TRUE(segment_.AddFrame(dummy_data_, kFrameLength, kVideoTrackNumber, in TEST_F()
464 EXPECT_TRUE(segment_.AddCuePoint(4000000, kVideoTrackNumber)); in TEST_F()
477 segment_.AddFrame(dummy_data_, kFrameLength, kVideoTrackNumber, 0, true)); in TEST_F()
478 EXPECT_TRUE(segment_.AddFrame(dummy_data_, kFrameLength, kVideoTrackNumber, in TEST_F()
480 EXPECT_TRUE(segment_.AddFrame(dummy_data_, kFrameLength, kVideoTrackNumber, in TEST_F()
482 EXPECT_TRUE(segment_.AddFrame(dummy_data_, kFrameLength, kVideoTrackNumber, in TEST_F()
518 EXPECT_TRUE(segment_.AddFrame(dummy_data_, 1, kVideoTrackNumber, 0, false)); in TEST_F()
520 segment_.AddFrame(dummy_data_, 1, kVideoTrackNumber, 2000000, false)); in TEST_F()
522 segment_.AddFrame(dummy_data_, 1, kVideoTrackNumber, 4000000, false)); in TEST_F()
523 EXPECT_TRUE(segment_.AddFrame(dummy_data_, kFrameLength, kVideoTrackNumber, in TEST_F()
525 EXPECT_TRUE(segment_.AddFrame(dummy_data_, kFrameLength, kVideoTrackNumber, in TEST_F()
527 EXPECT_TRUE(segment_.AddFrame(dummy_data_, kFrameLength, kVideoTrackNumber, in TEST_F()
544 EXPECT_TRUE(segment_.AddFrame(dummy_data_, kFrameLength, kVideoTrackNumber, 0, in TEST_F()
546 EXPECT_TRUE(segment_.AddFrame(dummy_data_, kFrameLength, kVideoTrackNumber, in TEST_F()
548 EXPECT_TRUE(segment_.AddFrame(dummy_data_, kFrameLength, kVideoTrackNumber, in TEST_F()
550 EXPECT_TRUE(segment_.AddFrame(dummy_data_, kFrameLength, kVideoTrackNumber, in TEST_F()
552 EXPECT_TRUE(segment_.AddFrame(dummy_data_, kFrameLength, kVideoTrackNumber, in TEST_F()
554 EXPECT_TRUE(segment_.AddFrame(dummy_data_, kFrameLength, kVideoTrackNumber, in TEST_F()
570 segment_.GetTrackByNumber(vid_track)->set_uid(kVideoTrackNumber); in TEST_F()
623 frame.set_track_number(kVideoTrackNumber); in TEST_F()
652 frame.set_track_number(kVideoTrackNumber); in TEST_F()
684 video_frame.set_track_number(kVideoTrackNumber); in TEST_F()
741 video_frame.set_track_number(kVideoTrackNumber); in TEST_F()
757 frame.set_track_number(kVideoTrackNumber); in TEST_F()
778 Track* const vid_track = segment_.GetTrackByNumber(kVideoTrackNumber); in TEST_F()
780 AddDummyFrameAndFinalize(kVideoTrackNumber); in TEST_F()
787 Track* const vid_track = segment_.GetTrackByNumber(kVideoTrackNumber); in TEST_F()
789 AddDummyFrameAndFinalize(kVideoTrackNumber); in TEST_F()
821 dynamic_cast<VideoTrack*>(segment_.GetTrackByNumber(kVideoTrackNumber)); in TEST_F()
824 ASSERT_NO_FATAL_FAILURE(AddDummyFrameAndFinalize(kVideoTrackNumber)); in TEST_F()
884 dynamic_cast<VideoTrack*>(segment_.GetTrackByNumber(kVideoTrackNumber)); in TEST_F()
887 ASSERT_NO_FATAL_FAILURE(AddDummyFrameAndFinalize(kVideoTrackNumber)); in TEST_F()
915 static_cast<VideoTrack*>(segment_.GetTrackByNumber(kVideoTrackNumber)); in TEST_F()
918 ASSERT_NO_FATAL_FAILURE(AddDummyFrameAndFinalize(kVideoTrackNumber)); in TEST_F()
947 EXPECT_TRUE(segment_.AddFrame(dummy_data_, kFrameLength, kVideoTrackNumber, 0, in TEST_F()
949 EXPECT_TRUE(segment_.AddFrame(dummy_data_, kFrameLength, kVideoTrackNumber, in TEST_F()
951 EXPECT_TRUE(segment_.AddFrame(dummy_data_, kFrameLength, kVideoTrackNumber, in TEST_F()
953 EXPECT_TRUE(segment_.AddFrame(dummy_data_, kFrameLength, kVideoTrackNumber, in TEST_F()
955 EXPECT_TRUE(segment_.AddFrame(dummy_data_, kFrameLength, kVideoTrackNumber, in TEST_F()
957 EXPECT_TRUE(segment_.AddFrame(dummy_data_, kFrameLength, kVideoTrackNumber, in TEST_F()
971 static_cast<VideoTrack*>(segment_.GetTrackByNumber(kVideoTrackNumber)); in TEST_F()
976 EXPECT_TRUE(segment_.AddFrame(dummy_data_, kFrameLength, kVideoTrackNumber, 0, in TEST_F()
978 EXPECT_TRUE(segment_.AddFrame(dummy_data_, kFrameLength, kVideoTrackNumber, in TEST_F()
996 EXPECT_TRUE(segment_.AddFrame(dummy_data_, kFrameLength, kVideoTrackNumber, 0, in TEST_F()