OH_PackingOptionsForSequence
typedef struct OH_PackingOptionsForSequence OH_PackingOptionsForSequence
概述
OH_PackingOptionsForSequence是native层封装的图像序列编码选项结构体,不可直接操作,而是采用函数调用方式创建、释放结构体以及操作具体字段。
创建OH_PackingOptionsForSequence结构体的对象使用OH_PackingOptionsForSequence_Create函数。
释放OH_PackingOptionsForSequence对象使用OH_PackingOptionsForSequence_Release函数。
| 字段类型 | 字段名称 | 字段描述 | 操作函数 | 函数描述 |
|---|---|---|---|---|
| uint32_t | frameCount | 帧数 | OH_PackingOptionsForSequence_GetFrameCount | 获取编码时指定的帧数。 |
| uint32_t | frameCount | 帧数 | OH_PackingOptionsForSequence_SetFrameCount | 设置编码时指定的帧数。 |
| int32_t * | delayTimeList | 延迟时间数组 | OH_PackingOptionsForSequence_GetDelayTimeList | 获取编码时图片的延迟时间数组。 |
| int32_t * | delayTimeList | 延迟时间数组 | OH_PackingOptionsForSequence_SetDelayTimeList | 设置编码时图片的延迟时间数组。 |
| uint32_t * | disposalTypes | 帧数 | OH_PackingOptionsForSequence_GetDisposalTypes | 获取编码时图片的过渡帧模式数组。 |
| uint32_t * | disposalTypes | 帧数 | OH_PackingOptionsForSequence_SetDisposalTypes | 设置编码时图片的过渡帧模式数组。 |
| uint32_t | loopCount | 帧数 | OH_PackingOptionsForSequence_GetLoopCount | 获取编码时图片循环播放次数。 |
| uint32_t | loopCount | 帧数 | OH_PackingOptionsForSequence_SetLoopCount | 设置编码时图片循环播放次数,取值范围为[0,65535],0表示无限循环;若无此字段,则表示不循环播放。 |
起始版本: 18
相关模块: Image_NativeModule
所在头文件: 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