Mercurial > mplayer.hg
annotate libmpdemux/demux_ts.h @ 35584:fb92c6de7f70
Reduce register usage in an asm block.
Reduce to 4 registers in an asm block of render_frame_yuv420p_sse4
with simplification of code. After the modification, this function
can still be ~3.5x faster than render_frame_yuv420p.
author | upsuper |
---|---|
date | Fri, 14 Dec 2012 02:16:30 +0000 |
parents | b2329beb7406 |
children |
rev | line source |
---|---|
30576
24a5dc9d1466
Add separate header for mp_a52_framesize(); avoids forward declarations.
diego
parents:
diff
changeset
|
1 /* |
24a5dc9d1466
Add separate header for mp_a52_framesize(); avoids forward declarations.
diego
parents:
diff
changeset
|
2 * This file is part of MPlayer. |
24a5dc9d1466
Add separate header for mp_a52_framesize(); avoids forward declarations.
diego
parents:
diff
changeset
|
3 * |
24a5dc9d1466
Add separate header for mp_a52_framesize(); avoids forward declarations.
diego
parents:
diff
changeset
|
4 * MPlayer is free software; you can redistribute it and/or modify |
24a5dc9d1466
Add separate header for mp_a52_framesize(); avoids forward declarations.
diego
parents:
diff
changeset
|
5 * it under the terms of the GNU General Public License as published by |
24a5dc9d1466
Add separate header for mp_a52_framesize(); avoids forward declarations.
diego
parents:
diff
changeset
|
6 * the Free Software Foundation; either version 2 of the License, or |
24a5dc9d1466
Add separate header for mp_a52_framesize(); avoids forward declarations.
diego
parents:
diff
changeset
|
7 * (at your option) any later version. |
24a5dc9d1466
Add separate header for mp_a52_framesize(); avoids forward declarations.
diego
parents:
diff
changeset
|
8 * |
24a5dc9d1466
Add separate header for mp_a52_framesize(); avoids forward declarations.
diego
parents:
diff
changeset
|
9 * MPlayer is distributed in the hope that it will be useful, |
24a5dc9d1466
Add separate header for mp_a52_framesize(); avoids forward declarations.
diego
parents:
diff
changeset
|
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
24a5dc9d1466
Add separate header for mp_a52_framesize(); avoids forward declarations.
diego
parents:
diff
changeset
|
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
24a5dc9d1466
Add separate header for mp_a52_framesize(); avoids forward declarations.
diego
parents:
diff
changeset
|
12 * GNU General Public License for more details. |
24a5dc9d1466
Add separate header for mp_a52_framesize(); avoids forward declarations.
diego
parents:
diff
changeset
|
13 * |
24a5dc9d1466
Add separate header for mp_a52_framesize(); avoids forward declarations.
diego
parents:
diff
changeset
|
14 * You should have received a copy of the GNU General Public License along |
24a5dc9d1466
Add separate header for mp_a52_framesize(); avoids forward declarations.
diego
parents:
diff
changeset
|
15 * with MPlayer; if not, write to the Free Software Foundation, Inc., |
24a5dc9d1466
Add separate header for mp_a52_framesize(); avoids forward declarations.
diego
parents:
diff
changeset
|
16 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. |
24a5dc9d1466
Add separate header for mp_a52_framesize(); avoids forward declarations.
diego
parents:
diff
changeset
|
17 */ |
24a5dc9d1466
Add separate header for mp_a52_framesize(); avoids forward declarations.
diego
parents:
diff
changeset
|
18 |
24a5dc9d1466
Add separate header for mp_a52_framesize(); avoids forward declarations.
diego
parents:
diff
changeset
|
19 #ifndef MPLAYER_DEMUX_TS_H |
24a5dc9d1466
Add separate header for mp_a52_framesize(); avoids forward declarations.
diego
parents:
diff
changeset
|
20 #define MPLAYER_DEMUX_TS_H |
24a5dc9d1466
Add separate header for mp_a52_framesize(); avoids forward declarations.
diego
parents:
diff
changeset
|
21 |
31892
b2329beb7406
Add #includes for headers necessary to pass 'make checkheaders'.
diego
parents:
31850
diff
changeset
|
22 #include <sys/types.h> |
b2329beb7406
Add #includes for headers necessary to pass 'make checkheaders'.
diego
parents:
31850
diff
changeset
|
23 |
31225
1a2bfa6a546b
Move TS_MAX_PROBE_SIZE #define to demux_ts.h instead of duplicating it.
diego
parents:
30576
diff
changeset
|
24 #define TS_MAX_PROBE_SIZE 2000000 |
1a2bfa6a546b
Move TS_MAX_PROBE_SIZE #define to demux_ts.h instead of duplicating it.
diego
parents:
30576
diff
changeset
|
25 |
31403
6fccaae78d5b
Move ts_* extern variable declarations to demux_ts.h.
diego
parents:
31225
diff
changeset
|
26 extern off_t ts_probe; |
6fccaae78d5b
Move ts_* extern variable declarations to demux_ts.h.
diego
parents:
31225
diff
changeset
|
27 extern int ts_prog; |
6fccaae78d5b
Move ts_* extern variable declarations to demux_ts.h.
diego
parents:
31225
diff
changeset
|
28 extern int ts_keep_broken; |
31405
44863071e668
Move audio_substream_id extern variable declaration to demux_ts.h.
diego
parents:
31403
diff
changeset
|
29 extern int audio_substream_id; |
31403
6fccaae78d5b
Move ts_* extern variable declarations to demux_ts.h.
diego
parents:
31225
diff
changeset
|
30 |
30576
24a5dc9d1466
Add separate header for mp_a52_framesize(); avoids forward declarations.
diego
parents:
diff
changeset
|
31 #endif /* MPLAYER_DEMUX_TS_H */ |