Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc
Commits
1bd9e72a
Commit
1bd9e72a
authored
Aug 21, 2015
by
Felix Paul Kühne
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
generic opengl code: expose helper function
parent
6a968719
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
6 deletions
+8
-6
modules/video_output/opengl.c
modules/video_output/opengl.c
+1
-6
modules/video_output/opengl.h
modules/video_output/opengl.h
+7
-0
No files found.
modules/video_output/opengl.c
View file @
1bd9e72a
...
...
@@ -95,11 +95,6 @@
# define SUPPORTS_FIXED_PIPELINE
#endif
static
const
vlc_fourcc_t
gl_subpicture_chromas
[]
=
{
VLC_CODEC_RGBA
,
0
};
typedef
struct
{
GLuint
texture
;
unsigned
format
;
...
...
@@ -1002,7 +997,7 @@ static const GLfloat identity[] = {
0
.
0
f
,
0
.
0
f
,
0
.
0
f
,
1
.
0
f
};
static
void
orientationTransformMatrix
(
GLfloat
matrix
[
static
16
],
video_orientation_t
orientation
)
{
void
orientationTransformMatrix
(
GLfloat
matrix
[
static
16
],
video_orientation_t
orientation
)
{
memcpy
(
matrix
,
identity
,
sizeof
(
identity
));
...
...
modules/video_output/opengl.h
View file @
1bd9e72a
...
...
@@ -67,6 +67,11 @@
# endif
#endif
static
const
vlc_fourcc_t
gl_subpicture_chromas
[]
=
{
VLC_CODEC_RGBA
,
0
};
static
inline
bool
HasExtension
(
const
char
*
apis
,
const
char
*
api
)
{
size_t
apilen
=
strlen
(
api
);
...
...
@@ -80,6 +85,8 @@ static inline bool HasExtension(const char *apis, const char *api)
return
false
;
}
void
orientationTransformMatrix
(
GLfloat
matrix
[
static
16
],
video_orientation_t
orientation
);
typedef
struct
vout_display_opengl_t
vout_display_opengl_t
;
vout_display_opengl_t
*
vout_display_opengl_New
(
video_format_t
*
fmt
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment