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
6efad6fd
Commit
6efad6fd
authored
May 23, 2002
by
Zdenek Kabelac
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* align the source initialy address
Originally committed as revision 567 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
2bd978bd
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
4 deletions
+6
-4
dsputil_mmx.c
libavcodec/i386/dsputil_mmx.c
+6
-4
No files found.
libavcodec/i386/dsputil_mmx.c
View file @
6efad6fd
...
...
@@ -1107,18 +1107,20 @@ int main(int argc, char* argv[])
volatile
int
v
;
int
i
;
const
int
linesize
=
720
;
char
bu
[
32768
];
char
empty
[
32768
];
uint64_t
te
,
ts
=
rdtsc
();
char
*
im
=
bu
;
char
*
im
,
*
bu
=
empty
;
op_pixels_func
fc
=
put_pixels_y2_mmx2
;
bu
+=
32
;
bu
=
(
char
*
)(((
long
)
bu
)
&
~
0xf
);
// 16 bytes alignment
im
=
bu
;
for
(
i
=
0
;
i
<
1000000
;
i
++
){
fc
(
im
,
im
+
1000
,
linesize
,
16
);
im
+=
16
;
//
im
+=
4
;
//
if
(
im
>
bu
+
10000
)
im
=
bu
;
}
te
=
rdtsc
();
printf
(
"CPU Ticks: %7d
\n
"
,
(
int
)(
te
-
ts
));
fflush
(
stdout
);
}
#endif
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