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.

Bug in IMSDK samples

OTorg
New Contributor III
624 Views

line at current sample_encode\src\pipeline_encode.cpp:
[plain]initPar.Implementation = (initPar.Implementation & !MFX_IMPL_HARDWARE_ANY) | MFX_IMPL_HARDWARE;[/plain]

should be replaced by:
[plain]initPar.Implementation = (initPar.Implementation & ~MFX_IMPL_HARDWARE_ANY) | MFX_IMPL_HARDWARE;[/plain]

(binary NOT confused with logical NOT)

0 Kudos
1 Solution
Mark_L_Intel1
Moderator
624 Views

Thanks, I will post a bug to the dev team.

Mark

View solution in original post

0 Kudos
3 Replies
Mark_L_Intel1
Moderator
624 Views

Hi dj_alek,

Thanks for checking the sample code. Can you also confirm if the sample can run correctly after your suggested code change? I will report the bug once you confirmed.

Mark

0 Kudos
OTorg
New Contributor III
624 Views

Yes, the sample runs correctly.

PS:
This is such an obvious mistake that it doesn't even need to be checked:)

0 Kudos
Mark_L_Intel1
Moderator
625 Views

Thanks, I will post a bug to the dev team.

Mark

0 Kudos
Reply