Home
last modified time | relevance | path

Searched refs:numtracks (Results 1 – 4 of 4) sorted by relevance

/cts/tests/tests/media/decoder/src/android/media/decoder/cts/
DNativeDecoderTest.java198 int numtracks = ex.getTrackCount(); in getDecodedData() local
199 assertTrue("no tracks", numtracks > 0); in getDecodedData()
200 ArrayList<Integer>[] trackdata = new ArrayList[numtracks]; in getDecodedData()
201 MediaCodec[] codec = new MediaCodec[numtracks]; in getDecodedData()
202 MediaFormat[] format = new MediaFormat[numtracks]; in getDecodedData()
203 ByteBuffer[][] inbuffers = new ByteBuffer[numtracks][]; in getDecodedData()
204 ByteBuffer[][] outbuffers = new ByteBuffer[numtracks][]; in getDecodedData()
205 for (int i = 0; i < numtracks; i++) { in getDecodedData()
221 boolean[] sawInputEOS = new boolean[numtracks]; in getDecodedData()
222 boolean[] sawOutputEOS = new boolean[numtracks]; in getDecodedData()
[all …]
/cts/tests/tests/media/muxer/jni/
Dnative_muxer_jni.cpp40 int numtracks = AMediaExtractor_getTrackCount(ex); in Java_android_media_muxer_cts_NativeMuxerTest_testMuxerNative() local
41 ALOGI("input tracks: %d", numtracks); in Java_android_media_muxer_cts_NativeMuxerTest_testMuxerNative()
43 for (int i = 0; i < numtracks; i++) { in Java_android_media_muxer_cts_NativeMuxerTest_testMuxerNative()
89 for (int i = 0; i < numtracks; i++) { in Java_android_media_muxer_cts_NativeMuxerTest_testMuxerNative()
/cts/tests/tests/media/decoder/jni/
Dnative-media-jni.cpp302 int numtracks = AMediaExtractor_getTrackCount(ex); in Java_android_media_decoder_cts_NativeDecoderTest_getDecodedDataNative() local
304 std::unique_ptr<AMediaCodec*[]> codec(new AMediaCodec*[numtracks]()); in Java_android_media_decoder_cts_NativeDecoderTest_getDecodedDataNative()
305 std::unique_ptr<AMediaFormat*[]> format(new AMediaFormat*[numtracks]()); in Java_android_media_decoder_cts_NativeDecoderTest_getDecodedDataNative()
306 std::unique_ptr<bool[]> sawInputEOS(new bool[numtracks]); in Java_android_media_decoder_cts_NativeDecoderTest_getDecodedDataNative()
307 std::unique_ptr<bool[]> sawOutputEOS(new bool[numtracks]); in Java_android_media_decoder_cts_NativeDecoderTest_getDecodedDataNative()
308 std::unique_ptr<simplevector<int>[]> sizes(new simplevector<int>[numtracks]); in Java_android_media_decoder_cts_NativeDecoderTest_getDecodedDataNative()
309 std::unique_ptr<CallbackData[]> callbackData(new CallbackData[numtracks]); in Java_android_media_decoder_cts_NativeDecoderTest_getDecodedDataNative()
311 ALOGV("input has %d tracks", numtracks); in Java_android_media_decoder_cts_NativeDecoderTest_getDecodedDataNative()
312 for (int i = 0; i < numtracks; i++) { in Java_android_media_decoder_cts_NativeDecoderTest_getDecodedDataNative()
343 while(eosCount < numtracks) { in Java_android_media_decoder_cts_NativeDecoderTest_getDecodedDataNative()
[all …]
/cts/tests/tests/security/src/android/security/cts/
DStagefrightTest.java2396 int numtracks = ex.getTrackCount(); in doStagefrightTestMediaCodec() local
2398 Log.i(TAG, "start mediacodec test for: " + rname + ", which has " + numtracks + " tracks"); in doStagefrightTestMediaCodec()
2399 for (int t = 0; t < numtracks; t++) { in doStagefrightTestMediaCodec()
3321 int numtracks = ex.getTrackCount(); in doStagefrightTestExtractorSeek() local
3323 … Log.i(TAG, "start mediaextractor test for: " + rname + ", which has " + numtracks + " tracks"); in doStagefrightTestExtractorSeek()
3324 for (int t = 0; t < numtracks; t++) { in doStagefrightTestExtractorSeek()