Home
last modified time | relevance | path

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

/cts/tests/tests/media/src/android/media/cts/
DNativeDecoderTest.java145 int numtracks = ex.getTrackCount(); in getSampleSizes() local
146 assertTrue("no tracks", numtracks > 0); in getSampleSizes()
147 foo.add(numtracks); in getSampleSizes()
148 for (int i = 0; i < numtracks; i++) { in getSampleSizes()
202 int numtracks = ex.getTrackCount(); in testExtractorFileDurationNative() local
204 for (int i = 0; i < numtracks; i++) { in testExtractorFileDurationNative()
296 int numtracks = ex.getTrackCount(); in getDecodedData() local
297 assertTrue("no tracks", numtracks > 0); in getDecodedData()
298 ArrayList<Integer>[] trackdata = new ArrayList[numtracks]; in getDecodedData()
299 MediaCodec[] codec = new MediaCodec[numtracks]; in getDecodedData()
[all …]
/cts/tests/tests/media/libmediandkjni/
Dnative-media-jni.cpp248 int numtracks = AMediaExtractor_getTrackCount(ex); in testExtractor() local
249 sizes.add(numtracks); in testExtractor()
250 for (int i = 0; i < numtracks; i++) { in testExtractor()
455 int numtracks = AMediaExtractor_getTrackCount(ex); in Java_android_media_cts_NativeDecoderTest_getDecodedDataNative() local
457 AMediaCodec **codec = new AMediaCodec*[numtracks]; in Java_android_media_cts_NativeDecoderTest_getDecodedDataNative()
458 AMediaFormat **format = new AMediaFormat*[numtracks]; in Java_android_media_cts_NativeDecoderTest_getDecodedDataNative()
459 memset(format, 0, sizeof(AMediaFormat*) * numtracks); in Java_android_media_cts_NativeDecoderTest_getDecodedDataNative()
460 bool *sawInputEOS = new bool[numtracks]; in Java_android_media_cts_NativeDecoderTest_getDecodedDataNative()
461 bool *sawOutputEOS = new bool[numtracks]; in Java_android_media_cts_NativeDecoderTest_getDecodedDataNative()
462 simplevector<int> *sizes = new simplevector<int>[numtracks]; in Java_android_media_cts_NativeDecoderTest_getDecodedDataNative()
[all …]
Dnative_media_decoder_source.cpp95 int numtracks = AMediaExtractor_getTrackCount(mEx.get()); in setDataSourceFd() local
96 for (int i = 0; i < numtracks; i++) { in setDataSourceFd()
/cts/tests/tests/security/src/android/security/cts/
DStagefrightTest.java1179 int numtracks = ex.getTrackCount(); in doStagefrightTestMediaCodec() local
1181 Log.i(TAG, "start mediacodec test for: " + rname + ", which has " + numtracks + " tracks"); in doStagefrightTestMediaCodec()
1182 for (int t = 0; t < numtracks; t++) { in doStagefrightTestMediaCodec()