/hardware/ti/omap4-aah/camera/ |
D | CameraHalCommon.cpp | 187 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/ |
D | gpu.cpp | 206 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 …]
|
D | gpu.h | 47 size_t bufferSize = 0); 64 int* pStride, int bufferSize);
|
/hardware/qcom/display/msm8974/libgralloc/ |
D | gpu.cpp | 198 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 …]
|
D | gpu.h | 48 size_t bufferSize = 0); 65 int* pStride, int bufferSize);
|
/hardware/qcom/display/msm8960/libgralloc/ |
D | gpu.cpp | 192 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 …]
|
D | gpu.h | 48 size_t bufferSize = 0); 65 int* pStride, int bufferSize);
|
/hardware/qcom/display/msm8226/libgralloc/ |
D | gpu.cpp | 209 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 …]
|
D | gpu.h | 47 unsigned int bufferSize = 0); 64 int* pStride, int bufferSize);
|
/hardware/qcom/audio/legacy/alsa_sound/ |
D | AudioHardwareALSA.cpp | 761 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 …]
|
D | AudioHardwareALSA.h | 176 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()
|
D | ALSAStreamOps.cpp | 303 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/ |
D | OMXCapabilities.cpp | 230 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/ |
D | gralloc.cpp | 122 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/ |
D | OMXVideoDecoderVP9Hybrid.cpp | 72 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/ |
D | A2dpAudioInterface.h | 87 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()
|
D | AudioHardwareStub.h | 34 virtual size_t bufferSize() const { return 4096; } in bufferSize() function 51 virtual size_t bufferSize() const { return 320; } in bufferSize() function
|
D | AudioHardwareGeneric.h | 51 virtual size_t bufferSize() const { return 4096; } in bufferSize() function 85 virtual size_t bufferSize() const { return 320; } in bufferSize() function
|
D | AudioDumpInterface.h | 47 virtual size_t bufferSize() const; 88 virtual size_t bufferSize() const;
|
D | AudioHardwareStub.cpp | 148 snprintf(buffer, SIZE, "\tbuffer size: %d\n", bufferSize()); in dump() 193 snprintf(buffer, SIZE, "\tbuffer size: %d\n", bufferSize()); in dump()
|
D | AudioDumpInterface.cpp | 318 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/ |
D | VideoEncoderBase.cpp | 741 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/ |
D | AudioHardwareInterface.h | 56 virtual size_t bufferSize() const = 0; 140 virtual size_t bufferSize() const = 0;
|
/hardware/ti/omap4-aah/camera/OMXCameraAdapter/ |
D | OMXCapabilities.cpp | 387 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/ |
D | i2c.h | 113 int I2CSetBufferSize (unsigned short bufferSize);
|