~ubuntu-branches/ubuntu/lucid/ffmpeg/lucid-updates

« back to all changes in this revision

Viewing changes to doc/optimization.txt

  • Committer: Bazaar Package Importer
  • Author(s): Reinhard Tartler
  • Date: 2009-01-20 17:51:19 UTC
  • mfrom: (1.1.6 upstream)
  • Revision ID: james.westby@ubuntu.com-20090120175119-gu6kw1arv5tmf1vr
Tags: 3:0.svn20090119-1ubuntu1+unstripped1
* merge with the ubuntu.jaunty branch
* reenable x264 LP: #303537
* build against vdpau
* enable xvmc support

Show diffs side-by-side

added added

removed removed

Lines of Context:
4
4
What to optimize:
5
5
-----------------
6
6
If you plan to do non-x86 architecture specific optimizations (SIMD normally),
7
 
then take a look in the i386/ directory, as most important functions are
 
7
then take a look in the x86/ directory, as most important functions are
8
8
already optimized for MMX.
9
9
 
10
10
If you want to do x86 optimizations then you can either try to finetune the
11
 
stuff in the i386 directory or find some other functions in the C source to
 
11
stuff in the x86 directory or find some other functions in the C source to
12
12
optimize, but there aren't many left.
13
13
 
14
14
 
18
18
of optimizations, it can be hard to optimize them further, or write
19
19
architecture-specific versions. It is recommended to look at older
20
20
revisions of the interesting files (for a web frontend try ViewVC at
21
 
http://svn.mplayerhq.hu/ffmpeg/trunk/).
 
21
http://svn.ffmpeg.org/ffmpeg/trunk/).
22
22
Alternatively, look into the other architecture-specific versions in
23
 
the i386/, ppc/, alpha/ subdirectories. Even if you don't exactly
 
23
the x86/, ppc/, alpha/ subdirectories. Even if you don't exactly
24
24
comprehend the instructions, it could help understanding the functions
25
25
and how they can be optimized.
26
26