Home
last modified time | relevance | path

Searched refs:asyncMode (Results 1 – 16 of 16) sorted by relevance

/frameworks/av/media/tests/benchmark/MediaBenchmarkTest/src/main/cpp/
DNativeDecoder.cpp32 jstring jCodecName, jboolean asyncMode) { in Java_com_android_media_benchmark_library_Native_Decode() argument
101 status = decoder->decode(inputBuffer, frameInfo, sCodecName, asyncMode); in Java_com_android_media_benchmark_library_Native_Decode()
112 decoder->dumpStatistics(sInputReference, sCodecName, (asyncMode ? "async" : "sync"), in Java_com_android_media_benchmark_library_Native_Decode()
DNativeEncoder.cpp55 bool asyncMode[2] = {true, false}; in Java_com_android_media_benchmark_library_Native_Encode() local
56 for (bool mode : asyncMode) { in Java_com_android_media_benchmark_library_Native_Encode()
/frameworks/av/media/tests/benchmark/tests/
DDecoderTest.cpp79 bool asyncMode = get<2>(params); in TEST_P() local
81 status = decoder->decode(inputBuffer, frameInfo, codecName, asyncMode); in TEST_P()
87 decoder->dumpStatistics(inputReference, codecName, (asyncMode ? "async" : "sync"), in TEST_P()
DEncoderTest.cpp135 bool asyncMode = get<2>(params); in TEST_P() local
136 status = encoder->encode(codecName, eleStream, eleSize, asyncMode, encParams, (char *)mime); in TEST_P()
143 (asyncMode ? "async" : "sync"), gEnv->getStatsFile()); in TEST_P()
/frameworks/av/media/tests/benchmark/src/native/decoder/
DDecoder.cpp153 string &codecName, bool asyncMode, FILE *outFp) { in decode() argument
168 if (asyncMode) { in decode()
182 if (!asyncMode) { in decode()
DDecoder.h74 string &codecName, bool asyncMode, FILE *outFp = nullptr);
/frameworks/av/media/tests/benchmark/MediaBenchmarkTest/src/androidTest/java/com/android/media/benchmark/tests/
DEncoderTest.java227 for (Boolean asyncMode : encodeMode) { in testEncoder()
267 mSampleRate, frameSize, asyncMode); in testEncoder()
285 encoder.dumpStatistics(inputReference, codecName, (asyncMode ? "async" : "sync"), in testEncoder()
288 " for aSyncMode = " + asyncMode); in testEncoder()
DDecoderTest.java68 public DecoderTest(String inputFile, boolean asyncMode) { in DecoderTest() argument
70 this.mAsyncMode = asyncMode; in DecoderTest()
/frameworks/av/media/tests/benchmark/MediaBenchmarkTest/src/main/java/com/android/media/benchmark/library/
DDecoder.java102 @NonNull ArrayList<BufferInfo> inputBufferInfo, final boolean asyncMode, in decode() argument
117 if (asyncMode) { in decode()
167 if (asyncMode) { in decode()
DEncoder.java117 int sampleRate, int frameSize, boolean asyncMode) throws IOException { in encode() argument
150 if (asyncMode) { in encode()
195 if (asyncMode) { in encode()
DNative.java28 String codecName, boolean asyncMode); in Decode() argument
/frameworks/av/media/tests/benchmark/src/native/encoder/
DEncoder.cpp191 int32_t Encoder::encode(string &codecName, ifstream &eleStream, size_t eleSize, bool asyncMode, in encode() argument
244 if (asyncMode) { in encode()
256 if (!asyncMode) { in encode()
DEncoder.h80 int32_t encode(std::string &codecName, std::ifstream &eleStream, size_t eleSize, bool asyncMode,
/frameworks/native/libs/gui/include/gui/
DBufferQueueCore.h116 int getMaxBufferCountLocked(bool asyncMode,
/frameworks/native/libs/gui/
DBufferQueueCore.cpp191 int BufferQueueCore::getMaxBufferCountLocked(bool asyncMode, in getMaxBufferCountLocked() argument
194 ((asyncMode || dequeueBufferCannotBlock) ? 1 : 0); in getMaxBufferCountLocked()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/helpers/
DCameraTestUtils.java311 public SimpleImageReaderListener(boolean asyncMode, int maxImages) { in SimpleImageReaderListener() argument
312 mAsyncMode = asyncMode; in SimpleImageReaderListener()