Home
last modified time | relevance | path

Searched refs:inputSize (Results 1 – 16 of 16) 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/core/java/com/android/internal/util/
DHeavyHitterSketch.java55 void setConfig(int inputSize, int capacity); in setConfig() argument
152 public void setConfig(final int inputSize, final int capacity) { in setConfig() argument
153 if (inputSize < capacity || inputSize <= 1) { in setConfig()
158 mTotalSize = inputSize; in setConfig()
159 mPassSize = inputSize >> 1; in setConfig()
/frameworks/base/core/java/com/android/internal/os/
DBinderCallHeavyHitterWatcher.java272 int inputSize = batchSize; in setConfig() local
274 inputSize = (int) (batchSize * (1 - validationRatio)); in setConfig()
285 resetInternalLocked(listener, sketch, inputSize, batchSize, threshold, capacity); in setConfig()
291 @Nullable final HeavyHitterSketch<Integer> sketch, final int inputSize, in resetInternalLocked() argument
299 mInputSize = inputSize; in resetInternalLocked()
/frameworks/base/keystore/java/android/security/keystore2/
DAndroidKeyStoreCipherSpiBase.java479 int inputSize = input.remaining(); in engineUpdate() local
484 input.array(), input.arrayOffset() + input.position(), inputSize); in engineUpdate()
485 input.position(input.position() + inputSize); in engineUpdate()
487 byte[] inputArray = new byte[inputSize]; in engineUpdate()
489 outputArray = engineUpdate(inputArray, 0, inputSize); in engineUpdate()
656 int inputSize = input.remaining(); in engineDoFinal() local
661 input.array(), input.arrayOffset() + input.position(), inputSize); in engineDoFinal()
662 input.position(input.position() + inputSize); in engineDoFinal()
664 byte[] inputArray = new byte[inputSize]; in engineDoFinal()
666 outputArray = engineDoFinal(inputArray, 0, inputSize); in engineDoFinal()
/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/codec2/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/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/base/core/java/android/hardware/camera2/params/
DMandatoryStreamCombination.java1113 ArrayList<Size> inputSize = new ArrayList<Size>(); in createUHSensorMandatoryStreamCombination() local
1115 inputSize.add( in createUHSensorMandatoryStreamCombination()
1120 inputSize.add( in createUHSensorMandatoryStreamCombination()
1125 inputSize.add( in createUHSensorMandatoryStreamCombination()
1130 streamsInfo.add(new MandatoryStreamInformation(inputSize, format, in createUHSensorMandatoryStreamCombination()
1133 streamsInfo.add(new MandatoryStreamInformation(inputSize, format, in createUHSensorMandatoryStreamCombination()
1381 ArrayList<Size> inputSize = new ArrayList<Size>(); in generateAvailableCombinations() local
1384 inputSize.add(maxPrivateInputSize); in generateAvailableCombinations()
1388 inputSize.add(maxYUVInputSize); in generateAvailableCombinations()
1391 streamsInfo.add(new MandatoryStreamInformation(inputSize, format, in generateAvailableCombinations()
[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/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/av/media/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/codecs/amrwb/enc/inc/
Dcod_main.h88 int inputSize; member
/frameworks/av/media/tests/benchmark/src/native/encoder/
DC2Encoder.cpp61 C2StreamPictureSizeInfo::input inputSize(0u, mWidth, mHeight); in createCodec2Component() local
62 configParam.push_back(&inputSize); in createCodec2Component()
/frameworks/av/media/codec2/fuzzer/
DC2Fuzzer.cpp198 C2StreamPictureSizeInfo::input inputSize(0u, kWidthOfVideo, kHeightOfVideo); in initDecoder() local
199 configParams.push_back(&inputSize); in initDecoder()
/frameworks/base/core/tests/coretests/src/com/android/internal/os/
DBinderHeavyHitterTest.java100 private void onResult(final List<HeavyHitterContainer> results, final Integer inputSize, in onResult() argument
/frameworks/av/media/codecs/amrwb/enc/src/
DvoAMRWBEnc.c1648 st->inputSize = 0; in voAMRWB_Init()