Media (Intel® Video Processing Library, Intel Media SDK)
Access community support with transcoding, decoding, and encoding in applications using media tools like Intel® oneAPI Video Processing Library and Intel® Media SDK
Announcements
The Intel Media SDK project is no longer active. For continued support and access to new features, Intel Media SDK users are encouraged to read the transition guide on upgrading from Intel® Media SDK to Intel® Video Processing Library (VPL), and to move to VPL as soon as possible.
For more information, see the VPL website.

Several EncodeFrameAsync + One SyncOperation

OTorg
New Contributor III
334 Views

Am I right the technique below is allowed?:

Push N frames to processing:
MFXVideoENCODE_EncodeFrameAsync( ..., bs1, syncp1 );
MFXVideoENCODE_EncodeFrameAsync( ..., bs2, syncp2 );
MFXVideoENCODE_EncodeFrameAsync( ..., bsN, syncpN );

Then,
Don't wait sequentially for syncp1, syncp2, ..., syncpN - wait once for syncpN only instead.
MFXVideoCORE_SyncOperation( ..., syncpN, ... );

Are all bs1...bsN guaranteed to be valid/filled/can_be_grabbed after successfull SyncOperation for syncpN (and no need to call SyncOperation for syncp1, syncp2, ..., syncpN-1)?

0 Kudos
1 Reply
OTorg
New Contributor III
334 Views

And additional questions.

Is it possible to get MFX_ERR_ABORTED from SyncOperation(syncpN) while one or more previous syncp are still in MFX_WRN_IN_EXECUTION?
Is it possible to get MFX_ERR_NONE from SyncOperation(syncpN) and MFX_ERR_ABORTED for one or more previous syncp?

 

0 Kudos
Reply