aclvencGetFrameConfig Series

Applicable Products

Product

Supported

Ascend 950PR/Ascend 950DT

x

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

Function

Obtains a single-frame encoding configuration.

Prototype

1
2
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 aclvencCreateFrameConfig to create data of the aclvencFrameConfig type and call the aclvencSetFrameConfig series to set a single-frame encoding configuration in advance.

Returns

Parameter

Description

forceIFrame

I-frame restart switch.

  • 0: off
  • 1: on

eos

End of stream (EOS) flag.

  • 0: false
  • 1: true