Displaying 6 results from an estimated 6 matches for "scaleout".
2010 Jun 24
2
Getting CELT to work under Windows
...t;restrict"...) and automatic
loading and saving input and output files.
Looking at the decoded file with Matlab, i can see the most of the time
the result is saturated. Even worse when i use FIXED_POINT define. I also
tried to avoid saturation changing the following line in arch.h:
#define SCALEOUT(a) ((a)*(1/CELT_SIG_SCALE)) to #define SCALEOUT(a)
((a)*(1/(2*CELT_SIG_SCALE)))
The result audio doesn't saturate anymore but it's still completely
broken.
My testvector is:
freq: 44100
channels: 1
I chose: frame_size = 256 and bytes_per_packet = 46.
Does anybody else have this probl...
2009 May 20
1
A (minor) bug and a request
Cheers all.
I believe that the first line in the function FLOAT2INT16 in celt.c
which is now:
x = x*32768.;
should be:
x = SCALEIN(x);
This only makes a difference if you change the SCALEIN and SCALEOUT
macros (which I do).
The new feature I would like to request is the addition of a
CELT_RESET_STATE control for both the encoder and decoder. I cache
encoder and decoder instances and would like to be able to reset them to
a newly minted state when I change streams.
Thanx,
John Ridges
2010 Jun 07
0
No subject
...nd automatic
> loading and saving input and output files.
> Looking at the decoded file with Matlab, i can see the most of the time
> the result is saturated. Even worse when i use FIXED_POINT define. I
> also tried to avoid saturation changing the following line in arch.h:
> #define SCALEOUT(a) ((a)*(1/CELT_SIG_SCALE)) to #define SCALEOUT(a)
> ((a)*(1/(2*CELT_SIG_SCALE)))
> The result audio doesn't saturate anymore but it's still completely broke=
n.
> My testvector is:
> freq: 44100
> channels: 1
> I chose: frame_size =3D 256 and bytes_per_packet =3D 46.
>...
2013 Jul 24
1
QCONST16 cross compile inconsistency
...erators
for gcc and the TI compilers.
thank you
--
Pedro Becerra
-------------- next part --------------
diff --git a/celt/arch.h b/celt/arch.h
index e497a4d..6511667 100644
--- a/celt/arch.h
+++ b/celt/arch.h
@@ -107,6 +107,18 @@ typedef opus_val32 celt_ener;
#define SCALEIN(a) (a)
#define SCALEOUT(a) (a)
+/** Compile-time conversion of float constant to 16-bit value */
+#define QCONST16(x,bits) (opus_val16)( \
+ (( 0.5 + (double)(x) * ((opus_val32)(1)<<(bits)) ) >= (double)(INT16_MAX) ) ? \
+ (opus_val16)(INT16_MAX) :...
2011 Apr 04
1
rdma or tcp?
Is there a document with some guidelines for setting up bricks with
tcp or rdma transport?
I'm looking at a new deployment where the storage cluster hosts
connect via 10GigE, but clients are on 1GigE. Over time, there will be
10GigE clients, but the majority will remain on 1GigE. In this setup,
should the storage bricks use tcp or rdma?
If tcp is the better choice, and at some point in the
2012 Nov 14
2
Avoid Split-brain and other stuff
Hi!
I just gave GlusterFS a try and experienced two problems. First some background:
- I want to set up a file server with synchronous replication between branch offices, similar to Windows DFS-Replication. The goal is _not_ high-availability or cluster-scaleout, but just having all files locally available at each branch office.
- To test GlusterFS, I installed two virtual machines in different locations, Ubuntu 12.04, with the GlusterFS 3.3 packages from the PPA.
- Both machines shall be server and and client, and export the GlusterFS volume...