Home
last modified time | relevance | path

Searched refs:outputSize (Results 1 – 23 of 23) sorted by relevance

/frameworks/rs/tests/java_api/CannyLive/src/com/android/example/cannylive/
DCameraView.java143 Size outputSize = mCameraOps.getBestSize(); in resume() local
144 mProcessor = new ViewfinderProcessor(mRS, outputSize); in resume()
146 setAspectRatio((float) outputSize.getWidth() / outputSize.getHeight()); in resume()
147 getHolder().setFixedSize(outputSize.getWidth(), outputSize.getHeight()); in resume()
DCameraOps.java320 Size outputSize = null; in getBestSize() local
/frameworks/rs/tests/java_api/RsCameraDemo/src/com/android/example/rscamera/
DCameraView.java144 Size outputSize = mCameraOps.getBestSize(); in resume() local
145 mProcessor = new ViewfinderProcessor(mRS, outputSize); in resume()
147 setAspectRatio((float) outputSize.getWidth() / outputSize.getHeight()); in resume()
148 getHolder().setFixedSize(outputSize.getWidth(), outputSize.getHeight()); in resume()
DCameraOps.java296 Size outputSize = outputSizes[0]; in getBestSize() local
297 float outputAspect = (float) outputSize.getWidth() / outputSize.getHeight(); in getBestSize()
306 candidateSize.getWidth() > outputSize.getWidth()) { in getBestSize()
307 outputSize = candidateSize; in getBestSize()
311 return outputSize; in getBestSize()
/frameworks/av/media/libaaudio/tests/
Dtest_flowgraph.cpp533 const int outputSize = ratio.getDenominator(); in checkSampleRateConversionVariedSizes() local
535 float output[outputSize]; in checkSampleRateConversionVariedSizes()
550 outputSize - outputRead); in checkSampleRateConversionVariedSizes()
555 ASSERT_EQ(outputSize, outputRead); in checkSampleRateConversionVariedSizes()
557 for (int i = 1; i < outputSize; i++) { in checkSampleRateConversionVariedSizes()
608 const int outputSize = ratio.getDenominator(); in checkSampleRateConversionPullLater() local
610 float output[outputSize]; in checkSampleRateConversionPullLater()
620 outputSize / 2); in checkSampleRateConversionPullLater()
622 ASSERT_EQ(outputSize / 2, outputRead); in checkSampleRateConversionPullLater()
627 outputSize - outputRead); in checkSampleRateConversionPullLater()
[all …]
/frameworks/av/media/module/foundation/
DOpusHeader.cpp195 uint8_t* output, size_t outputSize, uint64_t codecDelay, in WriteOpusHeaders() argument
197 if (outputSize < AOPUS_UNIFIED_CSD_MINSIZE) { in WriteOpusHeaders()
223 outputSize - headerLen); in WriteOpusHeaders()
246 if (headerLen > (outputSize - AOPUS_MARKER_SIZE - AOPUS_LENGTH_SIZE - length)) { in WriteOpusHeaders()
259 if (headerLen > (outputSize - AOPUS_MARKER_SIZE - AOPUS_LENGTH_SIZE - length)) { in WriteOpusHeaders()
/frameworks/av/media/codec2/components/mpeg4_h263/
DC2SoftMpeg4Enc.cpp511 int32_t outputSize = mOutBufferSize; in process() local
512 if (!PVGetVolHeader(mHandle, outPtr, &outputSize, 0)) { in process()
518 ALOGV("Bytes Generated in header %d\n", outputSize); in process()
522 if (outputSize) { in process()
524 C2StreamInitDataInfo::output::AllocUnique(outputSize, 0u); in process()
531 memcpy(csd->m.value, outPtr, outputSize); in process()
674 int32_t outputSize = mOutBufferSize; in process() local
675 if (!PVEncodeVideoFrame(mHandle, &vin, &vout, &modTimeMs, outPtr, &outputSize, &nLayer) || in process()
682 ALOGV("outputSize filled : %d", outputSize); in process()
687 if (outputSize) { in process()
[all …]
/frameworks/base/keystore/java/android/security/keystore2/
DAndroidKeyStoreCipherSpiBase.java511 int outputSize = (outputArray != null) ? outputArray.length : 0; in engineUpdate() local
512 if (outputSize > 0) { in engineUpdate()
518 "Output buffer too small. Produced: " + outputSize + ", available: " in engineUpdate()
522 return outputSize; in engineUpdate()
690 int outputSize = (outputArray != null) ? outputArray.length : 0; in engineDoFinal() local
691 if (outputSize > 0) { in engineDoFinal()
697 "Output buffer too small. Produced: " + outputSize + ", available: " in engineDoFinal()
701 return outputSize; in engineDoFinal()
/frameworks/base/libs/androidfw/
DZipUtils.cpp110 BufferWriter(void* output, size_t outputSize) : Writer(), in BufferWriter() argument
111 mOutput(reinterpret_cast<uint8_t*>(output)), mOutputSize(outputSize), mBytesWritten(0) { in BufferWriter()
/frameworks/ex/camera2/extensions/service_based_sample/oem_library/src/java/androidx/camera/extensions/impl/service/
DIAdvancedExtenderImpl.aidl29 in String cameraId, in Size outputSize, int format); in getEstimatedCaptureLatencyRange() argument
DIImageCaptureExtenderImpl.aidl39 @nullable LatencyRange getEstimatedCaptureLatencyRange(in Size outputSize); in getEstimatedCaptureLatencyRange() argument
/frameworks/av/media/libaudioprocessing/tests/
Dtest-mixer.cpp217 const size_t outputSize = outputFrames * outputFrameSize; in main() local
221 (void) posix_memalign(&outputAddr, 32, outputSize); in main()
222 memset(outputAddr, 0, outputSize); in main()
Dresampler_tests.cpp109 size_t outputSize = outputFrameSize * outputFrames; in testBufferIncrement() local
110 outputSize &= ~7; in testBufferIncrement()
195 size_t outputSize = outputFrameSize * outputFrames; in testStopbandDownconversion() local
196 outputSize &= ~7; in testStopbandDownconversion()
/frameworks/base/core/java/android/hardware/camera2/extension/
DIAdvancedExtenderImpl.aidl31 LatencyRange getEstimatedCaptureLatencyRange(in String cameraId, in Size outputSize, in getEstimatedCaptureLatencyRange() argument
DIImageCaptureExtenderImpl.aidl46 LatencyRange getEstimatedCaptureLatencyRange(in Size outputSize); in getEstimatedCaptureLatencyRange() argument
DAdvancedExtender.java312 android.hardware.camera2.extension.Size outputSize, int format) { in getEstimatedCaptureLatencyRange() argument
/frameworks/av/media/module/foundation/include/media/stagefright/foundation/
DOpusHeader.h77 uint8_t* output, size_t outputSize, uint64_t codecDelay,
/frameworks/av/media/module/codecs/amrwb/enc/inc/
Dcod_main.h92 int outputSize; member
/frameworks/ex/camera2/extensions/service_based_sample/extensions_service/src/com/android/oemextensions/
DImageCaptureExtenderImplStub.java215 public LatencyRange getEstimatedCaptureLatencyRange(Size outputSize) { in getEstimatedCaptureLatencyRange() argument
DAdvancedExtenderImplStub.java90 @Nullable androidx.camera.extensions.impl.service.Size outputSize, in getEstimatedCaptureLatencyRange() argument
/frameworks/base/services/core/java/com/android/server/os/
DNativeTombstoneManager.java307 final int outputSize = output.size(); in collectTombstones() local
308 for (int j = 0; j < outputSize; ++j) { in collectTombstones()
/frameworks/base/packages/services/CameraExtensionsProxy/src/com/android/cameraextensions/
DCameraExtensionsProxyService.java1116 android.hardware.camera2.extension.Size outputSize, int format) {
1117 Size sz = new Size(outputSize.width, outputSize.height);
2147 android.hardware.camera2.extension.Size outputSize) {
2149 Size sz = new Size(outputSize.width, outputSize.height);
/frameworks/av/media/module/codecs/amrwb/enc/src/
DvoAMRWBEnc.c1656 st->outputSize = 0; in voAMRWB_Init()
1765 gData->outputSize = AMR_Enc_Encode(gData); /* encoder main function */ in voAMRWB_GetOutputData()
1767 pOutput->Length = gData->outputSize; /* get the output buffer length */ in voAMRWB_GetOutputData()