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 Type | Field Name | Field Description | Operation Function | Function Description |
|---|---|---|---|---|
| uint32_t | frameCount | Number of frames. | OH_PackingOptionsForSequence_GetFrameCount | Obtains the number of frames specified for encoding. |
| uint32_t | frameCount | Number of frames. | OH_PackingOptionsForSequence_SetFrameCount | Sets the number of frames specified for encoding. |
| int32_t * | delayTimeList | Delay time array. | OH_PackingOptionsForSequence_GetDelayTimeList | Obtains the delay time array of images during encoding. |
| int32_t * | delayTimeList | Delay time array. | OH_PackingOptionsForSequence_SetDelayTimeList | Sets the delay time array of images during encoding. |
| uint32_t * | disposalTypes | Number of frames. | OH_PackingOptionsForSequence_GetDisposalTypes | Obtains the disposal type array for image sequence encoding. |
| uint32_t * | disposalTypes | Number of frames. | OH_PackingOptionsForSequence_SetDisposalTypes | Sets the disposal type array of images during encoding. |
| uint32_t | loopCount | Number of frames. | OH_PackingOptionsForSequence_GetLoopCount | Obtains the number of image loops during encoding. |
| uint32_t | loopCount | Number of frames. | OH_PackingOptionsForSequence_SetLoopCount | Sets 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