[Ffmpeg-devel] Native H.264 encoder (was: I'm giving up)

Panagiotis Issaris takis.issaris
Mon Dec 11 13:58:24 CET 2006


Hi,

On Mon, 2006-12-11 at 13:24 +0100, Panagiotis Issaris wrote:
> [...]
> I reran the tests on a Pentium 4 CPU 3.20GHz and on that machine it
> appears to make a consistent difference of about 200 clock cycles.
> 
> With the for loops:
> ...
> 1983 dezicycles in DCTFOR, 16775281 runs, 1935 skips3689.0kbits/s    
> frame=  101 q=-1.0 Lsize=    1652kB time=4.0 bitrate=3350.1kbits/s    
> video:1652kB audio:0kB global headers:0kB muxing overhead 0.000000%
> 
> Repeated runs gave: 1991, 1986, 1994, 1995, 1997, 2061
> 
> Without the for loops:
> ...
> 1809 dezicycles in DCT, 16776700 runs, 516 skipsate=3640.6kbits/s    
> frame=  101 q=-1.0 Lsize=    1652kB time=4.0 bitrate=3350.1kbits/s    
> video:1652kB audio:0kB global headers:0kB muxing overhead 0.000000%
> 
> Repeated runs gave: 1806, 1790, 1805, 1814, 1826, 1835
> 
> So, on Athlon64 it appears to make no real difference, on P4 it does.
> I'll try and rewrite it a bit shorter using a macro.
Patch which uses two macros to shorten the DCT implementation attached.

Any preference towards names such as TEMP|INTERMEDIATE and FINAL instead
of PART1 and PART2?

With friendly regards,
Takis
-- 
vCard: http://www.issaris.org/pi.vcf
Public key: http://www.issaris.org/pi.key
-------------- next part --------------
A non-text attachment was scrubbed...
Name: edm-20061211T135207-ffmpeg-h264_dsp.diff
Type: text/x-patch
Size: 3459 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20061211/34fb4721/attachment.bin>



More information about the ffmpeg-devel mailing list