/packages/services/Car/evs/manager/ |
HalCamera.cpp | 89 unsigned bufferCount = 0; 93 bufferCount += virtCam->getAllowedBuffers(); 98 bufferCount += delta; 101 if (bufferCount < 1) { 102 bufferCount = 1; 106 Return<EvsResult> result = mHwCamera->setMaxFramesInFlight(bufferCount); 112 newRecords.reserve(bufferCount); 120 if (newRecords.size() > (unsigned)bufferCount) {
|
VirtualCamera.cpp | 109 Return<EvsResult> VirtualCamera::setMaxFramesInFlight(uint32_t bufferCount) { 111 int bufferCountChange = bufferCount - mFramesAllowed; 116 ALOGE("Failed to change buffer count by %d to %d", bufferCountChange, bufferCount); 121 mFramesAllowed = bufferCount;
|
/frameworks/av/services/camera/libcameraservice/device3/ |
Camera3BufferManager.cpp | 255 size_t& bufferCount = handOutBufferCounts.editValueFor(streamId); 256 if (bufferCount >= streamSet.maxAllowedBufferCount) { 257 ALOGE("%s: bufferCount (%zu) exceeds the max allowed buffer count (%zu) of this stream set", 258 __FUNCTION__, bufferCount, streamSet.maxAllowedBufferCount); 264 if (attachedBufferCount > bufferCount) { 267 bufferCount++; 293 bufferCount++; 298 if (bufferCount + 1 > streamSet.allocatedBufferWaterMark) { 299 streamSet.allocatedBufferWaterMark = bufferCount + 1; 351 size_t& bufferCount = handOutBufferCounts.editValueFor(streamId) [all...] |
/frameworks/native/libs/gui/ |
BufferItemConsumer.cpp | 35 int bufferCount, bool controlledByApp) : 41 if (bufferCount != DEFAULT_MAX_BUFFERS) { 42 err = mConsumer->setMaxAcquiredBufferCount(bufferCount); 44 "Failed to set max acquired buffer count to %d", bufferCount);
|
/frameworks/av/media/libmedia/ |
IMediaSource.cpp | 120 ALOGV("read status %d, bufferCount %u, sinceStop %u", 144 uint32_t bufferCount = 0; 146 LOG_ALWAYS_FATAL_IF(bufferCount >= maxNumBuffers, 148 bufferCount + 1, maxNumBuffers); 181 ++bufferCount; 185 ALOGV("readMultiple status %d, bufferCount %u, sinceStop %u", 186 ret, bufferCount, mBuffersSinceStop); 344 uint32_t bufferCount = 0; 345 for (; bufferCount < maxNumBuffers; ++bufferCount, ++mBuffersSinceStop) [all...] |
/frameworks/av/media/libstagefright/filters/ |
GraphicBufferListener.cpp | 33 size_t bufferWidth, size_t bufferHeight, size_t bufferCount) { 42 status_t err = mConsumer->setMaxAcquiredBufferCount(bufferCount); 45 bufferCount, err);
|
GraphicBufferListener.h | 32 size_t bufferWidth, size_t bufferHeight, size_t bufferCount);
|
/frameworks/native/include/gui/ |
BufferItemConsumer.h | 50 // bufferCount parameter specifies how many buffers can be locked for user 55 uint32_t consumerUsage, int bufferCount = DEFAULT_MAX_BUFFERS, 74 // the construction-time bufferCount parameter. If INVALID_OPERATION is
|
/hardware/intel/img/hwcomposer/merrifield/common/planes/ |
DisplayPlane.cpp | 50 bool DisplayPlane::initialize(uint32_t bufferCount) 54 if (bufferCount < MIN_DATA_BUFFER_COUNT) { 55 WTRACE("buffer count %d is too small", bufferCount); 56 bufferCount = MIN_DATA_BUFFER_COUNT; 62 mCacheCapacity = bufferCount; 63 mDataBuffers.setCapacity(bufferCount);
|
/hardware/intel/img/hwcomposer/moorefield_hdmi/common/planes/ |
DisplayPlane.cpp | 56 bool DisplayPlane::initialize(uint32_t bufferCount) 60 if (bufferCount < MIN_DATA_BUFFER_COUNT) { 61 WLOGTRACE("buffer count %d is too small", bufferCount); 62 bufferCount = MIN_DATA_BUFFER_COUNT; 68 mCacheCapacity = bufferCount; 69 mDataBuffers.setCapacity(bufferCount);
|
/hardware/intel/img/hwcomposer/merrifield/ips/tangier/ |
TngOverlayPlane.h | 40 virtual bool initialize(uint32_t bufferCount);
|
/hardware/interfaces/automotive/evs/1.0/default/ |
EvsCamera.cpp | 117 Return<EvsResult> EvsCamera::setMaxFramesInFlight(uint32_t bufferCount) { 128 if (bufferCount < 1) { 134 if (setAvailableFrames_Locked(bufferCount)) { 265 bool EvsCamera::setAvailableFrames_Locked(unsigned bufferCount) { 266 if (bufferCount < 1) { 270 if (bufferCount > MAX_BUFFERS_IN_FLIGHT) { 276 if (mFramesAllowed < bufferCount) { 278 unsigned needed = bufferCount - mFramesAllowed; 288 } else if (mFramesAllowed > bufferCount) { 290 unsigned framesToRelease = mFramesAllowed - bufferCount; [all...] |
EvsCamera.h | 43 Return <EvsResult> setMaxFramesInFlight(uint32_t bufferCount) override; 61 bool setAvailableFrames_Locked(unsigned bufferCount);
|
/frameworks/av/media/libstagefright/ |
SurfaceMediaSource.cpp | 150 int32_t bufferCount = 0; 156 if (!params->findInt32(kKeyNumBuffers, &bufferCount)) { 161 if (bufferCount <= 1) { 162 ALOGE("bufferCount %d is too small", bufferCount); 166 mMaxAcquiredBufferCount = bufferCount;
|
/hardware/intel/img/hwcomposer/merrifield/ips/anniedale/ |
AnnOverlayPlane.h | 45 virtual bool initialize(uint32_t bufferCount);
|
/hardware/intel/img/hwcomposer/moorefield_hdmi/ips/anniedale/ |
AnnOverlayPlane.h | 47 virtual bool initialize(uint32_t bufferCount);
|
/hardware/intel/common/omx-components/videocodec/ |
OMXVideoDecoderVP9Hybrid.cpp | 73 uint32_t i, bufferCount; 81 bufferCount = 12; 88 bufferCount = mMetaDataBuffersNum = def_output->nBufferCountActual; 99 bufferCount = mOMXBufferHeaderTypePtrNum; 101 for (i = 0; i < bufferCount; i++ ) { 149 bufferHeight, bufferCount, gralloc_mode, buff, (uint32_t)mAPMode); 156 uint32_t i, bufferCount; 165 bufferCount = 12; 172 bufferCount = mMetaDataBuffersNum = def_output->nBufferCountActual; 181 bufferCount = mOMXBufferHeaderTypePtrNum [all...] |
/hardware/interfaces/camera/device/1.0/ |
ICameraDeviceCallback.hal | 38 * bufferSize * bufferCount bytes. 40 * @param bufferCount The number of contiguous buffers that the descriptor 48 registerMemory(handle descriptor, uint32_t bufferSize, uint32_t bufferCount)
|
/hardware/qcom/media/msm8974/mm-video-legacy/vidc/vdec/test/ |
decoder_driver_test.c | 372 unsigned int buffercount = 0,i=0; local 382 buffercount = decode_context->input_buffer.actualcount; 385 for (i=0;i<buffercount;i++) 404 buffercount = decode_context->output_buffer.actualcount; 409 for (i=0;i<buffercount;i++) 423 for (i=0;i<buffercount;i++) 452 unsigned int buffercount = 0,i=0,alignedsize=0; local 470 buffercount = decode_context->input_buffer.actualcount; 484 buffercount = decode_context->output_buffer.actualcount; 490 calloc (sizeof (struct vdec_output_frameinfo *),buffercount); [all...] |
/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/vdec/test/ |
decoder_driver_test.c | 357 unsigned int buffercount = 0,i=0; local 365 buffercount = decode_context->input_buffer.actualcount; 368 for (i=0; i<buffercount; i++) { 384 buffercount = decode_context->output_buffer.actualcount; 388 for (i=0; i<buffercount; i++) { 400 for (i=0; i<buffercount; i++) { 428 unsigned int buffercount = 0,i=0,alignedsize=0; local 443 buffercount = decode_context->input_buffer.actualcount; 454 buffercount = decode_context->output_buffer.actualcount; 460 calloc (sizeof (struct vdec_output_frameinfo *),buffercount); [all...] |
/hardware/qcom/media/msm8974/mm-video-legacy/vidc/venc/test/ |
video_encoder_test.c | 426 unsigned int buffercount = 0,i=0; local 436 buffercount = encoder_context->input_buffer.actualcount; 439 for (i=0;i<buffercount;i++) 458 buffercount = encoder_context->output_buffer.actualcount; 463 for (i=0;i<buffercount;i++) 491 unsigned int buffercount = 0,i=0,alignedsize=0; local 509 buffercount = encoder_context->input_buffer.actualcount; 523 buffercount = encoder_context->output_buffer.actualcount; 536 calloc (sizeof (struct venc_bufferpayload *),buffercount); 557 for (i=0; i< buffercount; i++ [all...] |
/external/mesa3d/src/mesa/main/ |
feedback.c | 184 ctx->Select.BufferCount = 0; 203 if (ctx->Select.BufferCount < ctx->Select.BufferSize) { 204 ctx->Select.Buffer[ctx->Select.BufferCount] = value; 206 ctx->Select.BufferCount++; 441 if (ctx->Select.BufferCount > ctx->Select.BufferSize) { 451 ctx->Select.BufferCount = 0; 539 ctx->Select.BufferCount = 0;
|
/external/mesa3d/src/gallium/state_trackers/d3d1x/progs/d3d11app/ |
d3d11x11main.cpp | 45 swap_chain_desc.BufferCount = 3;
|
/frameworks/av/services/camera/libcameraservice/gui/ |
RingBufferConsumer.cpp | 42 int bufferCount) : 44 mBufferCount(bufferCount), 48 mConsumer->setMaxAcquiredBufferCount(bufferCount); 50 assert(bufferCount > 0);
|
/hardware/intel/img/hwcomposer/moorefield_hdmi/ips/common/ |
OverlayPlaneBase.h | 54 virtual bool initialize(uint32_t bufferCount);
|