Lines Matching refs:CameraHal
46 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()
180 void CameraHal::setCallbacks(camera_notify_callback notify_cb, in setCallbacks()
212 void CameraHal::enableMsgType(int32_t msgType) in enableMsgType()
263 void CameraHal::disableMsgType(int32_t msgType) in disableMsgType()
294 int CameraHal::msgTypeEnabled(int32_t msgType) in msgTypeEnabled()
318 int CameraHal::setParameters(const char* parameters) in setParameters()
341 int CameraHal::setParameters(const android::CameraParameters& params) in setParameters()
525 maxFPS /= CameraHal::VFR_SCALE; in setParameters()
676 framerate = maxFPS / CameraHal::VFR_SCALE; in setParameters()
681 if ( curMaxFPS == (FRAME_RATE_HIGH_HD * CameraHal::VFR_SCALE) && in setParameters()
682 maxFPS < (FRAME_RATE_HIGH_HD * CameraHal::VFR_SCALE) ) { in setParameters()
695 … sprintf(tmpBuffer, "%d,%d", framerate * CameraHal::VFR_SCALE, framerate * CameraHal::VFR_SCALE); in setParameters()
1319 status_t CameraHal::allocPreviewBufs(int width, int height, const char* previewFormat, in allocPreviewBufs()
1364 status_t CameraHal::freePreviewBufs() in freePreviewBufs()
1382 status_t CameraHal::allocPreviewDataBufs(size_t size, size_t bufferCount) in allocPreviewDataBufs()
1434 status_t CameraHal::freePreviewDataBufs() in freePreviewDataBufs()
1457 status_t CameraHal::allocImageBufs(unsigned int width, unsigned int height, size_t size, in allocImageBufs()
1499 status_t CameraHal::allocVideoBufs(uint32_t width, uint32_t height, uint32_t bufferCount) in allocVideoBufs()
1549 status_t CameraHal::allocRawBufs(int width, int height, const char* previewFormat, int bufferCount) in allocRawBufs()
1597 CameraHal *c = reinterpret_cast<CameraHal *>(userData); in endImageCapture()
1609 CameraHal *c = reinterpret_cast<CameraHal *>(userData); in releaseImageBuffers()
1616 status_t CameraHal::signalEndImageCapture() in signalEndImageCapture()
1643 status_t CameraHal::freeImageBufs() in freeImageBufs()
1666 status_t CameraHal::freeVideoBufs(CameraBuffer *bufs) in freeVideoBufs()
1692 status_t CameraHal::freeRawBufs() in freeRawBufs()
1721 status_t CameraHal::startPreview() { in startPreview()
1826 status_t CameraHal::cameraPreviewInitialization() in cameraPreviewInitialization()
2021 status_t CameraHal::setPreviewWindow(struct preview_stream_ops *window) in setPreviewWindow()
2109 void CameraHal::setExtendedPreviewStreamOps(preview_stream_extended_ops_t *ops) in setExtendedPreviewStreamOps()
2125 status_t CameraHal::setTapoutLocked(struct preview_stream_ops *tapout) in setTapoutLocked()
2231 status_t CameraHal::releaseTapoutLocked(struct preview_stream_ops *tapout) in releaseTapoutLocked()
2283 status_t CameraHal::setTapinLocked(struct preview_stream_ops *tapin) in setTapinLocked()
2358 status_t CameraHal::releaseTapinLocked(struct preview_stream_ops *tapin) in releaseTapinLocked()
2414 status_t CameraHal::setBufferSource(struct preview_stream_ops *tapin, struct preview_stream_ops *ta… in setBufferSource()
2457 status_t CameraHal::releaseBufferSource(struct preview_stream_ops *tapin, struct preview_stream_ops… in releaseBufferSource()
2496 void CameraHal::stopPreview() in stopPreview()
2536 bool CameraHal::previewEnabled() in previewEnabled()
2555 status_t CameraHal::startRecording( ) in startRecording()
2663 bool CameraHal::setVideoModeParameters(const android::CameraParameters& params) in setVideoModeParameters()
2745 bool CameraHal::resetVideoModeParameters() in resetVideoModeParameters()
2780 status_t CameraHal::restartPreview() in restartPreview()
2815 void CameraHal::stopRecording() in stopRecording()
2863 int CameraHal::recordingEnabled() in recordingEnabled()
2880 void CameraHal::releaseRecordingFrame(const void* mem) in releaseRecordingFrame()
2909 status_t CameraHal::autoFocus() in autoFocus()
2974 status_t CameraHal::cancelAutoFocus() in cancelAutoFocus()
2994 void CameraHal::setEventProvider(int32_t eventMask, MessageNotifier * eventNotifier) in setEventProvider()
3019 void CameraHal::eventCallbackRelay(CameraHalEvent* event) in eventCallbackRelay()
3023 CameraHal *appcbn = ( CameraHal * ) (event->mCookie); in eventCallbackRelay()
3029 void CameraHal::eventCallback(CameraHalEvent* event) in eventCallback()
3036 status_t CameraHal::startImageBracketing() in startImageBracketing()
3138 status_t CameraHal::stopImageBracketing() in stopImageBracketing()
3166 status_t CameraHal::takePicture(const char *params) in takePicture()
3180 status_t CameraHal::__takePicture(const char *params, struct timeval *captureStart) in __takePicture()
3315 CameraHal::PPM("Takepicture parameters set: ", &mStartCapture); in __takePicture()
3347 bufferCount = isCPCamMode || (burst > CameraHal::NO_BUFFERS_IMAGE_CAPTURE) ? in __takePicture()
3348 CameraHal::NO_BUFFERS_IMAGE_CAPTURE : burst; in __takePicture()
3417 CameraHal::PPM("Takepicture buffer size queried: ", &mStartCapture); in __takePicture()
3456 CameraHal::PPM("Takepicture buffers allocated: ", &mStartCapture); in __takePicture()
3502 CameraHal::PPM("Takepicture buffers registered: ", &mStartCapture); in __takePicture()
3517 CameraHal::PPM("Takepicture capture started: ", &mStartCapture); in __takePicture()
3540 status_t CameraHal::cancelPicture( ) in cancelPicture()
3556 char* CameraHal::getParameters() in getParameters()
3626 status_t CameraHal::reprocess(const char *params) in reprocess()
3685 CameraHal::PPM("Got reprocess buffers: ", &startReprocess); in reprocess()
3716 CameraHal::PPM("Reprocess buffers registered: ", &startReprocess); in reprocess()
3738 status_t CameraHal::cancel_reprocess( ) in cancel_reprocess()
3749 void CameraHal::putParameters(char *parms) in putParameters()
3762 status_t CameraHal::sendCommand(int32_t cmd, int32_t arg1, int32_t arg2) in sendCommand()
3877 void CameraHal::release() in release()
3896 status_t CameraHal::dump(int fd) const in dump()
3917 CameraHal::CameraHal(int cameraId) in CameraHal() function in Ti::Camera::CameraHal
4003 CameraHal::~CameraHal() in ~CameraHal()
4052 status_t CameraHal::initialize(CameraProperties::Properties* properties) in initialize()
4191 bool CameraHal::isResolutionValid(unsigned int width, unsigned int height, const char *supportedRes… in isResolutionValid()
4219 bool CameraHal::isFpsRangeValid(int fpsMin, int fpsMax, const char *supportedFpsRanges) in isFpsRangeValid()
4257 bool CameraHal::isParameterValid(const char *param, const char *supportedParams) in isParameterValid()
4292 bool CameraHal::isParameterValid(int param, const char *supportedParams) in isParameterValid()
4319 status_t CameraHal::doesSetParameterNeedUpdate(const char* new_param, const char* old_param, bool& … in doesSetParameterNeedUpdate()
4332 status_t CameraHal::parseResolution(const char *resStr, int &width, int &height) in parseResolution()
4386 void CameraHal::insertSupportedParams() in insertSupportedParams()
4452 void CameraHal::initDefaultParameters() in initDefaultParameters()
4575 void CameraHal::forceStopPreview() in forceStopPreview()
4630 void CameraHal::deinitialize() in deinitialize()
4655 status_t CameraHal::storeMetaDataInBuffers(bool enable) in storeMetaDataInBuffers()
4664 void CameraHal::getPreferredPreviewRes(int *width, int *height) in getPreferredPreviewRes()
4682 void CameraHal::resetPreviewRes(android::CameraParameters *params) in resetPreviewRes()