Home
last modified time | relevance | path

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

/cts/tests/tests/media/libmediandkjni/
Dnative-media-jni.cpp82 int numtracks = AMediaExtractor_getTrackCount(ex); in testExtractor() local
83 sizes.add(numtracks); in testExtractor()
84 for (int i = 0; i < numtracks; i++) { in testExtractor()
231 int numtracks = AMediaExtractor_getTrackCount(ex); in Java_android_media_cts_NativeDecoderTest_getDecodedDataNative() local
233 AMediaCodec **codec = new AMediaCodec*[numtracks]; in Java_android_media_cts_NativeDecoderTest_getDecodedDataNative()
234 AMediaFormat **format = new AMediaFormat*[numtracks]; in Java_android_media_cts_NativeDecoderTest_getDecodedDataNative()
235 bool *sawInputEOS = new bool[numtracks]; in Java_android_media_cts_NativeDecoderTest_getDecodedDataNative()
236 bool *sawOutputEOS = new bool[numtracks]; in Java_android_media_cts_NativeDecoderTest_getDecodedDataNative()
237 simplevector<int> *sizes = new simplevector<int>[numtracks]; in Java_android_media_cts_NativeDecoderTest_getDecodedDataNative()
239 ALOGV("input has %d tracks", numtracks); in Java_android_media_cts_NativeDecoderTest_getDecodedDataNative()
[all …]
/cts/tests/tests/media/src/android/media/cts/
DNativeDecoderTest.java142 int numtracks = ex.getTrackCount(); in getSampleSizes() local
143 assertTrue("no tracks", numtracks > 0); in getSampleSizes()
144 foo.add(numtracks); in getSampleSizes()
145 for (int i = 0; i < numtracks; i++) { in getSampleSizes()
232 int numtracks = ex.getTrackCount(); in getDecodedData() local
233 assertTrue("no tracks", numtracks > 0); in getDecodedData()
234 ArrayList<Integer>[] trackdata = new ArrayList[numtracks]; in getDecodedData()
235 MediaCodec[] codec = new MediaCodec[numtracks]; in getDecodedData()
236 MediaFormat[] format = new MediaFormat[numtracks]; in getDecodedData()
237 ByteBuffer[][] inbuffers = new ByteBuffer[numtracks][]; in getDecodedData()
[all …]
/cts/tests/tests/security/src/android/security/cts/
DStagefrightTest.java350 int numtracks = ex.getTrackCount(); in doStagefrightTestMediaCodec() local
352 Log.i(TAG, "start mediacodec test for: " + rname + ", which has " + numtracks + " tracks"); in doStagefrightTestMediaCodec()
353 for (int t = 0; t < numtracks; t++) { in doStagefrightTestMediaCodec()