Home
last modified time | relevance | path

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

/hardware/google/av/media/codecs/gsm/
DC2SoftGsmDec.cpp151 size_t outSize = 0; in decodeGSM() local
161 outSize += FRGSM_OUT_FRM_SZ; in decodeGSM()
167 outSize += FRGSM_OUT_FRM_SZ; in decodeGSM()
171 return outSize * sizeof(int16_t); in decodeGSM()
232 size_t outSize = decodeGSM(mGsm, output, outCapacity, input, inSize); in process() local
233 if (!outSize) { in process()
239 ALOGV("out buffer attr. size %zu", outSize); in process()
242 work->worklets.front()->output.buffers.push_back(createLinearBuffer(block, 0, outSize)); in process()
/hardware/google/av/media/codecs/mp3/
DC2SoftMp3Dec.cpp400 int outSize = 0; in process() local
415 mConfig->outputFrameSize = (calOutSize - outSize); in process()
416 mConfig->pOutputBuffer = reinterpret_cast<int16_t *> (wView.data() + outSize); in process()
467 outSize += mConfig->outputFrameSize * sizeof(int16_t); in process()
482 outSize + kPVMP3DecoderDelay * numChannels * sizeof(int16_t)) { in process()
483 if (!memset(reinterpret_cast<int16_t*>(wView.data() + outSize), 0, in process()
491 outSize += kPVMP3DecoderDelay * numChannels * sizeof(int16_t); in process()
496 mProcessedSamples += ((outSize - outOffset) / (numChannels * sizeof(int16_t))); in process()
497 ALOGV("out buffer attr. offset %d size %d timestamp %u", outOffset, outSize - outOffset, in process()
503 createLinearBuffer(block, outOffset, outSize - outOffset)); in process()
/hardware/google/av/media/codecs/flac/
DC2SoftFlacDec.cpp266 size_t outSize; in process() local
268 outSize = mStreamInfo.max_blocksize * mStreamInfo.channels * sizeof(short); in process()
270 outSize = kMaxBlockSize * FLACDecoder::kMaxChannels * sizeof(short); in process()
274 c2_status_t err = pool->fetchLinearBlock(outSize, usage, &block); in process()
289 input, inSize, output, &outSize); in process()
298 ALOGV("out buffer attr. size %zu", outSize); in process()
301 work->worklets.front()->output.buffers.push_back(createLinearBuffer(block, 0, outSize)); in process()
/hardware/interfaces/graphics/allocator/2.0/utils/gralloc1-adapter/
DGralloc1On0Adapter.cpp175 void Gralloc1On0Adapter::dump(uint32_t* outSize, char* outBuffer) in dump() argument
177 ALOGV("dump(%u (%p), %p", outSize ? *outSize : 0, outSize, outBuffer); in dump()
181 *outSize = 0; in dump()
193 *outSize = static_cast<uint32_t>(actualLength); in dump()
195 *outSize = std::min(*outSize, in dump()
197 outBuffer = std::copy_n(mCachedDump.cbegin(), *outSize, outBuffer); in dump()
DGralloc1On0Adapter.h78 void dump(uint32_t* outSize, char* outBuffer);
79 static void dumpHook(gralloc1_device_t* device, uint32_t* outSize, in dumpHook() argument
81 return getAdapter(device)->dump(outSize, outBuffer); in dumpHook()
/hardware/interfaces/graphics/composer/2.1/utils/hwc2onfbadapter/
DHWC2OnFbAdapter.cpp41 void dumpHook(hwc2_device_t* device, uint32_t* outSize, char* outBuffer) { in dumpHook() argument
44 *outSize = adapter.getDebugString().copy(outBuffer, *outSize); in dumpHook()
47 *outSize = adapter.getDebugString().size(); in dumpHook()
91 int32_t getDisplayNameHook(hwc2_device_t* device, hwc2_display_t display, uint32_t* outSize, in getDisplayNameHook() argument
100 *outSize = info.name.copy(outName, *outSize); in getDisplayNameHook()
102 *outSize = info.name.size(); in getDisplayNameHook()
/hardware/google/av/media/codecs/opus/
DC2SoftOpusDec.cpp481 int outSize = numSamples * sizeof(int16_t) * mHeader.channels; in process() local
482 ALOGV("out buffer attr. offset %d size %d ", outOffset, outSize); in process()
486 … work->worklets.front()->output.buffers.push_back(createLinearBuffer(block, outOffset, outSize)); in process()
/hardware/google/av/media/codecs/g711/
DC2SoftG711Dec.cpp166 int outSize = inSize * sizeof(int16_t); in process() local
186 c2_status_t err = pool->fetchLinearBlock(outSize, usage, &block); in process()
/hardware/interfaces/graphics/composer/2.1/utils/hwc2on1adapter/include/hwc2on1adapter/
DHWC2On1Adapter.h105 void dump(uint32_t* outSize, char* outBuffer);
106 static void dumpHook(hwc2_device_t* device, uint32_t* outSize, in dumpHook() argument
108 getAdapter(device)->dump(outSize, outBuffer); in dumpHook()
217 HWC2::Error getName(uint32_t* outSize, char* outName);
/hardware/interfaces/camera/device/3.4/default/include/ext_device_v3_4_impl/
DExternalCameraDeviceSession.h283 CroppingType ct, const Size& inSize, const Size& outSize, IMapper::Rect* out);
293 sp<AllocatedFrame>& in, const Size& outSize,
297 sp<AllocatedFrame>& in, const Size& outSize,
/hardware/qcom/display/msm8994/libhwcomposer/
DHWC2On1Adapter.h97 void dump(uint32_t* outSize, char* outBuffer);
98 static void dumpHook(hwc2_device_t* device, uint32_t* outSize, in dumpHook() argument
100 getAdapter(device)->dump(outSize, outBuffer); in dumpHook()
204 HWC2::Error getName(uint32_t* outSize, char* outName);
DHWC2On1Adapter.cpp396 void HWC2On1Adapter::dump(uint32_t* outSize, char* outBuffer) in dump() argument
399 auto copiedBytes = mDumpString.copy(outBuffer, *outSize); in dump()
400 *outSize = static_cast<uint32_t>(copiedBytes); in dump()
447 *outSize = static_cast<uint32_t>(mDumpString.size()); in dump()
756 Error HWC2On1Adapter::Display::getName(uint32_t* outSize, char* outName) in getName() argument
761 *outSize = mName.size(); in getName()
764 auto numCopied = mName.copy(outName, *outSize); in getName()
765 *outSize = numCopied; in getName()
/hardware/google/av/media/codecs/vorbis/
DC2SoftVorbisDec.cpp431 int outSize = numFrames * sizeof(int16_t) * mVi->channels; in process() local
435 work->worklets.front()->output.buffers.push_back(createLinearBuffer(block, 0, outSize)); in process()
/hardware/libhardware/include/hardware/
Dgralloc1.h347 typedef void (*GRALLOC1_PFN_DUMP)(gralloc1_device_t* device, uint32_t* outSize,
Dhwcomposer2.h1119 typedef void (*HWC2_PFN_DUMP)(hwc2_device_t* device, uint32_t* outSize,
1449 hwc2_device_t* device, hwc2_display_t display, uint32_t* outSize,
/hardware/interfaces/graphics/composer/2.1/utils/hwc2on1adapter/
DHWC2On1Adapter.cpp352 void HWC2On1Adapter::dump(uint32_t* outSize, char* outBuffer) { in dump() argument
354 auto copiedBytes = mDumpString.copy(outBuffer, *outSize); in dump()
355 *outSize = static_cast<uint32_t>(copiedBytes); in dump()
402 *outSize = static_cast<uint32_t>(mDumpString.size()); in dump()
712 Error HWC2On1Adapter::Display::getName(uint32_t* outSize, char* outName) { in getName() argument
716 *outSize = mName.size(); in getName()
719 auto numCopied = mName.copy(outName, *outSize); in getName()
720 *outSize = numCopied; in getName()
/hardware/interfaces/camera/device/3.4/default/
DExternalCameraDeviceSession.cpp982 CroppingType ct, const Size& inSize, const Size& outSize, IMapper::Rect* out) { in getCropRect() argument
990 uint32_t outW = outSize.width; in getCropRect()
991 uint32_t outH = outSize.height; in getCropRect()
996 float arOut = ASPECT_RATIO(outSize); in getCropRect()