comparison tremor/ivorbiscodec.h @ 29264:e83eef58b30a

Remove all kind of trailing whitespaces from all MPlayer's files. This affects all kind of spaces (' ',^I,^M,^L,...): actually [:space:] regex character set.
author bircoph
date Wed, 13 May 2009 15:22:13 +0000
parents cd6b211be811
children
comparison
equal deleted inserted replaced
29263:0f1b5b68af32 29264:e83eef58b30a
30 int channels; 30 int channels;
31 long rate; 31 long rate;
32 32
33 /* The below bitrate declarations are *hints*. 33 /* The below bitrate declarations are *hints*.
34 Combinations of the three values carry the following implications: 34 Combinations of the three values carry the following implications:
35 35
36 all three set to the same value: 36 all three set to the same value:
37 implies a fixed rate bitstream 37 implies a fixed rate bitstream
38 only nominal set: 38 only nominal set:
39 implies a VBR stream that averages the nominal bitrate. No hard 39 implies a VBR stream that averages the nominal bitrate. No hard
40 upper/lower limit 40 upper/lower limit
41 upper and or lower set: 41 upper and or lower set:
42 implies a VBR bitstream that obeys the bitrate limits. nominal 42 implies a VBR bitstream that obeys the bitrate limits. nominal
43 may also be set to give a nominal rate. 43 may also be set to give a nominal rate.
44 none set: 44 none set:
45 the coder does not care to speculate. 45 the coder does not care to speculate.
46 */ 46 */
47 47
80 void *backend_state; 80 void *backend_state;
81 } vorbis_dsp_state; 81 } vorbis_dsp_state;
82 82
83 typedef struct vorbis_block{ 83 typedef struct vorbis_block{
84 /* necessary stream state for linking to the framing abstraction */ 84 /* necessary stream state for linking to the framing abstraction */
85 ogg_int32_t **pcm; /* this is a pointer into local storage */ 85 ogg_int32_t **pcm; /* this is a pointer into local storage */
86 oggpack_buffer opb; 86 oggpack_buffer opb;
87 87
88 long lW; 88 long lW;
89 long W; 89 long W;
90 long nW; 90 long nW;
91 int pcmend; 91 int pcmend;
92 int mode; 92 int mode;
151 151
152 extern void vorbis_info_init(vorbis_info *vi); 152 extern void vorbis_info_init(vorbis_info *vi);
153 extern void vorbis_info_clear(vorbis_info *vi); 153 extern void vorbis_info_clear(vorbis_info *vi);
154 extern int vorbis_info_blocksize(vorbis_info *vi,int zo); 154 extern int vorbis_info_blocksize(vorbis_info *vi,int zo);
155 extern void vorbis_comment_init(vorbis_comment *vc); 155 extern void vorbis_comment_init(vorbis_comment *vc);
156 extern void vorbis_comment_add(vorbis_comment *vc, char *comment); 156 extern void vorbis_comment_add(vorbis_comment *vc, char *comment);
157 extern void vorbis_comment_add_tag(vorbis_comment *vc, 157 extern void vorbis_comment_add_tag(vorbis_comment *vc,
158 char *tag, char *contents); 158 char *tag, char *contents);
159 extern char *vorbis_comment_query(vorbis_comment *vc, char *tag, int count); 159 extern char *vorbis_comment_query(vorbis_comment *vc, char *tag, int count);
160 extern int vorbis_comment_query_count(vorbis_comment *vc, char *tag); 160 extern int vorbis_comment_query_count(vorbis_comment *vc, char *tag);
161 extern void vorbis_comment_clear(vorbis_comment *vc); 161 extern void vorbis_comment_clear(vorbis_comment *vc);
162 162
175 extern int vorbis_synthesis_read(vorbis_dsp_state *v,int samples); 175 extern int vorbis_synthesis_read(vorbis_dsp_state *v,int samples);
176 extern long vorbis_packet_blocksize(vorbis_info *vi,ogg_packet *op); 176 extern long vorbis_packet_blocksize(vorbis_info *vi,ogg_packet *op);
177 177
178 /* Vorbis ERRORS and return codes ***********************************/ 178 /* Vorbis ERRORS and return codes ***********************************/
179 179
180 #define OV_FALSE -1 180 #define OV_FALSE -1
181 #define OV_EOF -2 181 #define OV_EOF -2
182 #define OV_HOLE -3 182 #define OV_HOLE -3
183 183
184 #define OV_EREAD -128 184 #define OV_EREAD -128
185 #define OV_EFAULT -129 185 #define OV_EFAULT -129