Sets a single-frame encoding configuration. This API is synchronous.
The Ascend 910 AI Processor does not support this API in the current version.
aclError aclvencSetFrameConfigForceIFrame(aclvencFrameConfig *config, uint8_t forceIFrame);
aclError aclvencSetFrameConfigEos(aclvencFrameConfig *config, uint8_t eos)
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.
|
eos |
Input |
End of stream (EOS) flag.
|
0 on success; else, failure.