- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I download the Media sdk Linux version and install on my linux machine.I try to build my first decode-piple code. I just copy the orignial source code with my wrapper. here is the orignal code from sample_decode/pipeline_decode.cpp
sts = m_mfxSession.SetHandle(static_cast<mfxHandleType>(MFX_HANDLE_VA_DISPLAY), va_dpy);
but compiler compalin the MFX_HANDLE_VA_DISPLAY not defined. Then I check the header file definition in /opt/intel/mediasdk/include/mfxstructures.h
typedef enum {
MFX_HANDLE_DIRECT3D_DEVICE_MANAGER9 =1, /* IDirect3DDeviceManager9 */
MFX_HANDLE_D3D9_DEVICE_MANAGER = MFX_HANDLE_DIRECT3D_DEVICE_MANAGER9,
MFX_HANDLE_RESERVED1 = 2,
MFX_HANDLE_D3D11_DEVICE = 3,
MFX_HANDLE_RESERVED2 = 4,
MFX_HANDLE_RESERVED3 = 5
} mfxHandleType;
The MFX_HANDLE_VA_DISPLAY even dont exist !!!! And looks it supports Windows DirectX Only!!!!!!
here i
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
While it is true that the mfxHandleType enum in mfxstructures.h shows its Windows roots, you can find MFX_HANDLE_VA_DISPLAY in mfxlinux.h.
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page