Commit 2e449bf3 authored by michael's avatar michael

"General Tips" section


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@12168 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 6de06375
...@@ -151,6 +151,22 @@ The minimum guaranteed alignment is written in the .h files, for example: ...@@ -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); 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: Links:
====== ======
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment