Home
last modified time | relevance | path

Searched defs:trackIndex (Results 1 – 25 of 47) sorted by relevance

12

/frameworks/av/media/libmediatranscoding/transcoder/
DMediaSampleReaderNDK.cpp65 void MediaSampleReaderNDK::advanceTrack_l(int trackIndex) { in advanceTrack_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()
198 int trackIndex, std::unique_lock<std::mutex>& lockHeld) { in primeExtractorForTrack_l()
215 media_status_t MediaSampleReaderNDK::selectTrack(int trackIndex) { in selectTrack()
240 media_status_t MediaSampleReaderNDK::unselectTrack(int trackIndex) { in unselectTrack()
283 int trackIndex = -1; in setEnforceSequentialAccess() member
286 for (int trackIndex = 0; trackIndex < mTrackCount; ++trackIndex) { in setEnforceSequentialAccess() local
320 media_status_t MediaSampleReaderNDK::getEstimatedBitrateForTrack(int trackIndex, int32_t* bitrate) { in getEstimatedBitrateForTrack()
[all …]
DMediaSampleWriter.cpp48 media_status_t writeSampleData(size_t trackIndex, const uint8_t* data, in writeSampleData()
143 const size_t trackIndex = static_cast<size_t>(trackIndexOrError); in addTrack() local
158 void MediaSampleWriter::addSampleToTrack(size_t trackIndex, in addSampleToTrack()
262 size_t trackIndex; in runWriterLoop() local
DMediaTrackTranscoder.cpp28 const std::shared_ptr<MediaSampleReader>& mediaSampleReader, int trackIndex, in configure()
DMediaTranscoder.cpp271 for (size_t trackIndex = 0; trackIndex < trackCount; ++trackIndex) { in configureSource() local
295 media_status_t MediaTranscoder::configureTrackFormat(size_t trackIndex, in configureTrackFormat()
/frameworks/av/media/libmediatranscoding/transcoder/tests/
DMediaSampleReaderNDKTests.cpp93 for (int trackIndex = 0; trackIndex < mTrackCount; trackIndex++) { in SampleAccessTester() local
101 void getSampleInfo(int trackIndex) { in getSampleInfo()
107 void readSamplesAsync(int trackIndex, int sampleCount) { in readSamplesAsync()
135 for (int trackIndex = 0; trackIndex < mTrackCount; trackIndex++) { in readSamplesAsync() local
140 void waitForTrack(int trackIndex) { in waitForTrack()
146 for (int trackIndex = 0; trackIndex < mTrackCount; trackIndex++) { in waitForTracks() local
193 for (size_t trackIndex = 0; trackIndex < mTrackCount; trackIndex++) { in SetUp() local
204 const int trackIndex = AMediaExtractor_getSampleTrackIndex(mExtractor); in initExtractorSamples() local
216 const int trackIndex = AMediaExtractor_getSampleTrackIndex(mExtractor); in getTrackBitrates() local
223 for (int trackIndex = 0; trackIndex < mTrackCount; trackIndex++) { in getTrackBitrates() local
[all …]
DMediaSampleWriterTests.cpp48 media_status_t writeSampleData(size_t trackIndex, const uint8_t* data, in writeSampleData()
62 size_t trackIndex = 0; member
76 static Event WriteSample(size_t trackIndex, const uint8_t* data, in WriteSample()
81 static Event WriteSampleWithPts(size_t trackIndex, int64_t pts) { in WriteSampleWithPts()
147 for (size_t trackIndex = 0; trackIndex < mTrackCount; trackIndex++) { in init() local
410 auto addSampleToTrackWithPts = [&addedSamples, &sampleConsumers](int trackIndex, int64_t pts) { in TEST_F()
431 for (int trackIndex = 0; trackIndex < kNumTracks; ++trackIndex) { in TEST_F() local
451 auto trackIndex = entry.second; in TEST_F() local
464 for (int trackIndex = 0; trackIndex < kNumTracks; ++trackIndex) { in TEST_F() local
483 int trackIndex = AMediaExtractor_getSampleTrackIndex(extractor); in readSampleAndAdvance() local
[all …]
/frameworks/av/media/libstagefright/writer_fuzzers/
DWriterFuzzerBase.cpp48 ConfigFormat WriterFuzzerBase::BufferSource::getConfigFormat(int32_t trackIndex) { in getConfigFormat()
52 int32_t WriterFuzzerBase::BufferSource::getNumCsds(int32_t trackIndex) { in getNumCsds()
56 vector<FrameData> &WriterFuzzerBase::BufferSource::getFrameList(int32_t trackIndex) { in getFrameList()
77 uint8_t trackIndex = framePtr[0] % kMaxTrackCount; in getFrameInfo() local
110 bool WriterFuzzerBase::BufferSource::getTrackInfo(int32_t trackIndex) { in getTrackInfo()
164 void WriterFuzzerBase::addWriterSource(int32_t trackIndex) { in addWriterSource()
200 void WriterFuzzerBase::sendBuffersToWriter(sp<MediaAdapter> &currentTrack, int32_t trackIndex, in sendBuffersToWriter()
/frameworks/av/media/tests/benchmark/MediaBenchmarkTest/src/main/java/com/android/media/benchmark/library/
DMuxer.java44 int trackIndex = mMuxer.addTrack(trackFormat); in setUpMuxer() local
64 public int mux(int trackIndex, ArrayList<ByteBuffer> inputExtractedBuffer, in mux()
/frameworks/av/media/extractors/fuzzers/
DExtractorFuzzerBase.cpp60 for (size_t trackIndex = 0; trackIndex < trackCount; ++trackIndex) { in extractTracks() local
100 for (size_t trackIndex = 0; trackIndex < trackCount; ++trackIndex) { in getTracksMetadata() local
123 for (size_t trackIndex = 0; trackIndex < trackCount; ++trackIndex) { in seekAndExtractTracks() local
/frameworks/av/media/libmediatranscoding/transcoder/benchmark/
DMediaTrackTranscoderBenchmark.cpp114 AMediaFormat* getTrackFormat(int trackIndex) override { in getTrackFormat()
118 media_status_t selectTrack(int trackIndex) override { in selectTrack()
181 media_status_t getSampleInfoForTrack(int trackIndex, MediaSampleInfo* info) override { in getSampleInfoForTrack()
196 media_status_t readSampleDataForTrack(int trackIndex, uint8_t* buffer, in readSampleDataForTrack()
211 void advanceTrack(int trackIndex) { in advanceTrack()
307 for (int trackIndex = 0; trackIndex < sampleReader->getTrackCount(); ++trackIndex) { in ConfigureSampleReader() local
DMediaSampleReaderBenchmark.cpp69 for (int trackIndex = 0; trackIndex < sampleReader->getTrackCount(); ++trackIndex) { in ReadMediaSamples() local
91 for (auto trackIndex : trackIndices) { in ReadMediaSamples() local
/frameworks/av/media/libmediaplayerservice/nuplayer/
DRTPSource.cpp389 size_t trackIndex; in onMessageReceived() local
416 size_t trackIndex; in onMessageReceived() local
513 void NuPlayer::RTPSource::onTimeUpdate(int32_t trackIndex, uint32_t rtpTime, uint64_t ntpTime) { in onTimeUpdate()
562 int32_t trackIndex, const TrackInfo *track, in addMediaTimestamp()
606 size_t trackIndex, const sp<ABuffer> &accessUnit) { in postQueueAccessUnit()
614 void NuPlayer::RTPSource::postQueueEOS(size_t trackIndex, status_t finalResult) { in postQueueEOS()
DRTSPSource.cpp590 size_t trackIndex; in onMessageReceived() local
672 size_t trackIndex; in onMessageReceived() local
687 size_t trackIndex; in onMessageReceived() local
705 size_t trackIndex; in onMessageReceived() local
/frameworks/base/media/java/android/media/
DMediaMuxer.java303 long nativeObject, int trackIndex, @NonNull ByteBuffer byteBuf, in nativeWriteSampleData()
645 int trackIndex = -1; in addTrack() local
696 public void writeSampleData(int trackIndex, @NonNull ByteBuffer byteBuf, in writeSampleData()
DSubtitleData.java91 public SubtitleData(int trackIndex, long startTimeUs, long durationUs, @NonNull byte[] data) { in SubtitleData()
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/decoder/
DVideoTrackDecoder.java35 protected VideoTrackDecoder(int trackIndex, MediaFormat format, Listener listener) { in VideoTrackDecoder()
DAudioTrackDecoder.java45 public AudioTrackDecoder(int trackIndex, MediaFormat format, Listener listener) { in AudioTrackDecoder()
DGpuVideoTrackDecoder.java68 int trackIndex, MediaFormat format, Listener listener) { in GpuVideoTrackDecoder()
DTrackDecoder.java69 protected TrackDecoder(int trackIndex, MediaFormat mediaFormat, Listener listener) { in TrackDecoder()
/frameworks/av/media/libstagefright/tests/fuzzers/
DMediaMuxerFuzzer.cpp88 size_t trackIndex = fdp.ConsumeIntegral<size_t>(); in LLVMFuzzerTestOneInput() local
/frameworks/base/media/jni/
Dandroid_media_MediaMuxer.cpp66 jint trackIndex = muxer->addTrack(trackformat); in android_media_MediaMuxer_addTrack() local
77 JNIEnv *env, jclass /* clazz */, jlong nativeObject, jint trackIndex, in android_media_MediaMuxer_writeSampleData()
Dandroid_media_JetPlayer.cpp344 for (jint trackIndex=0; trackIndex<maxTracks; trackIndex++) { in android_media_JetPlayer_queueSegmentMuteArray() local
415 for (jint trackIndex=0; trackIndex<maxTracks; trackIndex++) { in android_media_JetPlayer_setMuteArray() local
/frameworks/av/media/libstagefright/rtsp/
DARTPSession.cpp138 size_t trackIndex; in onMessageReceived() local
/frameworks/av/media/tests/benchmark/MediaBenchmarkTest/src/androidTest/java/com/android/media/benchmark/tests/
DMuxerTest.java145 int trackIndex = muxer.setUpMuxer(mContext, outputFormat, format); in testMuxer() local
/frameworks/av/media/libstagefright/
DMediaMuxer.cpp181 status_t MediaMuxer::writeSampleData(const sp<ABuffer> &buffer, size_t trackIndex, in writeSampleData()

12