Displaying 20 results from an estimated 121 matches for "fout".
Did you mean:
font
2007 Apr 02
1
Problems with stereo data
...gv[]) {
const int FrameSize = 320;
void* State = speex_encoder_init(&speex_wb_mode);
int Temp;
float Tmp;
Temp = 1;
Tmp = 2;
speex_encoder_ctl(State, SPEEX_SET_VBR, &Temp);
speex_encoder_ctl(State, SPEEX_SET_VBR_QUALITY, &Tmp);
FILE* fin = fopen(argv[1], "rb");
FILE* fout = fopen(argv[2], "wb");
SpeexBits Bits;
speex_bits_init(&Bits);
short Frame[FrameSize];
char Cbits[200];
while (!feof(fin)) {
speex_bits_reset(&Bits);
fread(Frame, sizeof(short), FrameSize, fin);
speex_encode_stereo_int(Frame, FrameSize, &Bits);
speex_encode_int(State...
2007 Dec 06
2
Some question about speexcodex 1.2 beta2 on linux
...red -enable-static
make
make install
then I try to compile my encode.c
here is the encode.c of mine:
=====================================
#include <speex/speex.h>
#include <speex/speex_preprocess.h>
#include <stdio.h>
#define MAX_FRAME_SIZE 320
int main() {
FILE *fin, *fout;
short in[MAX_FRAME_SIZE];
char cbits[200];
int nbBytes = 0;
void *state;
SpeexBits bits;
int m_frame_size;
int m_channels = 1;
// SpeeX encode options
int m_bitrate = (8 << 10);
int m_complexity = 3;
int...
2006 Jun 08
3
Echo canceller problem
...m like you. I use ARM microcontroller too.
Here is the list of all functions called by speex_echo_cancel until goes
into infinite loop:
speex_echo_cancel()
|
spx_fft
|
kiss_fftr
|
kiss_fft
|
kiss_fft_stride
|
kf_work
Function kf_work looks like:
static void kf_work(kiss_fft_cpx * Fout, const kiss_fft_cpx * f, const
size_t fstride, int in_stride, int * factors, const kiss_fft_cfg st)
{
kiss_fft_cpx * Fout_beg=Fout;
const int p=*factors++; // the radix
const int m=*factors++; // stage's fft length/p
const kiss_fft_cpx * Fout_end = Fout + p*m;
if(m==1)
{
do...
2005 Nov 08
1
TrippLite OMNI1000LCD hiddev
Joel Peshkin wrote:
>
> I hacked in the following additonal changes...
>
> Index: newhidups.c
> ===================================================================
> RCS file: /cvsroot/nut/nut/drivers/newhidups.c,v
> retrieving revision 1.1.1.1.8.6.2.21
> diff -u -r1.1.1.1.8.6.2.21 newhidups.c
> --- newhidups.c 7 Nov 2005 22:14:20 -0000 1.1.1.1.8.6.2.21
> +++
2009 May 14
1
*ERROR: BUILD FAILED! Banned tag found*
...Book_Info.xml
Chapter.xml
Getting-Started.xml
Glossary.xml
*ERROR: BUILD FAILED! Banned tag found*
glossdiv: This tag set imposes English-language order on glossaries,
making them useless when translated.
Remove all glossdiv tags before attempting to build.
make[4]: *** [xml-en-US] Fout 4
make[4]: Map '/root/rpmbuild/BUILD/ovirt-docs-0.98/Using_the_oVirt_Admin_UI'
wordt verlaten
make[3]: *** [all] Fout 2
make[3]: Map '/root/rpmbuild/BUILD/ovirt-docs-0.98' wordt verlaten
fout: Bad exit status from /var/tmp/rpm-tmp.sAGblw (%build)
RPM build errors:
Bad exit sta...
2007 Feb 13
1
Hello Guys
...ecoder.
=============================
Speex Encoder ::
===========
#include "speex.h"
#include <stdio.h>
/*The frame size in hardcoded for this sample code but it doesn't have to be*/
#define FRAME_SIZE 160
int main(int argc, char **argv)
{
char *inFile;
FILE *fin;
FILE *fout;
short in[FRAME_SIZE];
float input[FRAME_SIZE];
char cbits[200];
int nbBytes;
/*Holds the state of the encoder*/
void *state;
/*Holds bits so they can be read and written to by the Speex routines*/
SpeexBits bits;
int i, tmp;
/*Create a new encoder state in narrowband mode*/
state = spee...
2006 Jun 07
7
AEC frame size
?
hi all,
i am using the Acoustic Echo Cancellation from "Speex 1.1.12 version" in my VOIP application. Is it that the frame length to be chosen should always be 20ms or can i have flexibility in chosing the frame lenght?
on what parameters does the frame length choise depends?
thank you all,
Shri.
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2005 Dec 12
0
Real time in ARM - please help
...'m doing wrong.. Appreciate any help, thanks a lot.
Mon
int PCMToSpx (BSTR FileOpen, BSTR FileSave, bool VAD, short BitRateChoice)
{
__int8 Speex [6];
__int16 SamplingRate = 8000;
__int8 BitsPerSampleX8 = 2 /* ie 2*8=16-bit */, NumBytes /*aka nBytes or
nbBytes */;
FILE *fin, *fout;
void *state;
int FrameSize, NumFrames = 0;
int BitRate, temp;
__int16 in [MaxFrameSize];
__int8 cbits [MaxFrameBytes];
SpeexBits bits;
// ********************************** Program Statements
**********************************//
Speex[0] = 'S';
Speex[1] =...
2009 Nov 25
1
Puppet custom functions and user permissions
...ective/real
user always only has the puppet group.
An example:
module Puppet::Parser::Functions
newfunction(:ossec_client_key, :type => :rvalue) do |args|
# Check if key for the fqdn already exists
fqdn = lookupvar(''fqdn'')
ip = lookupvar(''ipaddress'')
fout = File.open("/home/puppet/ossec_client_key.log", ''w'')
fout.puts "ossec_client_key executed with: " + fqdn + ":" + ip
userid = `id`
fout.puts "Shell commands run as: " + userid
fout.puts "Ruby effective uid: " + Process.euid.to...
2012 Mar 14
0
Audio file is corrupted after decoding
...ex/speex.h"
#define FRAME_SIZE 320
void Java_com_m2_iSmartDm_ISmartDMActivity_spxEnc(JNIEnv * env, jobject
jobj,jstring dir1,jstring dir2)
{
const char *inFile= (*env)->GetStringUTFChars(env,dir1,0);
const char *outFile= (*env)->GetStringUTFChars(env,dir2,0);
FILE *fin;
FILE *fout;
short in[FRAME_SIZE];
float input[FRAME_SIZE];
char cbits[360];
int nbBytes;
void *state;
SpeexBits bits;
int i, tmp;
state = speex_encoder_init(&speex_wb_mode);
tmp=8;
speex_encoder_ctl(state, SPEEX_SET_QUALITY, &tmp);
fin = fopen(inFile, "r");...
2006 Apr 25
0
make: sockconn.c; make check: eval-etc.R; make install: $(EXPORTFILES) (PR#8809)
...-o sockconn.o
In file included from sockconn.c:34:
sock.h:38: parse error before `Sock_read'
sock.h:38: warning: data definition has no type or storage class
sock.h:39: parse error before `Sock_write'
sock.h:39: warning: data definition has no type or storage class
make[4]: *** [sockconn.o] Fout 1
make[4]: Weggaan uit map `/home/peter/tmp/R-2.3.0/src/modules/internet'
make[3]: *** [R] Fout 2
make[3]: Weggaan uit map `/home/peter/tmp/R-2.3.0/src/modules/internet'
make[2]: *** [R] Fout 1
make[2]: Weggaan uit map `/home/peter/tmp/R-2.3.0/src/modules'
make[1]: *** [R] Fout 1
make[1...
2004 Aug 06
2
decode in ppc 2003
...ne know what is the error?
Thanks.
Rodrigo.
#include "speex.h"
#define FRAME_SIZE 160
void CPlayerDlg::OnButton3()
{
char infile[]="test.spx";
char outfile[]="test.wav";
char *outFile;
char *inFile;
FILE *fout; // output file
FILE *fin; // input file
short out[FRAME_SIZE];
short output[FRAME_SIZE];
char cbits[200];
int nbBytes;
void *state;
SpeexBits bits;
int i, tmp;
state = speex_deco...
2014 Nov 09
0
[RFC PATCH v1] arm: kf_bfly4: Introduce ARM neon intrinsics
....h
index 5e3d58f..219b431 100644
--- a/celt/_kiss_fft_guts.h
+++ b/celt/_kiss_fft_guts.h
@@ -34,6 +34,19 @@
and defines
typedef struct { kiss_fft_scalar r; kiss_fft_scalar i; }kiss_fft_cpx; */
#include "kiss_fft.h"
+#include "arch.h"
+/*
+void kf_bfly4_c( kiss_fft_cpx * Fout, const size_t fstride,
+ const kiss_fft_state *st,
+ int m, int N, int mm);
+*/
+
+#if defined (ARMv7_NEON_INTRINSICS_FLOAT)
+#include "arm/kiss_fft_neon.h"
+#define kf_bfly4 kf_bfly4_neon
+#else
+#define kf_bfly4 kf_bfly4_c
+#endif
/*
Explanation of macros dealing with complex ma...
2007 Feb 13
0
Hello guys Please help
..."speex.h"
#include <stdio.h>
#include <iostream>
#include <conio.h>
using namespace std;
/*The frame size in hardcoded for this sample code but it doesn't have to be*/
#define FRAME_SIZE 160
int main(int argc, char **argv)
{
char *inFile;
FILE *fin;
FILE *fout;
short in[FRAME_SIZE];
float input[FRAME_SIZE];
char cbits[200];
int nbBytes;
/*Holds the state of the encoder*/
void *state;
/*Holds bits so they can be read and written to by the Speex routines*/
SpeexBits bits;
int i, tmp;
/*Create a new encoder state in narrowband mode*/
state = spee...
2005 Dec 06
1
problems decoding speex... please help
...o ask me
questions if the information I provided is lacking. By the way, I am
compiling for Windows using VS2005 Beta2.
Thanks,
Mon
#define FIXED_POINT
int main (int argc, char ** argv)
{
printf ("sampleDEC.exe started!\n"); /**/
int nBytes, FrameSize, BitRate;
FILE *fin, *fout;
char *inFile, *outFile, *PEnhancement;
short out [500];
char cbits [500];
void *state;
SpeexBits bits;
state = speex_decoder_init (&speex_nb_mode);
speex_decoder_ctl (state, SPEEX_GET_FRAME_SIZE, &FrameSize);
inFile = argv [1];
outFile = argv [2];...
2015 Mar 04
0
[RFC PATCH v1] armv7(float): Optimize decode usecase using NE10 library
...T[OPUS_ARCHMASK+1])(const kiss_fft_state *cfg,
opus_fft_float_neon /* Neon with NE10 */
};
+void (*const OPUS_IFFT[OPUS_ARCHMASK+1])(const kiss_fft_state *cfg,
+ const kiss_fft_cpx *fin,
+ kiss_fft_cpx *fout) = {
+ opus_ifft_c, /* ARMv4 */
+ opus_ifft_c, /* EDSP */
+ opus_ifft_c, /* Media */
+ opus_ifft_float_neon /* Neon with NE10 */
+};
+
void (*const CLT_MDCT_FORWARD_IMPL[OPUS_ARCHMASK+1])(const mdct_lookup *l,...
2015 Apr 28
0
[RFC PATCH v1 2/8] armv7(float): Optimize decode usecase using NE10 library
...T[OPUS_ARCHMASK+1])(const kiss_fft_state *cfg,
opus_fft_float_neon /* Neon with NE10 */
};
+void (*const OPUS_IFFT[OPUS_ARCHMASK+1])(const kiss_fft_state *cfg,
+ const kiss_fft_cpx *fin,
+ kiss_fft_cpx *fout) = {
+ opus_ifft_c, /* ARMv4 */
+ opus_ifft_c, /* EDSP */
+ opus_ifft_c, /* Media */
+ opus_ifft_float_neon /* Neon with NE10 */
+};
+
void (*const CLT_MDCT_FORWARD_IMPL[OPUS_ARCHMASK+1])(const mdct_lookup *l,...
2015 Oct 17
1
Why does this code not generate a valid opus file?
...gth; //Must be set to 0
//In-between here we would place out vendor string, if we had one.
unsigned int userCommentListLength; //Must be set to 0
//And after here we would place our comments, if we had any.
};
int main(){
ogg_stream_state os;
ogg_page og;
FILE* fout = fopen("/tmp/trivial.opus", "wb");
if ( fout == 0 ) {
printf( "Error opening output file.\n" );
return -1;
}
//**************
//Initialize the stream
srand(0);
ogg_stream_init(&os,rand());
//**************...
2012 Sep 24
1
Atheros Communications Inc. AR8161 Gigabit Ethernet
...t;:0:
include/linux/sysfs.h:94:1: let op: dit is de locatie van de eerdere definitie
In file included from /opt/compat/compat-wireless-2012-05-10-p/include/linux/compat-2.6.h:55,
from<commandolijn>:0:
/opt/compat/compat-wireless-2012-05-10-p/include/linux/compat-2.6.35.h:27: fout: static declaration of 'irq_set_affinity_hint' follows non-static declaration
include/linux/interrupt.h:218: note: previous declaration of 'irq_set_affinity_hint' was here
/opt/compat/compat-wireless-2012-05-10-p/include/linux/compat-2.6.35.h:50: fout: redefinition of 'usb_pipe_...
2015 Mar 04
1
[RFC PATCH v1] Decode(float) optimize using libNe10
Hello All,
I extended the libNE10 optimizations for float towards
mdct_backwards/opus_ifft.
I am able to get about 14.26% improvement for Decode use
case now on my Beaglebone Black. Please see [1] for measurements.
Questions
1. Since this patch needs to go in after Encode [2] patch)
should I submit this as patch series?
2. Since Jonathan Lennox posted intrinsics cleanup [3]
patch, should