Searched refs:sample1 (Results 1 – 2 of 2) sorted by relevance
/frameworks/av/media/module/libmediatranscoding/transcoder/tests/ |
D | MediaSampleWriterTests.cpp | 577 std::shared_ptr<MediaSample> sample1 = readSampleAndAdvance(mediaSource.mExtractor, 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() 587 sample1 = readSampleAndAdvance(mediaSource.mExtractor, nullptr); in TEST_F() 590 EXPECT_EQ(sample1, nullptr); in TEST_F()
|
/frameworks/rs/driver/runtime/ |
D | rs_sample.c | 567 float4 sample1 = sample_LOD_LinearPixel(alloc, dk, dt, wrapS, uv, lod1); in rsSample() local 569 return sample0 * (1.0f - frac) + sample1 * frac; in rsSample() 620 float4 sample1 = sample_LOD_LinearPixel(alloc, dk, dt, wrapS, wrapT, uv, lod1); in rsSample() local 622 return sample0 * (1.0f - frac) + sample1 * frac; in rsSample()
|