From 3a233b827783151c4c08985224782f1dcce43a8f Mon Sep 17 00:00:00 2001 From: Darren Salt Date: Sun, 8 Apr 2007 01:12:44 +0100 Subject: Mark various private arrays, structs & fn parameters as static and/or const. Two of the modified files are headers, but each contains definitions as well as declarations and is only ever used once. --- src/post/deinterlace/pulldown.c | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) (limited to 'src/post/deinterlace/pulldown.c') 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 */ -- cgit v1.2.3