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
c68a4ce3
Commit
c68a4ce3
authored
Nov 11, 2011
by
Rémi Duraffort
Committed by
Rémi Denis-Courmont
Nov 24, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gradfun: define the clobber list
Signed-off-by:
Rémi Denis-Courmont
<
remi@remlab.net
>
parent
209f1ae0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
3 deletions
+6
-3
modules/video_filter/gradfun.h
modules/video_filter/gradfun.h
+6
-3
No files found.
modules/video_filter/gradfun.h
View file @
c68a4ce3
...
...
@@ -78,6 +78,7 @@ static void blur_line_c(uint16_t *dc, uint16_t *buf, uint16_t *buf1,
}
#if HAVE_MMX2
VLC_MMX
static
void
filter_line_mmx2
(
uint8_t
*
dst
,
uint8_t
*
src
,
uint16_t
*
dc
,
int
width
,
int
thresh
,
const
uint16_t
*
dithers
)
{
...
...
@@ -121,12 +122,13 @@ static void filter_line_mmx2(uint8_t *dst, uint8_t *src, uint16_t *dc,
:
"+r"
(
x
)
:
"r"
(
dst
+
width
),
"r"
(
src
+
width
),
"r"
(
dc
+
width
/
2
),
"rm"
(
thresh
),
"m"
(
*
dithers
),
"m"
(
*
pw_7f
)
:
"memory"
:
"m
m0"
,
"mm1"
,
"mm2"
,
"mm4"
,
"mm5"
,
"mm6"
,
"m
emory"
);
}
#endif
#if HAVE_SSSE3
VLC_SSE
static
void
filter_line_ssse3
(
uint8_t
*
dst
,
uint8_t
*
src
,
uint16_t
*
dc
,
int
width
,
int
thresh
,
const
uint16_t
*
dithers
)
{
...
...
@@ -169,7 +171,7 @@ static void filter_line_ssse3(uint8_t *dst, uint8_t *src, uint16_t *dc,
:
"+&r"
(
x
)
:
"r"
(
dst
+
width
),
"r"
(
src
+
width
),
"r"
(
dc
+
width
/
2
),
"rm"
(
thresh
),
"m"
(
*
dithers
),
"m"
(
*
pw_7f
)
:
"memory"
:
"
xmm0"
,
"xmm1"
,
"xmm2"
,
"xmm4"
,
"xmm5"
,
"xmm6"
,
"xmm7"
,
"
memory"
);
}
#endif // HAVE_SSSE3
...
...
@@ -205,9 +207,10 @@ static void filter_line_ssse3(uint8_t *dst, uint8_t *src, uint16_t *dc,
"r"(src+width*2),\
"r"(src+width*2+sstride),\
"m"(*pw_ff)\
:"memory"\
:"
xmm0", "xmm1", "xmm2", "xmm3", "xmm7", "
memory"\
);
VLC_SSE
static
void
blur_line_sse2
(
uint16_t
*
dc
,
uint16_t
*
buf
,
uint16_t
*
buf1
,
uint8_t
*
src
,
int
sstride
,
int
width
)
{
...
...
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