Function: venc_get_frame_config_eos

Applicability

Product

Supported

Atlas 350 Accelerator Card

x

Atlas A3 training product/Atlas A3 inference product

x

Atlas A2 training product/Atlas A2 inference product

x

Atlas training product

x

Atlas inference product

Atlas 200I/500 A2 inference product

Description

Obtains the single-frame encoding parameters.

Prototype

  • C Prototype
    1
    uint8_t aclvencGetFrameConfigEos(const aclvencFrameConfig *config)
    
  • Python Function
    1
    eos = acl.media.venc_get_frame_config_eos(config)
    

Parameters

Parameter

Description

config

Int, pointer address of the single-frame encoding configuration.

eos

Int, whether a frame is EOS.

  • 0: No
  • 1: EOS flag

Return Value

Return Value

Description

ret

Int, error code. 0 on success; else, failure.