Home
last modified time | relevance | path

Searched refs:CameraBuffer (Results 1 – 23 of 23) sorted by relevance

/hardware/ti/omap4-aah/camera/inc/
DBaseCameraAdapter.h53 virtual void returnFrame(CameraBuffer * frameBuf, CameraFrame::FrameType frameType);
54 virtual void addFramePointers(CameraBuffer *frameBuf, void *y_uv);
131 …virtual status_t useBuffers(CameraMode mode, CameraBuffer* bufArr, int num, size_t length, unsigne…
134 virtual status_t fillThisBuffer(CameraBuffer* frameBuf, CameraFrame::FrameType frameType);
179 void setFrameRefCount(CameraBuffer* frameBuf, CameraFrame::FrameType frameType, int refCount);
180 int getFrameRefCount(CameraBuffer* frameBuf, CameraFrame::FrameType frameType);
181 int setInitFrameRefCount(CameraBuffer* buf, unsigned int mask);
242 CameraBuffer *mPreviewBuffers;
245 android::KeyedVector<CameraBuffer *, int> mPreviewBuffersAvailable;
253 CameraBuffer *mVideoBuffers;
[all …]
DCameraHal.h362 } CameraBuffer; typedef
364 void * camera_buffer_get_omx_ptr (CameraBuffer *buffer);
420 CameraBuffer *mBuffer;
569 virtual void returnFrame(CameraBuffer* frameBuf, CameraFrame::FrameType frameType) = 0;
570 virtual void addFramePointers(CameraBuffer *frameBuf, void *buf) = 0;
590 int returnFrame(CameraBuffer *frameBuf, CameraFrame::FrameType frameType);
591 void addFramePointers(CameraBuffer *frameBuf, void *buf);
619 …virtual CameraBuffer * allocateBufferList(int width, int height, const char* format, int &bytes, i…
624 virtual CameraBuffer *getBufferList(int *numBufs) = 0;
629 virtual CameraBuffer * getBuffers(bool reset = false) { return NULL; }
[all …]
DANativeWindowDisplayAdapter.h36 CameraBuffer *mBuffer;
80 …virtual CameraBuffer * allocateBufferList(int width, int height, const char* format, int &bytes, i…
81 virtual CameraBuffer *getBufferList(int *numBufs);
84 virtual int freeBufferList(CameraBuffer * buflist);
157 CameraBuffer *mBuffers;
DBufferSourceAdapter.h176 …virtual CameraBuffer * allocateBufferList(int width, int dummyHeight, const char* format, int &byt…
177 virtual CameraBuffer *getBufferList(int *numBufs);
180 virtual int freeBufferList(CameraBuffer * buflist);
185 virtual CameraBuffer * getBuffers(bool reset = false);
204 CameraBuffer *mBuffers;
/hardware/ti/omap4-aah/camera/
DMemoryManager.cpp64 CameraBuffer* MemoryManager::allocateBufferList(int width, int height, const char* format, int &siz… in allocateBufferList()
75 CameraBuffer *buffers = new CameraBuffer [numArrayEntriesC]; in allocateBufferList()
83 memset(buffers, 0, sizeof(CameraBuffer) * numArrayEntriesC); in allocateBufferList()
143 CameraBuffer* MemoryManager::getBufferList(int *numBufs) { in getBufferList()
170 int MemoryManager::freeBufferList(CameraBuffer *buffers) in freeBufferList()
DBufferSourceAdapter.cpp348 CameraBuffer* BufferSourceAdapter::allocateBufferList(int width, int dummyHeight, const char* forma… in allocateBufferList()
358 mBuffers = new CameraBuffer [lnumBufs]; in allocateBufferList()
359 memset (mBuffers, 0, sizeof(CameraBuffer) * lnumBufs); in allocateBufferList()
512 CameraBuffer *BufferSourceAdapter::getBuffers(bool reset) { in getBuffers()
533 CameraBuffer * newBuffers = NULL; in getBuffers()
537 newBuffers = new CameraBuffer [lnumBufs]; in getBuffers()
538 memset (newBuffers, 0, sizeof(CameraBuffer) * lnumBufs); in getBuffers()
624 CameraBuffer* BufferSourceAdapter::getBufferList(int *num) { in getBufferList()
634 mBuffers = new CameraBuffer [lnumBufs]; in getBufferList()
635 memset (mBuffers, 0, sizeof(CameraBuffer) * lnumBufs); in getBufferList()
[all …]
DAppCallbackNotifier.cpp66 CameraBuffer *camera_buffer; in EncoderDoneCb()
83 camera_buffer = (CameraBuffer *)cookie3; in EncoderDoneCb()
792 CameraBuffer * dest = NULL; in copyAndSendPreviewFrame()
1127 CameraBuffer *vBuf = mVideoMap.valueFor(frame->mBuffer->opaque); in notifyFrame()
1513 status_t AppCallbackNotifier::startPreviewCallbacks(android::CameraParameters &params, CameraBuffer in startPreviewCallbacks()
1680 …tifier::initSharedVideoBuffers(CameraBuffer *buffers, uint32_t *offsets, int fd, size_t length, si… in initSharedVideoBuffers()
1763 CameraBuffer *frame = NULL; in releaseRecordingFrame()
1794 frame = (CameraBuffer *)(void*)(*((uint32_t *)mem)); in releaseRecordingFrame()
DANativeWindowDisplayAdapter.cpp451 CameraBuffer* ANativeWindowDisplayAdapter::allocateBufferList(int width, int height, const char* fo… in allocateBufferList()
461 mBuffers = new CameraBuffer [lnumBufs]; in allocateBufferList()
462 memset (mBuffers, 0, sizeof(CameraBuffer) * lnumBufs); in allocateBufferList()
639 CameraBuffer* ANativeWindowDisplayAdapter::getBufferList(int *numBufs) { in getBufferList()
809 int ANativeWindowDisplayAdapter::freeBufferList(CameraBuffer * buflist) in freeBufferList()
DCameraHalUtilClasses.cpp60 int FrameProvider::returnFrame(CameraBuffer *frameBuf, CameraFrame::FrameType frameType) in returnFrame()
69 void FrameProvider::addFramePointers(CameraBuffer *frameBuf, void *buf) in addFramePointers()
DBaseCameraAdapter.cpp302 void BaseCameraAdapter::addFramePointers(CameraBuffer *frameBuf, void *buf) in addFramePointers()
334 void BaseCameraAdapter::returnFrame(CameraBuffer * frameBuf, CameraFrame::FrameType frameType) in returnFrame()
1415 int BaseCameraAdapter::setInitFrameRefCount(CameraBuffer * buf, unsigned int mask) in setInitFrameRefCount()
1477 int BaseCameraAdapter::getFrameRefCount(CameraBuffer * frameBuf, CameraFrame::FrameType frameType) in getFrameRefCount()
1530 void BaseCameraAdapter::setFrameRefCount(CameraBuffer * frameBuf, CameraFrame::FrameType frameType,… in setFrameRefCount()
1627 CameraBuffer *frameBuf = mVideoBuffersAvailable.keyAt(i); in stopVideoCapture()
1758 status_t BaseCameraAdapter::useBuffers(CameraMode mode, CameraBuffer* bufArr, int num, size_t lengt… in useBuffers()
1769 status_t BaseCameraAdapter::fillThisBuffer(CameraBuffer * frameBuf, CameraFrame::FrameType frameTyp… in fillThisBuffer()
DCameraHal.cpp1511 CameraBuffer *buffers = new CameraBuffer [bufferCount]; in allocVideoBufs()
1513 memset (buffers, 0, sizeof(CameraBuffer) * bufferCount); in allocVideoBufs()
1666 status_t CameraHal::freeVideoBufs(CameraBuffer *bufs) in freeVideoBufs()
2196 CameraBuffer *bufs = NULL; in setTapoutLocked()
3631 CameraBuffer *reprocBuffers = NULL; in reprocess()
4694 camera_buffer_get_omx_ptr (CameraBuffer *buffer) in camera_buffer_get_omx_ptr()
/hardware/ti/omap4-aah/camera/inc/V4LCameraAdapter/
DV4LCameraAdapter.h114 virtual status_t UseBuffersPreview(CameraBuffer *bufArr, int num);
115 virtual status_t UseBuffersCapture(CameraBuffer *bufArr, int num);
127 …virtual status_t useBuffers(CameraMode mode, CameraBuffer *bufArr, int num, size_t length, unsigne…
128 virtual status_t fillThisBuffer(CameraBuffer *frameBuf, CameraFrame::FrameType frameType);
202 android::KeyedVector<CameraBuffer *, int> mPreviewBufs;
203 android::KeyedVector<CameraBuffer *, int> mCaptureBufs;
/hardware/ti/omap4-aah/camera/inc/OMXCameraAdapter/
DOMXDCC.h32 OMX_ERRORTYPE sendDCCBufPtr(OMX_HANDLETYPE hComponent, CameraBuffer *dccBuffer);
DOMXCameraAdapter.h357 CameraBuffer * lookup_omx_buffer (OMX_BUFFERHEADERTYPE *pBufHeader);
407 status_t UseBuffersPreview(CameraBuffer *bufArr, int num);
451 …virtual status_t useBuffers(CameraMode mode, CameraBuffer * bufArr, int num, size_t length, unsign…
452 virtual status_t fillThisBuffer(CameraBuffer * frameBuf, CameraFrame::FrameType frameType);
754 status_t UseBuffersCapture(CameraBuffer *bufArr, int num);
755 status_t UseBuffersPreviewData(CameraBuffer *bufArr, int num);
756 status_t UseBuffersRawCapture(CameraBuffer *bufArr, int num);
799 status_t setParametersReprocess(const android::CameraParameters &params, CameraBuffer* bufs,
804 status_t UseBuffersReprocess(CameraBuffer *bufArr, int num);
/hardware/ti/omap4-aah/camera/OMXCameraAdapter/
DOMXDCC.cpp64 CameraBuffer *dccBuffer = NULL; in initDCC()
139 CameraBuffer *dccBuffer) in sendDCCBufPtr()
DOMXReprocess.cpp33 CameraBuffer* buffers, in setParametersReprocess()
213 status_t OMXCameraAdapter::UseBuffersReprocess(CameraBuffer *bufArr, int num) in UseBuffersReprocess()
DOMXCapture.cpp914 CameraBuffer *buffer = (CameraBuffer *)pBuffHeader->pAppPrivate; in doBracketing()
935 …setFrameRefCount((CameraBuffer *)imgCaptureData->mBufferHeader[nextBufferIdx]->pAppPrivate, typeOf… in doBracketing()
936 …returnFrame((CameraBuffer *)imgCaptureData->mBufferHeader[nextBufferIdx]->pAppPrivate, typeOfFrame… in doBracketing()
1716 status_t OMXCameraAdapter::UseBuffersCapture(CameraBuffer * bufArr, int num) in UseBuffersCapture()
1969 status_t OMXCameraAdapter::UseBuffersRawCapture(CameraBuffer *bufArr, int num) in UseBuffersRawCapture()
DOMXCameraAdapter.cpp444 status_t OMXCameraAdapter::fillThisBuffer(CameraBuffer * frameBuf, CameraFrame::FrameType frameType) in fillThisBuffer()
480 if ((CameraBuffer *) port->mBufferHeader[i]->pAppPrivate == frameBuf) { in fillThisBuffer()
1371 status_t OMXCameraAdapter::useBuffers(CameraMode mode, CameraBuffer * bufArr, int num, size_t lengt… in useBuffers()
1416 status_t OMXCameraAdapter::UseBuffersPreviewData(CameraBuffer * bufArr, int num) in UseBuffersPreviewData()
1929 status_t OMXCameraAdapter::UseBuffersPreview(CameraBuffer * bufArr, int num) in UseBuffersPreview()
3690 …const status_t saveBufferStatus = saveBufferToFile(((CameraBuffer*)pBuffHeader->pAppPrivate)->mapp… in OMXCameraAdapterFillBufferDone()
3745 …const status_t saveBufferStatus = saveBufferToFile( ((CameraBuffer*)pBuffHeader->pAppPrivate)->map… in OMXCameraAdapterFillBufferDone()
3768 CameraBuffer *camera_buffer; in OMXCameraAdapterFillBufferDone()
3770 camera_buffer = (CameraBuffer *)pBuffHeader->pAppPrivate; in OMXCameraAdapterFillBufferDone()
3852 frame.mBuffer = (CameraBuffer *)pBuffHeader->pAppPrivate; in sendCallBacks()
DOMXFocus.cpp717 CameraBuffer *bufferlist; in setTouchFocus()
DOMXExif.cpp240 CameraBuffer *memmgr_buf_array; in setupEXIF()
DOMX3A.cpp1690 CameraBuffer *bufferlist; in setMeteringAreas()
1885 CameraBuffer *bufferlist = NULL; in setGammaTable()
DOMXCapabilities.cpp2402 CameraBuffer *bufferlist; in getCaps()
/hardware/ti/omap4-aah/camera/V4LCameraAdapter/
DV4LCameraAdapter.cpp341 status_t V4LCameraAdapter::fillThisBuffer(CameraBuffer *frameBuf, CameraFrame::FrameType frameType) in fillThisBuffer()
435 status_t V4LCameraAdapter::useBuffers(CameraMode mode, CameraBuffer *bufArr, int num, size_t length… in useBuffers()
473 status_t V4LCameraAdapter::UseBuffersCapture(CameraBuffer *bufArr, int num) { in UseBuffersCapture()
507 status_t V4LCameraAdapter::UseBuffersPreview(CameraBuffer *bufArr, int num) in UseBuffersPreview()
540 CameraBuffer *buffer = NULL; in takePicture()
1148 CameraBuffer *buffer = mPreviewBufs.keyAt(index); in previewThread()