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
9bc0d3ef
Commit
9bc0d3ef
authored
Feb 10, 2007
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
maybe fix x86_64 (untested)
Originally committed as revision 7906 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
559a55ad
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
dsputil_h264_template_mmx.c
libavcodec/i386/dsputil_h264_template_mmx.c
+3
-3
No files found.
libavcodec/i386/dsputil_h264_template_mmx.c
View file @
9bc0d3ef
...
...
@@ -263,7 +263,7 @@ static void H264_CHROMA_MC4_TMPL(uint8_t *dst/*align 4*/, uint8_t *src/*align 1*
}
#ifdef H264_CHROMA_MC2_TMPL
static
void
H264_CHROMA_MC2_TMPL
(
uint8_t
*
dst
/*align 2*/
,
uint8_t
*
src
/*align 1*/
,
int
stride
,
int
h
,
int
x
,
int
y
)
static
void
H264_CHROMA_MC2_TMPL
(
uint8_t
*
dst
/*align 2*/
,
uint8_t
*
src
/*align 1*/
,
long
stride
,
int
h
,
int
x
,
int
y
)
{
int
tmp
=
((
1
<<
16
)
-
1
)
*
x
+
8
;
int
CD
=
tmp
*
y
;
...
...
@@ -306,8 +306,8 @@ static void H264_CHROMA_MC2_TMPL(uint8_t *dst/*align 2*/, uint8_t *src/*align 1*
* ok because partitions are processed from left to right. */
H264_CHROMA_OP4
((
%
0
),
%%
mm1
,
%%
mm3
)
"movd %%mm1, (%0)
\n\t
"
"add
l
%4, %0
\n\t
"
"sub
l
$1, %2
\n\t
"
"add %4, %0
\n\t
"
"sub $1, %2
\n\t
"
"jnz 1b
\n\t
"
:
"+r"
(
dst
),
"+r"
(
src
),
"+r"
(
h
)
:
"m"
(
ff_pw_32
),
"r"
(
stride
));
...
...
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