![]() The camera device loading in result of state transition from QCamera::UnloadedState to QCamera::LoadedState or QCamera::ActiveState. This status indicates the camera device is opened and it's possible to query for supported image and video capture settings, like resolution, framerate and codecs. The camera is loaded and ready to be configured. ![]() The camera may come to the standby mode after some time of inactivity in the QCamera::LoadedState state. The camera is in the power saving standby mode. The camera is stopping in result of state transition from QCamera::ActiveState to QCamera::LoadedState or QCamera::UnloadedState. The camera service is not ready to capture yet. The camera is starting in result of state transition to QCamera::ActiveState. ![]() Depending on backend, changing some camera settings like capture mode, codecs or resolution in ActiveState may lead to changing the camera status to LoadedStatus and StartingStatus while the settings are applied and back to ActiveStatus when the camera is ready. The viewfinder displays video frames in active state. The camera has been started and can produce data. For example, in continuous focusing mode, the focus is considered locked as long as the object is in focus, even while the actual focusing distance may be constantly changing.Įnum QCamera:: LockType flags QCamera:: LockTypes The Locked status usually means the requested parameter except in the cases when the parameter is requested to be constantly updated. The camera is ready to capture, application may check the exposure stays the same, parameters. The camera focus, exposure or white balance is locked. This state indicates the camera is focusing or calculating exposure and white balance. The application has requested the camera focus, exposure or white balance lock with QCamera::searchAndLock(). The camera may keep this parameter without changes, this is common with camera focus, or adjust exposure and white balance constantly to keep the viewfinder image nice. The application is not interested in camera settings value. SupportedViewfinderSettings(const QCameraViewfinderSettings & settings = QCameraViewfinderSettings()) const SupportedViewfinderResolutions(const QCameraViewfinderSettings & settings = QCameraViewfinderSettings()) const SupportedViewfinderPixelFormats(const QCameraViewfinderSettings & settings = QCameraViewfinderSettings()) const SupportedViewfinderFrameRateRanges(const QCameraViewfinderSettings & settings = QCameraViewfinderSettings()) const SetViewfinderSettings(const QCameraViewfinderSettings & settings) SetViewfinder(QAbstractVideoSurface * surface) SetViewfinder(QGraphicsVideoItem * viewfinder) LockStatus(QCamera::LockType lockType) const ![]() IsCaptureModeSupported(QCamera::CaptureModes mode) const QCamera(const QByteArray & deviceName, QObject * parent = nullptr) QCamera(const QCameraInfo & cameraInfo, QObject * parent = nullptr) QCamera(QCamera::Position position, QObject * parent = nullptr) ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |