Commit 72afda2f authored by Dennis van Amerongen's avatar Dennis van Amerongen

* modules/video_output/directx/direct3d.c: add experimental support for I422...

* modules/video_output/directx/direct3d.c: add experimental support for I422 (RGB conversion is very CPU intensive).
parent c3de2971
...@@ -849,6 +849,7 @@ D3DFORMAT Direct3DVoutFindFormat(vout_thread_t *p_vout, int i_chroma, D3DFORMAT ...@@ -849,6 +849,7 @@ D3DFORMAT Direct3DVoutFindFormat(vout_thread_t *p_vout, int i_chroma, D3DFORMAT
{ D3DFMT_R8G8B8, D3DFMT_X8R8G8B8, D3DFMT_A8R8G8B8 }; { D3DFMT_R8G8B8, D3DFMT_X8R8G8B8, D3DFMT_A8R8G8B8 };
return Direct3DVoutSelectFormat(p_vout, target, formats, sizeof(formats)/sizeof(D3DFORMAT)); return Direct3DVoutSelectFormat(p_vout, target, formats, sizeof(formats)/sizeof(D3DFORMAT));
} }
case VLC_FOURCC('I', '4', '2', '2'):
case VLC_FOURCC('R', 'V', '3', '2'): case VLC_FOURCC('R', 'V', '3', '2'):
{ {
static const D3DFORMAT formats[] = static const D3DFORMAT formats[] =
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment