[FFmpeg-devel] [PATCH] update doc/optimization.txt

Michael Niedermayer michaelni
Wed Sep 22 14:48:44 CEST 2010


On Wed, Sep 22, 2010 at 08:37:07AM -0400, Ronald S. Bultje wrote:
[...]
> What about the last of the three bulletpoints?
> 
> - in many cases, both can be used and it just depends on the preference of the
>    person writing the asm. For new asm, the choice is up to you. For existing
>    asm, you'll likely want to maintain whatever form it is currently in unless
>    there is a good reason to change it.

ok


> 
> You should love that piece. ;-). It basically says I won't convert all
> too much more inline asm to external asm (yasm) unless I have a good
> reason. I might even have to understand inline asm at some point.
> 
> Also, should I mention (in general tips) that functions that use huge
> structs (e.g. MpegEncContext) are A) "discouragable" in general and B)
> better written in inline asm than yasm because of the difficulty of
> predicting struct offsets?

B is ok about A, who uses huge structs when its not needed ...

[...]
--
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

I am the wisest man alive, for I know one thing, and that is that I know
nothing. -- Socrates
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20100922/d73a5d0e/attachment.pgp>



More information about the ffmpeg-devel mailing list