aclvencGetFrameConfig Series

Description

Obtains a single-frame encoding configuration. This API is synchronous.

The Ascend 910 AI Processor does not support this API in the current version.

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 aclvencCreateFrameConfig to create data of the aclvencFrameConfig type and call 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