Lines Matching refs:CameraHal
45 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()
171 void CameraHal::disableMsgType(int32_t msgType) in disableMsgType()
202 int CameraHal::msgTypeEnabled(int32_t msgType) in msgTypeEnabled()
218 int CameraHal::setParameters(const char* parameters) in setParameters()
241 int CameraHal::setParameters(const CameraParameters& params) in setParameters()
548 framerate = maxFPS /CameraHal::VFR_SCALE; in setParameters()
574 framerate = maxFPS / CameraHal::VFR_SCALE; in setParameters()
582 minFPS /= CameraHal::VFR_SCALE; in setParameters()
583 maxFPS /= CameraHal::VFR_SCALE; in setParameters()
1071 status_t CameraHal::allocPreviewBufs(int width, int height, const char* previewFormat, in allocPreviewBufs()
1126 status_t CameraHal::freePreviewBufs() in freePreviewBufs()
1145 status_t CameraHal::allocPreviewDataBufs(size_t size, size_t bufferCount) in allocPreviewDataBufs()
1197 status_t CameraHal::freePreviewDataBufs() in freePreviewDataBufs()
1221 status_t CameraHal::allocImageBufs(unsigned int width, unsigned int height, size_t size, const char… in allocImageBufs()
1270 status_t CameraHal::allocVideoBufs(uint32_t width, uint32_t height, uint32_t bufferCount) in allocVideoBufs()
1324 CameraHal *c = reinterpret_cast<CameraHal *>(userData); in endImageCapture()
1336 CameraHal *c = reinterpret_cast<CameraHal *>(userData); in releaseImageBuffers()
1343 status_t CameraHal::signalEndImageCapture() in signalEndImageCapture()
1363 status_t CameraHal::freeImageBufs() in freeImageBufs()
1392 status_t CameraHal::freeVideoBufs(void *bufs) in freeVideoBufs()
1428 status_t CameraHal::startPreview() in startPreview()
1687 status_t CameraHal::setPreviewWindow(struct preview_stream_ops *window) in setPreviewWindow()
1778 void CameraHal::stopPreview() in stopPreview()
1818 bool CameraHal::previewEnabled() in previewEnabled()
1837 status_t CameraHal::startRecording( ) in startRecording()
1941 bool CameraHal::setVideoModeParameters(const CameraParameters& params) in setVideoModeParameters()
2021 bool CameraHal::resetVideoModeParameters() in resetVideoModeParameters()
2056 status_t CameraHal::restartPreview() in restartPreview()
2100 void CameraHal::stopRecording() in stopRecording()
2148 int CameraHal::recordingEnabled() in recordingEnabled()
2165 void CameraHal::releaseRecordingFrame(const void* mem) in releaseRecordingFrame()
2194 status_t CameraHal::autoFocus() in autoFocus()
2259 status_t CameraHal::cancelAutoFocus() in cancelAutoFocus()
2279 void CameraHal::setEventProvider(int32_t eventMask, MessageNotifier * eventNotifier) in setEventProvider()
2304 void CameraHal::eventCallbackRelay(CameraHalEvent* event) in eventCallbackRelay()
2308 CameraHal *appcbn = ( CameraHal * ) (event->mCookie); in eventCallbackRelay()
2314 void CameraHal::eventCallback(CameraHalEvent* event) in eventCallback()
2341 status_t CameraHal::startImageBracketing() in startImageBracketing()
2440 status_t CameraHal::stopImageBracketing() in stopImageBracketing()
2468 status_t CameraHal::takePicture( ) in takePicture()
2522 bufferCount = CameraHal::NO_BUFFERS_IMAGE_CAPTURE; in takePicture()
2637 status_t CameraHal::cancelPicture( ) in cancelPicture()
2655 char* CameraHal::getParameters() in getParameters()
2698 void CameraHal::putParameters(char *parms) in putParameters()
2711 status_t CameraHal::sendCommand(int32_t cmd, int32_t arg1, int32_t arg2) in sendCommand()
2794 void CameraHal::release() in release()
2813 status_t CameraHal::dump(int fd) const in dump()
2834 CameraHal::CameraHal(int cameraId) in CameraHal() function in android::CameraHal
2906 CameraHal::~CameraHal() in ~CameraHal()
2954 status_t CameraHal::initialize(CameraProperties::Properties* properties) in initialize()
3079 bool CameraHal::isResolutionValid(unsigned int width, unsigned int height, const char *supportedRes… in isResolutionValid()
3120 bool CameraHal::isParameterValid(const char *param, const char *supportedParams) in isParameterValid()
3158 bool CameraHal::isParameterValid(int param, const char *supportedParams) in isParameterValid()
3199 status_t CameraHal::doesSetParameterNeedUpdate(const char* new_param, const char* old_param, bool& … in doesSetParameterNeedUpdate()
3212 status_t CameraHal::parseResolution(const char *resStr, int &width, int &height) in parseResolution()
3268 void CameraHal::insertSupportedParams() in insertSupportedParams()
3320 void CameraHal::initDefaultParameters() in initDefaultParameters()
3424 void CameraHal::forceStopPreview() in forceStopPreview()
3477 void CameraHal::deinitialize() in deinitialize()
3497 status_t CameraHal::storeMetaDataInBuffers(bool enable) in storeMetaDataInBuffers()
3506 void CameraHal::selectFPSRange(int framerate, int *min_fps, int *max_fps) in selectFPSRange()
3521 fpsrangeArray[i]= atoi(ptr)/CameraHal::VFR_SCALE; in selectFPSRange()
3527 *min_fps = fpsrangeArray[0]*CameraHal::VFR_SCALE; in selectFPSRange()
3528 *max_fps = fpsrangeArray[1]*CameraHal::VFR_SCALE; in selectFPSRange()
3541 void CameraHal::setPreferredPreviewRes(int width, int height) in setPreferredPreviewRes()
3555 void CameraHal::resetPreviewRes(CameraParameters *mParams, int width, int height) in resetPreviewRes()