aclvencSetFrameConfig 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

Sets a single-frame encoding configuration.

Prototype

aclError aclvencSetFrameConfigForceIFrame(aclvencFrameConfig *config, uint8_t forceIFrame)
aclError aclvencSetFrameConfigEos(aclvencFrameConfig *config, uint8_t eos)

Parameters

Parameter

Input/Output

Description

config

Output

Pointer to the single-frame encoding configuration.

Call aclvencCreateFrameConfig to create data of the aclvencFrameConfig type in advance.

forceIFrame

Input

I-frame restart switch.

  • 0: off
  • 1: on

eos

Input

End of stream (EOS) flag.

  • 0: false
  • 1: true

Returns

0 on success; else, failure. For details, see aclError.