Home
last modified time | relevance | path

Searched refs:mBuffer (Results 1 – 24 of 24) sorted by relevance

/hardware/akm/AK8975_FS/libsensors/
DInputEventReader.cpp37 : mBuffer(new input_event[numEvents * 2]), in InputEventCircularReader()
38 mBufferEnd(mBuffer + numEvents), in InputEventCircularReader()
39 mHead(mBuffer), in InputEventCircularReader()
40 mCurr(mBuffer), in InputEventCircularReader()
47 delete [] mBuffer; in ~InputEventCircularReader()
66 memcpy(mBuffer, mBufferEnd, s * sizeof(input_event)); in fill()
67 mHead = mBuffer + s; in fill()
78 ssize_t available = (mBufferEnd - mBuffer) - mFreeSpace; in readEvent()
87 mCurr = mBuffer; in next()
DInputEventReader.h31 struct input_event* const mBuffer; variable
/hardware/invensense/6515/libsensors_iio/
DInputEventReader.cpp39 : mBuffer(new input_event[numEvents * 2]), in InputEventCircularReader()
40 mBufferEnd(mBuffer + numEvents), in InputEventCircularReader()
41 mHead(mBuffer), in InputEventCircularReader()
42 mCurr(mBuffer), in InputEventCircularReader()
50 delete [] mBuffer; in ~InputEventCircularReader()
84 memcpy(mBuffer, mBufferEnd, s * sizeof(input_event)); in fill()
85 mHead = mBuffer + s; in fill()
98 ssize_t available = (mBufferEnd - mBuffer) - mFreeSpace; in readEvent()
109 mCurr = mBuffer; in next()
111 ssize_t available = (mBufferEnd - mBuffer) - mFreeSpace; in next()
DInputEventReader.h33 struct input_event* const mBuffer; variable
/hardware/invensense/65xx/libsensors_iio/
DInputEventReader.cpp39 : mBuffer(new input_event[numEvents * 2]), in InputEventCircularReader()
40 mBufferEnd(mBuffer + numEvents), in InputEventCircularReader()
41 mHead(mBuffer), in InputEventCircularReader()
42 mCurr(mBuffer), in InputEventCircularReader()
50 delete [] mBuffer; in ~InputEventCircularReader()
84 memcpy(mBuffer, mBufferEnd, s * sizeof(input_event)); in fill()
85 mHead = mBuffer + s; in fill()
98 ssize_t available = (mBufferEnd - mBuffer) - mFreeSpace; in readEvent()
109 mCurr = mBuffer; in next()
111 ssize_t available = (mBufferEnd - mBuffer) - mFreeSpace; in next()
DInputEventReader.h33 struct input_event* const mBuffer; variable
/hardware/intel/common/utils/ISV/include/
Disv_bufmanager.h79 mBuffer(buffer), in ISVBuffer()
96 mBuffer(buffer), in ISVBuffer()
117 unsigned long getHandle() { return mBuffer; } in getHandle()
127 unsigned long mBuffer; variable
/hardware/ti/omap4-aah/camera/
DAppCallbackNotifier.cpp715 unsigned const char *src = (unsigned char *) frame->mBuffer->mapped; in copyCroppedNV12()
753 if (frame->mBuffer->format && in copyAndSendPictureFrame()
754 … (strcmp(frame->mBuffer->format, android::CameraParameters::PIXEL_FORMAT_YUV420SP) == 0) && in copyAndSendPictureFrame()
759 … size = CameraHal::calculateBufferSize(frame->mBuffer->format, frame->mWidth, frame->mHeight); in copyAndSendPictureFrame()
770 src = (void *) ((unsigned int) frame->mBuffer->mapped + frame->mOffset); in copyAndSendPictureFrame()
778 mFrameProvider->returnFrame(frame->mBuffer, (CameraFrame::FrameType) frame->mFrameType); in copyAndSendPictureFrame()
802 if (!mPreviewMemory || !frame->mBuffer) { in copyAndSendPreviewFrame()
812 frame->mBuffer, in copyAndSendPreviewFrame()
825 memcpy(dest->mapped, (void*) frame->mBuffer->mapped, frame->mLength); in copyAndSendPreviewFrame()
850 mFrameProvider->returnFrame(frame->mBuffer, (CameraFrame::FrameType) frame->mFrameType); in copyAndSendPreviewFrame()
[all …]
DANativeWindowDisplayAdapter.cpp1015 if (!mBuffers || !dispFrame.mBuffer) { in PostFrame()
1022 if ( dispFrame.mBuffer == &mBuffers[i] ) in PostFrame()
1081 mFramesWithCameraAdapterMap.removeItem((buffer_handle_t *) dispFrame.mBuffer->opaque); in PostFrame()
1103 mFramesWithCameraAdapterMap.removeItem((buffer_handle_t *) dispFrame.mBuffer->opaque); in PostFrame()
1235 df.mBuffer = caFrame->mBuffer; in frameCallback()
DBufferSourceAdapter.cpp851 if (!mBuffers || !frame->mBuffer) { in handleFrameCallback()
857 if (frame->mBuffer == &mBuffers[i]) { in handleFrameCallback()
865 mFrameProvider->returnFrame(frame->mBuffer, in handleFrameCallback()
913 mFramesWithCameraAdapterMap.removeItem((buffer_handle_t *) frame->mBuffer->opaque); in handleFrameCallback()
DBaseCameraAdapter.cpp310 frame->mBuffer = frameBuf; in addFramePointers()
315 … CAMHAL_LOGVB("Adding Frame=0x%x Y=0x%x UV=0x%x", frame->mBuffer, frame->mYuv[0], frame->mYuv[1]); in addFramePointers()
328 … CAMHAL_LOGVB("Free Frame=0x%x Y=0x%x UV=0x%x", frame->mBuffer, frame->mYuv[0], frame->mYuv[1]); in removeFramePointers()
1368 CameraFrame *lframe = (CameraFrame *)mFrameQueue.valueFor(frame->mBuffer); in __sendFrameToSubscribers()
1379 refCount = getFrameRefCount(frame->mBuffer, frameType); in __sendFrameToSubscribers()
1393 ( uint32_t ) frame->mBuffer, in __sendFrameToSubscribers()
/hardware/ti/omap4xxx/camera/
DAppCallbackNotifier.cpp708 src = (void *) ((unsigned int) frame->mBuffer + frame->mOffset); in copyAndSendPictureFrame()
715 mFrameProvider->returnFrame(frame->mBuffer, (CameraFrame::FrameType) frame->mFrameType); in copyAndSendPictureFrame()
739 if (!mPreviewMemory || !frame->mBuffer) { in copyAndSendPreviewFrame()
750 frame->mBuffer, in copyAndSendPreviewFrame()
762 memcpy(dest, (void*) frame->mBuffer, frame->mLength); in copyAndSendPreviewFrame()
787 mFrameProvider->returnFrame(frame->mBuffer, (CameraFrame::FrameType) frame->mFrameType); in copyAndSendPreviewFrame()
885 mFrameProvider->returnFrame(frame->mBuffer, in notifyFrame()
939 main_jpeg->src = (uint8_t*) frame->mBuffer; in notifyFrame()
991 gEncoderQueue.add(frame->mBuffer, encoder); in notifyFrame()
1042 … (camera_memory_t *) mVideoMetadataBufferMemoryMap.valueFor((uint32_t) frame->mBuffer); in notifyFrame()
[all …]
DANativeWindowDisplayAdapter.cpp1042 if (!mGrallocHandleMap || !dispFrame.mBuffer) { in PostFrame()
1049 if ( ((int) dispFrame.mBuffer ) == (int)mGrallocHandleMap[i] ) in PostFrame()
1105 mFramesWithCameraAdapterMap.removeItem((int) dispFrame.mBuffer); in PostFrame()
1147 mFramesWithCameraAdapterMap.removeItem((int) dispFrame.mBuffer); in PostFrame()
1255 df.mBuffer = caFrame->mBuffer; in frameCallback()
DBaseCameraAdapter.cpp231 frame->mBuffer = frameBuf; in addFramePointers()
236 … CAMHAL_LOGVB("Adding Frame=0x%x Y=0x%x UV=0x%x", frame->mBuffer, frame->mYuv[0], frame->mYuv[1]); in addFramePointers()
249 … CAMHAL_LOGVB("Free Frame=0x%x Y=0x%x UV=0x%x", frame->mBuffer, frame->mYuv[0], frame->mYuv[1]); in removeFramePointers()
1218 CameraFrame *lframe = (CameraFrame *)mFrameQueue.valueFor(frame->mBuffer); in __sendFrameToSubscribers()
1229 refCount = getFrameRefCount(frame->mBuffer, frameType); in __sendFrameToSubscribers()
1243 ( uint32_t ) frame->mBuffer, in __sendFrameToSubscribers()
/hardware/intel/common/utils/ISV/base/
Disv_bufmanager.cpp48 reinterpret_cast<VideoDecoderOutputMetaData*>(mBuffer); in initBufferInfo()
68 mGrallocHandle = mBuffer; in initBufferInfo()
/hardware/ti/omap4xxx/camera/inc/
DANativeWindowDisplayAdapter.h38 void *mBuffer; member
DCameraHal.h258 mBuffer(NULL), in CameraFrame()
278 mBuffer(frame.mBuffer), in CameraFrame()
296 void *mBuffer; variable
/hardware/ti/omap4-aah/camera/inc/
DANativeWindowDisplayAdapter.h36 CameraBuffer *mBuffer; member
DCameraHal.h398 mBuffer(NULL), in CameraFrame()
420 CameraBuffer *mBuffer; variable
/hardware/libhardware/tests/keymaster/
Dkeymaster_test.cpp141 mBuffer = buffer; in UniqueReadOnlyBlob()
145 munmap(mBuffer, mBufferSize); in ~UniqueReadOnlyBlob()
149 return mBuffer; in get()
157 uint8_t* mBuffer; member in android::UniqueReadOnlyBlob
/hardware/ti/omap4-aah/camera/V4LCameraAdapter/
DV4LCameraAdapter.cpp637 frame.mBuffer = buffer; in takePicture()
648 ret = setInitFrameRefCount(frame.mBuffer, frame.mFrameMask); in takePicture()
1176 frame.mBuffer = buffer; in previewThread()
1189 ret = setInitFrameRefCount(frame.mBuffer, frame.mFrameMask); in previewThread()
/hardware/ti/omap4xxx/camera/V4LCameraAdapter/
DV4LCameraAdapter.cpp550 frame.mBuffer = ptr; in previewThread()
/hardware/ti/omap4xxx/camera/OMXCameraAdapter/
DOMXCameraAdapter.cpp3255 frame.mBuffer = pBuffHeader->pBuffer; in sendCallBacks()
3272 ret = setInitFrameRefCount(frame.mBuffer, mask); in sendCallBacks()
3280 CAMHAL_LOGVB("B 0x%x T %llu", frame.mBuffer, pBuffHeader->nTimeStamp); in sendCallBacks()
3309 frame.mBuffer = pBuffHeader->pBuffer; in initCameraFrame()
/hardware/ti/omap4-aah/camera/OMXCameraAdapter/
DOMXCameraAdapter.cpp3852 frame.mBuffer = (CameraBuffer *)pBuffHeader->pAppPrivate; in sendCallBacks()
3869 ret = setInitFrameRefCount(frame.mBuffer, mask); in sendCallBacks()
3877 CAMHAL_LOGVB("B 0x%x T %llu", frame.mBuffer, pBuffHeader->nTimeStamp); in sendCallBacks()