| 522 | } |
| 523 | |
| 524 | HRESULT CLAVVideoSettingsProp::LoadData() |
| 525 | { |
| 526 | HRESULT hr = S_OK; |
| 527 | |
| 528 | m_dwNumThreads = m_pVideoSettings->GetNumThreads(); |
| 529 | m_StreamAR = m_pVideoSettings->GetStreamAR(); |
| 530 | m_DeintFieldOrder = m_pVideoSettings->GetDeintFieldOrder(); |
| 531 | m_DeintMode = m_pVideoSettings->GetDeinterlacingMode(); |
| 532 | m_dwRGBOutput = m_pVideoSettings->GetRGBOutputRange(); |
| 533 | |
| 534 | for (int i = 0; i < LAVOutPixFmt_NB; ++i) |
| 535 | { |
| 536 | m_bPixFmts[i] = m_pVideoSettings->GetPixelFormat((LAVOutPixFmts)i); |
| 537 | } |
| 538 | |
| 539 | m_HWAccel = m_pVideoSettings->GetHWAccel(); |
| 540 | for (int i = 0; i < HWCodec_NB; ++i) |
| 541 | { |
| 542 | m_HWAccelCodecs[i] = m_pVideoSettings->GetHWAccelCodec((LAVVideoHWCodec)i); |
| 543 | } |
| 544 | |
| 545 | m_HWRes = m_pVideoSettings->GetHWAccelResolutionFlags(); |
| 546 | m_HWAccelCUVIDDXVA = m_pVideoSettings->GetHWAccelDeintHQ(); |
| 547 | |
| 548 | m_HWDeintAlgo = m_pVideoSettings->GetHWAccelDeintMode(); |
| 549 | m_HWDeintOutMode = m_pVideoSettings->GetHWAccelDeintOutput(); |
| 550 | |
| 551 | m_SWDeint = m_pVideoSettings->GetSWDeintMode(); |
| 552 | m_SWDeintOutMode = m_pVideoSettings->GetSWDeintOutput(); |
| 553 | |
| 554 | m_DitherMode = m_pVideoSettings->GetDitherMode(); |
| 555 | |
| 556 | m_TrayIcon = m_pVideoSettings->GetTrayIcon(); |
| 557 | |
| 558 | return hr; |
| 559 | } |
| 560 | |
| 561 | INT_PTR CLAVVideoSettingsProp::OnReceiveMessage(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam) |
| 562 | { |
nothing calls this directly
no test coverage detected