Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
F
ffmpeg
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
ffmpeg
Commits
ffe46e5d
Commit
ffe46e5d
authored
Jan 30, 2014
by
Lukasz Marek
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lavd/opengl_enc_shaders: make shaders code static and const
Signed-off-by:
Lukasz Marek
<
lukasz.m.luki@gmail.com
>
parent
0997c250
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
opengl_enc_shaders.h
libavdevice/opengl_enc_shaders.h
+7
-7
No files found.
libavdevice/opengl_enc_shaders.h
View file @
ffe46e5d
...
...
@@ -23,7 +23,7 @@
#include "libavutil/pixfmt.h"
const
char
*
FF_OPENGL_VERTEX_SHADER
=
static
const
char
*
const
FF_OPENGL_VERTEX_SHADER
=
"uniform mat4 u_projectionMatrix;"
"uniform mat4 u_modelViewMatrix;"
...
...
@@ -41,7 +41,7 @@ const char *FF_OPENGL_VERTEX_SHADER =
/**
* Fragment shader for packet RGBA formats.
*/
const
char
*
FF_OPENGL_FRAGMENT_SHADER_RGBA_PACKET
=
static
const
char
*
const
FF_OPENGL_FRAGMENT_SHADER_RGBA_PACKET
=
#if defined(GL_ES_VERSION_2_0)
"precision mediump float;"
#endif
...
...
@@ -58,7 +58,7 @@ const char *FF_OPENGL_FRAGMENT_SHADER_RGBA_PACKET =
/**
* Fragment shader for packet RGB formats.
*/
const
char
*
FF_OPENGL_FRAGMENT_SHADER_RGB_PACKET
=
static
const
char
*
const
FF_OPENGL_FRAGMENT_SHADER_RGB_PACKET
=
#if defined(GL_ES_VERSION_2_0)
"precision mediump float;"
#endif
...
...
@@ -75,7 +75,7 @@ const char *FF_OPENGL_FRAGMENT_SHADER_RGB_PACKET =
/**
* Fragment shader for planar RGBA formats.
*/
const
char
*
FF_OPENGL_FRAGMENT_SHADER_RGBA_PLANAR
=
static
const
char
*
const
FF_OPENGL_FRAGMENT_SHADER_RGBA_PLANAR
=
#if defined(GL_ES_VERSION_2_0)
"precision mediump float;"
#endif
...
...
@@ -97,7 +97,7 @@ const char *FF_OPENGL_FRAGMENT_SHADER_RGBA_PLANAR =
/**
* Fragment shader for planar RGB formats.
*/
const
char
*
FF_OPENGL_FRAGMENT_SHADER_RGB_PLANAR
=
static
const
char
*
const
FF_OPENGL_FRAGMENT_SHADER_RGB_PLANAR
=
#if defined(GL_ES_VERSION_2_0)
"precision mediump float;"
#endif
...
...
@@ -118,7 +118,7 @@ const char *FF_OPENGL_FRAGMENT_SHADER_RGB_PLANAR =
/**
* Fragment shader for planar YUV formats.
*/
const
char
*
FF_OPENGL_FRAGMENT_SHADER_YUV_PLANAR
=
static
const
char
*
const
FF_OPENGL_FRAGMENT_SHADER_YUV_PLANAR
=
#if defined(GL_ES_VERSION_2_0)
"precision mediump float;"
#endif
...
...
@@ -147,7 +147,7 @@ const char *FF_OPENGL_FRAGMENT_SHADER_YUV_PLANAR =
/**
* Fragment shader for planar YUVA formats.
*/
const
char
*
FF_OPENGL_FRAGMENT_SHADER_YUVA_PLANAR
=
static
const
char
*
const
FF_OPENGL_FRAGMENT_SHADER_YUVA_PLANAR
=
#if defined(GL_ES_VERSION_2_0)
"precision mediump float;"
#endif
...
...
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