|
|
|
@ -534,7 +534,7 @@ typedef struct |
|
|
|
* \return true on success |
|
|
|
* \version LibVLC 4.0.0 or later |
|
|
|
* |
|
|
|
* For \ref libvlc_video_direct3d_engine_d3d9 the output must be a IDirect3D9*. |
|
|
|
* For \ref libvlc_video_engine_d3d9 the output must be a IDirect3D9*. |
|
|
|
* A reference to this object is held until the \ref LIBVLC_VIDEO_DEVICE_CLEANUP is called. |
|
|
|
* the device must be created with D3DPRESENT_PARAMETERS.hDeviceWindow set to 0. |
|
|
|
* |
|
|
|
@ -571,7 +571,7 @@ typedef struct |
|
|
|
{ |
|
|
|
union { |
|
|
|
int dxgi_format; /** the rendering DXGI_FORMAT for \ref libvlc_video_engine_d3d11*/ |
|
|
|
uint32_t d3d9_format; /** the rendering D3DFORMAT for \ref libvlc_video_direct3d_engine_d3d9 */ |
|
|
|
uint32_t d3d9_format; /** the rendering D3DFORMAT for \ref libvlc_video_engine_d3d9 */ |
|
|
|
int opengl_format; /** the rendering GLint GL_RGBA or GL_RGB for \ref libvlc_video_engine_opengl and
|
|
|
|
for \ref libvlc_video_engine_gles2 */ |
|
|
|
void *p_surface; /** currently unused */ |
|
|
|
@ -684,7 +684,7 @@ typedef enum libvlc_video_engine_t { |
|
|
|
/** Direct3D11 rendering engine */ |
|
|
|
libvlc_video_engine_d3d11, |
|
|
|
/** Direct3D9 rendering engine */ |
|
|
|
libvlc_video_direct3d_engine_d3d9, |
|
|
|
libvlc_video_engine_d3d9, |
|
|
|
} libvlc_video_engine_t; |
|
|
|
|
|
|
|
/** Set the callback to call when the host app resizes the rendering area.
|
|
|
|
|