-
-
Save roxlu/63895d38e897c54a9dc60d4787ca5f6c to your computer and use it in GitHub Desktop.
Testing Intel Media SDK on Linux arch680 5.2.1-arch1-1-ARCH #1 SMP PREEMPT Sun Jul 14 14:52:52 UTC 2019 x86_64 GNU/Linux
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
********************** Media SDK Configuration Summary ********************** | |
MediaSDK: | |
API (request to use this version) : | |
API_VERSION : 1.30 | |
API_FLAGS : | |
MFX_CONFIG_FILE : | |
See detailed per-component mediasdk configuration in the auto-generated file: | |
/home/roxlu/tmp/2019-011-intel-media-sdk/build/build_unix.Release/mediasdk-prefix/src/mediasdk-build/mfxconfig.h | |
Cmake: | |
CMAKE_VERSION : 3.14.6 | |
CMAKE_GENERATOR : Unix Makefiles | |
CMAKE_BUILD_TOOL : /usr/bin/make | |
Target: | |
CMAKE_SYSTEM_NAME : Linux | |
CMAKE_SYSTEM_VERSION : 5.2.1-arch1-1-ARCH | |
CMAKE_SYSTEM_PROCESSOR : x86_64 | |
General: | |
CMAKE_BUILD_TYPE : Release | |
CMAKE_TOOLCHAIN_FILE : | |
CMAKE_C_COMPILER : /usr/bin/cc | |
CMAKE_CXX_COMPILER : /usr/bin/c++ | |
Building architecture : 64-bit | |
Flags: | |
CMAKE_C_FLAGS : -msse4.2 -m64 -g -pipe -fPIC -Wall -Wformat -Wformat-security -Wno-deprecated-declarations -Wno-unknown-pragmas -Wno-unused | |
CMAKE_CXX_FLAGS : -msse4.2 -std=c++11 -m64 -g -pipe -fPIC -Wall -Wformat -Wformat-security -Wnon-virtual-dtor -Wno-deprecated-declarations -Wno-unknown-pragmas -Wno-unused | |
Release flags: | |
CMAKE_C_FLAGS_RELEASE : -O3 -DNDEBUG | |
CMAKE_CXX_FLAGS_RELEASE : -O3 -DNDEBUG | |
Debug flags: | |
CMAKE_C_FLAGS_DEBUG : -g -D_DEBUG | |
CMAKE_CXX_FLAGS_DEBUG : -g -D_DEBUG | |
Install: | |
CMAKE_INSTALL_PREFIX : /home/roxlu/tmp/2019-011-intel-media-sdk/install | |
CMAKE_INSTALL_FULL_INCLUDEDIR : /home/roxlu/tmp/2019-011-intel-media-sdk/install/include | |
CMAKE_INSTALL_FULL_LIBDIR : /home/roxlu/tmp/2019-011-intel-media-sdk/install/lib64 | |
CMAKE_INSTALL_FULL_DATADIR : /home/roxlu/tmp/2019-011-intel-media-sdk/install/share | |
Enable: | |
ENABLE_OPENCL : ON | |
ENABLE_X11 : ON | |
ENABLE_X11_DRI3 : OFF | |
ENABLE_WAYLAND : OFF | |
ENABLE_ITT : OFF | |
ENABLE_TEXTLOG : OFF | |
ENABLE_STAT : OFF | |
Build: | |
BUILD_RUNTIME : ON | |
BUILD_DISPATCHER : ON | |
BUILD_SAMPLES : OFF | |
BUILD_TESTS : OFF | |
BUILD_TOOLS : OFF | |
BUILD_KERNELS : OFF | |
***************************************************************************** |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
processor : 0 | |
vendor_id : GenuineIntel | |
cpu family : 6 | |
model : 94 | |
model name : Intel(R) Core(TM) i7-6700K CPU @ 4.00GHz | |
stepping : 3 | |
microcode : 0x33 | |
cpu MHz : 4199.990 | |
cache size : 8192 KB | |
physical id : 0 | |
siblings : 8 | |
core id : 0 | |
cpu cores : 4 | |
apicid : 0 | |
initial apicid : 0 | |
fpu : yes | |
fpu_exception : yes | |
cpuid level : 22 | |
wp : yes | |
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf tsc_known_freq pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb invpcid_single pti tpr_shadow vnmi flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 hle avx2 smep bmi2 erms invpcid rtm mpx rdseed adx smap clflushopt intel_pt xsaveopt xsavec xgetbv1 xsaves dtherm ida arat pln pts hwp hwp_notify hwp_act_window hwp_epp | |
bugs : cpu_meltdown spectre_v1 spectre_v2 spec_store_bypass l1tf mds | |
bogomips : 8019.00 | |
clflush size : 64 | |
cache_alignment : 64 | |
address sizes : 39 bits physical, 48 bits virtual | |
power management: | |
processor : 1 | |
vendor_id : GenuineIntel | |
cpu family : 6 | |
model : 94 | |
model name : Intel(R) Core(TM) i7-6700K CPU @ 4.00GHz | |
stepping : 3 | |
microcode : 0x33 | |
cpu MHz : 4199.870 | |
cache size : 8192 KB | |
physical id : 0 | |
siblings : 8 | |
core id : 1 | |
cpu cores : 4 | |
apicid : 2 | |
initial apicid : 2 | |
fpu : yes | |
fpu_exception : yes | |
cpuid level : 22 | |
wp : yes | |
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf tsc_known_freq pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb invpcid_single pti tpr_shadow vnmi flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 hle avx2 smep bmi2 erms invpcid rtm mpx rdseed adx smap clflushopt intel_pt xsaveopt xsavec xgetbv1 xsaves dtherm ida arat pln pts hwp hwp_notify hwp_act_window hwp_epp | |
bugs : cpu_meltdown spectre_v1 spectre_v2 spec_store_bypass l1tf mds | |
bogomips : 8019.00 | |
clflush size : 64 | |
cache_alignment : 64 | |
address sizes : 39 bits physical, 48 bits virtual | |
power management: | |
processor : 2 | |
vendor_id : GenuineIntel | |
cpu family : 6 | |
model : 94 | |
model name : Intel(R) Core(TM) i7-6700K CPU @ 4.00GHz | |
stepping : 3 | |
microcode : 0x33 | |
cpu MHz : 4200.043 | |
cache size : 8192 KB | |
physical id : 0 | |
siblings : 8 | |
core id : 2 | |
cpu cores : 4 | |
apicid : 4 | |
initial apicid : 4 | |
fpu : yes | |
fpu_exception : yes | |
cpuid level : 22 | |
wp : yes | |
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf tsc_known_freq pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb invpcid_single pti tpr_shadow vnmi flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 hle avx2 smep bmi2 erms invpcid rtm mpx rdseed adx smap clflushopt intel_pt xsaveopt xsavec xgetbv1 xsaves dtherm ida arat pln pts hwp hwp_notify hwp_act_window hwp_epp | |
bugs : cpu_meltdown spectre_v1 spectre_v2 spec_store_bypass l1tf mds | |
bogomips : 8019.00 | |
clflush size : 64 | |
cache_alignment : 64 | |
address sizes : 39 bits physical, 48 bits virtual | |
power management: | |
processor : 3 | |
vendor_id : GenuineIntel | |
cpu family : 6 | |
model : 94 | |
model name : Intel(R) Core(TM) i7-6700K CPU @ 4.00GHz | |
stepping : 3 | |
microcode : 0x33 | |
cpu MHz : 4200.112 | |
cache size : 8192 KB | |
physical id : 0 | |
siblings : 8 | |
core id : 3 | |
cpu cores : 4 | |
apicid : 6 | |
initial apicid : 6 | |
fpu : yes | |
fpu_exception : yes | |
cpuid level : 22 | |
wp : yes | |
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf tsc_known_freq pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb invpcid_single pti tpr_shadow vnmi flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 hle avx2 smep bmi2 erms invpcid rtm mpx rdseed adx smap clflushopt intel_pt xsaveopt xsavec xgetbv1 xsaves dtherm ida arat pln pts hwp hwp_notify hwp_act_window hwp_epp | |
bugs : cpu_meltdown spectre_v1 spectre_v2 spec_store_bypass l1tf mds | |
bogomips : 8019.00 | |
clflush size : 64 | |
cache_alignment : 64 | |
address sizes : 39 bits physical, 48 bits virtual | |
power management: | |
processor : 4 | |
vendor_id : GenuineIntel | |
cpu family : 6 | |
model : 94 | |
model name : Intel(R) Core(TM) i7-6700K CPU @ 4.00GHz | |
stepping : 3 | |
microcode : 0x33 | |
cpu MHz : 4200.065 | |
cache size : 8192 KB | |
physical id : 0 | |
siblings : 8 | |
core id : 0 | |
cpu cores : 4 | |
apicid : 1 | |
initial apicid : 1 | |
fpu : yes | |
fpu_exception : yes | |
cpuid level : 22 | |
wp : yes | |
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf tsc_known_freq pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb invpcid_single pti tpr_shadow vnmi flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 hle avx2 smep bmi2 erms invpcid rtm mpx rdseed adx smap clflushopt intel_pt xsaveopt xsavec xgetbv1 xsaves dtherm ida arat pln pts hwp hwp_notify hwp_act_window hwp_epp | |
bugs : cpu_meltdown spectre_v1 spectre_v2 spec_store_bypass l1tf mds | |
bogomips : 8019.00 | |
clflush size : 64 | |
cache_alignment : 64 | |
address sizes : 39 bits physical, 48 bits virtual | |
power management: | |
processor : 5 | |
vendor_id : GenuineIntel | |
cpu family : 6 | |
model : 94 | |
model name : Intel(R) Core(TM) i7-6700K CPU @ 4.00GHz | |
stepping : 3 | |
microcode : 0x33 | |
cpu MHz : 4200.000 | |
cache size : 8192 KB | |
physical id : 0 | |
siblings : 8 | |
core id : 1 | |
cpu cores : 4 | |
apicid : 3 | |
initial apicid : 3 | |
fpu : yes | |
fpu_exception : yes | |
cpuid level : 22 | |
wp : yes | |
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf tsc_known_freq pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb invpcid_single pti tpr_shadow vnmi flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 hle avx2 smep bmi2 erms invpcid rtm mpx rdseed adx smap clflushopt intel_pt xsaveopt xsavec xgetbv1 xsaves dtherm ida arat pln pts hwp hwp_notify hwp_act_window hwp_epp | |
bugs : cpu_meltdown spectre_v1 spectre_v2 spec_store_bypass l1tf mds | |
bogomips : 8019.00 | |
clflush size : 64 | |
cache_alignment : 64 | |
address sizes : 39 bits physical, 48 bits virtual | |
power management: | |
processor : 6 | |
vendor_id : GenuineIntel | |
cpu family : 6 | |
model : 94 | |
model name : Intel(R) Core(TM) i7-6700K CPU @ 4.00GHz | |
stepping : 3 | |
microcode : 0x33 | |
cpu MHz : 4200.157 | |
cache size : 8192 KB | |
physical id : 0 | |
siblings : 8 | |
core id : 2 | |
cpu cores : 4 | |
apicid : 5 | |
initial apicid : 5 | |
fpu : yes | |
fpu_exception : yes | |
cpuid level : 22 | |
wp : yes | |
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf tsc_known_freq pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb invpcid_single pti tpr_shadow vnmi flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 hle avx2 smep bmi2 erms invpcid rtm mpx rdseed adx smap clflushopt intel_pt xsaveopt xsavec xgetbv1 xsaves dtherm ida arat pln pts hwp hwp_notify hwp_act_window hwp_epp | |
bugs : cpu_meltdown spectre_v1 spectre_v2 spec_store_bypass l1tf mds | |
bogomips : 8019.00 | |
clflush size : 64 | |
cache_alignment : 64 | |
address sizes : 39 bits physical, 48 bits virtual | |
power management: | |
processor : 7 | |
vendor_id : GenuineIntel | |
cpu family : 6 | |
model : 94 | |
model name : Intel(R) Core(TM) i7-6700K CPU @ 4.00GHz | |
stepping : 3 | |
microcode : 0x33 | |
cpu MHz : 4200.184 | |
cache size : 8192 KB | |
physical id : 0 | |
siblings : 8 | |
core id : 3 | |
cpu cores : 4 | |
apicid : 7 | |
initial apicid : 7 | |
fpu : yes | |
fpu_exception : yes | |
cpuid level : 22 | |
wp : yes | |
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf tsc_known_freq pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb invpcid_single pti tpr_shadow vnmi flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 hle avx2 smep bmi2 erms invpcid rtm mpx rdseed adx smap clflushopt intel_pt xsaveopt xsavec xgetbv1 xsaves dtherm ida arat pln pts hwp hwp_notify hwp_act_window hwp_epp | |
bugs : cpu_meltdown spectre_v1 spectre_v2 spec_store_bypass l1tf mds | |
bogomips : 8019.00 | |
clflush size : 64 | |
cache_alignment : 64 | |
address sizes : 39 bits physical, 48 bits virtual | |
power management: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#ifndef _MFX_CONFIG_H_ | |
#define _MFX_CONFIG_H_ | |
#include "mfxdefs.h" | |
#ifdef MFX_VA | |
#if defined(LINUX32) || defined(LINUX64) | |
#include <va/va_version.h> | |
#undef MFX_VA_LINUX | |
#define MFX_VA_LINUX | |
#endif | |
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mfxStatus VideoDECODEH264::Init(mfxVideoParam *par) | |
{ | |
printf("* VideoDECODEH264::init().\n"); | |
UMC::AutomaticUMCMutex guard(m_mGuard); | |
if (m_isInit) | |
return MFX_ERR_UNDEFINED_BEHAVIOR; | |
MFX_CHECK_NULL_PTR1(par); | |
m_platform = MFX_Utility::GetPlatform(m_core, par); | |
eMFXHWType type = MFX_HW_UNKNOWN; | |
if (m_platform == MFX_PLATFORM_HARDWARE) | |
{ | |
type = m_core->GetHWType(); | |
} | |
if (CheckVideoParamDecoders(par, m_core->IsExternalFrameAllocator(), type) < MFX_ERR_NONE) { | |
printf("* VideoDECODEH264::init() - MFX_ERR_INVALID_VIDEO_PARAM (1).\n"); | |
return MFX_ERR_INVALID_VIDEO_PARAM; | |
} | |
if (!MFX_Utility::CheckVideoParam(par, type)) { | |
printf("* VideoDECODEH264::init() - MFX_ERR_INVALID_VIDEO_PARAM (2).\n"); | |
return MFX_ERR_INVALID_VIDEO_PARAM; | |
} | |
if (m_core->GetVAType() == MFX_HW_VAAPI) | |
{ | |
int codecProfile = par->mfx.CodecProfile & 0xFF; | |
if ( (codecProfile == MFX_PROFILE_AVC_STEREO_HIGH) || | |
(codecProfile == MFX_PROFILE_AVC_MULTIVIEW_HIGH) ) | |
{ | |
printf("* VideoDECODEH264::init() - MFX_ERR_INVALID_VIDEO_PARAM (3).\n"); | |
return MFX_ERR_INVALID_VIDEO_PARAM; | |
} | |
} | |
m_vInitPar = *par; | |
m_vFirstPar = *par; | |
m_vFirstPar.mfx.NumThread = 0; | |
bool isNeedChangeVideoParamWarning = IsNeedChangeVideoParam(&m_vFirstPar); | |
m_vPar = m_vFirstPar; | |
m_vPar.CreateExtendedBuffer(MFX_EXTBUFF_VIDEO_SIGNAL_INFO); | |
m_vPar.CreateExtendedBuffer(MFX_EXTBUFF_CODING_OPTION_SPSPPS); | |
mfxU32 asyncDepth = CalculateAsyncDepth(m_platform, par); | |
m_vPar.mfx.NumThread = (mfxU16)CalculateNumThread(m_platform, par); | |
if (MFX_PLATFORM_SOFTWARE == m_platform) | |
{ | |
#if defined (MFX_VA_LINUX) | |
printf("* VideoDECODEH264::init() - MFX_ERR_UNSUPPORTED (1).\n"); | |
return MFX_ERR_UNSUPPORTED; | |
#else | |
m_pH264VideoDecoder.reset(new UMC::MFX_SW_TaskSupplier()); | |
m_FrameAllocator.reset(new mfx_UMC_FrameAllocator()); | |
#endif | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment