Home
last modified time | relevance | path

Searched refs:CameraHal (Results 1 – 23 of 23) sorted by relevance

/hardware/ti/omap4-aah/camera/
DCameraHalCommon.cpp22 const char CameraHal::PARAMS_DELIMITER []= ",";
26 struct timeval CameraHal::ppm_start;
42 void CameraHal::PPM(const char* str){ in PPM()
68 void CameraHal::PPM(const char* str){ in PPM()
97 void CameraHal::PPM(const char* str, struct timeval* ppm_first, ...){ in PPM()
123 unsigned int CameraHal::getBPP(const char* format) { in getBPP()
141 void CameraHal::getXYFromOffset(unsigned int *x, unsigned int *y, in getXYFromOffset()
151 const char* CameraHal::getPixelFormatConstant(const char* parametersFormat) in getPixelFormatConstant()
185 size_t CameraHal::calculateBufferSize(const char* parametersFormat, int width, int height) in calculateBufferSize()
DCameraHal.cpp46 const int CameraHal::NO_BUFFERS_PREVIEW = MAX_CAMERA_BUFFERS;
47 const int CameraHal::NO_BUFFERS_IMAGE_CAPTURE = 5;
48 const int CameraHal::SW_SCALING_FPS_LIMIT = 15;
56 const int CameraHal::NO_BUFFERS_IMAGE_CAPTURE_SYSTEM_HEAP = 15;
139 struct timeval CameraHal::mStartPreview;
140 struct timeval CameraHal::mStartFocus;
141 struct timeval CameraHal::mStartCapture;
146 CameraHal *camera = NULL; in orientation_cb()
149 camera = (CameraHal*) cookie; in orientation_cb()
160 void CameraHal::onOrientationEvent(uint32_t orientation, uint32_t tilt) { in onOrientationEvent()
[all …]
DANativeWindowDisplayAdapter.cpp529 mPixelFormat = CameraHal::getPixelFormatConstant(format); in allocateBufferList()
562 bytes = CameraHal::calculateBufferSize(format, width, height); in allocateBufferList()
1031 CameraHal::PPM("Standby to first shot: Sensor Change completed - ", &mStandbyToShot); in PostFrame()
1034 CameraHal::PPM("Shot to snapshot: ", &mStartCapture); in PostFrame()
1037 CameraHal::PPM("Shot to shot: ", &mStartCapture); in PostFrame()
1053 CameraHal::getXYFromOffset(&xOff, &yOff, dispFrame.mOffset, PAGE_SIZE, mPixelFormat); in PostFrame()
DBufferSourceAdapter.cpp367 mPixelFormat = CameraHal::getPixelFormatConstant(format); in allocateBufferList()
446 bytes = CameraHal::calculateBufferSize(format, width, height); in allocateBufferList()
613 return CameraHal::calculateBufferSize(mPixelFormat, mFrameWidth, mFrameHeight); in getSize()
676 mBuffers[0].actual_size = CameraHal::calculateBufferSize(mPixelFormat, w, h); in getBufferList()
677 mBuffers[0].offset = t * w + l * CameraHal::getBPP(mPixelFormat); in getBufferList()
882 CameraHal::getXYFromOffset(&x, &y, frame->mOffset, frame->mAlignment, mPixelFormat); in handleFrameCallback()
DMemoryManager.cpp121 buffers[i].format = CameraHal::getPixelFormatConstant(format); in allocateBufferList()
DCameraHal_Module.cpp42 static CameraHal* gCameraHals[MAX_CAMERAS_SUPPORTED];
634 CameraHal* camera = NULL; in camera_device_open()
723 camera = new CameraHal(cameraid); in camera_device_open()
DAppCallbackNotifier.cpp210 void AppCallbackNotifier::setCallbacks(CameraHal* cameraHal, in setCallbacks()
759 … size = CameraHal::calculateBufferSize(frame->mBuffer->format, frame->mWidth, frame->mHeight); in copyAndSendPictureFrame()
1043 tn_jpeg->dst_size = CameraHal::calculateBufferSize(previewFormat, in notifyFrame()
1542 mPreviewPixelFormat = CameraHal::getPixelFormatConstant(params.getPreviewFormat()); in startPreviewCallbacks()
1543 size = CameraHal::calculateBufferSize(mPreviewPixelFormat, w, h); in startPreviewCallbacks()
DBaseCameraAdapter.cpp1150 CameraHal::PPM("Focus finished in: ", &mStartFocus); in notifyFocusSubscribers()
1303 CameraHal::PPM("Shot to Jpeg: ", &mStartCapture); in sendFrameToSubscribers()
/hardware/ti/omap4xxx/camera/
DCameraHalCommon.cpp21 const char CameraHal::PARAMS_DELIMITER []= ",";
25 struct timeval CameraHal::ppm_start;
41 void CameraHal::PPM(const char* str){ in PPM()
67 void CameraHal::PPM(const char* str){ in PPM()
96 void CameraHal::PPM(const char* str, struct timeval* ppm_first, ...){ in PPM()
DCameraHal.cpp45 const int CameraHal::NO_BUFFERS_PREVIEW = MAX_CAMERA_BUFFERS;
46 const int CameraHal::NO_BUFFERS_IMAGE_CAPTURE = 2;
55 struct timeval CameraHal::mStartPreview;
56 struct timeval CameraHal::mStartFocus;
57 struct timeval CameraHal::mStartCapture;
62 CameraHal *camera = NULL; in orientation_cb()
65 camera = (CameraHal*) cookie; in orientation_cb()
75 void CameraHal::onOrientationEvent(uint32_t orientation, uint32_t tilt) { in onOrientationEvent()
95 void CameraHal::setCallbacks(camera_notify_callback notify_cb, in setCallbacks()
123 void CameraHal::enableMsgType(int32_t msgType) in enableMsgType()
[all …]
DCameraHal_Module.cpp34 static android::CameraHal* gCameraHals[MAX_CAMERAS_SUPPORTED];
491 android::CameraHal* camera = NULL; in camera_device_open()
580 camera = new android::CameraHal(cameraid); in camera_device_open()
DAndroid.mk10 CameraHal.cpp \
DANativeWindowDisplayAdapter.cpp1118 CameraHal::PPM("Standby to first shot: Sensor Change completed - ", &mStandbyToShot); in PostFrame()
1123 CameraHal::PPM("Shot to snapshot: ", &mStartCapture); in PostFrame()
1128 CameraHal::PPM("Shot to shot: ", &mStartCapture); in PostFrame()
DBaseCameraAdapter.cpp1005 CameraHal::PPM("Focus finished in: ", &mStartFocus); in notifyFocusSubscribers()
1158 CameraHal::PPM("Shot to Jpeg: ", &mStartCapture); in sendFrameToSubscribers()
DAppCallbackNotifier.cpp202 void AppCallbackNotifier::setCallbacks(CameraHal* cameraHal, in setCallbacks()
/hardware/ti/omap4-aah/camera/OMXCameraAdapter/
DOMXReprocess.cpp128 CameraHal::PPM("startReprocess buffers queued on video port: ", &mStartCapture); in startReprocess()
239CameraHal::PPM("Reprocess stopping image capture and disabling image port: ", &bufArr->ppmStamp); in UseBuffersReprocess()
292 CameraHal::PPM("Reprocess configuration done: ", &bufArr->ppmStamp); in UseBuffersReprocess()
363 CameraHal::PPM("Reprocess video port enabled and buffers registered: ", &bufArr->ppmStamp); in UseBuffersReprocess()
DOMXCapabilities.cpp61 return (frameRate >> VFR_OFFSET) * CameraHal::VFR_SCALE; in androidFromDucatiFrameRate()
446 const int fixedFrameRate = fixedFrameRates[i].num * CameraHal::VFR_SCALE; in encodeFrameRates()
1009 const int minFrameRate = max<int>(FPS_MIN * CameraHal::VFR_SCALE, in insertFramerates()
1011 const int maxFrameRate = min<int>(FPS_MAX * CameraHal::VFR_SCALE, in insertFramerates()
1051 if ( fpsRange.isFixed() && (fpsRange.min()%CameraHal::VFR_SCALE) == 0 ) { in insertFramerates()
1054 snprintf(tmp, sizeof(tmp) - 1, "%d", fpsRange.min()/CameraHal::VFR_SCALE); in insertFramerates()
1063 if ( defaultFpsRange.isFixed() && (defaultFpsRange.min()%CameraHal::VFR_SCALE) == 0 ) { in insertFramerates()
1064 …snprintf(defaultRange, sizeof(defaultRange) - 1, "%d", defaultFpsRange.min()/CameraHal::VFR_SCALE); in insertFramerates()
1073 const int minFrameRate = max<int>(FPS_MIN * CameraHal::VFR_SCALE, in insertFramerates()
1075 const int maxFrameRate = min<int>(FPS_MAX_EXTENDED * CameraHal::VFR_SCALE, in insertFramerates()
[all …]
DOMXCapture.cpp1200 CameraHal::PPM("startImageCapture bracketing configs done: ", &mStartCapture); in startImageCapture()
1309CameraHal::PPM("startImageCapture image buffers queued and capture enabled: ", &mStartCapture); in startImageCapture()
1347 CameraHal::PPM("startImageCapture shutter event received: ", &mStartCapture); in startImageCapture()
1807 CameraHal::PPM("Takepicture image port configuration: ", &bufArr->ppmStamp); in UseBuffersCapture()
1877 CameraHal::PPM("Takepicture image port enabled and buffers registered: ", &bufArr->ppmStamp); in UseBuffersCapture()
1939 CameraHal::PPM("Takepicture extra configs on image port done: ", &bufArr->ppmStamp); in UseBuffersCapture()
DOMXCameraAdapter.cpp598 minFramerate /= CameraHal::VFR_SCALE; in setParameters()
599 maxFramerate /= CameraHal::VFR_SCALE; in setParameters()
/hardware/ti/omap4xxx/camera/inc/
DCameraHal.h124 class CameraHal; variable
567 void setCallbacks(CameraHal *cameraHal,
630 CameraHal* mCameraHal;
907 class CameraHal
1060 CameraHal(int cameraId);
1063 ~CameraHal();
/hardware/ti/omap4-aah/camera/inc/
DCameraHal.h119 class CameraHal; variable
702 void setCallbacks(CameraHal *cameraHal,
767 CameraHal* mCameraHal;
1069 class CameraHal
1254 CameraHal(int cameraId);
1257 ~CameraHal();
/hardware/ti/omap4xxx/camera/OMXCameraAdapter/
DOMXCapabilities.cpp354 minVFR * CameraHal::VFR_SCALE, in encodeVFramerateCap()
355 maxVFR * CameraHal::VFR_SCALE); in encodeVFramerateCap()
360 cap[default_index].num2 * CameraHal::VFR_SCALE, in encodeVFramerateCap()
361 cap[default_index].num1 * CameraHal::VFR_SCALE); in encodeVFramerateCap()
364 minVFR * CameraHal::VFR_SCALE, maxVFR * CameraHal::VFR_SCALE); in encodeVFramerateCap()
DOMXCapture.cpp354 expVal = strtok_r( (char *) tmp, CameraHal::PARAMS_DELIMITER, &ctx); in parseExpRange()
360 expVal = strtok_r(NULL, CameraHal::PARAMS_DELIMITER, &ctx); in parseExpRange()