openharmony 鸿蒙 capi-image-nativemodule-oh-packingoptionsforsequence

2026-08-25 浏览 (1)

OH_PackingOptionsForSequence

typedef struct OH_PackingOptionsForSequence OH_PackingOptionsForSequence

Overview

OH_PackingOptionsForSequence is an image sequence encoding option struct encapsulated at the native layer. It cannot be manipulated directly; instead, functions shall be called to create and release the struct, and operate on its specific fields.

The OH_PackingOptionsForSequence_Create function is used to create the OH_PackingOptionsForSequence struct.

The OH_PackingOptionsForSequence_Release function is used to release the OH_PackingOptionsForSequence struct.

Field TypeField NameField DescriptionOperation FunctionFunction Description
uint32_tframeCountNumber of frames.OH_PackingOptionsForSequence_GetFrameCountObtains the number of frames specified for encoding.
uint32_tframeCountNumber of frames.OH_PackingOptionsForSequence_SetFrameCountSets the number of frames specified for encoding.
int32_t *delayTimeListDelay time array.OH_PackingOptionsForSequence_GetDelayTimeListObtains the delay time array of images during encoding.
int32_t *delayTimeListDelay time array.OH_PackingOptionsForSequence_SetDelayTimeListSets the delay time array of images during encoding.
uint32_t *disposalTypesNumber of frames.OH_PackingOptionsForSequence_GetDisposalTypesObtains the disposal type array for image sequence encoding.
uint32_t *disposalTypesNumber of frames.OH_PackingOptionsForSequence_SetDisposalTypesSets the disposal type array of images during encoding.
uint32_tloopCountNumber of frames.OH_PackingOptionsForSequence_GetLoopCountObtains the number of image loops during encoding.
uint32_tloopCountNumber of frames.OH_PackingOptionsForSequence_SetLoopCountSets the number of image loops during encoding. The value range is [0, 65535]. The value 0 indicates infinite looping. If this field is not set, the playback does not loop.

Since: 18

Related module: Image_NativeModule

Header file: image_packer_native.h

你可能感兴趣的鸿蒙文章

openharmony 鸿蒙 capi-image-nativemodule-oh-pixelmap-hdrmetadatavalue

openharmony 鸿蒙 capi-image-imagepacker-opts-

openharmony 鸿蒙 capi-image-nativemodule-image-region

openharmony 鸿蒙 capi-image-imagepacker-native-

openharmony 鸿蒙 capi-image-imagenative-

openharmony 鸿蒙 capi-image-processing-h

openharmony 鸿蒙 capi-image-ohosimagesourcesupportedformat

openharmony 鸿蒙 capi-image-nativemodule-image-size

openharmony 鸿蒙 capi-image-mdk-h

openharmony 鸿蒙 capi-image-ohosimagesourcedelaytimelist

  • 所属分类: 后端技术
  • 本文标签: 软件 鸿蒙
  • 版权声明: 本文链接 https://seaxiang.com/blog/X0CovLj5