Mercurial > mplayer.hg
view libfaad2/dither.h @ 10917:d45870f67728
Forced subtitles patch by Arne Driescher <driescher@mpi-magdeburg.mpg.de>
For a given subtitle language you can now chose to display
only the forced subtitles. Defaut is set to "show all subtitles"
so that current mplayer behaviour is not changed.
For DVD:
Use -forced_subs_only additionally to e.g. -slang en
if you are only interested in the forced subtitles.
For VobSub:
The idx file is now parsed for the "forced subs: ON/OFF" tag
and used according to its settings.
Key:
You can toggle the display of forced subtitles by pressing
"F" (upper case letter).
author | attila |
---|---|
date | Sun, 21 Sep 2003 14:21:43 +0000 |
parents | e989150f8216 |
children | 3185f64f6350 |
line wrap: on
line source
/* This program is licensed under the GNU Library General Public License, version 2, * a copy of which is included with this program (with filename LICENSE.LGPL). * * (c) 2002 John Edwards * * rand_t header. * * last modified: $ID:$ */ #include "common.h" #ifndef __RAND_T_H #define __RAND_T_H #ifdef __cplusplus extern "C" { #endif #ifndef FIXED_POINT typedef struct { const float32_t* FilterCoeff; uint64_t Mask; double Add; float32_t Dither; float32_t ErrorHistory [2] [16]; // max. 2 channels, 16th order Noise shaping float32_t DitherHistory [2] [16]; int32_t LastRandomNumber [2]; } dither_t; extern dither_t Dither; extern double doubletmp; //static const uint8_t Parity [256]; uint32_t random_int ( void ); extern double scalar16 ( const float32_t* x, const float32_t* y ); extern double Random_Equi ( double mult ); extern double Random_Triangular ( double mult ); void Init_Dither ( unsigned char bits, unsigned char shapingtype ); #endif #ifdef __cplusplus } #endif #endif