Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
F
ffmpeg.wasm-core
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
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Linshizhi
ffmpeg.wasm-core
Commits
5059d8df
Commit
5059d8df
authored
Feb 02, 2014
by
Lukasz Marek
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lavd/opengl_enc: remove inlines
Signed-off-by:
Lukasz Marek
<
lukasz.m.luki@gmail.com
>
parent
69b19f26
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
6 deletions
+4
-6
opengl_enc.c
libavdevice/opengl_enc.c
+4
-6
No files found.
libavdevice/opengl_enc.c
View file @
5059d8df
...
@@ -548,16 +548,14 @@ static int av_cold opengl_load_procedures(OpenGLContext *opengl)
...
@@ -548,16 +548,14 @@ static int av_cold opengl_load_procedures(OpenGLContext *opengl)
}
}
#endif
#endif
static
av_always_inline
void
opengl_make_identity
(
float
matrix
[
16
])
static
void
opengl_make_identity
(
float
matrix
[
16
])
{
{
memset
(
matrix
,
0
,
16
*
sizeof
(
float
));
memset
(
matrix
,
0
,
16
*
sizeof
(
float
));
matrix
[
0
]
=
matrix
[
5
]
=
matrix
[
10
]
=
matrix
[
15
]
=
1
.
0
f
;
matrix
[
0
]
=
matrix
[
5
]
=
matrix
[
10
]
=
matrix
[
15
]
=
1
.
0
f
;
}
}
static
av_always_inline
void
opengl_make_ortho
(
float
matrix
[
16
],
static
void
opengl_make_ortho
(
float
matrix
[
16
],
float
left
,
float
right
,
float
left
,
float
right
,
float
bottom
,
float
top
,
float
nearZ
,
float
farZ
)
float
bottom
,
float
top
,
float
nearZ
,
float
farZ
)
{
{
float
ral
=
right
+
left
;
float
ral
=
right
+
left
;
float
rsl
=
right
-
left
;
float
rsl
=
right
-
left
;
...
@@ -634,7 +632,7 @@ static const char* opengl_get_fragment_shader_code(enum AVPixelFormat format)
...
@@ -634,7 +632,7 @@ static const char* opengl_get_fragment_shader_code(enum AVPixelFormat format)
return
NULL
;
return
NULL
;
}
}
static
av_always_inline
int
opengl_type_size
(
GLenum
type
)
static
int
opengl_type_size
(
GLenum
type
)
{
{
switch
(
type
)
{
switch
(
type
)
{
case
GL_UNSIGNED_SHORT
:
case
GL_UNSIGNED_SHORT
:
...
...
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