Home
last modified time | relevance | path

Searched refs:mBuffers (Results 1 – 16 of 16) sorted by relevance

/hardware/intel/common/utils/ISV/base/
Disv_bufmanager.cpp155 if (!mBuffers.isEmpty()) { in setBufferCount()
160 mBuffers.setCapacity(size); in setBufferCount()
168 for (uint32_t i = 0; i < mBuffers.size(); i++) { in freeBuffer()
169 ISVBuffer* isvBuffer = mBuffers.itemAt(i); in freeBuffer()
172 mBuffers.removeAt(i); in freeBuffer()
174 handle, mBuffers.size()); in freeBuffer()
186 if (handle == 0 || mBuffers.size() >= mBuffers.capacity()) in useBuffer()
189 for (uint32_t i = 0; i < mBuffers.size(); i++) { in useBuffer()
190 ISVBuffer* isvBuffer = mBuffers.itemAt(i); in useBuffer()
203 handle, mBuffers.size()); in useBuffer()
[all …]
/hardware/ti/omap4-aah/camera/
DBufferSourceAdapter.cpp131 mBuffers = NULL; in BufferSourceAdapter()
147 freeBufferList(mBuffers); in ~BufferSourceAdapter()
358 mBuffers = new CameraBuffer [lnumBufs]; in allocateBufferList()
359 memset (mBuffers, 0, sizeof(CameraBuffer) * lnumBufs); in allocateBufferList()
416 if ( mBuffers == NULL ) { in allocateBufferList()
441 mBuffers[i].opaque = (void *)handle; in allocateBufferList()
442 mBuffers[i].type = CAMERA_BUFFER_ANW; in allocateBufferList()
443 mBuffers[i].format = mPixelFormat; in allocateBufferList()
453 buffer_handle_t *handle = (buffer_handle_t *) mBuffers[i].opaque; in allocateBufferList()
456 mBuffers[i].mapped = y_uv[0]; in allocateBufferList()
[all …]
DANativeWindowDisplayAdapter.cpp96 mBuffers = NULL; in ANativeWindowDisplayAdapter()
461 mBuffers = new CameraBuffer [lnumBufs]; in allocateBufferList()
462 memset (mBuffers, 0, sizeof(CameraBuffer) * lnumBufs); in allocateBufferList()
521 if ( mBuffers == NULL ) in allocateBufferList()
551 mBuffers[i].opaque = (void *)handle; in allocateBufferList()
552 mBuffers[i].type = CAMERA_BUFFER_ANW; in allocateBufferList()
553 mBuffers[i].format = mPixelFormat; in allocateBufferList()
558 mFramesType.add( (int) mBuffers[i].opaque, in allocateBufferList()
575 buffer_handle_t *handle = (buffer_handle_t *) mBuffers[i].opaque; in allocateBufferList()
580 mBuffers[i].mapped = y_uv[0]; in allocateBufferList()
[all …]
DBaseCameraAdapter.cpp435 mPreviewBuffers = desc->mBuffers; in sendCommand()
454 desc->mBuffers, in sendCommand()
489 mPreviewDataBuffers = desc->mBuffers; in sendCommand()
507 desc->mBuffers, in sendCommand()
542 mCaptureBuffers = desc->mBuffers; in sendCommand()
549 desc->mBuffers, in sendCommand()
582 mVideoInBuffers = desc->mBuffers; in sendCommand()
593 desc->mBuffers, in sendCommand()
1076 mVideoBuffers = desc->mBuffers; in sendCommand()
1091 desc->mBuffers, in sendCommand()
DCameraHal.cpp1935 desc.mBuffers = mPreviewDataBuffers; in cameraPreviewInitialization()
1949 desc.mBuffers = mPreviewBuffers; in cameraPreviewInitialization()
3108 desc.mBuffers = mImageBuffers; in startImageBracketing()
3463 desc.mBuffers = mImageBuffers; in __takePicture()
3487 desc.mBuffers = mVideoBuffers; in __takePicture()
3701 desc.mBuffers = reprocBuffers; in reprocess()
/hardware/libhardware/modules/usbcamera/
DStream.cpp41 for (size_t i = 0; i < mBuffers.size(); i++) { in ~Stream()
42 delete mBuffers[i]; in ~Stream()
45 mBuffers.clear(); in ~Stream()
173 dprintf(fd, "Number of Buffers in use by HAL: %" PRIu32 "\n", mBuffers.size()); in dump()
174 for (size_t i = 0; i < mBuffers.size(); i++) { in dump()
175 dprintf(fd, "Buffer %" PRIu32 "/%" PRIu32 ": %p\n", i, mBuffers.size(), in dump()
176 mBuffers[i]); in dump()
DStream.h55 android::Vector<buffer_handle_t *> mBuffers; variable
/hardware/libhardware/modules/camera/
DStream.cpp45 mBuffers(0), in Stream()
200 mBuffers = new buffer_handle_t*[mNumBuffers]; in registerBuffers()
205 mBuffers[i] = buf_set->buffers[i]; in registerBuffers()
218 delete [] mBuffers; in unregisterBuffers_L()
237 mBuffers[i]); in dump()
DStream.h75 buffer_handle_t **mBuffers; variable
/hardware/intel/common/utils/ISV/include/
Disv_bufmanager.h173 Vector<ISVBuffer*> mBuffers; variable
/hardware/ti/omap4-aah/camera/inc/
DANativeWindowDisplayAdapter.h157 CameraBuffer *mBuffers; variable
DBufferSourceAdapter.h204 CameraBuffer *mBuffers; variable
DCameraHal.h871 CameraBuffer *mBuffers; member
/hardware/ti/omap4xxx/camera/
DBaseCameraAdapter.cpp355 mPreviewBuffers = (int *) desc->mBuffers; in sendCommand()
373 desc->mBuffers, in sendCommand()
408 mPreviewDataBuffers = (int *) desc->mBuffers; in sendCommand()
426 desc->mBuffers, in sendCommand()
461 mCaptureBuffers = (int *) desc->mBuffers; in sendCommand()
479 desc->mBuffers, in sendCommand()
DCameraHal.cpp1537 desc.mBuffers = mPreviewDataBufs; in startPreview()
1551 desc.mBuffers = mPreviewBufs; in startPreview()
2410 desc.mBuffers = mImageBufs; in startImageBracketing()
2596 desc.mBuffers = mImageBufs; in takePicture()
/hardware/ti/omap4xxx/camera/inc/
DCameraHal.h732 void *mBuffers; member