acl.himpi.venc_get_intra_refresh

C Prototype

hi_s32 hi_mpi_venc_get_intra_refresh(hi_venc_chn chn, hi_venc_intra_refresh *intra_refresh)

Python Function

intra_refresh, ret = acl.himpi.venc_get_intra_refresh(chn)

Function Usage

Obtains Islice refreshing parameters in P-frames.

The Atlas 200/300/500 Inference Product does not support this API.

The Atlas Training Series Product does not support this API.

Input Description

chn: int, encoding channel ID.

Return Value

intra_refresh: dict, Islice refreshing parameter dictionary. For details, see hi_venc_intra_refresh.

ret: int, error code.

Restrictions

  • This API must be called after an encoding channel is created and before the encoding channel is destroyed.
  • When the GOP mode is switched, the obtained attributes are the latest configured attributes.