Home
last modified time | relevance | path

Searched refs:addTrack (Results 1 – 11 of 11) sorted by relevance

/cts/tests/media/src/android/mediav2/cts/
DMuxerUnitTest.java203 muxer.addTrack(null); in testIfNullMediaFormatIsRejected()
218 muxer.addTrack(new MediaFormat()); in testIfInvalidMediaFormatIsRejected()
228 muxer.addTrack(format); in testIfInvalidMediaFormatIsRejected()
251 muxer.addTrack(format); in testIfCorruptMediaFormatIsRejected()
268 muxer.addTrack(format); in testIfAddTrackSucceedsAfterStart()
270 muxer.addTrack(format); in testIfAddTrackSucceedsAfterStart()
287 int trackID = muxer.addTrack(format); in testIfAddTrackSucceedsAfterWriteSampleData()
290 muxer.addTrack(format); in testIfAddTrackSucceedsAfterWriteSampleData()
307 int trackID = muxer.addTrack(format); in testIfAddTrackSucceedsAfterStop()
311 muxer.addTrack(format); in testIfAddTrackSucceedsAfterStop()
[all …]
DEncoderColorAspectsTest.java96 mTrackID = mMuxer.addTrack(mCodec.getOutputFormat()); in dequeueOutput()
DMuxerTest.java152 int dstIndex = muxer.addTrack(mFormat.get(trackID)); in registerTrack()
196 outIndexMap[idx++] = muxer.addTrack(format); in combineMedias()
DCodecEncoderSurfaceTest.java296 mTrackID = mMuxer.addTrack(mEncoder.getOutputFormat()); in dequeueEncoderOutput()
/cts/tests/tests/media/src/android/media/cts/
DMediaMuxerTest.java175 muxer.addTrack(MediaFormat.createVideoFormat(MediaFormat.MIMETYPE_VIDEO_AVC, 480, 320)); in testIllegalStateExceptions()
188 muxer.addTrack(MediaFormat.createVideoFormat(MediaFormat.MIMETYPE_VIDEO_AVC, 480, 320)); in testIllegalStateExceptions()
191 muxer.addTrack(MediaFormat.createVideoFormat(MediaFormat.MIMETYPE_VIDEO_AVC, 480, 320)); in testIllegalStateExceptions()
200 muxer.addTrack(MediaFormat.createAudioFormat(MediaFormat.MIMETYPE_AUDIO_AAC, 48000, 1)); in testIllegalStateExceptions()
202 muxer.addTrack(MediaFormat.createAudioFormat(MediaFormat.MIMETYPE_AUDIO_AAC, 48000, 1)); in testIllegalStateExceptions()
211 muxer.addTrack(MediaFormat.createVideoFormat(MediaFormat.MIMETYPE_VIDEO_AVC, 480, 320)); in testIllegalStateExceptions()
212 muxer.addTrack(MediaFormat.createAudioFormat(MediaFormat.MIMETYPE_AUDIO_AAC, 48000, 1)); in testIllegalStateExceptions()
214 muxer.addTrack(MediaFormat.createVideoFormat(MediaFormat.MIMETYPE_VIDEO_AVC, 480, 320)); in testIllegalStateExceptions()
235 muxer.addTrack(MediaFormat.createVideoFormat("vidoe/mp4", 480, 320)); in testIllegalStateExceptions()
248 muxer.addTrack(MediaFormat.createVideoFormat(MediaFormat.MIMETYPE_VIDEO_AVC, 480, 320)); in testIllegalStateExceptions()
[all …]
DMediaCodecTunneledPlayer.java137 if (!addTrack(i, format)) { in prepareAudio()
170 if (!addTrack(i, format)) { in prepareVideo()
235 private boolean addTrack(int trackIndex, MediaFormat format) throws IOException { in addTrack() method in MediaCodecTunneledPlayer
DMediaCodecClearKeyPlayer.java233 addTrack(i, format, mEncryptedAudio); in prepareAudio()
278 addTrack(i, format, mEncryptedVideo); in prepareVideo()
393 private void addTrack(int trackIndex, MediaFormat format, in addTrack() method in MediaCodecClearKeyPlayer
DExtractDecodeEditEncodeMuxTest.java1170 outputVideoTrack = muxer.addTrack(encoderOutputVideoFormat); in doExtractDecodeEditEncodeMux()
1174 outputAudioTrack = muxer.addTrack(encoderOutputAudioFormat); in doExtractDecodeEditEncodeMux()
DEncoderTest.java404 muxidx = muxer.addTrack(trackFormat); in testEncoder()
DVideoEncoderTest.java402 mMuxIndex = mMuxer.addTrack(format); in saveEncoderFormat()
/cts/tests/tests/media/libmediandkjni/
Dnative-mediadrm-jni.cpp325 static void addTrack(const AMediaFormat* format, in addTrack() function
367 addTrack(trackFormat, mime, crypto, window, codec); in addTracks()