Lines Matching refs:mBuffer

715     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()
950 mFrameProvider->returnFrame(frame->mBuffer, in notifyFrame()
1005 main_jpeg->src = (uint8_t *)frame->mBuffer->mapped; in notifyFrame()
1063 exif_data, frame->mBuffer); in notifyFrame()
1064 gEncoderQueue.add(frame->mBuffer->mapped, encoder); in notifyFrame()
1116 … mVideoMetadataBufferMemoryMap.valueFor(frame->mBuffer->opaque); in notifyFrame()
1119 … (NULL == videoMedatadaBufferMemory) || (NULL == videoMetadataBuffer) || (NULL == frame->mBuffer) ) in notifyFrame()
1127 CameraBuffer *vBuf = mVideoMap.valueFor(frame->mBuffer->opaque); in notifyFrame()
1165 … videoMetadataBuffer->handle = camera_buffer_get_omx_ptr(frame->mBuffer); in notifyFrame()
1170 … frame->mBuffer->opaque, videoMetadataBuffer, videoMedatadaBufferMemory); in notifyFrame()
1179 … if( (NULL == fakebuf) || ( NULL == fakebuf->data) || ( NULL == frame->mBuffer)) in notifyFrame()
1185 …_cast<buffer_handle_t*>(fakebuf->data) = reinterpret_cast<buffer_handle_t>(frame->mBuffer->mapped); in notifyFrame()
1199 mFrameProvider->returnFrame(frame->mBuffer, in notifyFrame()
1211 mFrameProvider->returnFrame(frame->mBuffer, in notifyFrame()
1221 mFrameProvider->returnFrame(frame->mBuffer, in notifyFrame()
1292 mFrameProvider->returnFrame(frame->mBuffer, in flushAndReturnFrames()