Searched defs:outSize (Results 1 - 15 of 15) sorted by relevance

/hardware/google/av/media/codecs/flac/
H A DC2SoftFlacDec.cpp254 size_t outSize; local
256 outSize = mStreamInfo.max_blocksize * mStreamInfo.channels * sizeof(short);
258 outSize = kMaxBlockSize * FLACDecoder::kMaxChannels * sizeof(short);
262 c2_status_t err = pool->fetchLinearBlock(outSize, usage, &block);
277 input, inSize, output, &outSize);
286 ALOGV("out buffer attr. size %zu", outSize);
289 work->worklets.front()->output.buffers.push_back(createLinearBuffer(block, 0, outSize));
/hardware/google/av/media/codecs/g711/
H A DC2SoftG711Dec.cpp157 int outSize = inSize * sizeof(int16_t); local
178 c2_status_t err = pool->fetchLinearBlock(outSize, usage, &block);
/hardware/google/av/media/codecs/gsm/
H A DC2SoftGsmDec.cpp145 size_t outSize = 0; local
155 outSize += FRGSM_OUT_FRM_SZ;
161 outSize += FRGSM_OUT_FRM_SZ;
165 return outSize * sizeof(int16_t);
224 size_t outSize = decodeGSM(mGsm, output, outCapacity, input, inSize); local
225 if (!outSize) {
231 ALOGV("out buffer attr. size %zu", outSize);
234 work->worklets.front()->output.buffers.push_back(createLinearBuffer(block, 0, outSize));
/hardware/google/av/media/codecs/vorbis/
H A DC2SoftVorbisDec.cpp422 int outSize = numFrames * sizeof(int16_t) * mVi->channels; local
426 work->worklets.front()->output.buffers.push_back(createLinearBuffer(block, 0, outSize));
/hardware/google/av/media/codecs/mp3/
H A DC2SoftMp3Dec.cpp290 ALOGE("Error in parse mp3 header during outSize estimation");
390 int outSize = 0; local
405 mConfig->outputFrameSize = (calOutSize - outSize);
406 mConfig->pOutputBuffer = reinterpret_cast<int16_t *> (wView.data() + outSize);
457 outSize += mConfig->outputFrameSize * sizeof(int16_t);
471 outSize + kPVMP3DecoderDelay * numChannels * sizeof(int16_t)) {
472 if (!memset(reinterpret_cast<int16_t*>(wView.data() + outSize), 0,
479 outSize += kPVMP3DecoderDelay * numChannels * sizeof(int16_t);
484 mProcessedSamples += ((outSize - outOffset) / (numChannels * sizeof(int16_t)));
485 ALOGV("out buffer attr. offset %d size %d timestamp %u", outOffset, outSize
[all...]
/hardware/google/av/media/codecs/opus/
H A DC2SoftOpusDec.cpp472 int outSize = numSamples * sizeof(int16_t) * mHeader.channels; local
473 ALOGV("out buffer attr. offset %d size %d ", outOffset, outSize);
477 work->worklets.front()->output.buffers.push_back(createLinearBuffer(block, outOffset, outSize));
/hardware/interfaces/graphics/allocator/2.0/utils/gralloc1-adapter/
H A DGralloc1On0Adapter.cpp175 void Gralloc1On0Adapter::dump(uint32_t* outSize, char* outBuffer) argument
177 ALOGV("dump(%u (%p), %p", outSize ? *outSize : 0, outSize, outBuffer);
181 *outSize = 0;
193 *outSize = static_cast<uint32_t>(actualLength);
195 *outSize = std::min(*outSize,
197 outBuffer = std::copy_n(mCachedDump.cbegin(), *outSize, outBuffer);
H A DGralloc1On0Adapter.h78 void dump(uint32_t* outSize, char* outBuffer);
79 static void dumpHook(gralloc1_device_t* device, uint32_t* outSize, argument
81 return getAdapter(device)->dump(outSize, outBuffer);
/hardware/google/av/media/codecs/mpeg4_h263/
H A DC2SoftMpeg4Dec.cpp324 uint32_t outSize = align(mWidth, 16) * align(mHeight, 16) * 3 / 2; local
327 mOutputBuffer[i] = (uint8_t *)malloc(outSize * sizeof(uint8_t));
537 uint32_t outSize = align(mWidth, 16) * align(mHeight, 16) * 3 / 2; local
539 if (outSize < yFrameSize * 3 / 2){
540 ALOGE("Too small output buffer: %d bytes", outSize);
/hardware/interfaces/graphics/composer/2.1/utils/hwc2onfbadapter/
H A DHWC2OnFbAdapter.cpp39 void dumpHook(hwc2_device_t* device, uint32_t* outSize, char* outBuffer) { argument
42 *outSize = adapter.getDebugString().copy(outBuffer, *outSize);
45 *outSize = adapter.getDebugString().size();
89 int32_t getDisplayNameHook(hwc2_device_t* device, hwc2_display_t display, uint32_t* outSize, argument
98 *outSize = info.name.copy(outName, *outSize);
100 *outSize = info.name.size();
/hardware/interfaces/graphics/composer/2.1/utils/hwc2on1adapter/include/hwc2on1adapter/
H A DHWC2On1Adapter.h105 void dump(uint32_t* outSize, char* outBuffer);
106 static void dumpHook(hwc2_device_t* device, uint32_t* outSize, argument
108 getAdapter(device)->dump(outSize, outBuffer);
217 HWC2::Error getName(uint32_t* outSize, char* outName);
/hardware/qcom/display/msm8994/libhwcomposer/
H A DHWC2On1Adapter.h97 void dump(uint32_t* outSize, char* outBuffer);
98 static void dumpHook(hwc2_device_t* device, uint32_t* outSize, argument
100 getAdapter(device)->dump(outSize, outBuffer);
204 HWC2::Error getName(uint32_t* outSize, char* outName);
H A DHWC2On1Adapter.cpp396 void HWC2On1Adapter::dump(uint32_t* outSize, char* outBuffer) argument
399 auto copiedBytes = mDumpString.copy(outBuffer, *outSize);
400 *outSize = static_cast<uint32_t>(copiedBytes);
447 *outSize = static_cast<uint32_t>(mDumpString.size());
756 Error HWC2On1Adapter::Display::getName(uint32_t* outSize, char* outName) argument
761 *outSize = mName.size();
764 auto numCopied = mName.copy(outName, *outSize);
765 *outSize = numCopied;
/hardware/interfaces/camera/device/3.4/default/
H A DExternalCameraDeviceSession.cpp888 CroppingType ct, const Size& inSize, const Size& outSize, IMapper::Rect* out) {
896 uint32_t outW = outSize.width;
897 uint32_t outH = outSize.height;
902 float arOut = ASPECT_RATIO(outSize);
887 getCropRect( CroppingType ct, const Size& inSize, const Size& outSize, IMapper::Rect* out) argument
/hardware/interfaces/graphics/composer/2.1/utils/hwc2on1adapter/
H A DHWC2On1Adapter.cpp352 void HWC2On1Adapter::dump(uint32_t* outSize, char* outBuffer) { argument
354 auto copiedBytes = mDumpString.copy(outBuffer, *outSize);
355 *outSize = static_cast<uint32_t>(copiedBytes);
402 *outSize = static_cast<uint32_t>(mDumpString.size());
712 Error HWC2On1Adapter::Display::getName(uint32_t* outSize, char* outName) { argument
716 *outSize = mName.size();
719 auto numCopied = mName.copy(outName, *outSize);
720 *outSize = numCopied;

Completed in 422 milliseconds