This website works better with JavaScript.
Home
Help
Sign In
falkTX
/
FFmpeg
mirror of
https://github.com/falkTX/FFmpeg.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
338
Wiki
Activity
Browse Source
"General Tips" section
Originally committed as revision 12168 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.5
Michael Niedermayer
17 years ago
parent
086ab00158
commit
7b8c3aedac
1 changed files
with
16 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+16
-0
doc/optimization.txt
+ 16
- 0
doc/optimization.txt
View File
@@ -151,6 +151,22 @@ The minimum guaranteed alignment is written in the .h files, for example:
void (*put_pixels_clamped)(const DCTELEM *block/*align 16*/, UINT8 *pixels/*align 8*/, int line_size);
General Tips:
-------------
Use asm loops like:
asm(
"1: ....
...
"jump_instruciton ....
dont use C loops:
do{
asm(
...
}while()
Use asm() instead of intrinsics. Later require a good optimizing compiler
which gcc is not.
Links:
======
Write
Preview
Loading…
Cancel
Save