harmony 鸿蒙photo_output.h
photo_output.h
Overview
The photo_output.h file declares the photo output concepts.
Library: libohcamera.so
File to include: <ohcamera/photo_output.h>
System capability: SystemCapability.Multimedia.Camera.Core
Since: 11
Related module: OH_Camera
Summary
Structs
Name | Description |
---|---|
struct PhotoOutput_Callbacks | Describes the callbacks related to photo output. |
Types
Name | Description |
---|---|
typedef struct Camera_PhotoOutput Camera_PhotoOutput | Defines a struct for the photo output object. |
typedef void(* OH_PhotoOutput_OnFrameStart) (Camera_PhotoOutput *photoOutput) | Defines the callback defined in the PhotoOutput_Callbacks struct and used to report photo output frame start events. |
typedef void(* OH_PhotoOutput_OnFrameShutter) (Camera_PhotoOutput *photoOutput, Camera_FrameShutterInfo *info) | Defines the callback defined in the PhotoOutput_Callbacks struct and used to report frame shutter events. |
typedef void(* OH_PhotoOutput_OnFrameEnd) (Camera_PhotoOutput *photoOutput, int32_t frameCount) | Defines the callback defined in the PhotoOutput_Callbacks struct and used to report photo output frame end events. |
typedef void(* OH_PhotoOutput_OnError) (Camera_PhotoOutput *photoOutput, Camera_ErrorCode errorCode) | Defines the callback defined in the PhotoOutput_Callbacks struct and used to report photo output errors. |
typedef void(* OH_PhotoOutput_CaptureEnd) (Camera_PhotoOutput *photoOutput, int32_t frameCount) | Defines the callback invoked when the capture ends. |
typedef void(* OH_PhotoOutput_CaptureStartWithInfo) (Camera_PhotoOutput *photoOutput, Camera_CaptureStartInfo *Info) | Defines the callback invoked when the capture starts. |
typedef void(* OH_PhotoOutput_OnFrameShutterEnd) (Camera_PhotoOutput *photoOutput, Camera_FrameShutterInfo *Info) | Defines the callback invoked when frame shutter ends. |
typedef void(* OH_PhotoOutput_CaptureReady) (Camera_PhotoOutput *photoOutput) | Defines the callback invoked when the camera is ready to take photos. When the callback is received, the next capture can be performed. |
typedef void(* OH_PhotoOutput_EstimatedCaptureDuration) (Camera_PhotoOutput *photoOutput, int64_t duration) | Defines the callback for the estimated capture duration. |
typedef void(* OH_PhotoOutput_PhotoAvailable) (Camera_PhotoOutput *photoOutput, OH_PhotoNative *photo) | Defines the callback invoked when a high-resolution photo is available. |
typedef void(* OH_PhotoOutput_PhotoAssetAvailable) (Camera_PhotoOutput *photoOutput, OH_MediaAsset *photoAsset) | Defines the callback invoked when a photo asset is available. |
typedef struct PhotoOutput_Callbacks PhotoOutput_Callbacks | Defines a struct for the callbacks related to photo output. |
Functions
你可能感兴趣的鸿蒙文章
harmony 鸿蒙Camera_CaptureEndInfo
harmony 鸿蒙Camera_CaptureStartInfo
harmony 鸿蒙Camera_ConcurrentInfo
harmony 鸿蒙Camera_FrameRateRange
harmony 鸿蒙Camera_FrameShutterEndInfo
0
赞
- 所属分类: 后端技术
- 本文标签:
热门推荐
-
2、 - 优质文章
-
3、 gate.io
-
8、 golang
-
9、 openharmony
-
10、 Vue中input框自动聚焦