mirror of
https://gitee.com/openharmony/interface_sdk_c
synced 2024-11-28 01:11:14 +00:00
image_effect增加时间戳接口
Signed-off-by: z00428214 <zhurui17@huawei.com>
This commit is contained in:
parent
81e628cfe9
commit
88f522a76b
@ -476,6 +476,32 @@ ImageEffect_ErrorCode OH_EffectBufferInfo_SetEffectFormat(OH_EffectBufferInfo *i
|
||||
*/
|
||||
ImageEffect_ErrorCode OH_EffectBufferInfo_GetEffectFormat(OH_EffectBufferInfo *info, ImageEffect_Format *format);
|
||||
|
||||
/**
|
||||
* @brief Set the timestamp of the image for OH_EffectBufferInfo
|
||||
*
|
||||
* @syscap SystemCapability.Multimedia.ImageEffect.Core
|
||||
* @param info Encapsulate OH_EffectBufferInfo structure instance pointer
|
||||
* @param timestamp Indicates the timestamp of the image frame data for the OHNativeWindow input type.
|
||||
* @return Returns EFFECT_SUCCESS if the execution is successful, otherwise returns a specific error code, refer to
|
||||
* {@link ImageEffect_ErrorCode}
|
||||
* {@link EFFECT_ERROR_PARAM_INVALID}, the input parameter is a null pointer.
|
||||
* @since 12
|
||||
*/
|
||||
ImageEffect_ErrorCode OH_EffectBufferInfo_SetTimestamp(OH_EffectBufferInfo *info, int64_t timestamp);
|
||||
|
||||
/**
|
||||
* @brief Get the timestamp of the image from OH_EffectBufferInfo
|
||||
*
|
||||
* @syscap SystemCapability.Multimedia.ImageEffect.Core
|
||||
* @param info Encapsulate OH_EffectBufferInfo structure instance pointer
|
||||
* @param timestamp Indicates the timestamp of the image frame data for the OHNativeWindow input type.
|
||||
* @return Returns EFFECT_SUCCESS if the execution is successful, otherwise returns a specific error code, refer to
|
||||
* {@link ImageEffect_ErrorCode}
|
||||
* {@link EFFECT_ERROR_PARAM_INVALID}, the input parameter is a null pointer.
|
||||
* @since 12
|
||||
*/
|
||||
ImageEffect_ErrorCode OH_EffectBufferInfo_GetTimestamp(OH_EffectBufferInfo *info, int64_t *timestamp);
|
||||
|
||||
/**
|
||||
* @brief Clear the internal resources of the OH_EffectBufferInfo and destroy the OH_EffectBufferInfo instance
|
||||
*
|
||||
|
@ -75,6 +75,14 @@
|
||||
"first_introduced": "12",
|
||||
"name": "OH_EffectBufferInfo_GetEffectFormat"
|
||||
},
|
||||
{
|
||||
"first_introduced": "12",
|
||||
"name": "OH_EffectBufferInfo_SetTimestamp"
|
||||
},
|
||||
{
|
||||
"first_introduced": "12",
|
||||
"name": "OH_EffectBufferInfo_GetTimestamp"
|
||||
},
|
||||
{
|
||||
"first_introduced": "12",
|
||||
"name": "OH_EffectBufferInfo_Release"
|
||||
|
Loading…
Reference in New Issue
Block a user