Searched refs:trackFormat (Results 1 – 4 of 4) sorted by relevance
/frameworks/av/media/extractors/tests/ |
D | ExtractorUnitTest.cpp | 282 AMediaFormat *trackFormat = AMediaFormat_new(); in TEST_P() local 283 ASSERT_NE(trackFormat, nullptr) << "AMediaFormat_new returned null AMediaformat"; in TEST_P() 299 status = track->getFormat(trackFormat); in TEST_P() 304 AMediaFormat_getString(trackFormat, AMEDIAFORMAT_KEY_MIME, &trackMime); in TEST_P() 315 ASSERT_TRUE(AMediaFormat_getInt32(trackFormat, AMEDIAFORMAT_KEY_CHANNEL_COUNT, in TEST_P() 317 ASSERT_TRUE(AMediaFormat_getInt32(trackFormat, AMEDIAFORMAT_KEY_SAMPLE_RATE, in TEST_P() 326 ASSERT_TRUE(AMediaFormat_getInt32(trackFormat, AMEDIAFORMAT_KEY_WIDTH, &trackWidth)); in TEST_P() 327 ASSERT_TRUE(AMediaFormat_getInt32(trackFormat, AMEDIAFORMAT_KEY_HEIGHT, &trackHeight)); in TEST_P() 336 AMediaFormat_delete(trackFormat); in TEST_P() 422 AMediaFormat *trackFormat = AMediaFormat_new(); in TEST_P() local [all …]
|
/frameworks/av/media/tests/benchmark/MediaBenchmarkTest/src/main/java/com/android/media/benchmark/library/ |
D | Muxer.java | 39 public int setUpMuxer(Context context, int outputFormat, MediaFormat trackFormat) { in setUpMuxer() argument 44 int trackIndex = mMuxer.addTrack(trackFormat); in setUpMuxer()
|
D | Extractor.java | 112 MediaFormat trackFormat = mExtractor.getTrackFormat(trackId); in selectExtractorTrack() local 113 mDurationUs = trackFormat.getLong(MediaFormat.KEY_DURATION); in selectExtractorTrack()
|
/frameworks/av/media/ndk/ |
D | NdkMediaExtractor.cpp | 441 sp<AMessage> trackFormat; in AMediaExtractor_getSampleFormat() local 443 err = ex->mImpl->getTrackFormat(trackIndex, &trackFormat); in AMediaExtractor_getSampleFormat() 445 && trackFormat != NULL in AMediaExtractor_getSampleFormat() 446 && trackFormat->findString(AMEDIAFORMAT_KEY_MIME, &mime)) { in AMediaExtractor_getSampleFormat()
|