Searched refs:trackFormat (Results 1 – 7 of 7) sorted by relevance
/cts/tests/tests/media/extractor/src/android/media/extractor/cts/ |
D | MediaExtractorTest.java | 168 MediaFormat trackFormat = mExtractor.getTrackFormat(0); in testDolbyVisionMediaExtractorProfileDvheDtr() local 174 if (trackFormat.getString(MediaFormat.KEY_MIME) in testDolbyVisionMediaExtractorProfileDvheDtr() 176 trackFormat = mExtractor.getTrackFormat(1); in testDolbyVisionMediaExtractorProfileDvheDtr() 199 final int trackIdForBackwardCompat = trackFormat.getInteger(MediaFormat.KEY_TRACK_ID); in testDolbyVisionMediaExtractorProfileDvheDtr() 204 final String mimeType = trackFormat.getString(MediaFormat.KEY_MIME); in testDolbyVisionMediaExtractorProfileDvheDtr() 217 MediaFormat trackFormat = mExtractor.getTrackFormat(0); in testDolbyVisionMediaExtractorProfileDvheSt() local 223 if (trackFormat.getString(MediaFormat.KEY_MIME) in testDolbyVisionMediaExtractorProfileDvheSt() 225 trackFormat = mExtractor.getTrackFormat(1); in testDolbyVisionMediaExtractorProfileDvheSt() 248 final int trackIdForBackwardCompat = trackFormat.getInteger(MediaFormat.KEY_TRACK_ID); in testDolbyVisionMediaExtractorProfileDvheSt() 253 final String mimeType = trackFormat.getString(MediaFormat.KEY_MIME); in testDolbyVisionMediaExtractorProfileDvheSt() [all …]
|
/cts/tests/tests/mediacujtest/common/src/android/media/cujcommon/cts/ |
D | AdaptivePlaybackTestPlayerListener.java | 152 Format trackFormat = mVideoTrackGroup.getTrackFormat(trackIndex); in getVideoFormatList() local 153 videoFormatList.add(trackFormat); in getVideoFormatList()
|
/cts/tests/media/src/android/mediav2/cts/ |
D | EncoderProfileLevelTest.java | 544 void checkIfTrackFormatIsOk(MediaFormat trackFormat) { in checkIfTrackFormatIsOk() argument 547 trackFormat.getString(MediaFormat.KEY_MIME)); in checkIfTrackFormatIsOk() 550 mActiveEncCfg.mWidth, getWidth(trackFormat)); in checkIfTrackFormatIsOk() 552 mActiveEncCfg.mHeight, getHeight(trackFormat)); in checkIfTrackFormatIsOk() 560 trackFormat.getInteger(MediaFormat.KEY_SAMPLE_RATE)); in checkIfTrackFormatIsOk() 563 trackFormat.getInteger(MediaFormat.KEY_CHANNEL_COUNT)); in checkIfTrackFormatIsOk() 673 MediaFormat trackFormat = validateProfileAndLevel(); in testValidateProfileLevel() local 678 if (trackFormat != null) checkIfTrackFormatIsOk(trackFormat); in testValidateProfileLevel()
|
/cts/tests/tests/media/drmframework/jni/ |
D | native-mediadrm-jni.cpp | 385 AMediaFormat* trackFormat = NULL; in addTracks() local 387 trackFormat = AMediaExtractor_getTrackFormat( in addTracks() 389 if (trackFormat) { in addTracks() 391 AMediaFormat_toString(trackFormat)); in addTracks() 395 trackFormat, AMEDIAFORMAT_KEY_MIME, &mime)) { in addTracks() 398 AMediaFormat_delete(trackFormat); in addTracks() 404 AMediaFormat_toString(trackFormat)); in addTracks() 406 addTrack(trackFormat, mime, crypto, window, codec); in addTracks() 413 AMediaFormat_delete(trackFormat); in addTracks()
|
/cts/tests/media/common/src/android/mediav2/common/cts/ |
D | EncoderProfileLevelTestBase.java | 619 MediaFormat trackFormat = extractor.getTrackFormat(0); in validateProfileAndLevel() local 621 if (mGotCsd || (trackFormat.containsKey(MediaFormat.KEY_PROFILE) in validateProfileAndLevel() 622 || trackFormat.containsKey(MediaFormat.KEY_LEVEL))) { in validateProfileAndLevel() 623 validateFormatForProfileAndLevel(trackFormat, "Testing extractor format :- "); in validateProfileAndLevel() 625 return trackFormat; in validateProfileAndLevel()
|
/cts/tests/tests/media/codec/src/android/media/codec/cts/ |
D | ExtractDecodeEditEncodeMuxTest.java | 575 MediaFormat trackFormat = mediaExtractor.getTrackFormat(i); in extractDecodeEditEncodeMux() local 576 if (isAudioFormat(trackFormat)) { in extractDecodeEditEncodeMux() 582 int aac_profile = trackFormat.getInteger(MediaFormat.KEY_AAC_PROFILE, -1); in extractDecodeEditEncodeMux() 583 int profile = trackFormat.getInteger(MediaFormat.KEY_PROFILE, aac_profile); in extractDecodeEditEncodeMux() 589 trackFormat.getInteger(MediaFormat.KEY_SAMPLE_RATE)); in extractDecodeEditEncodeMux()
|
/cts/tests/tests/media/encoder/src/android/media/encoder/cts/ |
D | EncoderTest.java | 415 MediaFormat trackFormat = codec.getOutputFormat(); in testEncoder() local 416 muxidx = muxer.addTrack(trackFormat); in testEncoder()
|