Home
last modified time | relevance | path

Searched refs:bufferSize (Results 1 – 25 of 59) sorted by relevance

123

/hardware/ti/omap4-aah/camera/
DCameraHalCommon.cpp187 int bufferSize = -1; in calculateBufferSize() local
191 bufferSize = width * height * 2; in calculateBufferSize()
194 bufferSize = width * height * 3 / 2; in calculateBufferSize()
196 bufferSize = width * height * 2; in calculateBufferSize()
198 bufferSize = width * height * 2; in calculateBufferSize()
201 bufferSize = 0; in calculateBufferSize()
205 bufferSize = 0; in calculateBufferSize()
208 return bufferSize; in calculateBufferSize()
/hardware/qcom/display/msm8084/libgralloc/
Dgpu.cpp206 size_t bufferSize = m->finfo.line_length * m->info.yres; in gralloc_alloc_framebuffer_locked() local
209 bufferSize = roundUpToPageSize(bufferSize); in gralloc_alloc_framebuffer_locked()
216 return gralloc_alloc_buffer(bufferSize, newUsage, pHandle, BUFFER_TYPE_UI, in gralloc_alloc_framebuffer_locked()
228 dup(m->framebuffer->fd), bufferSize, in gralloc_alloc_framebuffer_locked()
240 vaddr += bufferSize; in gralloc_alloc_framebuffer_locked()
261 size_t bufferSize) { in alloc_impl() argument
294 size = (bufferSize >= size)? bufferSize : size; in alloc_impl()
324 const size_t bufferSize = m->finfo.line_length * m->info.yres; in free_impl() local
325 size_t index = (hnd->base - m->framebuffer->base) / bufferSize; in free_impl()
360 int bufferSize) in gralloc_alloc_size() argument
[all …]
Dgpu.h47 size_t bufferSize = 0);
64 int* pStride, int bufferSize);
/hardware/qcom/display/msm8974/libgralloc/
Dgpu.cpp198 size_t bufferSize = m->finfo.line_length * m->info.yres; in gralloc_alloc_framebuffer_locked() local
201 bufferSize = roundUpToPageSize(bufferSize); in gralloc_alloc_framebuffer_locked()
208 return gralloc_alloc_buffer(bufferSize, newUsage, pHandle, BUFFER_TYPE_UI, in gralloc_alloc_framebuffer_locked()
220 dup(m->framebuffer->fd), bufferSize, in gralloc_alloc_framebuffer_locked()
232 vaddr += bufferSize; in gralloc_alloc_framebuffer_locked()
253 size_t bufferSize) { in alloc_impl() argument
288 size = (bufferSize >= size)? bufferSize : size; in alloc_impl()
325 const size_t bufferSize = m->finfo.line_length * m->info.yres; in free_impl() local
326 int index = (hnd->base - m->framebuffer->base) / bufferSize; in free_impl()
361 int bufferSize) in gralloc_alloc_size() argument
[all …]
Dgpu.h48 size_t bufferSize = 0);
65 int* pStride, int bufferSize);
/hardware/qcom/display/msm8960/libgralloc/
Dgpu.cpp192 size_t bufferSize = m->finfo.line_length * m->info.yres; in gralloc_alloc_framebuffer_locked() local
195 bufferSize = roundUpToPageSize(bufferSize); in gralloc_alloc_framebuffer_locked()
202 return gralloc_alloc_buffer(bufferSize, newUsage, pHandle, BUFFER_TYPE_UI, in gralloc_alloc_framebuffer_locked()
214 dup(m->framebuffer->fd), bufferSize, in gralloc_alloc_framebuffer_locked()
226 vaddr += bufferSize; in gralloc_alloc_framebuffer_locked()
247 size_t bufferSize) { in alloc_impl() argument
273 size = (bufferSize >= size)? bufferSize : size; in alloc_impl()
310 const size_t bufferSize = m->finfo.line_length * m->info.yres; in free_impl() local
311 int index = (hnd->base - m->framebuffer->base) / bufferSize; in free_impl()
346 int bufferSize) in gralloc_alloc_size() argument
[all …]
Dgpu.h48 size_t bufferSize = 0);
65 int* pStride, int bufferSize);
/hardware/qcom/display/msm8226/libgralloc/
Dgpu.cpp209 unsigned int bufferSize = m->finfo.line_length * m->info.yres; in gralloc_alloc_framebuffer_locked() local
212 bufferSize = roundUpToPageSize(bufferSize); in gralloc_alloc_framebuffer_locked()
219 return gralloc_alloc_buffer(bufferSize, newUsage, pHandle, BUFFER_TYPE_UI, in gralloc_alloc_framebuffer_locked()
231 dup(m->framebuffer->fd), bufferSize, in gralloc_alloc_framebuffer_locked()
243 vaddr += bufferSize; in gralloc_alloc_framebuffer_locked()
264 unsigned int bufferSize) { in alloc_impl() argument
297 size = (bufferSize >= size)? bufferSize : size; in alloc_impl()
327 const unsigned int bufferSize = m->finfo.line_length * m->info.yres; in free_impl() local
329 / bufferSize); in free_impl()
364 int bufferSize) in gralloc_alloc_size() argument
[all …]
Dgpu.h47 unsigned int bufferSize = 0);
64 int* pStride, int bufferSize);
/hardware/qcom/audio/legacy/alsa_sound/
DAudioHardwareALSA.cpp761 unsigned long bufferSize; in openOutputStream()
763 bufferSize = VOIP_BUFFER_SIZE_8K; in openOutputStream()
766 bufferSize = VOIP_BUFFER_SIZE_16K; in openOutputStream()
774 alsa_handle.bufferSize = bufferSize; in openOutputStream()
864 alsa_handle.bufferSize = DEFAULT_MULTI_CHANNEL_BUF_SIZE; in openOutputStream()
866 alsa_handle.bufferSize = DEFAULT_BUFFER_SIZE; in openOutputStream()
911 unsigned long bufferSize = DEFAULT_BUFFER_SIZE; in openOutputStream() local
913 for (size_t b = 1; (bufferSize & ~b) != 0; b <<= 1) in openOutputStream()
914 bufferSize &= ~b; in openOutputStream()
917 alsa_handle.bufferSize = bufferSize; in openOutputStream()
[all …]
DAudioHardwareALSA.h176 unsigned int bufferSize; // Size of sample buffer member
275 size_t bufferSize() const;
303 virtual size_t bufferSize() const in bufferSize() function
305 return ALSAStreamOps::bufferSize(); in bufferSize()
359 virtual size_t bufferSize() const in bufferSize() function
361 return ALSAStreamOps::bufferSize(); in bufferSize()
DALSAStreamOps.cpp303 size_t ALSAStreamOps::bufferSize() const in bufferSize() function in android_audio_legacy::ALSAStreamOps
305 ALOGV("bufferSize() returns %d", mHandle->bufferSize); in bufferSize()
306 return mHandle->bufferSize; in bufferSize()
/hardware/ti/omap4xxx/camera/OMXCameraAdapter/
DOMXCapabilities.cpp230 size_t bufferSize) { in encodePixelformatCap() argument
242 strncat(buffer, cap[i].param, bufferSize - 1); in encodePixelformatCap()
243 strncat(buffer, PARAM_SEP, bufferSize - 1); in encodePixelformatCap()
257 size_t bufferSize) { in encodeFramerateCap() argument
272 strncat(buffer, cap[i].param, bufferSize - 1); in encodeFramerateCap()
273 strncat(buffer, PARAM_SEP, bufferSize - 1); in encodeFramerateCap()
287 strncat(buffer, tmpBuffer, bufferSize - 1); in encodeFramerateCap()
288 strncat(buffer, PARAM_SEP, bufferSize - 1); in encodeFramerateCap()
294 strncat(buffer, tmpBuffer, bufferSize - 1); in encodeFramerateCap()
295 strncat(buffer, PARAM_SEP, bufferSize - 1); in encodeFramerateCap()
[all …]
/hardware/libhardware/modules/gralloc/
Dgralloc.cpp122 const size_t bufferSize = m->finfo.line_length * m->info.yres; in gralloc_alloc_framebuffer_locked() local
128 return gralloc_alloc_buffer(dev, bufferSize, newUsage, pHandle); in gralloc_alloc_framebuffer_locked()
147 vaddr += bufferSize; in gralloc_alloc_framebuffer_locked()
256 const size_t bufferSize = m->finfo.line_length * m->info.yres; in gralloc_free() local
257 int index = (hnd->base - m->framebuffer->base) / bufferSize; in gralloc_free()
/hardware/intel/common/omx-components/videocodec/
DOMXVideoDecoderVP9Hybrid.cpp72 uint32_t bufferSize, bufferStride, bufferHeight, bufferWidth; in ProcessorInit() local
74 bufferSize = 1920 * 1088 * 1.5; in ProcessorInit()
80 bufferSize = mGraphicBufferParam.graphicBufferStride * in ProcessorInit()
123 …mInitDecoder(mHybridCtx,bufferSize,bufferStride,bufferWidth, bufferHeight,bufferCount,gralloc_mode… in ProcessorInit()
132 uint32_t bufferSize, bufferStride, bufferHeight, bufferWidth; in ProcessorReset() local
134 bufferSize = mDecodedImageWidth * mDecodedImageHeight * 1.5; in ProcessorReset()
140 bufferSize = mGraphicBufferParam.graphicBufferStride * in ProcessorReset()
152 …mInitDecoder(mHybridCtx,bufferSize,bufferStride,bufferWidth,bufferHeight,bufferCount,gralloc_mode,… in ProcessorReset()
/hardware/libhardware_legacy/audio/
DA2dpAudioInterface.h87 virtual size_t bufferSize() const { return 512 * 20; } in bufferSize() function
90 …virtual uint32_t latency() const { return ((1000*bufferSize())/frameSize())/sampleRate() + 200;… in latency()
DAudioHardwareStub.h34 virtual size_t bufferSize() const { return 4096; } in bufferSize() function
51 virtual size_t bufferSize() const { return 320; } in bufferSize() function
DAudioHardwareGeneric.h51 virtual size_t bufferSize() const { return 4096; } in bufferSize() function
85 virtual size_t bufferSize() const { return 320; } in bufferSize() function
DAudioDumpInterface.h47 virtual size_t bufferSize() const;
88 virtual size_t bufferSize() const;
DAudioHardwareStub.cpp148 snprintf(buffer, SIZE, "\tbuffer size: %d\n", bufferSize()); in dump()
193 snprintf(buffer, SIZE, "\tbuffer size: %d\n", bufferSize()); in dump()
DAudioDumpInterface.cpp318 size_t AudioStreamOutDump::bufferSize() const in bufferSize() function in android::AudioStreamOutDump
320 if (mFinalStream != 0 ) return mFinalStream->bufferSize(); in bufferSize()
521 size_t AudioStreamInDump::bufferSize() const in bufferSize() function in android::AudioStreamInDump
523 if (mFinalStream != 0 ) return mFinalStream->bufferSize(); in bufferSize()
/hardware/intel/common/libmix/videoencoder/
DVideoEncoderBase.cpp741 outBuffer->bufferSize = mTotalSize + 100; in prepareForOutput()
882 outBuffer->bufferSize, sizeCopiedHere, mTotalSizeCopied); in outputAllData()
884 if (mCurSegment->size < mOffsetInSeg || outBuffer->bufferSize < sizeCopiedHere) { in outputAllData()
889 if ((mCurSegment->size - mOffsetInSeg) <= outBuffer->bufferSize - sizeCopiedHere) { in outputAllData()
897 sizeToBeCopied = outBuffer->bufferSize - sizeCopiedHere; in outputAllData()
899 … (uint8_t *)mCurSegment->buf + mOffsetInSeg, outBuffer->bufferSize - sizeCopiedHere); in outputAllData()
902 outBuffer->dataSize = outBuffer->bufferSize; in outputAllData()
958 mHrdParam.bufferSize = 0; in setDefaultParams()
1018 mHrdParam.bufferSize = hrd->bufferSize; in setParameters()
1122 hrd->bufferSize = mHrdParam.bufferSize; in getParameters()
[all …]
/hardware/libhardware_legacy/include/hardware_legacy/
DAudioHardwareInterface.h56 virtual size_t bufferSize() const = 0;
140 virtual size_t bufferSize() const = 0;
/hardware/ti/omap4-aah/camera/OMXCameraAdapter/
DOMXCapabilities.cpp387 size_t bufferSize) in encodePixelformatCap() argument
404 strncat(buffer, PARAM_SEP, bufferSize - 1); in encodePixelformatCap()
406 strncat(buffer, cap[i].param, bufferSize - 1); in encodePixelformatCap()
476 size_t bufferSize) in encodeZoomCap() argument
492 strncat(buffer, PARAM_SEP, bufferSize - 1); in encodeZoomCap()
494 strncat(buffer, cap[i].param, bufferSize - 1); in encodeZoomCap()
508 size_t bufferSize) in encodeISOCap() argument
522 strncat(buffer, PARAM_SEP, bufferSize - 1); in encodeISOCap()
524 strncat(buffer, cap[i].param, bufferSize - 1); in encodeISOCap()
537 size_t bufferSize) in encodeSizeCap() argument
[all …]
/hardware/invensense/60xx/mlsdk/platform/include/
Di2c.h113 int I2CSetBufferSize (unsigned short bufferSize);

123