Home
last modified time | relevance | path

Searched refs:outSize (Results 1 – 25 of 30) sorted by relevance

12

/frameworks/av/media/codec2/components/gsm/
DC2SoftGsmDec.cpp145 size_t outSize = 0; in decodeGSM() local
155 outSize += FRGSM_OUT_FRM_SZ; in decodeGSM()
161 outSize += FRGSM_OUT_FRM_SZ; in decodeGSM()
165 return outSize * sizeof(int16_t); in decodeGSM()
226 size_t outSize = decodeGSM(mGsm, output, outCapacity, input, inSize); in process() local
227 if (!outSize) { in process()
233 ALOGV("out buffer attr. size %zu", outSize); in process()
236 work->worklets.front()->output.buffers.push_back(createLinearBuffer(block, 0, outSize)); in process()
/frameworks/base/graphics/java/android/graphics/pdf/
DPdfEditor.java159 public void getPageSize(int pageIndex, @NonNull Point outSize) { in getPageSize() argument
161 throwIfOutSizeNull(outSize); in getPageSize()
165 nativeGetPageSize(mNativeDocument, pageIndex, outSize); in getPageSize()
321 private void throwIfOutSizeNull(Point outSize) { in throwIfOutSizeNull() argument
322 if (outSize == null) { in throwIfOutSizeNull()
358 private static native void nativeGetPageSize(long documentPtr, int pageIndex, Point outSize); in nativeGetPageSize() argument
DPdfRenderer.java497 Point outSize); in nativeOpenPageAndGetSize() argument
/frameworks/minikin/libs/minikin/
DLocaleListCache.cpp34 static size_t toLanguageTag(char* output, size_t outSize, const StringPiece& locale) { in toLanguageTag() argument
44 outLength = uloc_canonicalize(localeString.c_str(), output, outSize, &uErr); in toLanguageTag()
58 outLength = (size_t)snprintf(output, outSize, "und%s", buf.c_str()); in toLanguageTag()
73 outLength = uloc_toLanguageTag(likelyChars, output, outSize, FALSE, &uErr); in toLanguageTag()
/frameworks/av/media/codec2/components/mp3/
DC2SoftMp3Dec.cpp393 int outSize = 0; in process() local
408 mConfig->outputFrameSize = (calOutSize - outSize); in process()
409 mConfig->pOutputBuffer = reinterpret_cast<int16_t *> (wView.data() + outSize); in process()
460 outSize += mConfig->outputFrameSize * sizeof(int16_t); in process()
475 outSize + kPVMP3DecoderDelay * numChannels * sizeof(int16_t)) { in process()
476 if (!memset(reinterpret_cast<int16_t*>(wView.data() + outSize), 0, in process()
484 outSize += kPVMP3DecoderDelay * numChannels * sizeof(int16_t); in process()
489 mProcessedSamples += ((outSize - outOffset) / (numChannels * sizeof(int16_t))); in process()
490 ALOGV("out buffer attr. offset %d size %d timestamp %u", outOffset, outSize - outOffset, in process()
496 createLinearBuffer(block, outOffset, outSize - outOffset)); in process()
/frameworks/base/libs/hwui/jni/pdf/
DPdfRenderer.cpp41 jint pageIndex, jobject outSize) { in nativeOpenPageAndGetSize() argument
61 env->SetIntField(outSize, gPointClassInfo.x, width); in nativeOpenPageAndGetSize()
62 env->SetIntField(outSize, gPointClassInfo.y, height); in nativeOpenPageAndGetSize()
/frameworks/base/core/java/android/view/
DDisplay.java708 public void getSize(Point outSize) { in getSize() argument
712 outSize.x = mTempMetrics.widthPixels; in getSize()
713 outSize.y = mTempMetrics.heightPixels; in getSize()
725 public void getRectSize(Rect outSize) { in getRectSize() argument
729 outSize.set(0, 0, mTempMetrics.widthPixels, mTempMetrics.heightPixels); in getRectSize()
1164 public void getRealSize(Point outSize) { in getRealSize() argument
1167 outSize.x = mDisplayInfo.logicalWidth; in getRealSize()
1168 outSize.y = mDisplayInfo.logicalHeight; in getRealSize()
1170 getDisplayAdjustments().adjustSize(outSize, mDisplayInfo.rotation); in getRealSize()
/frameworks/av/media/libstagefright/flac/dec/test/
DFlacDecoderTest.cpp143 size_t outSize = mHasStreamInfo in processFlacDecoder() local
147 void *out_buf = malloc(outSize); in processFlacDecoder()
157 &outSize, outputFloat); in processFlacDecoder()
170 ostrm.write(reinterpret_cast<char *>(out_buf), outSize); in processFlacDecoder()
/frameworks/av/media/codec2/components/flac/
DC2SoftFlacDec.cpp275 size_t outSize = mHasStreamInfo ? in process() local
281 c2_status_t err = pool->fetchLinearBlock(outSize, usage, &block); in process()
295 input, inSize, wView.data(), &outSize, outputFloat); in process()
304 ALOGV("out buffer attr. size %zu", outSize); in process()
307 work->worklets.front()->output.buffers.push_back(createLinearBuffer(block, 0, outSize)); in process()
/frameworks/base/services/core/java/com/android/server/wm/
DWindowStateAnimator.java559 private void calculateSurfaceBounds(WindowState w, LayoutParams attrs, Rect outSize) { in calculateSurfaceBounds() argument
560 outSize.setEmpty(); in calculateSurfaceBounds()
563 outSize.right = w.mRequestedWidth; in calculateSurfaceBounds()
564 outSize.bottom = w.mRequestedHeight; in calculateSurfaceBounds()
571 outSize.right = displayInfo.logicalWidth; in calculateSurfaceBounds()
572 outSize.bottom = displayInfo.logicalHeight; in calculateSurfaceBounds()
574 w.getCompatFrameSize(outSize); in calculateSurfaceBounds()
581 if (outSize.width() < 1) { in calculateSurfaceBounds()
582 outSize.right = 1; in calculateSurfaceBounds()
584 if (outSize.height() < 1) { in calculateSurfaceBounds()
[all …]
/frameworks/native/libs/binder/fuzzer/
Dhwbinder.cpp101 size_t outSize = 0; in __anon7775d65a0602() local
102 const char16_t* str = p.readString16Inplace(&outSize); in __anon7775d65a0602()
103 FUZZ_LOG() << "readString16Inplace: " << hexString(str, sizeof(char16_t) * outSize); in __anon7775d65a0602()
/frameworks/base/libs/androidfw/include/androidfw/
DCursorWindow.h136 inline const void* getFieldSlotValueBlob(FieldSlot* fieldSlot, size_t* outSize) { in getFieldSlotValueBlob() argument
137 *outSize = fieldSlot->data.buffer.size; in getFieldSlotValueBlob()
DBackupHelpers.h140 const String8& rootPath, const String8& filePath, off_t* outSize,
DAssetManager.h213 uint32_t targetCrc, uint32_t overlayCrc, uint32_t** outData, size_t* outSize);
/frameworks/native/services/inputflinger/reader/mapper/
DTouchInputMapper.h279 inline void applySizeScaleAndBias(float* outSize) const { in applySizeScaleAndBias()
281 *outSize *= sizeScale; in applySizeScaleAndBias()
284 *outSize += sizeBias; in applySizeScaleAndBias()
286 if (*outSize < 0) { in applySizeScaleAndBias()
287 *outSize = 0; in applySizeScaleAndBias()
/frameworks/ml/nn/common/operations/
DResizeImageOps.cpp60 inline float calculateResizeScale(int32_t inSize, int32_t outSize, bool alignCorners) { in calculateResizeScale() argument
61 return (alignCorners && outSize > 1) ? (inSize - 1) / static_cast<float>(outSize - 1) in calculateResizeScale()
62 : inSize / static_cast<float>(outSize); in calculateResizeScale()
/frameworks/native/include/android/
Dnative_activity.h149 void* (*onSaveInstanceState)(ANativeActivity* activity, size_t* outSize);
/frameworks/av/media/codec2/components/opus/
DC2SoftOpusDec.cpp421 int outSize = numSamples * sizeof(int16_t) * mHeader.channels; in process() local
422 ALOGV("out buffer attr. offset %d size %d ", outOffset, outSize); in process()
426 … work->worklets.front()->output.buffers.push_back(createLinearBuffer(block, outOffset, outSize)); in process()
/frameworks/av/media/codec2/components/g711/
DC2SoftG711Dec.cpp160 int outSize = inSize * sizeof(int16_t); in process() local
180 c2_status_t err = pool->fetchLinearBlock(outSize, usage, &block); in process()
/frameworks/base/packages/WallpaperCropper/src/com/android/wallpapercropper/
DWallpaperCropActivity.java334 Point outSize = getDefaultWallpaperSize(getResources(), getDisplay()); in cropImageAndSetWallpaper() local
336 inSize.x, inSize.y, outSize.x, outSize.y, false); in cropImageAndSetWallpaper()
346 crop, rotation, outSize.x, outSize.y, true, false, onEndCrop); in cropImageAndSetWallpaper()
/frameworks/av/media/codec2/components/vorbis/
DC2SoftVorbisDec.cpp422 int outSize = numFrames * sizeof(int16_t) * mVi->channels; in process() local
426 work->worklets.front()->output.buffers.push_back(createLinearBuffer(block, 0, outSize)); in process()
/frameworks/base/core/java/android/hardware/camera2/legacy/
DRequestThreadManager.java398 Size outSize = outPair.second; in configureOutputs() local
411 callbackOutputSizes.add(outSize); in configureOutputs()
421 previewOutputSizes.add(outSize); in configureOutputs()
/frameworks/base/libs/androidfw/
DBackupHelpers.cpp482 const String8& rootpath, const String8& filepath, off_t* outSize, in write_tarfile() argument
493 *outSize = 0; in write_tarfile()
537 *outSize = 512 + (needExtended ? 1024 : 0) + 512*((s.st_size + 511)/512); in write_tarfile()
/frameworks/av/media/libeffects/lvm/wrapper/Reverb/
DEffectReverb.cpp353 size_t outSize = frameCount * sizeof(process_buffer_t) * FCC_2; in process() local
361 pContext->bufferSizeOut < outSize) { in process()
363 pContext->bufferSizeOut = outSize; in process()
/frameworks/base/tools/aapt/
DAaptAssets.cpp466 void* AaptFile::editData(size_t* outSize) in editData() argument
468 if (outSize) { in editData()
469 *outSize = mDataSize; in editData()

12