MythTV
master
|
#include <QString>
#include <QLibrary>
#include "libmythbase/mythlogging.h"
#include "initguid.h"
#include "libmythui/mythrender_d3d9.h"
#include "dxva2decoder.h"
Go to the source code of this file.
Classes | |
struct | dxva2_mode |
Macros | |
#define | LOC QString("DXVA2: ") |
#define | ERR QString("DXVA2 Error: ") |
#define | DXVA2_ModeWMV8_PostProc DXVA2_ModeWMV8_A |
#define | DXVA2_ModeWMV8_MoComp DXVA2_ModeWMV8_B |
#define | DXVA2_ModeWMV9_PostProc DXVA2_ModeWMV9_A |
#define | DXVA2_ModeWMV9_MoComp DXVA2_ModeWMV9_B |
#define | DXVA2_ModeWMV9_IDCT DXVA2_ModeWMV9_C |
#define | DXVA2_ModeVC1_PostProc DXVA2_ModeVC1_A |
#define | DXVA2_ModeVC1_MoComp DXVA2_ModeVC1_B |
#define | DXVA2_ModeVC1_IDCT DXVA2_ModeVC1_C |
#define | DXVA2_ModeVC1_VLD DXVA2_ModeVC1_D |
#define | DXVA2_ModeH264_MoComp_NoFGT DXVA2_ModeH264_A |
#define | DXVA2_ModeH264_MoComp_FGT DXVA2_ModeH264_B |
#define | DXVA2_ModeH264_IDCT_NoFGT DXVA2_ModeH264_C |
#define | DXVA2_ModeH264_IDCT_FGT DXVA2_ModeH264_D |
#define | DXVA2_ModeH264_VLD_NoFGT DXVA2_ModeH264_E |
#define | DXVA2_ModeH264_VLD_FGT DXVA2_ModeH264_F |
#define | CREATE_CHECK(arg1, arg2) |
Typedefs | |
using | DXVA2CreateVideoServicePtr = HRESULT(__stdcall *)(IDirect3DDevice9 *pDD, REFIID riid, void **ppService) |
Functions | |
static QString | toString (const GUID &guid) |
DEFINE_GUID (DXVA2_ModeH264_A, 0x1b81be64, 0xa0c7, 0x11d3, 0xb9, 0x84, 0x00, 0xc0, 0x4f, 0x2e, 0x73, 0xc5) | |
DEFINE_GUID (DXVA2_ModeH264_B, 0x1b81be65, 0xa0c7, 0x11d3, 0xb9, 0x84, 0x00, 0xc0, 0x4f, 0x2e, 0x73, 0xc5) | |
DEFINE_GUID (DXVA2_ModeH264_C, 0x1b81be66, 0xa0c7, 0x11d3, 0xb9, 0x84, 0x00, 0xc0, 0x4f, 0x2e, 0x73, 0xc5) | |
DEFINE_GUID (DXVA2_ModeH264_D, 0x1b81be67, 0xa0c7, 0x11d3, 0xb9, 0x84, 0x00, 0xc0, 0x4f, 0x2e, 0x73, 0xc5) | |
DEFINE_GUID (DXVA2_ModeH264_E, 0x1b81be68, 0xa0c7, 0x11d3, 0xb9, 0x84, 0x00, 0xc0, 0x4f, 0x2e, 0x73, 0xc5) | |
DEFINE_GUID (DXVA2_ModeH264_F, 0x1b81be69, 0xa0c7, 0x11d3, 0xb9, 0x84, 0x00, 0xc0, 0x4f, 0x2e, 0x73, 0xc5) | |
DEFINE_GUID (DXVA2_ModeWMV8_A, 0x1b81be80, 0xa0c7, 0x11d3, 0xb9, 0x84, 0x00, 0xc0, 0x4f, 0x2e, 0x73, 0xc5) | |
DEFINE_GUID (DXVA2_ModeWMV8_B, 0x1b81be81, 0xa0c7, 0x11d3, 0xb9, 0x84, 0x00, 0xc0, 0x4f, 0x2e, 0x73, 0xc5) | |
DEFINE_GUID (DXVA2_ModeWMV9_A, 0x1b81be90, 0xa0c7, 0x11d3, 0xb9, 0x84, 0x00, 0xc0, 0x4f, 0x2e, 0x73, 0xc5) | |
DEFINE_GUID (DXVA2_ModeWMV9_B, 0x1b81be91, 0xa0c7, 0x11d3, 0xb9, 0x84, 0x00, 0xc0, 0x4f, 0x2e, 0x73, 0xc5) | |
DEFINE_GUID (DXVA2_ModeWMV9_C, 0x1b81be94, 0xa0c7, 0x11d3, 0xb9, 0x84, 0x00, 0xc0, 0x4f, 0x2e, 0x73, 0xc5) | |
DEFINE_GUID (DXVA2_ModeVC1_A, 0x1b81beA0, 0xa0c7, 0x11d3, 0xb9, 0x84, 0x00, 0xc0, 0x4f, 0x2e, 0x73, 0xc5) | |
DEFINE_GUID (DXVA2_ModeVC1_B, 0x1b81beA1, 0xa0c7, 0x11d3, 0xb9, 0x84, 0x00, 0xc0, 0x4f, 0x2e, 0x73, 0xc5) | |
DEFINE_GUID (DXVA2_ModeVC1_C, 0x1b81beA2, 0xa0c7, 0x11d3, 0xb9, 0x84, 0x00, 0xc0, 0x4f, 0x2e, 0x73, 0xc5) | |
DEFINE_GUID (DXVA2_ModeVC1_D, 0x1b81beA3, 0xa0c7, 0x11d3, 0xb9, 0x84, 0x00, 0xc0, 0x4f, 0x2e, 0x73, 0xc5) | |
DEFINE_GUID (DXVA2_ModeMPEG2_MoComp, 0xe6a9f44b, 0x61b0, 0x4563, 0x9e, 0xa4, 0x63, 0xd2, 0xa3, 0xc6, 0xfe, 0x66) | |
DEFINE_GUID (DXVA2_ModeMPEG2_IDCT, 0xbf22ad00, 0x03ea, 0x4690, 0x80, 0x77, 0x47, 0x33, 0x46, 0x20, 0x9b, 0x7e) | |
DEFINE_GUID (DXVA2_ModeMPEG2_VLD, 0xee27417f, 0x5e28, 0x4e65, 0xbe, 0xea, 0x1d, 0x26, 0xb5, 0x08, 0xad, 0xc9) | |
DEFINE_GUID (DXVA2_Intel_ModeH264_A, 0x604F8E64, 0x4951, 0x4c54, 0x88, 0xFE, 0xAB, 0xD2, 0x5C, 0x15, 0xB3, 0xD6) | |
DEFINE_GUID (DXVA2_Intel_ModeH264_C, 0x604F8E66, 0x4951, 0x4c54, 0x88, 0xFE, 0xAB, 0xD2, 0x5C, 0x15, 0xB3, 0xD6) | |
DEFINE_GUID (DXVA2_Intel_ModeH264_E, 0x604F8E68, 0x4951, 0x4c54, 0x88, 0xFE, 0xAB, 0xD2, 0x5C, 0x15, 0xB3, 0xD6) | |
DEFINE_GUID (DXVA2_Intel_ModeVC1_E, 0xBCC5DB6D, 0xA2B6, 0x4AF0, 0xAC, 0xE4, 0xAD, 0xB1, 0xF7, 0x87, 0xBC, 0x89) | |
Variables | |
static const GUID | IID_IDirectXVideoDecoderService |
static const dxva2_mode | dxva2_modes [] |
#define LOC QString("DXVA2: ") |
Definition at line 32 of file dxva2decoder.cpp.
#define ERR QString("DXVA2 Error: ") |
Definition at line 33 of file dxva2decoder.cpp.
#define DXVA2_ModeWMV8_PostProc DXVA2_ModeWMV8_A |
Definition at line 60 of file dxva2decoder.cpp.
#define DXVA2_ModeWMV8_MoComp DXVA2_ModeWMV8_B |
Definition at line 61 of file dxva2decoder.cpp.
#define DXVA2_ModeWMV9_PostProc DXVA2_ModeWMV9_A |
Definition at line 63 of file dxva2decoder.cpp.
#define DXVA2_ModeWMV9_MoComp DXVA2_ModeWMV9_B |
Definition at line 64 of file dxva2decoder.cpp.
#define DXVA2_ModeWMV9_IDCT DXVA2_ModeWMV9_C |
Definition at line 65 of file dxva2decoder.cpp.
#define DXVA2_ModeVC1_PostProc DXVA2_ModeVC1_A |
Definition at line 67 of file dxva2decoder.cpp.
#define DXVA2_ModeVC1_MoComp DXVA2_ModeVC1_B |
Definition at line 68 of file dxva2decoder.cpp.
#define DXVA2_ModeVC1_IDCT DXVA2_ModeVC1_C |
Definition at line 69 of file dxva2decoder.cpp.
#define DXVA2_ModeVC1_VLD DXVA2_ModeVC1_D |
Definition at line 70 of file dxva2decoder.cpp.
#define DXVA2_ModeH264_MoComp_NoFGT DXVA2_ModeH264_A |
Definition at line 72 of file dxva2decoder.cpp.
#define DXVA2_ModeH264_MoComp_FGT DXVA2_ModeH264_B |
Definition at line 73 of file dxva2decoder.cpp.
#define DXVA2_ModeH264_IDCT_NoFGT DXVA2_ModeH264_C |
Definition at line 74 of file dxva2decoder.cpp.
#define DXVA2_ModeH264_IDCT_FGT DXVA2_ModeH264_D |
Definition at line 75 of file dxva2decoder.cpp.
#define DXVA2_ModeH264_VLD_NoFGT DXVA2_ModeH264_E |
Definition at line 76 of file dxva2decoder.cpp.
#define DXVA2_ModeH264_VLD_FGT DXVA2_ModeH264_F |
Definition at line 77 of file dxva2decoder.cpp.
#define CREATE_CHECK | ( | arg1, | |
arg2 | |||
) |
Definition at line 124 of file dxva2decoder.cpp.
using DXVA2CreateVideoServicePtr = HRESULT (__stdcall *)(IDirect3DDevice9* pDD, REFIID riid, void** ppService) |
Definition at line 169 of file dxva2decoder.cpp.
|
inlinestatic |
Definition at line 16 of file dxva2decoder.cpp.
Referenced by DXVA2Decoder::CreateDecoder(), and DXVA2Decoder::GetInputOutput().
DEFINE_GUID | ( | DXVA2_ModeH264_A | , |
0x1b81be64 | , | ||
0xa0c7 | , | ||
0x11d3 | , | ||
0xb9 | , | ||
0x84 | , | ||
0x00 | , | ||
0xc0 | , | ||
0x4f | , | ||
0x2e | , | ||
0x73 | , | ||
0xc5 | |||
) |
DEFINE_GUID | ( | DXVA2_ModeH264_B | , |
0x1b81be65 | , | ||
0xa0c7 | , | ||
0x11d3 | , | ||
0xb9 | , | ||
0x84 | , | ||
0x00 | , | ||
0xc0 | , | ||
0x4f | , | ||
0x2e | , | ||
0x73 | , | ||
0xc5 | |||
) |
DEFINE_GUID | ( | DXVA2_ModeH264_C | , |
0x1b81be66 | , | ||
0xa0c7 | , | ||
0x11d3 | , | ||
0xb9 | , | ||
0x84 | , | ||
0x00 | , | ||
0xc0 | , | ||
0x4f | , | ||
0x2e | , | ||
0x73 | , | ||
0xc5 | |||
) |
DEFINE_GUID | ( | DXVA2_ModeH264_D | , |
0x1b81be67 | , | ||
0xa0c7 | , | ||
0x11d3 | , | ||
0xb9 | , | ||
0x84 | , | ||
0x00 | , | ||
0xc0 | , | ||
0x4f | , | ||
0x2e | , | ||
0x73 | , | ||
0xc5 | |||
) |
DEFINE_GUID | ( | DXVA2_ModeH264_E | , |
0x1b81be68 | , | ||
0xa0c7 | , | ||
0x11d3 | , | ||
0xb9 | , | ||
0x84 | , | ||
0x00 | , | ||
0xc0 | , | ||
0x4f | , | ||
0x2e | , | ||
0x73 | , | ||
0xc5 | |||
) |
DEFINE_GUID | ( | DXVA2_ModeH264_F | , |
0x1b81be69 | , | ||
0xa0c7 | , | ||
0x11d3 | , | ||
0xb9 | , | ||
0x84 | , | ||
0x00 | , | ||
0xc0 | , | ||
0x4f | , | ||
0x2e | , | ||
0x73 | , | ||
0xc5 | |||
) |
DEFINE_GUID | ( | DXVA2_ModeWMV8_A | , |
0x1b81be80 | , | ||
0xa0c7 | , | ||
0x11d3 | , | ||
0xb9 | , | ||
0x84 | , | ||
0x00 | , | ||
0xc0 | , | ||
0x4f | , | ||
0x2e | , | ||
0x73 | , | ||
0xc5 | |||
) |
DEFINE_GUID | ( | DXVA2_ModeWMV8_B | , |
0x1b81be81 | , | ||
0xa0c7 | , | ||
0x11d3 | , | ||
0xb9 | , | ||
0x84 | , | ||
0x00 | , | ||
0xc0 | , | ||
0x4f | , | ||
0x2e | , | ||
0x73 | , | ||
0xc5 | |||
) |
DEFINE_GUID | ( | DXVA2_ModeWMV9_A | , |
0x1b81be90 | , | ||
0xa0c7 | , | ||
0x11d3 | , | ||
0xb9 | , | ||
0x84 | , | ||
0x00 | , | ||
0xc0 | , | ||
0x4f | , | ||
0x2e | , | ||
0x73 | , | ||
0xc5 | |||
) |
DEFINE_GUID | ( | DXVA2_ModeWMV9_B | , |
0x1b81be91 | , | ||
0xa0c7 | , | ||
0x11d3 | , | ||
0xb9 | , | ||
0x84 | , | ||
0x00 | , | ||
0xc0 | , | ||
0x4f | , | ||
0x2e | , | ||
0x73 | , | ||
0xc5 | |||
) |
DEFINE_GUID | ( | DXVA2_ModeWMV9_C | , |
0x1b81be94 | , | ||
0xa0c7 | , | ||
0x11d3 | , | ||
0xb9 | , | ||
0x84 | , | ||
0x00 | , | ||
0xc0 | , | ||
0x4f | , | ||
0x2e | , | ||
0x73 | , | ||
0xc5 | |||
) |
DEFINE_GUID | ( | DXVA2_ModeVC1_A | , |
0x1b81beA0 | , | ||
0xa0c7 | , | ||
0x11d3 | , | ||
0xb9 | , | ||
0x84 | , | ||
0x00 | , | ||
0xc0 | , | ||
0x4f | , | ||
0x2e | , | ||
0x73 | , | ||
0xc5 | |||
) |
DEFINE_GUID | ( | DXVA2_ModeVC1_B | , |
0x1b81beA1 | , | ||
0xa0c7 | , | ||
0x11d3 | , | ||
0xb9 | , | ||
0x84 | , | ||
0x00 | , | ||
0xc0 | , | ||
0x4f | , | ||
0x2e | , | ||
0x73 | , | ||
0xc5 | |||
) |
DEFINE_GUID | ( | DXVA2_ModeVC1_C | , |
0x1b81beA2 | , | ||
0xa0c7 | , | ||
0x11d3 | , | ||
0xb9 | , | ||
0x84 | , | ||
0x00 | , | ||
0xc0 | , | ||
0x4f | , | ||
0x2e | , | ||
0x73 | , | ||
0xc5 | |||
) |
DEFINE_GUID | ( | DXVA2_ModeVC1_D | , |
0x1b81beA3 | , | ||
0xa0c7 | , | ||
0x11d3 | , | ||
0xb9 | , | ||
0x84 | , | ||
0x00 | , | ||
0xc0 | , | ||
0x4f | , | ||
0x2e | , | ||
0x73 | , | ||
0xc5 | |||
) |
DEFINE_GUID | ( | DXVA2_ModeMPEG2_MoComp | , |
0xe6a9f44b | , | ||
0x61b0 | , | ||
0x4563 | , | ||
0x9e | , | ||
0xa4 | , | ||
0x63 | , | ||
0xd2 | , | ||
0xa3 | , | ||
0xc6 | , | ||
0xfe | , | ||
0x66 | |||
) |
DEFINE_GUID | ( | DXVA2_ModeMPEG2_IDCT | , |
0xbf22ad00 | , | ||
0x03ea | , | ||
0x4690 | , | ||
0x80 | , | ||
0x77 | , | ||
0x47 | , | ||
0x33 | , | ||
0x46 | , | ||
0x20 | , | ||
0x9b | , | ||
0x7e | |||
) |
DEFINE_GUID | ( | DXVA2_ModeMPEG2_VLD | , |
0xee27417f | , | ||
0x5e28 | , | ||
0x4e65 | , | ||
0xbe | , | ||
0xea | , | ||
0x1d | , | ||
0x26 | , | ||
0xb5 | , | ||
0x08 | , | ||
0xad | , | ||
0xc9 | |||
) |
DEFINE_GUID | ( | DXVA2_Intel_ModeH264_A | , |
0x604F8E64 | , | ||
0x4951 | , | ||
0x4c54 | , | ||
0x88 | , | ||
0xFE | , | ||
0xAB | , | ||
0xD2 | , | ||
0x5C | , | ||
0x15 | , | ||
0xB3 | , | ||
0xD6 | |||
) |
DEFINE_GUID | ( | DXVA2_Intel_ModeH264_C | , |
0x604F8E66 | , | ||
0x4951 | , | ||
0x4c54 | , | ||
0x88 | , | ||
0xFE | , | ||
0xAB | , | ||
0xD2 | , | ||
0x5C | , | ||
0x15 | , | ||
0xB3 | , | ||
0xD6 | |||
) |
DEFINE_GUID | ( | DXVA2_Intel_ModeH264_E | , |
0x604F8E68 | , | ||
0x4951 | , | ||
0x4c54 | , | ||
0x88 | , | ||
0xFE | , | ||
0xAB | , | ||
0xD2 | , | ||
0x5C | , | ||
0x15 | , | ||
0xB3 | , | ||
0xD6 | |||
) |
DEFINE_GUID | ( | DXVA2_Intel_ModeVC1_E | , |
0xBCC5DB6D | , | ||
0xA2B6 | , | ||
0x4AF0 | , | ||
0xAC | , | ||
0xE4 | , | ||
0xAD | , | ||
0xB1 | , | ||
0xF7 | , | ||
0x87 | , | ||
0xBC | , | ||
0x89 | |||
) |
|
static |
Definition at line 10 of file dxva2decoder.cpp.
Referenced by DXVA2Decoder::CreateVideoService().
|
static |
Definition at line 90 of file dxva2decoder.cpp.
Referenced by DXVA2Decoder::GetInputOutput().