Home
last modified time | relevance | path

Searched refs:MediaSampleReaderNDK (Results 1 – 14 of 14) sorted by relevance

/frameworks/av/media/libmediatranscoding/transcoder/
DMediaSampleReaderNDK.cpp33 std::shared_ptr<MediaSampleReader> MediaSampleReaderNDK::createFromFd(int fd, size_t offset, in createFromFd()
48 auto sampleReader = std::shared_ptr<MediaSampleReaderNDK>(new MediaSampleReaderNDK(extractor)); in createFromFd()
52 MediaSampleReaderNDK::MediaSampleReaderNDK(AMediaExtractor* extractor) in MediaSampleReaderNDK() function in android::MediaSampleReaderNDK
59 MediaSampleReaderNDK::~MediaSampleReaderNDK() { in ~MediaSampleReaderNDK()
65 void MediaSampleReaderNDK::advanceTrack_l(int trackIndex) { in advanceTrack_l()
92 bool MediaSampleReaderNDK::advanceExtractor_l() { in advanceExtractor_l()
127 media_status_t MediaSampleReaderNDK::seekExtractorBackwards_l(int64_t targetTimeUs, in seekExtractorBackwards_l()
159 media_status_t MediaSampleReaderNDK::moveToSample_l(SamplePosition& pos, int trackIndex) { in moveToSample_l()
176 media_status_t MediaSampleReaderNDK::moveToTrack_l(int trackIndex) { in moveToTrack_l()
180 media_status_t MediaSampleReaderNDK::waitForTrack_l(int trackIndex, in waitForTrack_l()
[all …]
DAndroid.bp31 "MediaSampleReaderNDK.cpp",
DMediaTranscoder.cpp264 mSampleReader = MediaSampleReaderNDK::createFromFd(fd, 0 /* offset */, fileSize); in configureSource()
/frameworks/av/media/libmediatranscoding/transcoder/include/media/
DMediaSampleReaderNDK.h34 class MediaSampleReaderNDK : public MediaSampleReader {
59 virtual ~MediaSampleReaderNDK() override;
97 MediaSampleReaderNDK(AMediaExtractor* extractor);
/frameworks/av/media/libmediatranscoding/transcoder/tests/
DMediaSampleReaderNDKTests.cpp88 mSampleReader = MediaSampleReaderNDK::createFromFd(sourceFd, 0, fileSize); in SampleAccessTester()
388 auto sampleReader = MediaSampleReaderNDK::createFromFd(mSourceFd, 0, mFileSize); in TEST_F()
409 MediaSampleReaderNDK::createFromFd(0, 0, mFileSize); in TEST_F()
412 sampleReader = MediaSampleReaderNDK::createFromFd(-1, 0, mFileSize); in TEST_F()
418 MediaSampleReaderNDK::createFromFd(mSourceFd, 0, 0); in TEST_F()
424 MediaSampleReaderNDK::createFromFd(mSourceFd, mFileSize, mFileSize); in TEST_F()
DREADME.md13 atest MediaSampleReaderNDK
DAndroid.bp50 // MediaSampleReaderNDK unit test
DVideoTrackTranscoderTests.cpp54 mMediaSampleReader = MediaSampleReaderNDK::createFromFd(sourceFd, 0, fileSize); in SetUp()
DTranscoderTestUtils.h40 auto sampleReader = MediaSampleReaderNDK::createFromFd(fd, 0, fileSize);
DPassthroughTrackTranscoderTests.cpp159 MediaSampleReaderNDK::createFromFd(mSourceFd, 0, mSourceFileSize); in TEST_F()
DMediaTrackTranscoderTests.cpp74 mMediaSampleReader = MediaSampleReaderNDK::createFromFd(sourceFd, 0 /* offset */, fileSize); in initSampleReader()
DMediaTranscoderTests.cpp227 MediaSampleReaderNDK::createFromFd(dstFd, 0, fileSize); in verifyOutputFormat()
/frameworks/av/media/libmediatranscoding/transcoder/benchmark/
DMediaSampleReaderBenchmark.cpp61 auto sampleReader = MediaSampleReaderNDK::createFromFd(srcFd, 0, fileSize); in ReadMediaSamples()
DMediaTrackTranscoderBenchmark.cpp270 sampleReader = MediaSampleReaderNDK::createFromFd(srcFd, 0 /* offset */, fileSize); in GetSampleReader()