Home
last modified time | relevance | path

Searched refs:VideoSession (Results 1 – 22 of 22) sorted by relevance

/ohos5.0/foundation/multimedia/camera_framework/frameworks/native/camera/src/session/
H A Dvideo_session.cpp161 bool VideoSession::CanAddOutput(sptr<CaptureOutput>& output) in CanAddOutput()
169 std::shared_ptr<PreconfigProfiles> VideoSession::GeneratePreconfigProfiles( in GeneratePreconfigProfiles()
188 bool VideoSession::IsPreconfigProfilesLegal(std::shared_ptr<PreconfigProfiles> configs) in IsPreconfigProfilesLegal()
225 bool VideoSession::IsPhotoProfileLegal(sptr<CameraDevice>& device, Profile& photoProfile) in IsPhotoProfileLegal()
239 bool VideoSession::IsPreviewProfileLegal(sptr<CameraDevice>& device, Profile& previewProfile) in IsPreviewProfileLegal()
249 bool VideoSession::IsVideoProfileLegal(sptr<CameraDevice>& device, VideoProfile& videoProfile) in IsVideoProfileLegal()
259 bool VideoSession::CanPreconfig(PreconfigType preconfigType, ProfileSizeRatio preconfigRatio) in CanPreconfig()
268 int32_t VideoSession::Preconfig(PreconfigType preconfigType, ProfileSizeRatio preconfigRatio) in Preconfig()
281 bool VideoSession::CanSetFrameRateRange(int32_t minFps, int32_t maxFps, CaptureOutput* curOutput) in CanSetFrameRateRange()
/ohos5.0/docs/zh-cn/release-notes/changelogs/OpenHarmony_4.1.6.3/
H A Dchangelogs-camera.md95 createCaptureSession用来创建CaptureSession实例,API11后,Session通过模式进行区分,分为PhotoSession和VideoSession,通过API11…
141 API11版本新增PhotoSession和VideoSession区分录像会话和拍照会话。
159 通过API11新增接口PhotoSession对应拍照模式会话,VideoSession对应录像模式会话。
199 合并至PhotoSession或VideoSession的start和stop接口。
203 无需适配,通过API11新增的PhotoSession或VideoSession的start和stop接口,或是CaptureSession的start和stop接口,即可执行PreviewOutp…
/ohos5.0/foundation/multimedia/camera_framework/interfaces/inner_api/native/camera/include/session/
H A Dvideo_session.h25 class VideoSession : public CaptureSession {
27 explicit VideoSession(sptr<ICaptureSession> &videoSession): CaptureSession(videoSession) {} in VideoSession() function
28 ~VideoSession() = default;
/ohos5.0/docs/en/release-notes/changelogs/OpenHarmony_4.1.6.3/
H A Dchangelogs-camera.md117 … Session\>(mode: SceneMode): T** is used to create a **PhotoSession** or **VideoSession** instance.
121 … extends Session\>(mode: SceneMode): T** to create a **PhotoSession** or **VideoSession** instance.
145 **PhotoSession** and **VideoSession** are added in API version 11 to distinguish photo sessions and…
159 … Session\>(mode: SceneMode): T** is used to create a **PhotoSession** or **VideoSession** instance.
163 Use the **PhotoSession** and **VideoSession** classes.
203 …The **start()** and **stop()** APIs of the **PhotoSession** or **VideoSession** class are used to …
207 …triggered by the **start()** and **stop()** APIs of the **PhotoSession** or **VideoSession** class.
/ohos5.0/foundation/multimedia/camera_framework/interfaces/kits/js/camera_napi/include/mode/
H A Dvideo_session_for_sys_napi.h38 sptr<VideoSession> videoSession_;
H A Dvideo_session_napi.h37 sptr<VideoSession> videoSession_;
/ohos5.0/foundation/multimedia/camera_framework/frameworks/js/camera_napi/src/mode/
H A Dvideo_session_for_sys_napi.cpp116 obj->videoSession_ = static_cast<VideoSession*>(sCameraSession_.GetRefPtr()); in VideoSessionForSysNapiConstructor()
H A Dvideo_session_napi.cpp113 obj->videoSession_ = static_cast<VideoSession*>(sCameraSession_.GetRefPtr()); in VideoSessionNapiConstructor()
/ohos5.0/docs/zh-cn/application-dev/media/camera/
H A Dcamera-recording-case.md175 let videoSession: camera.VideoSession | undefined = undefined;
177 … videoSession = cameraManager.createSession(camera.SceneMode.NORMAL_VIDEO) as camera.VideoSession;
H A Dcamera-dual-channel-preview.md219 private session: camera.VideoSession | undefined = undefined;
373 …s.session = this.cameraManager.createSession(camera.SceneMode.NORMAL_VIDEO) as camera.VideoSession;
H A Dcamera-worker.md66 private session: camera.PhotoSession | camera.VideoSession | undefined = undefined;
/ohos5.0/docs/zh-cn/application-dev/reference/apis-camera-kit/
H A Djs-apis-camera.md2010 > 仅在[PhotoSession](#photosession11)或[VideoSession](#videosession11)模式下支持。
3770 > 仅在[PhotoSession](#photosession11)或[VideoSession](#videosession11)模式下支持。
5874 function setVideoStabilizationMode(videoSession: camera.VideoSession): void {
8273 ## VideoSession<sup>11+</sup>
8393 function registerSessionError(videoSession: camera.VideoSession): void {
8416 function unregisterSessionError(videoSession: camera.VideoSession): void {
8453 function registerFocusStateChange(videoSession: camera.VideoSession): void {
8513 function registerSmoothZoomInfo(videoSession: camera.VideoSession): void {
8536 function unregisterSmoothZoomInfo(videoSession: camera.VideoSession): void {
8596 function unregisterSmoothZoomInfo(videoSession: camera.VideoSession): void {
[all …]
H A Djs-apis-camera-sys.md3393 >从 API version 10开始支持,从API version 11开始废弃。建议使用[PhotoSession](#photosession11)、[VideoSession](#video…
3829 VideoSessionForSys extends VideoSession, Beauty, ColorEffect, ColorManagement, Macro
3831 提供给系统应用的VideoSession,普通录像模式会话类,继承自[Session](js-apis-camera.md#session11),用于设置普通录像模式的参数以及保存所需要的所有资源[…
3837 ## VideoSession<sup>11+</sup>
3839 VideoSession extends Session, Flash, AutoExposure, Focus, Zoom, Stabilization, ColorManagement
3881 function registerMacroStatusChanged(videoSession: camera.VideoSession): void {
3914 function unregisterMacroStatusChanged(videoSession: camera.VideoSession): void {
3958 function registerLcdFlashStatus(videoSession: camera.VideoSession): void {
3991 function unregisterLcdFlashStatus(videoSession: camera.VideoSession): void {
/ohos5.0/docs/en/application-dev/media/camera/
H A Dcamera-recording-case.md175 let videoSession: camera.VideoSession | undefined = undefined;
177 … videoSession = cameraManager.createSession(camera.SceneMode.NORMAL_VIDEO) as camera.VideoSession;
H A Dcamera-dual-channel-preview.md221 private session: camera.VideoSession | undefined = undefined;
375 …s.session = this.cameraManager.createSession(camera.SceneMode.NORMAL_VIDEO) as camera.VideoSession;
H A Dcamera-worker.md66 private session: camera.PhotoSession | camera.VideoSession | undefined = undefined;
/ohos5.0/foundation/multimedia/camera_framework/frameworks/js/camera_napi/demo/entry/src/main/ets/model/
H A DCameraService.ts83 private videoSession: camera.VideoSession | undefined = undefined;
1534 …setColorSpace(session: camera.PhotoSession | camera.VideoSession, colorSpace: colorSpaceManager.Co…
1848 let session: camera.VideoSession = this.getSession();
1875 logVideoSession(session: camera.VideoSession): void {
/ohos5.0/foundation/multimedia/camera_framework/interfaces/kits/js/camera_napi/
H A D@ohos.multimedia.camera.d.ts4732 interface VideoSessionForSys extends VideoSession, Beauty, ColorEffect, ColorManagement, Macro {
4767 …interface VideoSession extends Session, Flash, AutoExposure, Focus, Zoom, Stabilization, ColorMana…
/ohos5.0/docs/en/application-dev/reference/apis-camera-kit/
H A Djs-apis-camera.md5886 function setVideoStabilizationMode(videoSession: camera.VideoSession): void {
5934 function isVideoStabilizationModeSupported(videoSession: camera.VideoSession): boolean {
8316 ## VideoSession<sup>11+</sup>
8436 function registerSessionError(videoSession: camera.VideoSession): void {
8459 function unregisterSessionError(videoSession: camera.VideoSession): void {
8496 function registerFocusStateChange(videoSession: camera.VideoSession): void {
8519 function unregisterFocusStateChange(videoSession: camera.VideoSession): void {
8556 function registerSmoothZoomInfo(videoSession: camera.VideoSession): void {
8579 function unregisterSmoothZoomInfo(videoSession: camera.VideoSession): void {
8616 function registerAutoDeviceSwitchStatus(videoSession: camera.VideoSession): void {
[all …]
H A Djs-apis-camera-sys.md3401 …rsion 11. You are advised to use [PhotoSession](#photosession11) and [VideoSession](#videosession1…
3841 VideoSessionForSys extends VideoSession, Beauty, ColorEffect, ColorManagement, Macro
3849 ## VideoSession<sup>11+</sup>
3851 VideoSession extends Session, Flash, AutoExposure, Focus, Zoom, Stabilization, ColorManagement
3893 function registerMacroStatusChanged(videoSession: camera.VideoSession): void {
3926 function unregisterMacroStatusChanged(videoSession: camera.VideoSession): void {
3970 function registerLcdFlashStatus(videoSession: camera.VideoSession): void {
4003 function unregisterLcdFlashStatus(videoSession: camera.VideoSession): void {
/ohos5.0/foundation/multimedia/camera_framework/frameworks/native/camera/src/input/
H A Dcamera_manager.cpp317 return new (std::nothrow) VideoSession(session); in CreateCaptureSessionImpl()
/ohos5.0/foundation/multimedia/camera_framework/frameworks/native/camera/test/moduletest/src/
H A Dcamera_framework_moduletest.cpp4341 sptr<VideoSession> videoSession = static_cast<VideoSession *>(captureSession.GetRefPtr());
11714 auto videoSession = static_cast<VideoSession*>(captureSession.GetRefPtr());