/ohos5.0/foundation/multimedia/camera_framework/test/fuzztest/capturesession_fuzzer/ |
H A D | capture_session_fuzzer.h | 26 void TestSession(sptr<CaptureSession> session, uint8_t *rawData, size_t size); 28 void TestExposure(sptr<CaptureSession> session, uint8_t *rawData, size_t size); 29 void TestFocus(sptr<CaptureSession> session, uint8_t *rawData, size_t size); 30 void TestZoom(sptr<CaptureSession> session, uint8_t *rawData, size_t size); 31 void TestCallback(sptr<CaptureSession> session, uint8_t *rawData, size_t size); 33 void TestFlash(sptr<CaptureSession> session, uint8_t *rawData, size_t size); 35 void TestProcess(sptr<CaptureSession> session, uint8_t *rawData, size_t size); 36 void TestAperture(sptr<CaptureSession> session, uint8_t *rawData, size_t size); 37 void TestBeauty(sptr<CaptureSession> session, uint8_t *rawData, size_t size); 38 void TestOther(sptr<CaptureSession> session, uint8_t *rawData, size_t size); [all …]
|
H A D | capture_session_fuzzer.cpp | 135 void TestExposure(sptr<CaptureSession> session, uint8_t *rawData, size_t size) in TestExposure() 172 void TestFocus(sptr<CaptureSession> session, uint8_t *rawData, size_t size) in TestFocus() 202 void TestZoom(sptr<CaptureSession> session, uint8_t *rawData, size_t size) in TestZoom() 226 void TestCallback(sptr<CaptureSession> session, uint8_t *rawData, size_t size) in TestCallback() 273 void TestFlash(sptr<CaptureSession> session, uint8_t *rawData, size_t size) in TestFlash() 309 void TestProcess(sptr<CaptureSession> session, uint8_t *rawData, size_t size) in TestProcess() 336 void TestAperture(sptr<CaptureSession> session, uint8_t *rawData, size_t size) in TestAperture() 365 void TestBeauty(sptr<CaptureSession> session, uint8_t *rawData, size_t size) in TestBeauty() 398 void TestOther(sptr<CaptureSession> session, uint8_t *rawData, size_t size) in TestOther() 433 void TestOther2(sptr<CaptureSession> session, uint8_t *rawData, size_t size) in TestOther2() [all …]
|
/ohos5.0/foundation/multimedia/camera_framework/frameworks/native/camera/src/session/ |
H A D | capture_session.cpp | 265 CaptureSession::~CaptureSession() in ~CaptureSession() 271 int32_t CaptureSession::BeginConfig() in BeginConfig() 302 int32_t CaptureSession::CommitConfig() in CommitConfig() 342 void CaptureSession::CheckSpecSearch() in CheckSpecSearch() 641 void CaptureSession::FindTagId() in FindTagId() 1090 int32_t CaptureSession::Start() in Start() 1114 int32_t CaptureSession::Stop() in Stop() 1131 int32_t CaptureSession::Release() in Release() 2558 bool CaptureSession::HasFlash() in HasFlash() 2976 SceneMode CaptureSession::GetMode() in GetMode() [all …]
|
H A D | macro_video_session.cpp | 23 MacroVideoSession::MacroVideoSession(sptr<ICaptureSession>& captureSession) : CaptureSession(captur… in MacroVideoSession() 30 return CaptureSession::CanAddOutput(output); in CanAddOutput() 35 int32_t ret = CaptureSession::CommitConfig(); in CommitConfig()
|
H A D | macro_photo_session.cpp | 22 MacroPhotoSession::MacroPhotoSession(sptr<ICaptureSession>& captureSession) : CaptureSession(captur… in MacroPhotoSession() 29 …return output->GetOutputType() != CAPTURE_OUTPUT_TYPE_VIDEO && CaptureSession::CanAddOutput(output… in CanAddOutput() 34 int32_t ret = CaptureSession::CommitConfig(); in CommitConfig()
|
H A D | aperture_video_session.cpp | 28 ApertureVideoSession::ApertureVideoSession(sptr<ICaptureSession>& captureSession) : CaptureSession(… in ApertureVideoSession() 37 return CaptureSession::CanAddOutput(output); in CanAddOutput() 42 int32_t ret = CaptureSession::CommitConfig(); in CommitConfig()
|
H A D | quick_shot_photo_session.cpp | 22 …sion::QuickShotPhotoSession(sptr<ICaptureSession>& captureSession) : CaptureSession(captureSession… in QuickShotPhotoSession() 29 …return output->GetOutputType() != CAPTURE_OUTPUT_TYPE_VIDEO && CaptureSession::CanAddOutput(output… in CanAddOutput()
|
/ohos5.0/docs/zh-cn/release-notes/changelogs/OpenHarmony_4.1.6.3/ |
H A D | changelogs-camera.md | 95 createCaptureSession用来创建CaptureSession实例,API11后,Session通过模式进行区分,分为PhotoSession和VideoSession,通过API11… 99 createCaptureSession(): CaptureSession会在API11版本废弃,保留五个版本。 110 通过createCaptureSession(): CaptureSession创建CaptureSession实例。 128 ## cl.camera.4 CaptureSession接口变更 136 CaptureSession用来保存一次相机运行所需要的所有资源CameraInput、CameraOutput,并向相机设备申请完成相机功能(录像,拍照)的会话类。 140 CaptureSession以及包含的接口会在API11版本废弃,保留五个版本。 147 CaptureSession 151 通过createCaptureSession(): CaptureSession创建CaptureSession实例。 203 无需适配,通过API11新增的PhotoSession或VideoSession的start和stop接口,或是CaptureSession的start和stop接口,即可执行PreviewOutp…
|
/ohos5.0/docs/zh-cn/release-notes/changelogs/v3.2-beta5/ |
H A D | changelogs-camera-sync.md | 215 …k: AsyncCallback<CaptureSession>): void; 以及 createCaptureSession(): Promise<CaptureSession>; 变更为 c… 236 13. CaptureSession 中接口 beginConfig 返回方式由异步 callback 跟异步 promise 变更为同步返回,因此旧接口 beginConfig(callback:… 276 18. CaptureSession 中接口 hasFlash 返回方式由异步 callback 跟异步 promise 变更为同步返回,因此旧接口 hasFlash(callback: Async… 292 20. CaptureSession 中接口 getFlashMode 返回方式由异步 callback 跟异步 promise 变更为同步返回,因此旧接口 getFlashMode(callbac… 308 22. CaptureSession 中接口 getExposureMode 返回方式由异步 callback 跟异步 promise 变更为同步返回,因此旧接口 getExposureMode(c… 324 24. CaptureSession 中接口 getMeteringPoint 返回方式由异步 callback 跟异步 promise 变更为同步返回,因此旧接口 getMeteringPoint… 358 28. CaptureSession 中接口 getExposureValue 返回方式由异步 callback 跟异步 promise 变更为同步返回,因此旧接口 getExposureValue… 374 30. CaptureSession 中接口 getFocusMode 返回方式由异步 callback 跟异步 promise 变更为同步返回,因此旧接口 getFocusMode(callbac… 399 33. CaptureSession 中接口 getFocusPoint 返回方式由异步 callback 跟异步 promise 变更为同步返回,因此旧接口 getFocusPoint(callb… 407 34. CaptureSession 中接口 getFocalLength 返回方式由异步 callback 跟异步 promise 变更为同步返回,因此旧接口 getFocalLength(cal… [all …]
|
/ohos5.0/docs/zh-cn/release-notes/changelogs/OpenHarmony_3.2.10.3/ |
H A D | changelogs-camera-sync.md | 217 …k: AsyncCallback<CaptureSession>): void; 以及 createCaptureSession(): Promise<CaptureSession>; 变更为 c… 238 13. CaptureSession 中接口 beginConfig 返回方式由异步 callback 跟异步 promise 变更为同步返回,因此旧接口 beginConfig(callback:… 278 18. CaptureSession 中接口 hasFlash 返回方式由异步 callback 跟异步 promise 变更为同步返回,因此旧接口 hasFlash(callback: Async… 294 20. CaptureSession 中接口 getFlashMode 返回方式由异步 callback 跟异步 promise 变更为同步返回,因此旧接口 getFlashMode(callbac… 310 22. CaptureSession 中接口 getExposureMode 返回方式由异步 callback 跟异步 promise 变更为同步返回,因此旧接口 getExposureMode(c… 326 24. CaptureSession 中接口 getMeteringPoint 返回方式由异步 callback 跟异步 promise 变更为同步返回,因此旧接口 getMeteringPoint… 360 28. CaptureSession 中接口 getExposureValue 返回方式由异步 callback 跟异步 promise 变更为同步返回,因此旧接口 getExposureValue… 376 30. CaptureSession 中接口 getFocusMode 返回方式由异步 callback 跟异步 promise 变更为同步返回,因此旧接口 getFocusMode(callbac… 401 33. CaptureSession 中接口 getFocusPoint 返回方式由异步 callback 跟异步 promise 变更为同步返回,因此旧接口 getFocusPoint(callb… 409 34. CaptureSession 中接口 getFocalLength 返回方式由异步 callback 跟异步 promise 变更为同步返回,因此旧接口 getFocalLength(cal… [all …]
|
/ohos5.0/foundation/multimedia/camera_framework/docs/ |
H A D | preformance-imporvement-instructions.md | 263 const session: camera.CaptureSession = await this.mCameraManager.createCaptureSession(); 299 在CaptureSession.addOutput(photoOutput: PhotoOutput)、CaptureSession.addInput(cameraInput: CameraInpu… 311 | boolean | 返回当前CaptureSession中拍照流是否支持快速缩略图 | 326 // 创建CaptureSession实例 347 在CaptureSession.addOutput(photoOutput: PhotoOutput)、CaptureSession.addInput(cameraInput: CameraInpu… 374 // 创建CaptureSession实例 423 // 创建CaptureSession实例 459 …ickThumbnail 接口需要在CaptureSession.addOutput(photoOutput: PhotoOutput)、CaptureSession.addInput(camer…
|
/ohos5.0/docs/zh-cn/release-notes/changelogs/OpenHarmony_3.2.8.1/ |
H A D | changelogs-camera.md | 40 …CaptureSession(callback: AsyncCallback<CaptureSession>): void;<br/>createCaptureSession(): Promise… 44 …ntext, callback: AsyncCallback<CaptureSession>): void;<br/>createCaptureSession(context: Context):… 107 | ohos.multimedia.camera | CaptureSession | addOutput(cameraOutput: CameraOutput, callback… 112 | ohos.multimedia.camera | CaptureSession | on(type: 'focusStateChange', callback: AsyncCa… 316 14. CaptureSession中新增getMeteringPoint(callback: AsyncCallback<Point>): void;以及getMeteringPoint(): P… 336 15. CaptureSession中新增setMeteringPoint(point: Point, callback: AsyncCallback<void>): void;以及setMeter… 620 …CaptureSession>): void;以及createCaptureSession(context: Context): Promise<CaptureSession>;改为createC… 653 10. CameraInput中以下接口调整到CaptureSession中 697 …e: 'focusStateChange', callback: AsyncCallback<FocusState>): void;调整到CaptureSession中,对应接口on(type: … 723 14. CaptureSession中接口addOutput参数由原来子类类型(PreviewOutput,PhotoOutput,VideoOutput,MetadataOutput)统一修改为基… [all …]
|
/ohos5.0/docs/en/release-notes/changelogs/OpenHarmony_3.2.8.1/ |
H A D | changelogs-camera.md | 40 …eCaptureSession(callback: AsyncCallback<CaptureSession>): void;<br>createCaptureSession(): Promise… 44 …ontext, callback: AsyncCallback<CaptureSession>): void;<br>createCaptureSession(context: Context):… 107 | ohos.multimedia.camera | CaptureSession | addOutput(cameraOutput: CameraOutput, callback… 108 | ohos.multimedia.camera | CaptureSession | removeOutput(cameraOutput: CameraOutput, callb… 112 | ohos.multimedia.camera | CaptureSession | on(type: 'focusStateChange', callback: AsyncCa… 113 | ohos.multimedia.camera | CaptureSession | hasFlash(callback: AsyncCallback<boolean>): vo… 316 …<Point>): void;** and **getMeteringPoint(): Promise<Point>;** APIs are added to **CaptureSession**. 336 …oid;** and **setMeteringPoint(point: Point): Promise<void>;** APIs are added to **CaptureSession**. 620 …CaptureSession>): void;** and **createCaptureSession(context: Context): Promise<CaptureSession>;**… 653 10. The following APIs are moved from **CameraInput** to **CaptureSession**: [all …]
|
/ohos5.0/foundation/multimedia/camera_framework/frameworks/native/camera/test/moduletest/include/ |
H A D | camera_framework_moduletest.h | 59 sptr<CaptureSession> session_; 60 sptr<CaptureSession> scanSession_; 62 sptr<CaptureSession> highResSession_; 63 sptr<CaptureSession> videoSession_; 111 void SetCameraParameters(sptr<CaptureSession> &session, bool video);
|
/ohos5.0/docs/en/release-notes/changelogs/v3.2-beta5/ |
H A D | changelogs-camera-sync.md | 215 …allback<CaptureSession>): void** and **createCaptureSession(): Promise<CaptureSession>** are chang… 236 13. Changed the return modes of the **beginConfig** API in CaptureSession from asynchronous callbac… 276 18. Changed the return modes of the **hasFlash** API in CaptureSession from asynchronous callback a… 292 20. Changed the return modes of the **getFlashMode** API in CaptureSession from asynchronous callba… 324 24. Changed the return modes of the **getMeteringPoint** API in CaptureSession from asynchronous ca… 358 28. Changed the return modes of the **getExposureValue** API in CaptureSession from asynchronous ca… 374 30. Changed the return modes of the **getFocusMode** API in CaptureSession from asynchronous callba… 399 33. Changed the return modes of the **getFocusPoint** API in CaptureSession from asynchronous callb… 407 34. Changed the return modes of the **getFocalLength** API in CaptureSession from asynchronous call… 423 36. Changed the return modes of the **getZoomRatio** API in CaptureSession from asynchronous callba… [all …]
|
/ohos5.0/docs/en/release-notes/changelogs/OpenHarmony_3.2.10.3/ |
H A D | changelogs-camera-sync.md | 217 …allback<CaptureSession>): void** and **createCaptureSession(): Promise<CaptureSession>** are chang… 238 13. Changed the return modes of the **beginConfig** API in CaptureSession from asynchronous callbac… 278 18. Changed the return modes of the **hasFlash** API in CaptureSession from asynchronous callback a… 294 20. Changed the return modes of the **getFlashMode** API in CaptureSession from asynchronous callba… 326 24. Changed the return modes of the **getMeteringPoint** API in CaptureSession from asynchronous ca… 360 28. Changed the return modes of the **getExposureValue** API in CaptureSession from asynchronous ca… 376 30. Changed the return modes of the **getFocusMode** API in CaptureSession from asynchronous callba… 401 33. Changed the return modes of the **getFocusPoint** API in CaptureSession from asynchronous callb… 409 34. Changed the return modes of the **getFocalLength** API in CaptureSession from asynchronous call… 425 36. Changed the return modes of the **getZoomRatio** API in CaptureSession from asynchronous callba… [all …]
|
/ohos5.0/foundation/multimedia/camera_framework/interfaces/inner_api/native/camera/include/output/ |
H A D | capture_output.h | 103 class CaptureSession; variable 128 sptr<CaptureSession> GetSession(); 129 void SetSession(wptr<CaptureSession> captureSession); 163 wptr<CaptureSession> session_;
|
/ohos5.0/docs/en/release-notes/changelogs/OpenHarmony_4.1.6.3/ |
H A D | changelogs-camera.md | 101 The API **createCaptureSession(): CaptureSession** is deprecated in API version 11 and will be reta… 113 **createCaptureSession(): CaptureSession** is used to create a **CaptureSession** instance. 131 ## cl.camera.4 API CaptureSession Changed 139 **CaptureSession** is used to store all resources **CameraInput** and **CameraOutput** required for… 143 **CaptureSession** and its APIs are deprecated in API version 11 and will be retained for five more… 151 CaptureSession 155 **createCaptureSession(): CaptureSession** is used to create a **CaptureSession** instance.
|
/ohos5.0/foundation/multimedia/camera_framework/interfaces/inner_api/native/camera/include/session/ |
H A D | fluorescence_photo_session.h | 24 class FluorescencePhotoSession : public CaptureSession { 27 : CaptureSession(fluorescencePhotoSession) {} in FluorescencePhotoSession()
|
H A D | high_res_photo_session.h | 24 class HighResPhotoSession : public CaptureSession { 26 …explicit HighResPhotoSession(sptr<ICaptureSession> &highResPhotoSession): CaptureSession(highResPh… in HighResPhotoSession()
|
H A D | panorama_session.h | 30 class PanoramaSession : public CaptureSession { 32 …explicit PanoramaSession(sptr<ICaptureSession> &PanoramaSession): CaptureSession(PanoramaSession) … in PanoramaSession()
|
H A D | secure_camera_session.h | 24 class SecureCameraSession : public CaptureSession { 26 …explicit SecureCameraSession(sptr<ICaptureSession> &secureCameraSession): CaptureSession(secureCam… in SecureCameraSession()
|
H A D | light_painting_session.h | 26 class LightPaintingSession : public CaptureSession { 28 …explicit LightPaintingSession(sptr<ICaptureSession> &lightPaintingSession): CaptureSession(lightPa… in LightPaintingSession()
|
H A D | portrait_session.h | 33 class PortraitSession : public CaptureSession { 35 …explicit PortraitSession(sptr<ICaptureSession> &PortraitSession): CaptureSession(PortraitSession) … in PortraitSession()
|
/ohos5.0/docs/zh-cn/release-notes/api-diff/v3.1-Release/ |
H A D | js-apidiff-multimedia_api-9-canary.md | 56 | ohos.multimedia.camera | CaptureSession | on(type: 'error', callback: ErrorCallback\<CaptureSessi… 57 | ohos.multimedia.camera | CaptureSession | release(callback: AsyncCallback\<void>): void;<br>relea… 58 | ohos.multimedia.camera | CaptureSession | stop(callback: AsyncCallback\<void>): void;<br>stop(): … 59 | ohos.multimedia.camera | CaptureSession | start(callback: AsyncCallback\<void>): void;<br>start()… 60 | ohos.multimedia.camera | CaptureSession | removeOutput(previewOutput: PreviewOutput, callback: As… 61 | ohos.multimedia.camera | CaptureSession | removeInput(cameraInput: CameraInput, callback: AsyncCa… 62 | ohos.multimedia.camera | CaptureSession | addOutput(previewOutput: PreviewOutput, callback: Async… 63 | ohos.multimedia.camera | CaptureSession | addInput(cameraInput: CameraInput, callback: AsyncCallb… 64 | ohos.multimedia.camera | CaptureSession | commitConfig(callback: AsyncCallback\<void>): void;<br>… 65 | ohos.multimedia.camera | CaptureSession | beginConfig(callback: AsyncCallback\<void>): void;<br>b… [all …]
|