Home
last modified time | relevance | path

Searched defs:MediaSample (Results 1 – 2 of 2) sorted by relevance

/frameworks/av/media/libmediatranscoding/transcoder/include/media/
DMediaSample.h59 struct MediaSample { struct
67 using OnSampleReleasedCallback = std::function<void(MediaSample* sample)>; argument
79 static std::shared_ptr<MediaSample> createWithReleaseCallback( in createWithReleaseCallback() argument
105 MediaSampleInfo info; argument
107 MediaSample() = default; argument
110 MediaSample(uint8_t* buffer, size_t dataOffset, uint32_t bufferId, in MediaSample() function
117 static void releaseSample(MediaSample* sample) { in releaseSample() argument
127 MediaSample& operator=(const MediaSample&) = delete; argument
129 const OnSampleReleasedCallback mReleaseCallback = nullptr;
/frameworks/av/media/libmediatranscoding/transcoder/tests/
DMediaSampleWriterTests.cpp444 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