venc_get_streamcopy_param

Applicable Products

Product

Supported (√/x)

Ascend 950PR&950DT products

x

Atlas A3 products

x

Atlas A2 products

x

Atlas training products

x

Atlas inference products

√

Atlas 200I/500 A2 inference products

x

Description

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)
    

Parameters

Parameter

Description

chn

Int, encoding channel ID.

Return Values

Return Value

Description

streamcopy_param

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

ret

Int.

Constraints

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