| 357 | } |
| 358 | |
| 359 | STDMETHODIMP CVideoProcessor::GetProcAmpValues(DWORD dwFlags, DXVA2_ProcAmpValues *Values) |
| 360 | { |
| 361 | CheckPointer(Values, E_POINTER); |
| 362 | if (m_srcParams.cformat == CF_NONE) { |
| 363 | return MF_E_TRANSFORM_TYPE_NOT_SET; |
| 364 | } |
| 365 | |
| 366 | if (dwFlags & DXVA2_ProcAmp_Brightness) { Values->Brightness = m_DXVA2ProcAmpValues.Brightness; } |
| 367 | if (dwFlags & DXVA2_ProcAmp_Contrast) { Values->Contrast = m_DXVA2ProcAmpValues.Contrast ; } |
| 368 | if (dwFlags & DXVA2_ProcAmp_Hue) { Values->Hue = m_DXVA2ProcAmpValues.Hue ; } |
| 369 | if (dwFlags & DXVA2_ProcAmp_Saturation) { Values->Saturation = m_DXVA2ProcAmpValues.Saturation; } |
| 370 | |
| 371 | return S_OK; |
| 372 | } |
| 373 | |
| 374 | STDMETHODIMP CVideoProcessor::GetBackgroundColor(COLORREF *lpClrBkg) |
| 375 | { |
nothing calls this directly
no outgoing calls
no test coverage detected