venc_get_streamcopy_param

Applicability

Product

Supported (√/x)

Atlas A3 training products/Atlas A3 inference products

x

Atlas A2 training products/Atlas A2 inference products

x

Atlas training products

x

Atlas inference products

Atlas 200I/500 A2 inference products

x

Function Usage

Obtains the frame copy parameter.

Prototype

  • C Prototype
    1
    hi_s32 hi_mpi_venc_get_streamcopy_param(hi_venc_chn chn, hi_venc_streamcopy_param *streamcopy_param)
    
  • Python Function
    1
    streamcopy_param, ret = acl.himpi.venc_get_slice_split(chn)
    

Parameter Description

Parameter

Description

chn

Int, encoding channel ID.

Return Value Description

Return Value

Description

streamcopy_param

Dict, frame copy parameter. For details, see hi_venc_streamcopy_param.

ret

Int.

Restrictions

Only H.264/H.265 encoding channels support this API.