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
9395185f
Commit
9395185f
authored
Nov 07, 2001
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bugfix
Originally committed as revision 2767 to
svn://svn.mplayerhq.hu/mplayer/trunk/postproc
parent
1b383194
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
0 deletions
+6
-0
rgb2rgb.c
postproc/rgb2rgb.c
+3
-0
rgb2rgb_template.c
postproc/rgb2rgb_template.c
+3
-0
No files found.
postproc/rgb2rgb.c
View file @
9395185f
...
...
@@ -604,6 +604,9 @@ void rgb32tobgr32(const uint8_t *src, uint8_t *dst, unsigned int src_size)
::
"r"
(
src
),
"r"
(
dst
),
"r"
(
num_pixels
)
:
"%eax"
);
__asm
__volatile
(
SFENCE
:::
"memory"
);
__asm
__volatile
(
EMMS
:::
"memory"
);
#else
int
i
;
for
(
i
=
0
;
i
<
num_pixels
;
i
++
)
...
...
postproc/rgb2rgb_template.c
View file @
9395185f
...
...
@@ -604,6 +604,9 @@ void rgb32tobgr32(const uint8_t *src, uint8_t *dst, unsigned int src_size)
::
"r"
(
src
),
"r"
(
dst
),
"r"
(
num_pixels
)
:
"%eax"
);
__asm
__volatile
(
SFENCE
:::
"memory"
);
__asm
__volatile
(
EMMS
:::
"memory"
);
#else
int
i
;
for
(
i
=
0
;
i
<
num_pixels
;
i
++
)
...
...
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