Home
last modified time | relevance | path

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

/frameworks/av/media/module/libmediatranscoding/transcoder/tests/
DMediaSampleWriterTests.cpp578 std::shared_ptr<MediaSample> sample2 = readSampleAndAdvance(extractor, nullptr); in TEST_F() local
580 while (sample1 != nullptr && sample2 != nullptr) { in TEST_F()
581 EXPECT_EQ(sample1->info.presentationTimeUs, sample2->info.presentationTimeUs); in TEST_F()
582 EXPECT_EQ(sample1->info.size, sample2->info.size); in TEST_F()
583 EXPECT_EQ(sample1->info.flags, sample2->info.flags); in TEST_F()
585 EXPECT_EQ(memcmp(sample1->buffer, sample2->buffer, sample1->info.size), 0); in TEST_F()
588 sample2 = readSampleAndAdvance(extractor, nullptr); in TEST_F()
591 EXPECT_EQ(sample2, nullptr); in TEST_F()