/external/libgdx/backends/gdx-backend-lwjgl/src/com/badlogic/gdx/backends/lwjgl/audio/ |
OpenALAudioDevice.java | 45 private final int bufferCount;
48 public OpenALAudioDevice (OpenALAudio audio, int sampleRate, boolean isMono, int bufferSize, int bufferCount) {
52 this.bufferCount = bufferCount;
90 buffers = BufferUtils.createIntBuffer(bufferCount);
98 for (int i = 0; i < bufferCount; i++) {
111 for (int i = queuedBuffers; i < bufferCount; i++) {
148 Thread.sleep((long)(1000 * secondsPerBuffer / bufferCount));
212 return (int)(secondsPerBuffer * bufferCount * 1000);
|
OpenALMusic.java | 35 static private final int bufferCount = 3;
75 buffers = BufferUtils.createIntBuffer(bufferCount);
83 for (int i = 0; i < bufferCount; i++) {
160 renderedSeconds += (secondsPerBuffer * bufferCount);
170 for (int i = 0; i < bufferCount; i++) {
|
/external/libgdx/backends/gdx-backend-lwjgl3/src/com/badlogic/gdx/backends/lwjgl3/audio/ |
OpenALAudioDevice.java | 45 private final int bufferCount;
48 public OpenALAudioDevice (OpenALAudio audio, int sampleRate, boolean isMono, int bufferSize, int bufferCount) {
52 this.bufferCount = bufferCount;
90 buffers = BufferUtils.createIntBuffer(bufferCount);
98 for (int i = 0; i < bufferCount; i++) {
111 for (int i = queuedBuffers; i < bufferCount; i++) {
148 Thread.sleep((long)(1000 * secondsPerBuffer / bufferCount));
212 return (int)(secondsPerBuffer * bufferCount * 1000);
|
OpenALMusic.java | 35 static private final int bufferCount = 3;
75 buffers = BufferUtils.createIntBuffer(bufferCount);
83 for (int i = 0; i < bufferCount; i++) {
160 renderedSeconds += (secondsPerBuffer * bufferCount);
170 for (int i = 0; i < bufferCount; i++) {
|
/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); 343 uint32_t bufferCount = 0; 344 for (; bufferCount < maxNumBuffers; ++bufferCount, ++mBuffersSinceStop) [all...] |
/frameworks/av/media/libstagefright/filters/ |
GraphicBufferListener.cpp | 32 size_t bufferWidth, size_t bufferHeight, size_t bufferCount) { 41 status_t err = mConsumer->setMaxAcquiredBufferCount(bufferCount); 44 bufferCount, err);
|
GraphicBufferListener.h | 32 size_t bufferWidth, size_t bufferHeight, size_t bufferCount);
|
/frameworks/native/include/gui/ |
BufferItemConsumer.h | 51 // bufferCount parameter specifies how many buffers can be locked for user 56 uint32_t consumerUsage, int bufferCount = DEFAULT_MAX_BUFFERS, 71 // 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);
|
/frameworks/av/services/camera/libcameraservice/device3/ |
Camera3ZslStream.h | 40 * Set up a ZSL stream of a given resolution. bufferCount is the number of buffers 43 Camera3ZslStream(int id, uint32_t width, uint32_t height, int bufferCount);
|
Camera3BufferManager.cpp | 197 size_t& bufferCount = handOutBufferCounts.editValueFor(streamId); 198 if (bufferCount >= streamSet.maxAllowedBufferCount) { 199 ALOGE("%s: bufferCount (%zu) exceeds the max allowed buffer count (%zu) of this stream set", 200 __FUNCTION__, bufferCount, streamSet.maxAllowedBufferCount); 206 if (attachedBufferCount > bufferCount) { 209 bufferCount++; 237 bufferCount++; 242 if (bufferCount + 1 > streamSet.allocatedBufferWaterMark) { 243 streamSet.allocatedBufferWaterMark = bufferCount + 1; 346 size_t& bufferCount = handOutBufferCounts.editValueFor(streamId) [all...] |
Camera3Stream.cpp | 304 size_t bufferCount = (maxCount == Camera3StreamInterface::ALLOCATE_PIPELINE_MAX) ? 307 mPrepared = bufferCount <= mLastMaxCount; 311 mLastMaxCount = bufferCount; 313 mPreparedBuffers.insertAt(camera3_stream_buffer_t(), /*index*/0, bufferCount); 698 size_t bufferCount = getBufferCountLocked(); 701 buffers.insertAt(/*prototype_item*/NULL, /*index*/0, bufferCount); 705 bufferSet.num_buffers = bufferCount; 709 streamBuffers.insertAt(camera3_stream_buffer_t(), /*index*/0, bufferCount); 719 for (; bufferIdx < bufferCount; bufferIdx++) { 733 if (bufferIdx == bufferCount) { [all...] |
/external/opencv3/cmake/checks/ |
directx.cpp | 40 sd.BufferCount = 1;
|
/hardware/intel/img/hwcomposer/merrifield/ips/tangier/ |
TngOverlayPlane.h | 40 virtual bool initialize(uint32_t bufferCount);
|
/frameworks/av/media/libstagefright/ |
SurfaceMediaSource.cpp | 151 int32_t bufferCount = 0; 157 if (!params->findInt32(kKeyNumBuffers, &bufferCount)) { 162 if (bufferCount <= 1) { 163 ALOGE("bufferCount %d is too small", bufferCount); 167 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/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;
|