Home
last modified time | relevance | path

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

/frameworks/av/media/ndk/fuzzer/
Dndk_mediamuxer_fuzzer.cpp100 ssize_t trackIdx = 0; in LLVMFuzzerTestOneInput() local
135 trackIdx = AMediaMuxer_addTrack(muxer, mediaFormat); in LLVMFuzzerTestOneInput()
149 fdp.ConsumeBool() ? trackIdx : fdp.ConsumeIntegral<size_t>() /* trackIdx */, in LLVMFuzzerTestOneInput()
/frameworks/av/media/ndk/
DNdkMediaMuxer.cpp94 size_t trackIdx, const uint8_t *data, const AMediaCodecBufferInfo *info) { in AMediaMuxer_writeSampleData() argument
97 muxer->mImpl->writeSampleData(buf, trackIdx, info->presentationTimeUs, info->flags)); in AMediaMuxer_writeSampleData()
/frameworks/av/media/ndk/include/media/
DNdkMediaMuxer.h161 size_t trackIdx, const uint8_t *data,
/frameworks/av/media/module/libmediatranscoding/transcoder/tests/
DMediaSampleWriterTests.cpp402 for (int trackIdx = 0; trackIdx < kNumTracks; ++trackIdx) { in TEST_F() local
403 auto trackFormat = mediaSource.mTrackFormats[trackIdx % mediaSource.mTrackCount]; in TEST_F()
404 sampleConsumers[trackIdx] = writer->addTrack(trackFormat); in TEST_F()
405 EXPECT_NE(sampleConsumers[trackIdx], nullptr); in TEST_F()
/frameworks/base/media/jni/
Dandroid_media_MediaExtractor.h70 status_t getAudioPresentations(size_t trackIdx,
Dandroid_media_MediaExtractor.cpp304 status_t JMediaExtractor::getAudioPresentations(size_t trackIdx, in getAudioPresentations() argument
306 return mImpl->getAudioPresentations(trackIdx, presentations); in getAudioPresentations()
692 JNIEnv *env, jobject thiz, jint trackIdx) { in android_media_MediaExtractor_getAudioPresentations() argument
700 status_t err = extractor->getAudioPresentations(trackIdx, &presentations); in android_media_MediaExtractor_getAudioPresentations()
/frameworks/av/media/module/extractors/tests/
DExtractorUnitTest.cpp852 int32_t trackIdx[] = {-1, numTracks}; in TEST_P() local
853 for (int32_t idx : trackIdx) { in TEST_P()
1041 int32_t trackIdx = 0; in TEST_P() local
1042 MediaTrackHelper *track = mExtractor->getTrack(trackIdx); in TEST_P()
1043 ASSERT_NE(track, nullptr) << "Failed to get track for index " << trackIdx; in TEST_P()
1052 ASSERT_NE(cTrack, nullptr) << "Failed to get track wrapper for index " << trackIdx; in TEST_P()
/frameworks/av/media/libstagefright/include/media/stagefright/
DNuMediaExtractor.h101 status_t getAudioPresentations(size_t trackIdx, AudioPresentationCollection *presentations);
/frameworks/av/cmds/screenrecord/
Dscreenrecord.cpp562 ssize_t trackIdx = -1; in runEncoder() local
644 assert(trackIdx != -1); in runEncoder()
654 err = AMediaMuxer_writeSampleData(muxer, trackIdx, buffer->data(), &bufferInfo); in runEncoder()
690 trackIdx = AMediaMuxer_addTrack(muxer, ndkFormat); in runEncoder()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/transition/
DTransitions.java1262 int trackIdx, @Nullable ActiveTransition forceFinish) { in finishForSync() argument
1267 final Track track = mTracks.get(trackIdx); in finishForSync()
1272 + forceFinish.getTrack() + " vs " + trackIdx); in finishForSync()
1311 () -> finishForSync(reason, trackIdx, playing), SYNC_ALLOWANCE_MS); in finishForSync()