diff options
author | Diego 'Flameeyes' Pettenò <flameeyes@gmail.com> | 2007-04-09 20:36:36 +0200 |
---|---|---|
committer | Diego 'Flameeyes' Pettenò <flameeyes@gmail.com> | 2007-04-09 20:36:36 +0200 |
commit | a89f36b0b3e9008cd7f8378e4fa40a3c37d7a23e (patch) | |
tree | acb7dab784340185f86a0009cf057569ffd336a1 /src/post | |
parent | 6b0bd243d70f430f9f19a61335a4a38e8a09bc11 (diff) | |
parent | c552e457732c3c7b84b66ed8548713be52561487 (diff) | |
download | xine-lib-a89f36b0b3e9008cd7f8378e4fa40a3c37d7a23e.tar.gz xine-lib-a89f36b0b3e9008cd7f8378e4fa40a3c37d7a23e.tar.bz2 |
Update from 1.1 branch.
Diffstat (limited to 'src/post')
-rw-r--r-- | src/post/audio/upmix.c | 2 | ||||
-rw-r--r-- | src/post/deinterlace/pulldown.c | 26 | ||||
-rw-r--r-- | src/post/planar/noise.c | 2 |
3 files changed, 15 insertions, 15 deletions
diff --git a/src/post/audio/upmix.c b/src/post/audio/upmix.c index 76c9afe58..975d8b79e 100644 --- a/src/post/audio/upmix.c +++ b/src/post/audio/upmix.c @@ -57,7 +57,7 @@ typedef struct{ } biquad_t; /* S-parameters for designing 4th order Butterworth filter */ -static biquad_t s_param[2] = {{{1.0,0.0,0.0},{1.0,0.765367,1.0}}, +static const biquad_t s_param[2] = {{{1.0,0.0,0.0},{1.0,0.765367,1.0}}, {{1.0,0.0,0.0},{1.0,1.847759,1.0}}}; /* Data for specific instances of this filter */ diff --git a/src/post/deinterlace/pulldown.c b/src/post/deinterlace/pulldown.c index 41b31d596..cb263ccfb 100644 --- a/src/post/deinterlace/pulldown.c +++ b/src/post/deinterlace/pulldown.c @@ -85,19 +85,19 @@ * */ -/* Offset 1 2 3 4 5 */ -/* Field Pattern [T B T][B T][B T B] [T B] */ -/* Action Copy Save Merge Copy Copy */ -/* Bot Top */ -int tff_top_pattern[] = { 0, 1, 0, 0, 0 }; -int tff_bot_pattern[] = { 0, 0, 0, 1, 0 }; - -/* Offset 1 2 3 4 5 */ -/* Field Pattern [B T B][T B][T B T] [B T] */ -/* Action Copy Save Merge Copy Copy */ -/* Top Bot */ -int bff_top_pattern[] = { 0, 0, 0, 1, 0 }; -int bff_bot_pattern[] = { 0, 1, 0, 0, 0 }; +/* Offset 1 2 3 4 5 */ +/* Field Pattern [T B T][B T][B T B] [T B] */ +/* Action Copy Save Merge Copy Copy */ +/* Bot Top */ +static const int tff_top_pattern[] = { 0, 1, 0, 0, 0 }; +static const int tff_bot_pattern[] = { 0, 0, 0, 1, 0 }; + +/* Offset 1 2 3 4 5 */ +/* Field Pattern [B T B][T B][T B T] [B T] */ +/* Action Copy Save Merge Copy Copy */ +/* Top Bot */ +static const int bff_top_pattern[] = { 0, 0, 0, 1, 0 }; +static const int bff_bot_pattern[] = { 0, 1, 0, 0, 0 }; /* Timestamp mangling */ /* From the DVD : 0 + 3003+ 6006 + 9009+ 12012 = 15015 */ diff --git a/src/post/planar/noise.c b/src/post/planar/noise.c index 154d5f8cc..a5bf03039 100644 --- a/src/post/planar/noise.c +++ b/src/post/planar/noise.c @@ -62,7 +62,7 @@ typedef struct noise_param_t { static int nonTempRandShift[MAX_RES]= {-1}; -static int patt[4] = { +static const int patt[4] = { -1,0,1,0 }; |