Home
last modified time | relevance | path

Searched refs:trackIdx (Results 1 – 7 of 7) sorted by relevance

/frameworks/av/media/ndk/
DNdkMediaMuxer.cpp91 size_t trackIdx, const uint8_t *data, const AMediaCodecBufferInfo *info) { in AMediaMuxer_writeSampleData() argument
94 muxer->mImpl->writeSampleData(buf, trackIdx, info->presentationTimeUs, info->flags)); in AMediaMuxer_writeSampleData()
/frameworks/av/media/ndk/include/media/
DNdkMediaMuxer.h139 size_t trackIdx, const uint8_t *data,
/frameworks/base/media/jni/
Dandroid_media_MediaExtractor.h70 status_t getAudioPresentations(size_t trackIdx,
Dandroid_media_MediaExtractor.cpp294 status_t JMediaExtractor::getAudioPresentations(size_t trackIdx, in getAudioPresentations() argument
296 return mImpl->getAudioPresentations(trackIdx, presentations); in getAudioPresentations()
678 JNIEnv *env, jobject thiz, jint trackIdx) { in android_media_MediaExtractor_getAudioPresentations() argument
686 status_t err = extractor->getAudioPresentations(trackIdx, &presentations); in android_media_MediaExtractor_getAudioPresentations()
/frameworks/av/cmds/screenrecord/
Dscreenrecord.cpp366 ssize_t trackIdx = -1; in runEncoder() local
463 assert(trackIdx != -1); in runEncoder()
467 err = muxer->writeSampleData(buffer, trackIdx, in runEncoder()
499 trackIdx = muxer->addTrack(newFormat); in runEncoder()
/frameworks/av/media/extractors/tests/
DExtractorUnitTest.cpp835 int32_t trackIdx[] = {-1, numTracks}; in TEST_P() local
836 for (int32_t idx : trackIdx) { in TEST_P()
1001 int32_t trackIdx = 0; in TEST_P() local
1002 MediaTrackHelper *track = mExtractor->getTrack(trackIdx); in TEST_P()
1003 ASSERT_NE(track, nullptr) << "Failed to get track for index " << trackIdx; in TEST_P()
1012 ASSERT_NE(cTrack, nullptr) << "Failed to get track wrapper for index " << trackIdx; in TEST_P()
/frameworks/av/media/libstagefright/include/media/stagefright/
DNuMediaExtractor.h99 status_t getAudioPresentations(size_t trackIdx, AudioPresentationCollection *presentations);