venc_get_intra_refresh
产品支持情况
产品 |
是否支持 |
---|---|
x |
|
x |
|
x |
|
√ |
|
√ |
|
x |
功能说明
获取P帧刷新Islice的设置参数。
函数原型
- C函数原型
1
hi_s32 hi_mpi_venc_get_intra_refresh(hi_venc_chn chn, hi_venc_intra_refresh *intra_refresh)
- python函数
1
intra_refresh, ret = acl.himpi.venc_get_intra_refresh(chn)
参数说明
参数名 |
说明 |
---|---|
chn |
int,编码通道号。
|
返回值说明
返回值 |
说明 |
---|---|
intra_refresh |
dict,刷Islice的参数字典。参见hi_venc_intra_refresh。 |
ret |
int,错误码。
|
约束说明
- 本接口必须在编码通道创建之后,编码通道销毁之前调用。
- 切换GOP模式时,获取的属性是已设置的最新的属性。
父主题: VENC视频/JPEGE图像编码接口