Home
last modified time | relevance | path

Searched refs:CameraFrame (Results 1 – 25 of 30) sorted by relevance

12

/hardware/ti/omap4xxx/camera/
DBaseCameraAdapter.cpp137 if ( CameraFrame::PREVIEW_FRAME_SYNC == msgs ) in enableMsgType()
141 else if ( CameraFrame::FRAME_DATA_SYNC == msgs ) in enableMsgType()
145 else if ( CameraFrame::IMAGE_FRAME == msgs) in enableMsgType()
149 else if ( CameraFrame::RAW_FRAME == msgs) in enableMsgType()
153 else if ( CameraFrame::VIDEO_FRAME_SYNC == msgs) in enableMsgType()
178 if ( CameraFrame::PREVIEW_FRAME_SYNC == msgs ) in disableMsgType()
182 else if ( CameraFrame::FRAME_DATA_SYNC == msgs ) in disableMsgType()
186 else if ( CameraFrame::IMAGE_FRAME == msgs) in disableMsgType()
190 else if ( CameraFrame::RAW_FRAME == msgs) in disableMsgType()
194 else if ( CameraFrame::VIDEO_FRAME_SYNC == msgs) in disableMsgType()
[all …]
DAppCallbackNotifier.cpp38 CameraFrame::FrameType type, in AppCallbackNotifierEncoderCallback()
63 void AppCallbackNotifier::EncoderDoneCb(void* main_jpeg, void* thumb_jpeg, CameraFrame::FrameType t… in EncoderDoneCb()
233 mFrameProvider->enableFrameNotification(CameraFrame::FRAME_DATA_SYNC); in setMeasurements()
690 void AppCallbackNotifier::copyAndSendPictureFrame(CameraFrame* frame, int32_t msgType) in copyAndSendPictureFrame()
715 mFrameProvider->returnFrame(frame->mBuffer, (CameraFrame::FrameType) frame->mFrameType); in copyAndSendPictureFrame()
726 void AppCallbackNotifier::copyAndSendPreviewFrame(CameraFrame* frame, int32_t msgType) in copyAndSendPreviewFrame()
760 if (CameraFrame::FRAME_DATA_SYNC == frame->mFrameType) { in copyAndSendPreviewFrame()
787 mFrameProvider->returnFrame(frame->mBuffer, (CameraFrame::FrameType) frame->mFrameType); in copyAndSendPreviewFrame()
837 CameraFrame *frame; in notifyFrame()
861 frame = (CameraFrame *) msg.arg1; in notifyFrame()
[all …]
DANativeWindowDisplayAdapter.cpp199 mFrameProvider->disableFrameNotification(CameraFrame::ALL_FRAMES); in ~ANativeWindowDisplayAdapter()
403 mFrameProvider->enableFrameNotification(CameraFrame::PREVIEW_FRAME_SYNC); in enableDisplay()
431 mFrameProvider->disableFrameNotification(CameraFrame::PREVIEW_FRAME_SYNC); in disableDisplay()
1056 (!mPaused || CameraFrame::CameraFrame::SNAPSHOT_FRAME == dispFrame.mType) && in PostFrame()
1121 else if (CameraFrame::CameraFrame::SNAPSHOT_FRAME == dispFrame.mType) in PostFrame()
1225 mFrameProvider->returnFrame( (void*)mGrallocHandleMap[i], CameraFrame::PREVIEW_FRAME_SYNC); in handleFrameReturn()
1229 void ANativeWindowDisplayAdapter::frameCallbackRelay(CameraFrame* caFrame) in frameCallbackRelay()
1251 void ANativeWindowDisplayAdapter::frameCallback(CameraFrame* caFrame) in frameCallback()
1256 df.mType = (CameraFrame::FrameType) caFrame->mFrameType; in frameCallback()
DCameraHalUtilClasses.cpp62 int FrameProvider::returnFrame(void *frameBuf, CameraFrame::FrameType frameType) in returnFrame()
/hardware/ti/omap4-aah/camera/
DBaseCameraAdapter.cpp186 case CameraFrame::PREVIEW_FRAME_SYNC: in enableMsgType()
189 case CameraFrame::FRAME_DATA_SYNC: in enableMsgType()
192 case CameraFrame::SNAPSHOT_FRAME: in enableMsgType()
195 case CameraFrame::IMAGE_FRAME: in enableMsgType()
198 case CameraFrame::RAW_FRAME: in enableMsgType()
201 case CameraFrame::VIDEO_FRAME_SYNC: in enableMsgType()
204 case CameraFrame::REPROCESS_INPUT_FRAME: in enableMsgType()
246 case CameraFrame::PREVIEW_FRAME_SYNC: in disableMsgType()
249 case CameraFrame::FRAME_DATA_SYNC: in disableMsgType()
252 case CameraFrame::SNAPSHOT_FRAME: in disableMsgType()
[all …]
DAppCallbackNotifier.cpp34 CameraFrame::FrameType type, in AppCallbackNotifierEncoderCallback()
60 void AppCallbackNotifier::EncoderDoneCb(void* main_jpeg, void* thumb_jpeg, CameraFrame::FrameType t… in EncoderDoneCb()
241 mFrameProvider->enableFrameNotification(CameraFrame::FRAME_DATA_SYNC); in setMeasurements()
702 static void copyCroppedNV12(CameraFrame* frame, unsigned char *dst) in copyCroppedNV12()
740 void AppCallbackNotifier::copyAndSendPictureFrame(CameraFrame* frame, int32_t msgType) in copyAndSendPictureFrame()
778 mFrameProvider->returnFrame(frame->mBuffer, (CameraFrame::FrameType) frame->mFrameType); in copyAndSendPictureFrame()
789 void AppCallbackNotifier::copyAndSendPreviewFrame(CameraFrame* frame, int32_t msgType) in copyAndSendPreviewFrame()
823 if (CameraFrame::FRAME_DATA_SYNC == frame->mFrameType) { in copyAndSendPreviewFrame()
850 mFrameProvider->returnFrame(frame->mBuffer, (CameraFrame::FrameType) frame->mFrameType); in copyAndSendPreviewFrame()
902 CameraFrame *frame; in notifyFrame()
[all …]
DANativeWindowDisplayAdapter.cpp129 mFrameProvider->disableFrameNotification(CameraFrame::ALL_FRAMES); in ~ANativeWindowDisplayAdapter()
326 mFrameProvider->enableFrameNotification(CameraFrame::PREVIEW_FRAME_SYNC); in enableDisplay()
327 mFrameProvider->enableFrameNotification(CameraFrame::SNAPSHOT_FRAME); in enableDisplay()
355 mFrameProvider->disableFrameNotification(CameraFrame::PREVIEW_FRAME_SYNC); in disableDisplay()
356 mFrameProvider->disableFrameNotification(CameraFrame::SNAPSHOT_FRAME); in disableDisplay()
559 CameraFrame::PREVIEW_FRAME_SYNC); in allocateBufferList()
1033 } else if (CameraFrame::CameraFrame::SNAPSHOT_FRAME == dispFrame.mType) { in PostFrame()
1048 (!mPaused || CameraFrame::CameraFrame::SNAPSHOT_FRAME == dispFrame.mType) && in PostFrame()
1123 CameraFrame::FrameType frameType = CameraFrame::PREVIEW_FRAME_SYNC; in handleFrameReturn()
1198 frameType = (CameraFrame::FrameType) mFramesType.valueAt(k); in handleFrameReturn()
[all …]
DBufferSourceAdapter.cpp88 static CameraFrame::FrameType formatToOutputFrameType(const char* format) { in formatToOutputFrameType()
94 return CameraFrame::RAW_FRAME; in formatToOutputFrameType()
98 return CameraFrame::RAW_FRAME; in formatToOutputFrameType()
155 mFrameProvider->disableFrameNotification(CameraFrame::ALL_FRAMES); in ~BufferSourceAdapter()
294 CameraFrame::FrameType frameType; in enableDisplay()
303 frameType = CameraFrame::REPROCESS_INPUT_FRAME; in enableDisplay()
318 if (mFrameProvider) mFrameProvider->disableFrameNotification(CameraFrame::ALL_FRAMES); in disableDisplay()
834 void BufferSourceAdapter::addFrame(CameraFrame* frame) in addFrame()
841 void BufferSourceAdapter::handleFrameCallback(CameraFrame* frame) in handleFrameCallback()
864 if (frame->mFrameType != CameraFrame::REPROCESS_INPUT_FRAME) { in handleFrameCallback()
[all …]
/hardware/ti/omap4-aah/camera/inc/
DBufferSourceAdapter.h101 void addFrame(CameraFrame *frame) { in addFrame()
103 mFrames.add(new CameraFrame(*frame)); in addFrame()
114 CameraFrame *frame = mFrames.itemAt(0); in requestExit()
123 CameraFrame *frame = NULL; in threadLoop()
148 android::Vector<CameraFrame *> mFrames;
189 static void frameCallback(CameraFrame* caFrame);
190 void addFrame(CameraFrame* caFrame);
191 void handleFrameCallback(CameraFrame* caFrame);
DBaseCameraAdapter.h53 virtual void returnFrame(CameraBuffer * frameBuf, CameraFrame::FrameType frameType);
134 virtual status_t fillThisBuffer(CameraBuffer* frameBuf, CameraFrame::FrameType frameType);
144 virtual status_t getPictureBufferSize(CameraFrame &frame, size_t bufferCount);
173 status_t sendFrameToSubscribers(CameraFrame *frame);
176 status_t resetFrameRefCount(CameraFrame &frame);
179 void setFrameRefCount(CameraBuffer* frameBuf, CameraFrame::FrameType frameType, int refCount);
180 int getFrameRefCount(CameraBuffer* frameBuf, CameraFrame::FrameType frameType);
186 status_t __sendFrameToSubscribers(CameraFrame* frame,
188 CameraFrame::FrameType frameType);
298 android::KeyedVector<void *, CameraFrame *> mFrameQueue;
DANativeWindowDisplayAdapter.h44 CameraFrame::FrameType mType;
90 static void frameCallbackRelay(CameraFrame* caFrame);
91 void frameCallback(CameraFrame* caFrame);
DEncoder_libjpeg.h52 CameraFrame::FrameType type,
147 CameraFrame::FrameType type, in Encoder_libjpeg()
216 CameraFrame::FrameType mType;
DCameraHal.h120 class CameraFrame; variable
366 class CameraFrame
395 CameraFrame(): in CameraFrame() function
526 typedef void (*frame_callback) (CameraFrame *cameraFrame);
569 virtual void returnFrame(CameraBuffer* frameBuf, CameraFrame::FrameType frameType) = 0;
590 int returnFrame(CameraBuffer *frameBuf, CameraFrame::FrameType frameType);
696 static void frameCallbackRelay(CameraFrame* caFrame);
698 void frameCallback(CameraFrame* caFrame);
720 …void EncoderDoneCb(void*, void*, CameraFrame::FrameType type, void* cookie1, void* cookie2, void *…
759 void copyAndSendPictureFrame(CameraFrame* frame, int32_t msgType);
[all …]
/hardware/ti/omap4xxx/camera/inc/
DBaseCameraAdapter.h42 virtual void returnFrame(void * frameBuf, CameraFrame::FrameType frameType);
121 virtual status_t fillThisBuffer(void* frameBuf, CameraFrame::FrameType frameType);
154 status_t sendFrameToSubscribers(CameraFrame *frame);
157 status_t resetFrameRefCount(CameraFrame &frame);
160 void setFrameRefCount(void* frameBuf, CameraFrame::FrameType frameType, int refCount);
161 int getFrameRefCount(void* frameBuf, CameraFrame::FrameType frameType);
166 status_t __sendFrameToSubscribers(CameraFrame* frame,
168 CameraFrame::FrameType frameType);
265 KeyedVector<void *, CameraFrame *> mFrameQueue;
DCameraHal.h125 class CameraFrame; variable
229 class CameraFrame
255 CameraFrame(): in CameraFrame() function
275 CameraFrame(const CameraFrame &frame) : in CameraFrame() function
399 typedef void (*frame_callback) (CameraFrame *cameraFrame);
442 virtual void returnFrame(void* frameBuf, CameraFrame::FrameType frameType) = 0;
463 int returnFrame(void *frameBuf, CameraFrame::FrameType frameType);
561 static void frameCallbackRelay(CameraFrame* caFrame);
563 void frameCallback(CameraFrame* caFrame);
585 void EncoderDoneCb(void*, void*, CameraFrame::FrameType type, void* cookie1, void* cookie2);
[all …]
DANativeWindowDisplayAdapter.h46 CameraFrame::FrameType mType;
91 static void frameCallbackRelay(CameraFrame* caFrame);
92 void frameCallback(CameraFrame* caFrame);
DEncoder_libjpeg.h44 CameraFrame::FrameType type,
131 CameraFrame::FrameType type, in Encoder_libjpeg()
200 CameraFrame::FrameType mType;
/hardware/ti/omap4-aah/camera/V4LCameraAdapter/
DV4LCameraAdapter.cpp341 status_t V4LCameraAdapter::fillThisBuffer(CameraBuffer *frameBuf, CameraFrame::FrameType frameType) in fillThisBuffer()
347 if ( frameType == CameraFrame::IMAGE_FRAME) { //(1 > mCapturedFrames) in fillThisBuffer()
541 CameraFrame frame; in takePicture()
636 frame.mFrameType = CameraFrame::IMAGE_FRAME; in takePicture()
644 frame.mFrameMask = (unsigned int)CameraFrame::IMAGE_FRAME; in takePicture()
645 frame.mQuirks |= CameraFrame::ENCODE_RAW_YUV422I_TO_JPEG; in takePicture()
646 frame.mQuirks |= CameraFrame::FORMAT_YUV422I_YUYV; in takePicture()
826 status_t V4LCameraAdapter::getPictureBufferSize(CameraFrame &frame, size_t bufferCount) in getPictureBufferSize()
1133 CameraFrame frame; in previewThread()
1149 CameraFrame *lframe = (CameraFrame *)mFrameQueue.valueFor(buffer); in previewThread()
[all …]
/hardware/ti/omap4xxx/camera/OMXCameraAdapter/
DOMXCameraAdapter.cpp320 OMXCameraAdapter::OMXCameraPortParameters *OMXCameraAdapter::getPortParams(CameraFrame::FrameType f… in getPortParams()
326 case CameraFrame::IMAGE_FRAME: in getPortParams()
327 case CameraFrame::RAW_FRAME: in getPortParams()
330 case CameraFrame::PREVIEW_FRAME_SYNC: in getPortParams()
331 case CameraFrame::SNAPSHOT_FRAME: in getPortParams()
332 case CameraFrame::VIDEO_FRAME_SYNC: in getPortParams()
335 case CameraFrame::FRAME_DATA_SYNC: in getPortParams()
345 status_t OMXCameraAdapter::fillThisBuffer(void* frameBuf, CameraFrame::FrameType frameType) in fillThisBuffer()
364 ((CameraFrame::IMAGE_FRAME == frameType) || (CameraFrame::RAW_FRAME == frameType)) && in fillThisBuffer()
2934 CameraFrame::FrameType typeOfFrame = CameraFrame::ALL_FRAMES; in OMXCameraAdapterFillBufferDone()
[all …]
/hardware/ti/omap4-aah/camera/OMXCameraAdapter/
DOMXCameraAdapter.cpp413 OMXCameraAdapter::OMXCameraPortParameters *OMXCameraAdapter::getPortParams(CameraFrame::FrameType f… in getPortParams()
419 case CameraFrame::IMAGE_FRAME: in getPortParams()
422 case CameraFrame::RAW_FRAME: in getPortParams()
429 case CameraFrame::PREVIEW_FRAME_SYNC: in getPortParams()
430 case CameraFrame::SNAPSHOT_FRAME: in getPortParams()
431 case CameraFrame::VIDEO_FRAME_SYNC: in getPortParams()
434 case CameraFrame::FRAME_DATA_SYNC: in getPortParams()
444 status_t OMXCameraAdapter::fillThisBuffer(CameraBuffer * frameBuf, CameraFrame::FrameType frameType) in fillThisBuffer()
465 isCaptureFrame = (CameraFrame::IMAGE_FRAME == frameType) || in fillThisBuffer()
466 (CameraFrame::RAW_FRAME == frameType); in fillThisBuffer()
[all …]
/hardware/ti/omap4xxx/camera/inc/OMXCameraAdapter/
DOMXCameraAdapter.h333 CameraFrame::FrameType mImageType;
406 virtual status_t fillThisBuffer(void* frameBuf, CameraFrame::FrameType frameType);
423 OMXCameraPortParameters *getPortParams(CameraFrame::FrameType frameType);
615 status_t doBracketing(OMX_BUFFERHEADERTYPE *pBuffHeader, CameraFrame::FrameType typeOfFrame);
634 …status_t initCameraFrame(CameraFrame &frame, OMX_IN OMX_BUFFERHEADERTYPE *pBuffHeader, int typeOfF…
637 status_t sendFrame(CameraFrame &frame);
639 …status_t sendCallBacks(CameraFrame frame, OMX_IN OMX_BUFFERHEADERTYPE *pBuffHeader, unsigned int m…
/hardware/ti/omap4-aah/camera/inc/V4LCameraAdapter/
DV4LCameraAdapter.h128 virtual status_t fillThisBuffer(CameraBuffer *frameBuf, CameraFrame::FrameType frameType);
130 virtual status_t getPictureBufferSize(CameraFrame &frame, size_t bufferCount);
/hardware/ti/omap4xxx/camera/V4LCameraAdapter/
DV4LCameraAdapter.cpp116 status_t V4LCameraAdapter::fillThisBuffer(void* frameBuf, CameraFrame::FrameType frameType) in fillThisBuffer()
517 CameraFrame frame; in previewThread()
549 frame.mFrameType = CameraFrame::PREVIEW_FRAME_SYNC; in previewThread()
/hardware/ti/omap4xxx/camera/inc/V4LCameraAdapter/
DV4LCameraAdapter.h90 virtual status_t fillThisBuffer(void* frameBuf, CameraFrame::FrameType frameType);
/hardware/ti/omap4-aah/camera/inc/OMXCameraAdapter/
DOMXCameraAdapter.h353 CameraFrame::FrameType mImageType;
452 virtual status_t fillThisBuffer(CameraBuffer * frameBuf, CameraFrame::FrameType frameType);
454 virtual status_t getPictureBufferSize(CameraFrame &frame, size_t bufferCount);
475 OMXCameraPortParameters *getPortParams(CameraFrame::FrameType frameType);
742 status_t doBracketing(OMX_BUFFERHEADERTYPE *pBuffHeader, CameraFrame::FrameType typeOfFrame);
762 …status_t sendCallBacks(CameraFrame frame, OMX_IN OMX_BUFFERHEADERTYPE *pBuffHeader, unsigned int m…

12