Obtains a single-frame encoding configuration. This API is synchronous.
The Ascend 910 AI Processor does not support this API in the current version.
uint8_t aclvencGetFrameConfigForceIFrame(const aclvencFrameConfig *config);
uint8_t aclvencGetFrameConfigEos(const aclvencFrameConfig *config)
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. |
Parameter |
Description |
|---|---|
forceIFrame |
I-frame restart switch.
|
eos |
End of stream (EOS) flag.
|