Function: venc_get_channel_desc_buf_size

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

Function Usage

Obtains the encoding channel description attribute: size of the encoding output buffer.

Prototype

  • C Prototype
    1
    uint32_t aclvencGetChannelDescBufSize(const aclvencChannelDesc *channelDesc)
    
  • Python Function
    1
    buf_size = acl.media.venc_get_channel_desc_buf_size(venc_channel_desc)
    

Parameter Description

Parameter

Description

venc_channel_desc

Int, pointer address of the description of a video encoding channel.

Return Value Description

Return Value

Description

buf_size

Int, buffer allocation in bytes of the encode output.