Lines Matching refs:mMediaSampleReader
54 mMediaSampleReader = MediaSampleReaderNDK::createFromFd(sourceFd, 0, fileSize); in SetUp()
55 ASSERT_NE(mMediaSampleReader, nullptr); in SetUp()
58 for (size_t trackIndex = 0; trackIndex < mMediaSampleReader->getTrackCount(); in SetUp()
60 AMediaFormat* trackFormat = mMediaSampleReader->getTrackFormat(trackIndex); in SetUp()
93 std::shared_ptr<MediaSampleReader> mMediaSampleReader; member in android::VideoTrackTranscoderTests
104 EXPECT_EQ(mMediaSampleReader->selectTrack(mTrackIndex), AMEDIA_OK); in TEST_F()
105 EXPECT_EQ(transcoder->configure(mMediaSampleReader, mTrackIndex, mDestinationFormat), in TEST_F()
153 EXPECT_EQ(mMediaSampleReader->selectTrack(mTrackIndex), AMEDIA_OK); in TEST_F()
156 EXPECT_EQ(mMediaSampleReader->getEstimatedBitrateForTrack(mTrackIndex, &srcBitrate), AMEDIA_OK); in TEST_F()
158 ASSERT_EQ(transcoder->configure(mMediaSampleReader, mTrackIndex, destFormat), AMEDIA_OK); in TEST_F()
178 EXPECT_EQ(transcoder->configure(mMediaSampleReader, 0 /* trackIndex */, nullFormat), in TEST_F()
187 EXPECT_EQ(mMediaSampleReader->selectTrack(mTrackIndex), AMEDIA_OK); in TEST_F()
188 EXPECT_EQ(transcoder->configure(mMediaSampleReader, mTrackIndex, mDestinationFormat), in TEST_F()