Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
FFmpeg
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
libremedia
Tethys
FFmpeg
Commits
a826efb5
Commit
a826efb5
authored
11 years ago
by
Michael Niedermayer
Browse files
Options
Downloads
Patches
Plain Diff
avfilter/x86/vf_gradfun_init: fix const and related warnings
Signed-off-by:
Michael Niedermayer
<
michaelni@gmx.at
>
parent
b2fdf3fc
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
libavfilter/x86/vf_gradfun_init.c
+5
-4
5 additions, 4 deletions
libavfilter/x86/vf_gradfun_init.c
with
5 additions
and
4 deletions
libavfilter/x86/vf_gradfun_init.c
+
5
−
4
View file @
a826efb5
...
...
@@ -30,7 +30,8 @@
void
ff_gradfun_filter_line_mmxext
(
intptr_t
x
,
uint8_t
*
dst
,
const
uint8_t
*
src
,
const
uint16_t
*
dc
,
int
thresh
,
const
uint16_t
*
dithers
);
static
void
gradfun_filter_line_mmxext
(
uint8_t
*
dst
,
uint8_t
*
src
,
uint16_t
*
dc
,
static
void
gradfun_filter_line_mmxext
(
uint8_t
*
dst
,
const
uint8_t
*
src
,
const
uint16_t
*
dc
,
int
width
,
int
thresh
,
const
uint16_t
*
dithers
)
{
...
...
@@ -48,7 +49,7 @@ static void gradfun_filter_line_mmxext(uint8_t *dst, uint8_t *src, uint16_t *dc,
void
ff_gradfun_filter_line_ssse3
(
intptr_t
x
,
uint8_t
*
dst
,
const
uint8_t
*
src
,
const
uint16_t
*
dc
,
int
thresh
,
const
uint16_t
*
dithers
);
static
void
gradfun_filter_line_ssse3
(
uint8_t
*
dst
,
uint8_t
*
src
,
uint16_t
*
dc
,
int
width
,
int
thresh
,
const
uint16_t
*
dithers
)
static
void
gradfun_filter_line_ssse3
(
uint8_t
*
dst
,
const
uint8_t
*
src
,
const
uint16_t
*
dc
,
int
width
,
int
thresh
,
const
uint16_t
*
dithers
)
{
intptr_t
x
;
if
(
width
&
7
)
{
...
...
@@ -62,8 +63,8 @@ static void gradfun_filter_line_ssse3(uint8_t *dst, uint8_t *src, uint16_t *dc,
thresh
,
dithers
);
}
void
ff_gradfun_blur_line_movdqa_sse2
(
intptr_t
x
,
uint16_t
*
buf
,
uint16_t
*
buf1
,
uint16_t
*
dc
,
uint8_t
*
src1
,
uint8_t
*
src2
);
void
ff_gradfun_blur_line_movdqu_sse2
(
intptr_t
x
,
uint16_t
*
buf
,
uint16_t
*
buf1
,
uint16_t
*
dc
,
uint8_t
*
src1
,
uint8_t
*
src2
);
void
ff_gradfun_blur_line_movdqa_sse2
(
intptr_t
x
,
uint16_t
*
buf
,
const
uint16_t
*
buf1
,
uint16_t
*
dc
,
const
uint8_t
*
src1
,
const
uint8_t
*
src2
);
void
ff_gradfun_blur_line_movdqu_sse2
(
intptr_t
x
,
uint16_t
*
buf
,
const
uint16_t
*
buf1
,
uint16_t
*
dc
,
const
uint8_t
*
src1
,
const
uint8_t
*
src2
);
static
void
gradfun_blur_line_sse2
(
uint16_t
*
dc
,
uint16_t
*
buf
,
const
uint16_t
*
buf1
,
const
uint8_t
*
src
,
int
src_linesize
,
int
width
)
{
intptr_t
x
=
-
2
*
width
;
...
...
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