add test for amrnbenc, enable test infrastructure, and fix a leak
Original commit message from CVS:
add test for amrnbenc, enable test infrastructure, and fix a leak
* common/check.mak:
allow for specifying more than one suppressions file in SUPPRESSIONS
* Makefile.am:
* tests/Makefile.am:
* tests/check/.cvsignore:
* tests/check/Makefile.am:
* tests/check/elements/.cvsignore:
* configure.ac:
add tests/check
* tests/check/gst-plugins-ugly.supp:
add suppressions for libs used by -ugly
* tests/check/elements/amrnbenc.c: (buffer_new), (buffer_unref),
(setup_amrnbenc), (cleanup_amrnbenc), (push_data),
(GST_START_TEST), (amrnbenc_suite), (main):
add a simple test for encoding amr
* ext/amrnb/amrnbenc.c: (gst_amrnbenc_init):
fix pad template leaks
2006-04-10 14:47:11 +00:00
|
|
|
### amrnb suppressions
|
|
|
|
### these should/could be submitted to amrnb
|
|
|
|
|
|
|
|
{
|
|
|
|
<amrnb>
|
|
|
|
Memcheck:Cond
|
|
|
|
fun:Encoder_Interface_Encode
|
|
|
|
fun:gst_amrnbenc_chain
|
|
|
|
fun:gst_pad_chain
|
|
|
|
fun:gst_pad_push
|
|
|
|
}
|
|
|
|
|
|
|
|
{
|
|
|
|
<amrnb>
|
|
|
|
Memcheck:Cond
|
|
|
|
fun:Speech_Encode_Frame
|
|
|
|
fun:Encoder_Interface_Encode
|
|
|
|
fun:gst_amrnbenc_chain
|
|
|
|
fun:gst_pad_chain
|
|
|
|
fun:gst_pad_push
|
|
|
|
}
|
|
|
|
|
|
|
|
{
|
|
|
|
<amrnb>
|
|
|
|
Memcheck:Cond
|
|
|
|
obj:/usr/lib/libamrnb.so*
|
|
|
|
fun:Speech_Encode_Frame
|
|
|
|
fun:Encoder_Interface_Encode
|
|
|
|
fun:gst_amrnbenc_chain
|
|
|
|
fun:gst_pad_chain
|
|
|
|
fun:gst_pad_push
|
|
|
|
}
|
|
|
|
|
|
|
|
{
|
|
|
|
<amrnb>
|
|
|
|
Memcheck:Cond
|
|
|
|
obj:/usr/lib/libamrnb.so*
|
|
|
|
obj:/usr/lib/libamrnb.so*
|
|
|
|
fun:Speech_Encode_Frame
|
|
|
|
fun:Encoder_Interface_Encode
|
|
|
|
fun:gst_amrnbenc_chain
|
|
|
|
fun:gst_pad_chain
|
|
|
|
fun:gst_pad_push
|
|
|
|
}
|
|
|
|
|
|
|
|
{
|
|
|
|
<amrnb>
|
|
|
|
Memcheck:Cond
|
|
|
|
obj:/usr/lib/libamrnb.so*
|
|
|
|
obj:/usr/lib/libamrnb.so*
|
|
|
|
obj:/usr/lib/libamrnb.so*
|
|
|
|
fun:Speech_Encode_Frame
|
|
|
|
fun:Encoder_Interface_Encode
|
|
|
|
fun:gst_amrnbenc_chain
|
|
|
|
fun:gst_pad_chain
|
|
|
|
fun:gst_pad_push
|
|
|
|
}
|
|
|
|
|
|
|
|
{
|
|
|
|
<amrnb acos>
|
|
|
|
Memcheck:Cond
|
|
|
|
fun:acos
|
|
|
|
obj:/usr/lib/libamrnb.so*
|
|
|
|
obj:/usr/lib/libamrnb.so*
|
|
|
|
fun:Speech_Encode_Frame
|
|
|
|
fun:Encoder_Interface_Encode
|
|
|
|
fun:gst_amrnbenc_chain
|
|
|
|
fun:gst_pad_chain
|
|
|
|
fun:gst_pad_push
|
|
|
|
}
|
|
|
|
|
2006-04-10 16:58:24 +00:00
|
|
|
{
|
|
|
|
<AMR encoder>
|
|
|
|
Memcheck:Cond
|
|
|
|
fun:Levinson
|
|
|
|
fun:Speech_Encode_Frame
|
|
|
|
fun:Encoder_Interface_Encode
|
|
|
|
}
|
|
|
|
|
|
|
|
{
|
|
|
|
<AMR encoder>
|
|
|
|
Memcheck:Cond
|
|
|
|
fun:Az_lsp
|
|
|
|
fun:Speech_Encode_Frame
|
|
|
|
fun:Encoder_Interface_Encode
|
|
|
|
}
|
|
|
|
|
|
|
|
{
|
|
|
|
<AMR encoder>
|
|
|
|
Memcheck:Cond
|
|
|
|
fun:acos
|
|
|
|
fun:Lsp_lsf
|
|
|
|
fun:Speech_Encode_Frame
|
|
|
|
fun:Encoder_Interface_Encode
|
|
|
|
}
|
|
|
|
|
|
|
|
{
|
|
|
|
<AMR encoder>
|
|
|
|
Memcheck:Cond
|
|
|
|
fun:Lsf_wt
|
|
|
|
fun:Speech_Encode_Frame
|
|
|
|
fun:Encoder_Interface_Encode
|
|
|
|
}
|
|
|
|
{
|
|
|
|
<AMR encoder>
|
|
|
|
Memcheck:Cond
|
|
|
|
fun:Vq_subvec
|
|
|
|
fun:Speech_Encode_Frame
|
|
|
|
fun:Encoder_Interface_Encode
|
|
|
|
}
|
|
|
|
|
|
|
|
{
|
|
|
|
<AMR encoder>
|
|
|
|
Memcheck:Cond
|
|
|
|
fun:Lag_max
|
|
|
|
fun:Pitch_ol
|
|
|
|
fun:ol_ltp
|
|
|
|
fun:Speech_Encode_Frame
|
|
|
|
fun:Encoder_Interface_Encode
|
|
|
|
}
|
|
|
|
|
|
|
|
{
|
|
|
|
<AMR encoder>
|
|
|
|
Memcheck:Cond
|
|
|
|
fun:Pitch_ol
|
|
|
|
fun:ol_ltp
|
|
|
|
fun:Speech_Encode_Frame
|
|
|
|
fun:Encoder_Interface_Encode
|
|
|
|
}
|
|
|
|
|
|
|
|
{
|
|
|
|
<AMR encoder>
|
|
|
|
Memcheck:Cond
|
|
|
|
fun:cl_ltp
|
|
|
|
fun:Speech_Encode_Frame
|
|
|
|
fun:Encoder_Interface_Encode
|
|
|
|
}
|
|
|
|
|
|
|
|
{
|
|
|
|
<AMR encoder>
|
|
|
|
Memcheck:Cond
|
|
|
|
fun:searchFrac
|
|
|
|
fun:cl_ltp
|
|
|
|
fun:Speech_Encode_Frame
|
|
|
|
fun:Encoder_Interface_Encode
|
|
|
|
}
|
|
|
|
|
|
|
|
{
|
|
|
|
<AMR encoder>
|
|
|
|
Memcheck:Cond
|
|
|
|
fun:q_gain_pitch
|
|
|
|
fun:cl_ltp
|
|
|
|
fun:Speech_Encode_Frame
|
|
|
|
fun:Encoder_Interface_Encode
|
|
|
|
}
|
|
|
|
|
|
|
|
{
|
|
|
|
<AMR encoder>
|
|
|
|
Memcheck:Cond
|
|
|
|
fun:set_sign12k2
|
|
|
|
fun:code_10i40_35bits
|
|
|
|
fun:cbsearch
|
|
|
|
fun:Speech_Encode_Frame
|
|
|
|
fun:Encoder_Interface_Encode
|
|
|
|
}
|
add test for amrnbenc, enable test infrastructure, and fix a leak
Original commit message from CVS:
add test for amrnbenc, enable test infrastructure, and fix a leak
* common/check.mak:
allow for specifying more than one suppressions file in SUPPRESSIONS
* Makefile.am:
* tests/Makefile.am:
* tests/check/.cvsignore:
* tests/check/Makefile.am:
* tests/check/elements/.cvsignore:
* configure.ac:
add tests/check
* tests/check/gst-plugins-ugly.supp:
add suppressions for libs used by -ugly
* tests/check/elements/amrnbenc.c: (buffer_new), (buffer_unref),
(setup_amrnbenc), (cleanup_amrnbenc), (push_data),
(GST_START_TEST), (amrnbenc_suite), (main):
add a simple test for encoding amr
* ext/amrnb/amrnbenc.c: (gst_amrnbenc_init):
fix pad template leaks
2006-04-10 14:47:11 +00:00
|
|
|
|
2006-04-10 16:58:24 +00:00
|
|
|
{
|
|
|
|
<AMR encoder>
|
|
|
|
Memcheck:Cond
|
|
|
|
fun:code_10i40_35bits
|
|
|
|
fun:cbsearch
|
|
|
|
fun:Speech_Encode_Frame
|
|
|
|
fun:Encoder_Interface_Encode
|
|
|
|
}
|
|
|
|
|
|
|
|
{
|
|
|
|
<AMR encoder>
|
|
|
|
Memcheck:Cond
|
|
|
|
fun:gainQuant
|
|
|
|
fun:Speech_Encode_Frame
|
|
|
|
fun:Encoder_Interface_Encode
|
|
|
|
}
|
2006-04-12 16:21:17 +00:00
|
|
|
|
|
|
|
{
|
|
|
|
<AMR encoder on FC4>
|
|
|
|
Memcheck:Value2
|
|
|
|
obj:/usr/lib/libamrnb.so.0.0.0
|
|
|
|
fun:Speech_Encode_Frame
|
|
|
|
fun:Encoder_Interface_Encode
|
|
|
|
}
|
|
|
|
|
2011-04-19 16:26:42 +00:00
|
|
|
## lame
|
|
|
|
|
|
|
|
{
|
|
|
|
<lame Conditional jump or move depends on uninitialised values>
|
|
|
|
Memcheck:Cond
|
|
|
|
fun:L3psycho_anal_vbr
|
|
|
|
fun:lame_encode_mp3_frame
|
|
|
|
...
|
|
|
|
fun:lame_encode_flush
|
|
|
|
fun:gst_lamemp3enc_sink_event
|
|
|
|
}
|
|
|
|
|