Home
last modified time | relevance | path

Searched refs:MAX_BUFFERS (Results 1 – 4 of 4) sorted by relevance

/hardware/ti/omap4-aah/camera/
DAppCallbackNotifier.cpp824 if ( (mPreviewMemory->size / MAX_BUFFERS) >= frame->mLength ) { in copyAndSendPreviewFrame()
827 memset(dest->mapped, 0, (mPreviewMemory->size / MAX_BUFFERS)); in copyAndSendPreviewFrame()
861 mPreviewBufCount = (mPreviewBufCount + 1) % AppCallbackNotifier::MAX_BUFFERS; in copyAndSendPreviewFrame()
1040 current_snapshot = (mPreviewBufCount + MAX_BUFFERS - 1) % MAX_BUFFERS; in notifyFrame()
1042 tn_jpeg->src_size = mPreviewMemory->size / MAX_BUFFERS; in notifyFrame()
1545 mPreviewMemory = mRequestMemory(-1, size, AppCallbackNotifier::MAX_BUFFERS, NULL); in startPreviewCallbacks()
1550 for (int i=0; i < AppCallbackNotifier::MAX_BUFFERS; i++) { in startPreviewCallbacks()
/hardware/ti/omap4xxx/camera/
DAppCallbackNotifier.cpp761 if ( (mPreviewMemory->size / MAX_BUFFERS) >= frame->mLength ) { in copyAndSendPreviewFrame()
764 memset(dest, 0, (mPreviewMemory->size / MAX_BUFFERS)); in copyAndSendPreviewFrame()
796 mPreviewBufCount = (mPreviewBufCount + 1) % AppCallbackNotifier::MAX_BUFFERS; in copyAndSendPreviewFrame()
968 current_snapshot = (mPreviewBufCount + MAX_BUFFERS - 1) % MAX_BUFFERS; in notifyFrame()
970 tn_jpeg->src_size = mPreviewMemory->size / MAX_BUFFERS; in notifyFrame()
1489 mPreviewMemory = mRequestMemory(-1, size, AppCallbackNotifier::MAX_BUFFERS, NULL); in startPreviewCallbacks()
1494 for (int i=0; i < AppCallbackNotifier::MAX_BUFFERS; i++) { in startPreviewCallbacks()
/hardware/ti/omap4xxx/camera/inc/
DCameraHal.h513 static const int32_t MAX_BUFFERS = 8; variable
658 unsigned char* mPreviewBufs[MAX_BUFFERS];
/hardware/ti/omap4-aah/camera/inc/
DCameraHal.h648 static const int32_t MAX_BUFFERS = 8; variable
795 CameraBuffer mPreviewBuffers[MAX_BUFFERS];