Searched defs:MediaSample (Results 1 – 2 of 2) sorted by relevance
59 struct MediaSample { struct67 using OnSampleReleasedCallback = std::function<void(MediaSample* sample)>; argument79 static std::shared_ptr<MediaSample> createWithReleaseCallback( in createWithReleaseCallback() argument105 MediaSampleInfo info; argument107 MediaSample() = default; argument110 MediaSample(uint8_t* buffer, size_t dataOffset, uint32_t bufferId, in MediaSample() function117 static void releaseSample(MediaSample* sample) { in releaseSample() argument127 MediaSample& operator=(const MediaSample&) = delete; argument129 const OnSampleReleasedCallback mReleaseCallback = nullptr;
444 const std::pair<std::shared_ptr<MediaSample>, size_t>& right) { in TEST_F()503 buffer, 0 /* offset */, 0 /* id */, [buffer](MediaSample*) { delete[] buffer; }); in readSampleAndAdvance() argument