[vlc-devel] [PATCH 4/8] vout: direct3d: remove the header to share common callbacks for rendering

Steve Lhomme robux4 at ycbcr.xyz
Thu May 9 16:28:03 CEST 2019


---
 modules/video_output/win32/d3d_render.h | 59 -------------------------
 1 file changed, 59 deletions(-)
 delete mode 100644 modules/video_output/win32/d3d_render.h

diff --git a/modules/video_output/win32/d3d_render.h b/modules/video_output/win32/d3d_render.h
deleted file mode 100644
index 062d1d7e5d..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 */
-- 
2.17.1



More information about the vlc-devel mailing list