Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
F
ffmpeg
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
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
ffmpeg
Commits
a62a1c31
Commit
a62a1c31
authored
Mar 17, 2008
by
Måns Rullgård
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
use HAVE_FAST_64BIT
Originally committed as revision 12480 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
ea68e334
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
rectangle.h
libavcodec/rectangle.h
+1
-1
No files found.
libavcodec/rectangle.h
View file @
a62a1c31
...
@@ -64,7 +64,7 @@ static av_always_inline void fill_rectangle(void *vp, int w, int h, int stride,
...
@@ -64,7 +64,7 @@ static av_always_inline void fill_rectangle(void *vp, int w, int h, int stride,
*
(
uint32_t
*
)(
p
+
3
*
stride
)
=
v
;
*
(
uint32_t
*
)(
p
+
3
*
stride
)
=
v
;
}
else
if
(
w
==
8
){
}
else
if
(
w
==
8
){
//gcc can't optimize 64bit math on x86_32
//gcc can't optimize 64bit math on x86_32
#if
defined(ARCH_X86_64) || (defined(MP_WORDSIZE) && MP_WORDSIZE >= 64)
#if
def HAVE_FAST_64BIT
const
uint64_t
v
=
val
*
0x0100000001ULL
;
const
uint64_t
v
=
val
*
0x0100000001ULL
;
*
(
uint64_t
*
)(
p
+
0
*
stride
)
=
v
;
*
(
uint64_t
*
)(
p
+
0
*
stride
)
=
v
;
if
(
h
==
1
)
return
;
if
(
h
==
1
)
return
;
...
...
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