Mercurial > libavcodec.hg
comparison dtsdec.c @ 4170:f97a2081b5b1 libavcodec
make some symbols static
author | mru |
---|---|
date | Sat, 11 Nov 2006 20:54:48 +0000 |
parents | 418b123f1b74 |
children | c0e2e4249145 |
comparison
equal
deleted
inserted
replaced
4169:8d67ae8320dc | 4170:f97a2081b5b1 |
---|---|
53 i -= 0x43c00000; | 53 i -= 0x43c00000; |
54 #endif | 54 #endif |
55 return (i > 32767) ? 32767 : ((i < -32768) ? -32768 : i); | 55 return (i > 32767) ? 32767 : ((i < -32768) ? -32768 : i); |
56 } | 56 } |
57 | 57 |
58 void | 58 static void |
59 convert2s16_2 (sample_t * _f, int16_t * s16) | 59 convert2s16_2 (sample_t * _f, int16_t * s16) |
60 { | 60 { |
61 int i; | 61 int i; |
62 int32_t * f = (int32_t *) _f; | 62 int32_t * f = (int32_t *) _f; |
63 | 63 |
66 s16[2*i] = convert (f[i]); | 66 s16[2*i] = convert (f[i]); |
67 s16[2*i+1] = convert (f[i+256]); | 67 s16[2*i+1] = convert (f[i+256]); |
68 } | 68 } |
69 } | 69 } |
70 | 70 |
71 void | 71 static void |
72 convert2s16_4 (sample_t * _f, int16_t * s16) | 72 convert2s16_4 (sample_t * _f, int16_t * s16) |
73 { | 73 { |
74 int i; | 74 int i; |
75 int32_t * f = (int32_t *) _f; | 75 int32_t * f = (int32_t *) _f; |
76 | 76 |
81 s16[4*i+2] = convert (f[i+512]); | 81 s16[4*i+2] = convert (f[i+512]); |
82 s16[4*i+3] = convert (f[i+768]); | 82 s16[4*i+3] = convert (f[i+768]); |
83 } | 83 } |
84 } | 84 } |
85 | 85 |
86 void | 86 static void |
87 convert2s16_5 (sample_t * _f, int16_t * s16) | 87 convert2s16_5 (sample_t * _f, int16_t * s16) |
88 { | 88 { |
89 int i; | 89 int i; |
90 int32_t * f = (int32_t *) _f; | 90 int32_t * f = (int32_t *) _f; |
91 | 91 |