Searched refs:MAX_BUFFERS (Results 1 – 3 of 3) sorted by relevance
54 #define MAX_BUFFERS (6) macro
761 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()
513 static const int32_t MAX_BUFFERS = 8; variable658 unsigned char* mPreviewBufs[MAX_BUFFERS];