Home
last modified time | relevance | path

Searched refs:bufferSize (Results 1 – 25 of 57) 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/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
301 size = (bufferSize >= size)? bufferSize : size; in alloc_impl()
331 const unsigned int bufferSize = m->finfo.line_length * m->info.yres; in free_impl() local
333 / bufferSize); in free_impl()
368 int bufferSize) in gralloc_alloc_size() argument
[all …]
Dgpu.h47 unsigned int bufferSize = 0);
64 int* pStride, int bufferSize);
/hardware/qcom/display/msm8994/libgralloc/
Dgpu.cpp217 unsigned int bufferSize = m->finfo.line_length * m->info.yres; in gralloc_alloc_framebuffer_locked() local
220 bufferSize = roundUpToPageSize(bufferSize); in gralloc_alloc_framebuffer_locked()
227 return gralloc_alloc_buffer(bufferSize, newUsage, pHandle, BUFFER_TYPE_UI, in gralloc_alloc_framebuffer_locked()
241 dup(m->framebuffer->fd), bufferSize, in gralloc_alloc_framebuffer_locked()
253 vaddr += bufferSize; in gralloc_alloc_framebuffer_locked()
274 unsigned int bufferSize) { in alloc_impl() argument
315 size = (bufferSize >= size)? bufferSize : size; in alloc_impl()
345 const unsigned int bufferSize = m->finfo.line_length * m->info.yres; in free_impl() local
347 / bufferSize); in free_impl()
382 int bufferSize) in gralloc_alloc_size() argument
[all …]
Dgpu.h47 unsigned int bufferSize = 0);
64 int* pStride, int bufferSize);
/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
299 size = (bufferSize >= size)? bufferSize : size; in alloc_impl()
329 const size_t bufferSize = m->finfo.line_length * m->info.yres; in free_impl() local
330 size_t index = (hnd->base - m->framebuffer->base) / bufferSize; in free_impl()
365 int bufferSize) in gralloc_alloc_size() argument
[all …]
Dgpu.h47 size_t bufferSize = 0);
64 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
279 size = (bufferSize >= size)? bufferSize : size; in alloc_impl()
316 const size_t bufferSize = m->finfo.line_length * m->info.yres; in free_impl() local
317 int index = (hnd->base - m->framebuffer->base) / bufferSize; in free_impl()
352 int bufferSize) in gralloc_alloc_size() argument
[all …]
Dgpu.h48 size_t bufferSize = 0);
65 int* pStride, int bufferSize);
/hardware/qcom/display/msm8996/libgralloc/
Dgpu.cpp198 unsigned int 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()
222 dup(m->framebuffer->fd), bufferSize, in gralloc_alloc_framebuffer_locked()
234 vaddr += bufferSize; in gralloc_alloc_framebuffer_locked()
255 unsigned int bufferSize) { in alloc_impl() argument
319 size = (bufferSize >= size)? bufferSize : size; in alloc_impl()
340 const unsigned int bufferSize = m->finfo.line_length * m->info.yres; in free_impl() local
342 / bufferSize); in free_impl()
377 int bufferSize) in gralloc_alloc_size() argument
[all …]
Dgpu.h47 unsigned int bufferSize = 0);
64 int* pStride, int bufferSize);
/hardware/qcom/display/msm8998/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()
233 dup(m->framebuffer->fd), bufferSize, in gralloc_alloc_framebuffer_locked()
245 vaddr += bufferSize; in gralloc_alloc_framebuffer_locked()
266 unsigned int bufferSize) { in alloc_impl() argument
334 size = (bufferSize >= size)? bufferSize : size; in alloc_impl()
355 const unsigned int bufferSize = m->finfo.line_length * m->info.yres; in free_impl() local
357 / bufferSize); in free_impl()
392 int bufferSize) in gralloc_alloc_size() argument
[all …]
Dgpu.h47 unsigned int bufferSize = 0);
64 int* pStride, int bufferSize);
/hardware/qcom/display/msm8909/libgralloc/
Dgpu.cpp220 unsigned int bufferSize = m->finfo.line_length * m->info.yres; in gralloc_alloc_framebuffer_locked() local
223 bufferSize = roundUpToPageSize(bufferSize); in gralloc_alloc_framebuffer_locked()
230 return gralloc_alloc_buffer(bufferSize, newUsage, pHandle, BUFFER_TYPE_UI, in gralloc_alloc_framebuffer_locked()
244 dup(m->framebuffer->fd), bufferSize, in gralloc_alloc_framebuffer_locked()
256 vaddr += bufferSize; in gralloc_alloc_framebuffer_locked()
277 unsigned int bufferSize) { in alloc_impl() argument
314 size = (bufferSize >= size)? bufferSize : size; in alloc_impl()
344 const unsigned int bufferSize = m->finfo.line_length * m->info.yres; in free_impl() local
346 / bufferSize); in free_impl()
381 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()
261 const size_t bufferSize = m->finfo.line_length * m->info.yres; in gralloc_free() local
262 int index = (hnd->base - m->framebuffer->base) / bufferSize; in gralloc_free()
/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
/hardware/intel/common/omx-components/videocodec/
DOMXVideoDecoderVP9Hybrid.cpp75 uint32_t bufferSize, bufferHStride, bufferHeight, bufferVStride, bufferWidth; in ProcessorInit() local
113 bufferSize = bufferHStride * bufferVStride * 1.5; in ProcessorInit()
148 mInitDecoder(mHybridCtx, bufferSize, bufferHStride, bufferWidth, in ProcessorInit()
158 uint32_t bufferSize, bufferHStride, bufferHeight, bufferVStride, bufferWidth; in ProcessorReset() local
164 bufferSize = bufferHStride * bufferVStride * 1.5; in ProcessorReset()
194 bufferSize = bufferHStride * bufferVStride * 1.5; in ProcessorReset()
199 mInitDecoder(mHybridCtx, bufferSize, bufferHStride, bufferWidth, in ProcessorReset()
/hardware/intel/common/libmix/videoencoder/
DVideoEncoderBase.cpp744 outBuffer->bufferSize = mTotalSize + 100; in prepareForOutput()
887 outBuffer->bufferSize, sizeCopiedHere, mTotalSizeCopied); in outputAllData()
889 if (mCurSegment->size < mOffsetInSeg || outBuffer->bufferSize < sizeCopiedHere) { in outputAllData()
894 if ((mCurSegment->size - mOffsetInSeg) <= outBuffer->bufferSize - sizeCopiedHere) { in outputAllData()
902 sizeToBeCopied = outBuffer->bufferSize - sizeCopiedHere; in outputAllData()
904 … (uint8_t *)mCurSegment->buf + mOffsetInSeg, outBuffer->bufferSize - sizeCopiedHere); in outputAllData()
907 outBuffer->dataSize = outBuffer->bufferSize; in outputAllData()
963 mHrdParam.bufferSize = 0; in setDefaultParams()
1023 mHrdParam.bufferSize = hrd->bufferSize; in setParameters()
1127 hrd->bufferSize = mHrdParam.bufferSize; in getParameters()
[all …]

123