aclvencGetFrameConfig series

Applicability

Product

Supported

Atlas A3 training products/Atlas A3 inference products

x

Atlas A2 training products/Atlas A2 inference products

x

Atlas 200I/500 A2 inference products

Atlas inference products

Atlas training products

x

Description

Obtains a single-frame encoding configuration.

Prototype

uint8_t aclvencGetFrameConfigForceIFrame(const aclvencFrameConfig *config)
uint8_t aclvencGetFrameConfigEos(const aclvencFrameConfig *config)

Parameters

Parameter

Input/Output

Description

config

Input

Pointer to the single-frame encoding configuration.

Call the aclvencCreateFrameConfig API to create data of the aclvencFrameConfig type and call the aclvencSetFrameConfig series APIs to set the single-frame encoding parameters in advance.

Returns

Parameter

Description

forceIFrame

I-frame restart switch.

  • 0: off
  • 1: on

eos

End of stream (EOS) flag.

  • 0: false
  • 1: true