VirtualBox

Ignore:
Timestamp:
Mar 17, 2025 3:22:43 PM (5 weeks ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
167983
Message:

WDDM: video decoder bitstream buffer size adjustment

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/WINNT/Graphics/Video/disp/wddm/dx/VBoxDXDDIVideo.cpp

    r106061 r108578  
    133133    PVBOXDX_DEVICE pDevice = (PVBOXDX_DEVICE)hDevice.pDrvPrivate;
    134134    //DEBUG_BREAKPOINT_TEST();
    135     RT_NOREF(pDevice, pDecodeDesc);
     135    RT_NOREF(pDevice);
    136136    *pInfo = g_aBufferInfo[Index];
     137    if (pInfo->Type == D3D11_1DDI_VIDEO_DECODER_BUFFER_BITSTREAM)
     138       pInfo->Size = RT_ALIGN_32(pDecodeDesc->SampleWidth * pDecodeDesc->SampleHeight, 1024 * 1024);
    137139}
    138140
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette