[vlc-commits] vout: direct3d: remove the header to share common callbacks for rendering
Steve Lhomme
git at videolan.org
Sat May 11 07:36:09 CEST 2019
vlc | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Thu May 9 14:35:17 2019 +0200| [df6424d89ea2beec41811f45bcf976557e52509e] | committer: Steve Lhomme
vout: direct3d: remove the header to share common callbacks for rendering
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=df6424d89ea2beec41811f45bcf976557e52509e
---
modules/video_output/win32/d3d_render.h | 59 ---------------------------------
1 file changed, 59 deletions(-)
diff --git a/modules/video_output/win32/d3d_render.h b/modules/video_output/win32/d3d_render.h
deleted file mode 100644
index 790b9b9ced..0000000000
--- a/modules/video_output/win32/d3d_render.h
+++ /dev/null
@@ -1,59 +0,0 @@
-/*****************************************************************************
- * d3d_render.h: Direct3D Render callbacks
- *****************************************************************************
- * Copyright (C) 2019 VLC authors and VideoLAN
- *
- * Authors: Steve Lhomme <robux4 at gmail.com>
- *
- * This program is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as published by
- * the Free Software Foundation; either version 2.1 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with this program; if not, write to the Free Software Foundation,
- * Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
- *****************************************************************************/
-
-#ifndef VLC_D3D_RENDER_H
-#define VLC_D3D_RENDER_H
-
-struct device_cfg_t {
- bool hardware_decoding;
-};
-
-struct device_setup_t {
- void *device_context;
-};
-
-struct direct3d_cfg_t {
- unsigned width;
- unsigned height;
- unsigned bitdepth;
- bool full_range; /** video is full range or studio/limited range */
- video_color_space_t colorspace; /** video color space */
- video_color_primaries_t primaries; /** video color primaries */
- video_transfer_func_t transfer; /** video transfer function */
-};
-
-struct output_cfg_t {
- int surface_format;
- bool full_range; /** video is full range or studio/limited range */
- video_color_space_t colorspace; /** video color space */
- video_color_primaries_t primaries; /** video color primaries */
- video_transfer_func_t transfer; /** video transfer function */
-};
-
-typedef bool (*d3d_device_setup_cb)(void** opaque, const struct device_cfg_t*, struct device_setup_t* );
-typedef void (*d3d_device_cleanup_cb)(void* opaque);
-typedef bool (*d3d_update_output_cb)(void* opaque, const struct direct3d_cfg_t *cfg, struct output_cfg_t *out);
-typedef void (*d3d_swap_cb)(void* opaque);
-typedef bool (*d3d_start_end_rendering_cb)(void* opaque, bool enter);
-
-
-#endif /* VLC_D3D_RENDER_H */
More information about the vlc-commits
mailing list