Displaying 6 results from an estimated 6 matches for "speex_encode_stereo".
2004 Aug 06
1
Framesize for UWB vs. WB encoding
> Oops... You've just found a bug. Seems like you're the first one to use
> that call. Anyway, it's now fixed in CVS (both trunk and 1.0.x branch).
> Thanks for the bug report.
Hmm, the call to speex_encode_stereo() takes the frame size as an an
argument
- and this call generates bits ;) So possibly my bitrate table shows wrong
values in the stereo cases. Hmm...
Where would I find that CVS repository?
Christian
--- >8 ----
List archives: http://www.xiph.org/archives/
Ogg project homepage: http://www....
2006 Jun 12
1
[PATCH] warning: missing initializer for SPEEX_STEREO_STATE_INIT
...opy)
@@ -53,7 +53,7 @@
} SpeexStereoState;
/** Initialization value for a stereo state */
-#define SPEEX_STEREO_STATE_INIT {1,.5,1,1}
+#define SPEEX_STEREO_STATE_INIT {1,.5,1,1,0,0}
/** Transforms a stereo frame into a mono frame and stores intensity
stereo info in 'bits' */
void speex_encode_stereo(float *data, int frame_size, SpeexBits *bits);
/alfred
--
Alfred E. Heggestad <aeh@db.org>
Web: http://aeh.db.org/
VoIP: <sip:alfredh@symbianos.org>
Phone: +47 21 98 71 20
Mobile: +47 98 23 67 05
Skype: alfredheggestad
2005 Sep 03
2
Library export file for Win32 (patch)
...ex_std_high_mode_request_handler
-speex_std_char_handler
-speex_default_user_handler
-speex_std_low_mode_request_handler
-speex_std_vbr_request_handler
-speex_std_enh_request_handler
-speex_std_vbr_quality_request_handler
-speex_init_header
-speex_header_to_packet
-speex_packet_to_header
-speex_encode_stereo
-speex_decode_stereo
-speex_std_stereo_request_handler
+speex_bits_advance @1
+speex_bits_destroy @2
+speex_bits_init @3
+speex_bits_init_buffer @4
+speex_bits_insert_terminator @5
+speex_bits_nbytes @6
+speex_bits_pack @7
+speex_bits_peek @8
+speex_bits_peek_unsigned @9
+speex_bits_rea...
2004 Aug 06
4
Framesize for UWB vs. WB encoding
Hi there.
I am having a little trouble understanding the frame sizes chosen
by the codec.
testenc_uwb.c from the speex-1.0 source distribution has a framesize
of 640 hardcoded and makes use of this value exclusively.
However, a mode query on the actual codec returns 320 as a framesize
for this mode.
int tmp;
speex_mode_query(&speex_uwb_mode, SPEEX_MODE_FRAME_SIZE, &tmp);
2008 Mar 29
0
GCC/ELF Visibility patch
...StereoState *stereo = (RealSpeexStereoState*)_stereo;
#ifdef FIXED_POINT
@@ -99,13 +99,13 @@
#endif
}
-void speex_stereo_state_destroy(SpeexStereoState *stereo)
+EXPORT void speex_stereo_state_destroy(SpeexStereoState *stereo)
{
speex_free(stereo);
}
#ifndef DISABLE_FLOAT_API
-void speex_encode_stereo(float *data, int frame_size, SpeexBits *bits)
+EXPORT void speex_encode_stereo(float *data, int frame_size, SpeexBits *bits)
{
int i, tmp;
float e_left=0, e_right=0, e_tot=0;
@@ -143,7 +143,7 @@
}
#endif /* #ifndef DISABLE_FLOAT_API */
-void speex_encode_stereo_int(spx_int16_t *data, i...
2008 Mar 29
2
GCC/ELF Visibility patch (fwd)
...StereoState *stereo = (RealSpeexStereoState*)_stereo;
#ifdef FIXED_POINT
@@ -99,13 +99,13 @@
#endif
}
-void speex_stereo_state_destroy(SpeexStereoState *stereo)
+EXPORT void speex_stereo_state_destroy(SpeexStereoState *stereo)
{
speex_free(stereo);
}
#ifndef DISABLE_FLOAT_API
-void speex_encode_stereo(float *data, int frame_size, SpeexBits *bits)
+EXPORT void speex_encode_stereo(float *data, int frame_size, SpeexBits *bits)
{
int i, tmp;
float e_left=0, e_right=0, e_tot=0;
@@ -143,7 +143,7 @@
}
#endif /* #ifndef DISABLE_FLOAT_API */
-void speex_encode_stereo_int(spx_int16_t *data, i...