Mercurial > mplayer.hg
annotate libmpdemux/demux_ts.h @ 34478:8e09f1cb3ecd
Fix vo_gl unsharp filter for chroma.
The syntax is a bit strange, since for inputs the components
indicate swizzles, while for outputs it is only a write mask,
thus the result must be at the correct position regardless
of the component specified for the output.
So use a 3-component vector for the constant factor.
Also make the input swizzles explicit in an attempt to make
the code less confusing (that part does change what the code
actually does).
Previous code would result in a filter strength of 0 always
being used for chroma.
author | reimar |
---|---|
date | Sat, 14 Jan 2012 15:49:54 +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 */ |