Home
last modified time | relevance | path

Searched refs:inputSize (Results 1 – 19 of 19) sorted by relevance

/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/stress/
DCamera2ReprocessCaptureTest.java270 for (Size inputSize : supportedInputSizes) { in testReprocessingAllCombinations()
282 testReprocess(cameraId, inputSize, inputFormat, in testReprocessingAllCombinations()
287 testReprocessBurst(cameraId, inputSize, inputFormat, in testReprocessingAllCombinations()
292 testReprocessMixedBurst(cameraId, inputSize, inputFormat, in testReprocessingAllCombinations()
308 private void testReprocessMixedBurst(String cameraId, Size inputSize, int inputFormat, in testReprocessMixedBurst() argument
313 inputSize + " inputFormat: " + inputFormat + " reprocessOutputSize: " + in testReprocessMixedBurst()
331 setupImageReaders(inputSize, inputFormat, reprocessOutputSize, reprocessOutputFormat, in testReprocessMixedBurst()
360 cameraId, inputSize.getWidth(), inputSize.getHeight(), inputFormat, in testReprocessMixedBurst()
380 private void testReprocessBurst(String cameraId, Size inputSize, int inputFormat, in testReprocessBurst() argument
385 inputSize + " inputFormat: " + inputFormat + " reprocessOutputSize: " + in testReprocessBurst()
[all …]
/frameworks/base/apct-tests/perftests/core/src/android/libcore/regression/
DCipherPerfTest.java73 for (int inputSize : inputSizes) { in getCases()
76 mode, padding, keySize, inputSize, implementation in getCases()
180 Mode mode, Padding padding, int keySize, int inputSize, Implementation implementation) in timeEncrypt() argument
185 mCipherEncrypt.doFinal(DATA, 0, inputSize, mOutput); in timeEncrypt()
192 Mode mode, Padding padding, int keySize, int inputSize, Implementation implementation) in timeDecrypt() argument
197 mCipherDecrypt.doFinal(DATA, 0, inputSize, mOutput); in timeDecrypt()
/frameworks/base/core/java/com/android/internal/util/
DHeavyHitterSketch.java56 void setConfig(int inputSize, int capacity); in setConfig() argument
153 public void setConfig(final int inputSize, final int capacity) { in setConfig() argument
154 if (inputSize < capacity || inputSize <= 1) { in setConfig()
159 mTotalSize = inputSize; in setConfig()
160 mPassSize = inputSize >> 1; in setConfig()
/frameworks/base/core/java/com/android/internal/os/
DBinderCallHeavyHitterWatcher.java273 int inputSize = batchSize; in setConfig() local
275 inputSize = (int) (batchSize * (1 - validationRatio)); in setConfig()
286 resetInternalLocked(listener, sketch, inputSize, batchSize, threshold, capacity); in setConfig()
292 @Nullable final HeavyHitterSketch<Integer> sketch, final int inputSize, in resetInternalLocked() argument
300 mInputSize = inputSize; in resetInternalLocked()
/frameworks/av/media/libaaudio/tests/
Dtest_flowgraph.cpp532 const int inputSize = ratio.getNumerator(); in checkSampleRateConversionVariedSizes() local
534 float input[inputSize]; in checkSampleRateConversionVariedSizes()
537 for (int i = 0; i < inputSize; i++) { in checkSampleRateConversionVariedSizes()
538 input[i] = i * 1.0f / inputSize; in checkSampleRateConversionVariedSizes()
546 while (inputUsed < inputSize) { in checkSampleRateConversionVariedSizes()
552 curInputSize = std::min(curInputSize + 5, inputSize - inputUsed); in checkSampleRateConversionVariedSizes()
607 const int inputSize = ratio.getNumerator(); in checkSampleRateConversionPullLater() local
609 float input[inputSize]; in checkSampleRateConversionPullLater()
612 for (int i = 0; i < inputSize; i++) { in checkSampleRateConversionPullLater()
613 input[i] = i * 1.0f / inputSize; in checkSampleRateConversionPullLater()
[all …]
/frameworks/base/keystore/java/android/security/keystore2/
DAndroidKeyStoreCipherSpiBase.java498 int inputSize = input.remaining(); in engineUpdate() local
503 input.array(), input.arrayOffset() + input.position(), inputSize); in engineUpdate()
504 input.position(input.position() + inputSize); in engineUpdate()
506 byte[] inputArray = new byte[inputSize]; in engineUpdate()
508 outputArray = engineUpdate(inputArray, 0, inputSize); in engineUpdate()
677 int inputSize = input.remaining(); in engineDoFinal() local
682 input.array(), input.arrayOffset() + input.position(), inputSize); in engineDoFinal()
683 input.position(input.position() + inputSize); in engineDoFinal()
685 byte[] inputArray = new byte[inputSize]; in engineDoFinal()
687 outputArray = engineDoFinal(inputArray, 0, inputSize); in engineDoFinal()
/frameworks/av/media/codec2/hal/common/
DMultiAccessUnitHelper.cpp647 uint32_t inputSize = blocks.front().size(); in processWorklets() local
652 inputSize -= (inputSize % frameSize); in processWorklets()
654 while (inputOffset < inputSize) { in processWorklets()
663 if (inputSize > frame.mLargeFrameTuning.maxSize) { in processWorklets()
667 << " access unit size " << inputSize; in processWorklets()
674 frame.mLargeFrameTuning.maxSize = inputSize; in processWorklets()
676 && (inputSize > frame.mWview->size())) { in processWorklets()
703 toCopy = inputSize; in processWorklets()
705 toCopy = c2_min(frame.mWview->size(), (inputSize - inputOffset)); in processWorklets()
/frameworks/base/libs/androidfw/
DZipUtils.cpp84 BufferReader(incfs::map_ptr<void> input, size_t inputSize) : Reader(), in BufferReader() argument
86 mInputSize(inputSize) { in BufferReader()
/frameworks/av/media/tests/benchmark/src/native/decoder/
DC2Decoder.cpp51 C2StreamPictureSizeInfo::input inputSize(0u, width, height); in createCodec2Component() local
52 configParam.push_back(&inputSize); in createCodec2Component()
/frameworks/av/media/codec2/hal/hidl/1.0/utils/
DInputSurfaceConnection.cpp127 C2StreamPictureSizeInfo::input inputSize; in init() local
129 c2_status_t c2Status = queryFromSink({ &inputSize, &usage }, in init()
155 inputSize.width, inputSize.height, in init()
/frameworks/rs/tests/java_api/RSUnitTests/src/com/android/rs/unittest/
DUT_reduce.java401 final int inputSize = (1 << 18); in patternInterleavedReduce() local
403 final int[] input1 = createInputArrayInt(123, Integer.MAX_VALUE / inputSize); in patternInterleavedReduce()
404 final int[] input2 = createInputArrayInt(456, Integer.MAX_VALUE / inputSize); in patternInterleavedReduce()
412 pass &= result("patternInterleavedReduce (1)", new timing(inputSize), in patternInterleavedReduce()
414 pass &= result("patternInterleavedReduce (2)", new timing(inputSize), in patternInterleavedReduce()
443 final int inputSize = 1000; in patternDuplicateAnonymousResult() local
444 final int[] input = createInputArrayInt(149, Integer.MAX_VALUE / inputSize); in patternDuplicateAnonymousResult()
448 pass &= result("patternDuplicateAnonymousResult (Dec)", new timing(inputSize), in patternDuplicateAnonymousResult()
453 pass &= result("patternDuplicateAnonymousResult (Inc)", new timing(inputSize), in patternDuplicateAnonymousResult()
636 private boolean findMinMat(RenderScript RS, int seed, int[] inputSize, in findMinMat() argument
[all …]
/frameworks/rs/tests/java_api/RSUnitTests/supportlibsrc_gen/com/android/rs/unittest/
DUT_reduce.java403 final int inputSize = (1 << 18); in patternInterleavedReduce() local
405 final int[] input1 = createInputArrayInt(123, Integer.MAX_VALUE / inputSize); in patternInterleavedReduce()
406 final int[] input2 = createInputArrayInt(456, Integer.MAX_VALUE / inputSize); in patternInterleavedReduce()
414 pass &= result("patternInterleavedReduce (1)", new timing(inputSize), in patternInterleavedReduce()
416 pass &= result("patternInterleavedReduce (2)", new timing(inputSize), in patternInterleavedReduce()
445 final int inputSize = 1000; in patternDuplicateAnonymousResult() local
446 final int[] input = createInputArrayInt(149, Integer.MAX_VALUE / inputSize); in patternDuplicateAnonymousResult()
450 pass &= result("patternDuplicateAnonymousResult (Dec)", new timing(inputSize), in patternDuplicateAnonymousResult()
455 pass &= result("patternDuplicateAnonymousResult (Inc)", new timing(inputSize), in patternDuplicateAnonymousResult()
638 private boolean findMinMat(RenderScript RS, int seed, int[] inputSize, in findMinMat() argument
[all …]
/frameworks/av/media/module/codecs/m4v_h263/dec/test/
DMpeg4H263DecoderTest.cpp249 int32_t inputSize = (Info)[frameIndex].bytesCount; in processMpeg4H263Decoder() local
254 status = PVDecodeVopHeader(mDecHandle, &bitstreamTmp, &timestamp, &inputSize, &headerInfo, in processMpeg4H263Decoder()
273 status = PVDecodeVopBody(mDecHandle, &inputSize); in processMpeg4H263Decoder()
/frameworks/av/media/module/codecs/amrwb/enc/inc/
Dcod_main.h88 int inputSize; member
/frameworks/av/media/tests/benchmark/src/native/encoder/
DC2Encoder.cpp63 C2StreamPictureSizeInfo::input inputSize(0u, mWidth, mHeight); in createCodec2Component() local
64 configParam.push_back(&inputSize); in createCodec2Component()
/frameworks/av/media/codec2/fuzzer/
DC2Fuzzer.cpp197 C2StreamPictureSizeInfo::input inputSize(0u, kWidthOfVideo, kHeightOfVideo); in initDecoder() local
201 configParams.push_back(&inputSize); in initDecoder()
/frameworks/base/core/java/android/hardware/camera2/params/
DMandatoryStreamCombination.java1749 ArrayList<Size> inputSize = new ArrayList<Size>(); in createUHSensorMandatoryStreamCombination() local
1751 inputSize.add( in createUHSensorMandatoryStreamCombination()
1756 inputSize.add( in createUHSensorMandatoryStreamCombination()
1761 inputSize.add( in createUHSensorMandatoryStreamCombination()
1766 streamsInfo.add(new MandatoryStreamInformation(inputSize, format, in createUHSensorMandatoryStreamCombination()
1769 streamsInfo.add(new MandatoryStreamInformation(inputSize, format, in createUHSensorMandatoryStreamCombination()
2027 ArrayList<Size> inputSize = new ArrayList<Size>(); in generateAvailableCombinations() local
2030 inputSize.add(maxPrivateInputSize); in generateAvailableCombinations()
2034 inputSize.add(maxYUVInputSize); in generateAvailableCombinations()
2037 streamsInfo.add(new MandatoryStreamInformation(inputSize, format, in generateAvailableCombinations()
[all …]
/frameworks/base/core/tests/coretests/src/com/android/internal/os/
DBinderHeavyHitterTest.java109 private void onResult(final List<HeavyHitterContainer> results, final Integer inputSize, in onResult() argument
/frameworks/av/media/module/codecs/amrwb/enc/src/
DvoAMRWBEnc.c1648 st->inputSize = 0; in voAMRWB_Init()