| 165 | } |
| 166 | |
| 167 | std::wstring DXVA2VPDeviceToString(const GUID& guid) |
| 168 | { |
| 169 | if (guid == DXVA2_VideoProcProgressiveDevice) { |
| 170 | return L"ProgressiveDevice"; |
| 171 | } |
| 172 | if (guid == DXVA2_VideoProcBobDevice) { |
| 173 | return L"BobDevice"; |
| 174 | } |
| 175 | if (guid == DXVA2_VideoProcSoftwareDevice) { |
| 176 | return L"SoftwareDevice"; |
| 177 | } |
| 178 | |
| 179 | return GUIDtoWString(guid); |
| 180 | } |
| 181 | |
| 182 | static const DXVA2_ValueRange s_DefaultDXVA2ProcAmpRanges[4] = { |
| 183 | { DXVA2FloatToFixed(-100), DXVA2FloatToFixed(100), DXVA2FloatToFixed(0), DXVA2FloatToFixed(1) }, |
no test coverage detected