/hardware/ti/omap4xxx/camera/ |
BaseCameraAdapter.cpp | 137 if ( CameraFrame::PREVIEW_FRAME_SYNC == msgs ) 141 else if ( CameraFrame::FRAME_DATA_SYNC == msgs ) 145 else if ( CameraFrame::IMAGE_FRAME == msgs) 149 else if ( CameraFrame::RAW_FRAME == msgs) 153 else if ( CameraFrame::VIDEO_FRAME_SYNC == msgs) 178 if ( CameraFrame::PREVIEW_FRAME_SYNC == msgs ) 182 else if ( CameraFrame::FRAME_DATA_SYNC == msgs ) 186 else if ( CameraFrame::IMAGE_FRAME == msgs) 190 else if ( CameraFrame::RAW_FRAME == msgs) 194 else if ( CameraFrame::VIDEO_FRAME_SYNC == msgs [all...] |
AppCallbackNotifier.cpp | 38 CameraFrame::FrameType type, 63 void AppCallbackNotifier::EncoderDoneCb(void* main_jpeg, void* thumb_jpeg, CameraFrame::FrameType type, void* cookie1, void* cookie2) 233 mFrameProvider->enableFrameNotification(CameraFrame::FRAME_DATA_SYNC); 690 void AppCallbackNotifier::copyAndSendPictureFrame(CameraFrame* frame, int32_t msgType) 715 mFrameProvider->returnFrame(frame->mBuffer, (CameraFrame::FrameType) frame->mFrameType); 726 void AppCallbackNotifier::copyAndSendPreviewFrame(CameraFrame* frame, int32_t msgType) 760 if (CameraFrame::FRAME_DATA_SYNC == frame->mFrameType) { 787 mFrameProvider->returnFrame(frame->mBuffer, (CameraFrame::FrameType) frame->mFrameType); 837 CameraFrame *frame; 861 frame = (CameraFrame *) msg.arg1 [all...] |
ANativeWindowDisplayAdapter.cpp | 199 mFrameProvider->disableFrameNotification(CameraFrame::ALL_FRAMES); 403 mFrameProvider->enableFrameNotification(CameraFrame::PREVIEW_FRAME_SYNC); 431 mFrameProvider->disableFrameNotification(CameraFrame::PREVIEW_FRAME_SYNC); 1056 (!mPaused || CameraFrame::CameraFrame::SNAPSHOT_FRAME == dispFrame.mType) && 1121 else if (CameraFrame::CameraFrame::SNAPSHOT_FRAME == dispFrame.mType) [all...] |
/hardware/ti/omap4-aah/camera/ |
BaseCameraAdapter.cpp | 186 case CameraFrame::PREVIEW_FRAME_SYNC: 189 case CameraFrame::FRAME_DATA_SYNC: 192 case CameraFrame::SNAPSHOT_FRAME: 195 case CameraFrame::IMAGE_FRAME: 198 case CameraFrame::RAW_FRAME: 201 case CameraFrame::VIDEO_FRAME_SYNC: 204 case CameraFrame::REPROCESS_INPUT_FRAME: 246 case CameraFrame::PREVIEW_FRAME_SYNC: 249 case CameraFrame::FRAME_DATA_SYNC: 252 case CameraFrame::SNAPSHOT_FRAME [all...] |
AppCallbackNotifier.cpp | 34 CameraFrame::FrameType type, 60 void AppCallbackNotifier::EncoderDoneCb(void* main_jpeg, void* thumb_jpeg, CameraFrame::FrameType type, void* cookie1, void* cookie2, void *cookie3) 241 mFrameProvider->enableFrameNotification(CameraFrame::FRAME_DATA_SYNC); 702 static void copyCroppedNV12(CameraFrame* frame, unsigned char *dst) 740 void AppCallbackNotifier::copyAndSendPictureFrame(CameraFrame* frame, int32_t msgType) 778 mFrameProvider->returnFrame(frame->mBuffer, (CameraFrame::FrameType) frame->mFrameType); 789 void AppCallbackNotifier::copyAndSendPreviewFrame(CameraFrame* frame, int32_t msgType) 823 if (CameraFrame::FRAME_DATA_SYNC == frame->mFrameType) { 850 mFrameProvider->returnFrame(frame->mBuffer, (CameraFrame::FrameType) frame->mFrameType); [all...] |
ANativeWindowDisplayAdapter.cpp | 129 mFrameProvider->disableFrameNotification(CameraFrame::ALL_FRAMES); 326 mFrameProvider->enableFrameNotification(CameraFrame::PREVIEW_FRAME_SYNC); 327 mFrameProvider->enableFrameNotification(CameraFrame::SNAPSHOT_FRAME); 355 mFrameProvider->disableFrameNotification(CameraFrame::PREVIEW_FRAME_SYNC); 356 mFrameProvider->disableFrameNotification(CameraFrame::SNAPSHOT_FRAME); 559 CameraFrame::PREVIEW_FRAME_SYNC); 1033 } else if (CameraFrame::CameraFrame::SNAPSHOT_FRAME == dispFrame.mType) { 1048 (!mPaused || CameraFrame::CameraFrame::SNAPSHOT_FRAME == dispFrame.mType) & [all...] |
BufferSourceAdapter.cpp | 88 static CameraFrame::FrameType formatToOutputFrameType(const char* format) { 94 return CameraFrame::RAW_FRAME; 98 return CameraFrame::RAW_FRAME; 155 mFrameProvider->disableFrameNotification(CameraFrame::ALL_FRAMES); 294 CameraFrame::FrameType frameType; 303 frameType = CameraFrame::REPROCESS_INPUT_FRAME; 318 if (mFrameProvider) mFrameProvider->disableFrameNotification(CameraFrame::ALL_FRAMES); 834 void BufferSourceAdapter::addFrame(CameraFrame* frame) 841 void BufferSourceAdapter::handleFrameCallback(CameraFrame* frame) 864 if (frame->mFrameType != CameraFrame::REPROCESS_INPUT_FRAME) [all...] |
CameraHalUtilClasses.cpp | 60 int FrameProvider::returnFrame(CameraBuffer *frameBuf, CameraFrame::FrameType frameType)
|
/hardware/ti/omap4-aah/camera/inc/ |
BufferSourceAdapter.h | 101 void addFrame(CameraFrame *frame) { 103 mFrames.add(new CameraFrame(*frame)); 114 CameraFrame *frame = mFrames.itemAt(0); 123 CameraFrame *frame = NULL; 148 android::Vector<CameraFrame *> mFrames; 189 static void frameCallback(CameraFrame* caFrame); 190 void addFrame(CameraFrame* caFrame); 191 void handleFrameCallback(CameraFrame* caFrame);
|
BaseCameraAdapter.h | 53 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 [all...] |
ANativeWindowDisplayAdapter.h | 44 CameraFrame::FrameType mType; 90 static void frameCallbackRelay(CameraFrame* caFrame); 91 void frameCallback(CameraFrame* caFrame);
|
Encoder_libjpeg.h | 52 CameraFrame::FrameType type, 147 CameraFrame::FrameType type, 216 CameraFrame::FrameType mType;
|
CameraHal.h | 120 class CameraFrame; 366 class CameraFrame 395 CameraFrame(): 525 /// Have a generic callback class based on template - to adapt CameraFrame and Event 526 typedef void (*frame_callback) (CameraFrame *cameraFrame); 543 ///@remarks Msg type comes from CameraFrame and CameraHalEvent classes 569 virtual void returnFrame(CameraBuffer* frameBuf, CameraFrame::FrameType frameType) = 0; 590 int returnFrame(CameraBuffer *frameBuf, CameraFrame::FrameType frameType); 696 static void frameCallbackRelay(CameraFrame* caFrame) [all...] |
/hardware/ti/omap4xxx/camera/inc/ |
BaseCameraAdapter.h | 42 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;
|
ANativeWindowDisplayAdapter.h | 46 CameraFrame::FrameType mType; 91 static void frameCallbackRelay(CameraFrame* caFrame); 92 void frameCallback(CameraFrame* caFrame);
|
Encoder_libjpeg.h | 44 CameraFrame::FrameType type, 131 CameraFrame::FrameType type, 200 CameraFrame::FrameType mType;
|
CameraHal.h | 125 class CameraFrame; 229 class CameraFrame 255 CameraFrame(): 275 CameraFrame(const CameraFrame &frame) : 398 /// Have a generic callback class based on template - to adapt CameraFrame and Event 399 typedef void (*frame_callback) (CameraFrame *cameraFrame); 416 ///@remarks Msg type comes from CameraFrame and CameraHalEvent classes 442 virtual void returnFrame(void* frameBuf, CameraFrame::FrameType frameType) = 0 [all...] |
/hardware/ti/omap4-aah/camera/V4LCameraAdapter/ |
V4LCameraAdapter.cpp | 341 status_t V4LCameraAdapter::fillThisBuffer(CameraBuffer *frameBuf, CameraFrame::FrameType frameType) 347 if ( frameType == CameraFrame::IMAGE_FRAME) { //(1 > mCapturedFrames) 541 CameraFrame frame; 636 frame.mFrameType = CameraFrame::IMAGE_FRAME; 644 frame.mFrameMask = (unsigned int)CameraFrame::IMAGE_FRAME; 645 frame.mQuirks |= CameraFrame::ENCODE_RAW_YUV422I_TO_JPEG; 646 frame.mQuirks |= CameraFrame::FORMAT_YUV422I_YUYV; 826 status_t V4LCameraAdapter::getPictureBufferSize(CameraFrame &frame, size_t bufferCount) [all...] |
/hardware/ti/omap4-aah/camera/inc/V4LCameraAdapter/ |
V4LCameraAdapter.h | 128 virtual status_t fillThisBuffer(CameraBuffer *frameBuf, CameraFrame::FrameType frameType); 130 virtual status_t getPictureBufferSize(CameraFrame &frame, size_t bufferCount);
|
/hardware/ti/omap4xxx/camera/inc/V4LCameraAdapter/ |
V4LCameraAdapter.h | 90 virtual status_t fillThisBuffer(void* frameBuf, CameraFrame::FrameType frameType);
|
/hardware/ti/omap4xxx/camera/OMXCameraAdapter/ |
OMXCameraAdapter.cpp | 320 OMXCameraAdapter::OMXCameraPortParameters *OMXCameraAdapter::getPortParams(CameraFrame::FrameType frameType) 326 case CameraFrame::IMAGE_FRAME: 327 case CameraFrame::RAW_FRAME: 330 case CameraFrame::PREVIEW_FRAME_SYNC: 331 case CameraFrame::SNAPSHOT_FRAME: 332 case CameraFrame::VIDEO_FRAME_SYNC: 335 case CameraFrame::FRAME_DATA_SYNC: 345 status_t OMXCameraAdapter::fillThisBuffer(void* frameBuf, CameraFrame::FrameType frameType) 364 ((CameraFrame::IMAGE_FRAME == frameType) || (CameraFrame::RAW_FRAME == frameType)) & [all...] |
/hardware/ti/omap4-aah/camera/OMXCameraAdapter/ |
OMXCameraAdapter.cpp | 413 OMXCameraAdapter::OMXCameraPortParameters *OMXCameraAdapter::getPortParams(CameraFrame::FrameType frameType) 419 case CameraFrame::IMAGE_FRAME: 422 case CameraFrame::RAW_FRAME: 429 case CameraFrame::PREVIEW_FRAME_SYNC: 430 case CameraFrame::SNAPSHOT_FRAME: 431 case CameraFrame::VIDEO_FRAME_SYNC: 434 case CameraFrame::FRAME_DATA_SYNC: 444 status_t OMXCameraAdapter::fillThisBuffer(CameraBuffer * frameBuf, CameraFrame::FrameType frameType) 465 isCaptureFrame = (CameraFrame::IMAGE_FRAME == frameType) || 466 (CameraFrame::RAW_FRAME == frameType) [all...] |
/hardware/ti/omap4xxx/camera/inc/OMXCameraAdapter/ |
OMXCameraAdapter.h | 333 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 typeOfFrame, OMXCameraPortParameters *port); 637 status_t sendFrame(CameraFrame &frame); 639 status_t sendCallBacks(CameraFrame frame, OMX_IN OMX_BUFFERHEADERTYPE *pBuffHeader, unsigned int mask, OMXCameraPortParameters *port); [all...] |
/hardware/ti/omap4xxx/camera/V4LCameraAdapter/ |
V4LCameraAdapter.cpp | 116 status_t V4LCameraAdapter::fillThisBuffer(void* frameBuf, CameraFrame::FrameType frameType) 517 CameraFrame frame; 549 frame.mFrameType = CameraFrame::PREVIEW_FRAME_SYNC;
|
/hardware/ti/omap4-aah/camera/inc/OMXCameraAdapter/ |
OMXCameraAdapter.h | 353 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 mask, OMXCameraPortParameters *port); [all...] |