aliakseis / FFmpegPlayer

Simple FFmpeg video player
MIT License
151 stars 44 forks source link

what is the purpose of allowDirect3dData in SetFrameFormat(FrameFormat format, bool allowDirect3dData) #7

Closed mediabuff closed 5 years ago

mediabuff commented 6 years ago

SetFrameFormat(FrameFormat format, bool allowDirect3dData)

aliakseis commented 6 years ago

CPlayerView is able to use IDirect3DSurface9 objects provided by DXVA2 based accelerator directly, unlike CPlayerViewD2D. See FrameRenderingData struct usage.