| 389 | } |
| 390 | |
| 391 | STDMETHODIMP CVideoProcessor::GetAlphaBitmapParameters(MFVideoAlphaBitmapParams *pBmpParms) |
| 392 | { |
| 393 | CheckPointer(pBmpParms, E_POINTER); |
| 394 | CAutoLock cRendererLock(&m_pFilter->m_RendererLock); |
| 395 | |
| 396 | if (m_bAlphaBitmapEnable) { |
| 397 | pBmpParms->dwFlags = MFVideoAlphaBitmap_SrcRect|MFVideoAlphaBitmap_DestRect; |
| 398 | pBmpParms->clrSrcKey = 0; // non used |
| 399 | pBmpParms->rcSrc = m_AlphaBitmapRectSrc; |
| 400 | pBmpParms->nrcDest = m_AlphaBitmapNRectDest; |
| 401 | pBmpParms->fAlpha = 0; // non used |
| 402 | pBmpParms->dwFilterMode = D3DTEXF_LINEAR; |
| 403 | return S_OK; |
| 404 | } else { |
| 405 | return MF_E_NOT_INITIALIZED; |
| 406 | } |
| 407 | } |
nothing calls this directly
no outgoing calls
no test coverage detected