Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
VLC
Manage
Activity
Members
Labels
Plan
Issues
4k
Issue boards
Milestones
Code
Merge requests
456
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Analyze
Contributor analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
VideoLAN
VLC
Commits
df6424d8
Commit
df6424d8
authored
5 years ago
by
Steve Lhomme
Browse files
Options
Downloads
Patches
Plain Diff
vout: direct3d: remove the header to share common callbacks for rendering
parent
fa8fb1b8
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
modules/video_output/win32/d3d_render.h
+0
-59
0 additions, 59 deletions
modules/video_output/win32/d3d_render.h
with
0 additions
and
59 deletions
modules/video_output/win32/d3d_render.h
deleted
100644 → 0
+
0
−
59
View file @
fa8fb1b8
/*****************************************************************************
* d3d_render.h: Direct3D Render callbacks
*****************************************************************************
* Copyright (C) 2019 VLC authors and VideoLAN
*
* Authors: Steve Lhomme <robux4@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 */
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment