mirror of
https://gitee.com/openharmony/interface_sdk_c
synced 2024-11-27 17:01:03 +00:00
!1070 新增imageNtaive_GetTimestamp接口
Merge pull request !1070 from 姚星宇/0724_addInterface
This commit is contained in:
commit
0ba0365bf4
@ -134,6 +134,18 @@ Image_ErrorCode OH_ImageNative_GetRowStride(OH_ImageNative *image,
|
||||
Image_ErrorCode OH_ImageNative_GetPixelStride(OH_ImageNative *image,
|
||||
uint32_t componentType, int32_t *pixelStride);
|
||||
|
||||
/**
|
||||
* @brief Get timestamp from an {@link OH_ImageNative} object.
|
||||
*
|
||||
* @param image Indicates the pointer to an {@link OH_ImageNative} object.
|
||||
* @param timestamp Indicates the pointer to the timestamp obtained.
|
||||
* @return Image functions result code.
|
||||
* {@link IMAGE_SUCCESS} if the operation is successful.
|
||||
* {@link IMAGE_BAD_PARAMETER} if the input parameter is invalid.
|
||||
* @since 12
|
||||
*/
|
||||
Image_ErrorCode OH_ImageNative_GetTimestamp(OH_ImageNative *image, int64_t *timestamp);
|
||||
|
||||
/**
|
||||
* @brief Releases an {@link OH_ImageNative} object.
|
||||
* It is used to release the object {@link OH_ImageNative}.
|
||||
|
Loading…
Reference in New Issue
Block a user