Searched refs:WriteSample (Results 1 – 1 of 1) sorted by relevance
/frameworks/av/media/module/libmediatranscoding/transcoder/tests/ |
D | MediaSampleWriterTests.cpp | 50 mEventQueue.push_back(WriteSample(trackIndex, data, info)); in writeSampleData() 60 enum { NoEvent, AddTrack, Start, WriteSample, Stop } type = NoEvent; enumerator 76 static Event WriteSample(size_t trackIndex, const uint8_t* data, in WriteSample() function in android::TestMuxer 78 return {.type = Event::WriteSample, .trackIndex = trackIndex, .data = data, .info = *info}; in WriteSample() 82 return {.type = Event::WriteSample, .trackIndex = trackIndex, .info = {0, 0, pts, 0}}; in WriteSampleWithPts() 454 EXPECT_EQ(event.type, TestMuxer::Event::WriteSample); in TEST_F() 473 EXPECT_EQ(mTestMuxer->popEvent(), TestMuxer::WriteSample(trackIndex, nullptr, &info)); in TEST_F()
|