Mercurial > mplayer.hg
view mp3lib/dct36_k7.c @ 17711:8aa18d8e5eb6
add forward_ptr to syncpoint (+0.006% overhead)
give syncpoint and frameheader their own checksums (worst case overhead increase <0.006%)
fix filestructure so that extendability is restored
move index_ptr to the fileend so that index packets arent a special case with their reserved_bytes position
-> all packets follow the same structure now
remove "optional" word from info packets, they are not more optional then index packets
split index packets
note, this is entirely optional and a muxer which has difficulty with it can always output a single index packet
remove the index MUST be at the file end if anywher rule, its not needed anymore as index_ptr will always be at the end
info frames must be keyframes
last info frame is the most correct
comments, flames?
author | michael |
---|---|
date | Wed, 01 Mar 2006 14:19:37 +0000 |
parents | 9163bdb578a6 |
children | 7c7885350d89 |
line wrap: on
line source
/* * dct36_k7.c - 3DNowEx(DSP)! optimized dct36() * * This code based 'dct36_3dnow.s' by Syuuhei Kashiyama * <squash@mb.kcom.ne.jp>, only two types of changes have been made: * * - added new opcode PSWAPD * - removed PREFETCH instruction for speedup * - changed function name for support 3DNowEx! automatic detection * * note: because K7 processors are an aggresive out-of-order three-way * superscalar ones instruction order is not significand for them. * * You can find Kashiyama's original 3dnow! support patch * (for mpg123-0.59o) at * http://user.ecc.u-tokyo.ac.jp/~g810370/linux-simd/ (Japanese). * * by KIMURA Takuhiro <kim@hannah.ipc.miyakyo-u.ac.jp> - until 31.Mar.1999 * <kim@comtec.co.jp> - after 1.Apr.1999 * * Original disclaimer: * The author of this program disclaim whole expressed or implied * warranties with regard to this program, and in no event shall the * author of this program liable to whatever resulted from the use of * this program. Use it at your own risk. * * Modified by Nick Kurshev <nickols_k@mail.ru> * * 2003/06/21: Moved to GCC inline assembly - Alex Beregszaszi */ #define __DCT36_OPTIMIZE_FOR_K7 #include "dct36_3dnow.c"