DisplaySoloist_ExpectedRateRange
typedef struct {...} DisplaySoloist_ExpectedRateRange
Overview
This struct describes the expected frame rate range.
Since: 12
Related module: NativeDisplaySoloist
Header file: native_display_soloist.h
Summary
Member Variables
| Name | Description |
|---|---|
| int32_t min | Minimum value of the expected frame rate range. The value range is [0,120]. |
| int32_t max | Maximum value of the expected frame rate range. The value range is [0,120]. |
| int32_t expected | Expected frame rate. The value range is [0,120]. |
Member Functions
| Name | typedef Keyword | Description |
|---|---|---|
| typedef void (*OH_DisplaySoloist_FrameCallback)(long long timestamp, long long targetTimestamp, void* data) | OH_DisplaySoloist_FrameCallback() | Defines the pointer to an OH_DisplaySoloist callback function. Since: 12 |
Member Function Description
OH_DisplaySoloist_FrameCallback()
typedef void (*OH_DisplaySoloist_FrameCallback)(long long timestamp, long long targetTimestamp, void* data)
Description
Defines the pointer to an OH_DisplaySoloist callback function.
Since: 12
Parameters
| Name | Description |
|---|---|
| long long timestamp | Current frame VSync timestamp. |
| long long targetTimestamp | Expected VSync timestamp of the next frame. |
| void* data | Pointer to user-defined data. |
你可能感兴趣的鸿蒙文章
openharmony 鸿蒙 capi-drawing-gpu-context-h
openharmony 鸿蒙 capi-drawing-nativepixelmap-
openharmony 鸿蒙 capi-nativevsync-oh-nativevsync-expectedraterange
openharmony 鸿蒙 capi-drawing-oh-drawing-brush
openharmony 鸿蒙 capi-drawing-oh-drawing-image-info
openharmony 鸿蒙 capi-drawing-text-linetypography-h
openharmony 鸿蒙 capi-oh-nativeimage-oh-nativeimage
openharmony 鸿蒙 capi-drawing-typeface-h