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
ddbf0702
Commit
ddbf0702
authored
Dec 10, 2012
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dsputil_mmx: switch to av_assert2()
Signed-off-by:
Michael Niedermayer
<
michaelni@gmx.at
>
parent
4c751528
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
10 deletions
+10
-10
dsputilenc_mmx.c
libavcodec/x86/dsputilenc_mmx.c
+10
-10
No files found.
libavcodec/x86/dsputilenc_mmx.c
View file @
ddbf0702
...
...
@@ -589,8 +589,8 @@ static int nsse8_mmx(void *p, uint8_t * pix1, uint8_t * pix2, int line_size, int
static
int
vsad_intra16_mmx
(
void
*
v
,
uint8_t
*
pix
,
uint8_t
*
dummy
,
int
line_size
,
int
h
)
{
int
tmp
;
a
ssert
(
(((
int
)
pix
)
&
7
)
==
0
);
a
ssert
((
line_size
&
7
)
==
0
);
a
v_assert2
(
(((
int
)
pix
)
&
7
)
==
0
);
a
v_assert2
((
line_size
&
7
)
==
0
);
#define SUM(in0, in1, out0, out1) \
"movq (%0), %%mm2\n"\
...
...
@@ -652,8 +652,8 @@ static int vsad_intra16_mmxext(void *v, uint8_t *pix, uint8_t *dummy,
{
int
tmp
;
a
ssert
(
(((
int
)
pix
)
&
7
)
==
0
);
a
ssert
((
line_size
&
7
)
==
0
);
a
v_assert2
(
(((
int
)
pix
)
&
7
)
==
0
);
a
v_assert2
((
line_size
&
7
)
==
0
);
#define SUM(in0, in1, out0, out1) \
"movq (%0), " #out0 "\n"\
...
...
@@ -692,9 +692,9 @@ static int vsad_intra16_mmxext(void *v, uint8_t *pix, uint8_t *dummy,
static
int
vsad16_mmx
(
void
*
v
,
uint8_t
*
pix1
,
uint8_t
*
pix2
,
int
line_size
,
int
h
)
{
int
tmp
;
a
ssert
(
(((
int
)
pix1
)
&
7
)
==
0
);
a
ssert
(
(((
int
)
pix2
)
&
7
)
==
0
);
a
ssert
((
line_size
&
7
)
==
0
);
a
v_assert2
(
(((
int
)
pix1
)
&
7
)
==
0
);
a
v_assert2
(
(((
int
)
pix2
)
&
7
)
==
0
);
a
v_assert2
((
line_size
&
7
)
==
0
);
#define SUM(in0, in1, out0, out1) \
"movq (%0),%%mm2\n"\
...
...
@@ -772,9 +772,9 @@ static int vsad16_mmxext(void *v, uint8_t *pix1, uint8_t *pix2,
{
int
tmp
;
a
ssert
(
(((
int
)
pix1
)
&
7
)
==
0
);
a
ssert
(
(((
int
)
pix2
)
&
7
)
==
0
);
a
ssert
((
line_size
&
7
)
==
0
);
a
v_assert2
(
(((
int
)
pix1
)
&
7
)
==
0
);
a
v_assert2
(
(((
int
)
pix2
)
&
7
)
==
0
);
a
v_assert2
((
line_size
&
7
)
==
0
);
#define SUM(in0, in1, out0, out1) \
"movq (%0)," #out0 "\n"\
...
...
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