aclvencSetFrameConfig Series

Applicability

Product

Supported

Atlas 350 Accelerator Card

Atlas A3 training product/Atlas A3 inference product

Atlas A2 training product/Atlas A2 inference product

Atlas 200I/500 A2 inference product

Atlas inference product

Atlas training product

Function

Sets a single-frame encoding configuration.

Prototype

1
2
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; otherwise, failure. For details, see aclError.