Displaying 20 results from an estimated 400 matches similar to: "flac-dev Digest, Vol 149, Issue 5"
2010 Apr 23
2
Ogg Index A-mod
I've been looking over Benjamin Schwartz's Skeleton A-mod proposal. I've
been pretty busy with other projects over the past few months, so
haven't had a chance to look at Ogg indexing until now...
In general, I think Benjamin's ideas are sound, they're improvements,
and I'm open to being convinced to take them in the next index version.
We may as well get the index
2017 Jun 06
3
[Cellar] FLAC Markdown
Hello all!
(cc-ing the flac-dev list)
I would like to give an update as to the recent CELLAR work on the FLAC
specification.
• Work has been done to make internal and external links more accurate and
reliable.
• 'Rice Coding' has been clarified as 'Exponential Golomb Coding.'
• Clarifications have been made for binary representation.
• Typos and other small changes have been
2015 Oct 01
3
Supporting 32 bit data
Op 01-10-15 om 18:14 schreef lvqcl:
> Currently libFLAC stores residual signal as 32-bit signed int. And there
> are the following comments in stream_encoder.c:
The residual is stored as a Golomb/Rice code. As far as I know,
that is not limited to 32-bit in the format itself, only in the
implementation.
However, there are two residual coding methods now: rice and
rice2. rice2 was added
2012 May 21
3
[LLVMdev] APInt::sdivrem error?
I wrote the following bit of code
static APInt FloorOfQuotient(APInt a, APInt b) {
unsigned bits = a.getBitWidth();
APInt q(bits, 1), r(bits, 1);
APInt::sdivrem(a, b, q, r);
* errs() << "sdivrem(" << a << ", " << b << ") = (" << q << ", " << r <<
")\n";
* if (r == 0)
return q;
else {
2012 May 21
0
[LLVMdev] APInt::sdivrem error?
OK, the code for sdivrem in APInt.h is wrong.
Here's what's written:
static void sdivrem(const APInt &LHS, const APInt &RHS,
APInt &Quotient, APInt &Remainder) {
if (LHS.isNegative()) {
if (RHS.isNegative())
APInt::udivrem(-LHS, -RHS, Quotient, Remainder);
else
APInt::udivrem(-LHS, RHS, Quotient, Remainder);
Quotient =
2005 Jun 23
2
quotient and remainder
hi netters
Is there a function in R that can compute the quotient and remainder of a
division calculation? such that when 11 is given as the dividend and 5
the divider, the function returns 2(quotient) and 1(remainder).
Thanks a lot!
_________________________________________________________________
伱佲伔佈佅伮佋佖 MSN Explorer: http://explorer.msn.com/lccn/
2013 Apr 03
3
Generating a bivariate joint t distribution in R
Hi,
I conduct a panel data estimation and obtain estimators for two of the
coefficients beta1 and beta2. R tells me the mean and covariance of the
distribution of (beta1, beta2). Now I would like to find the distribution
of the quotient beta1/beta2, and one way to do it is to simulate via the
joint distribution (beta1, beta2), where both beta1 and beta2 follow t
distribution.
How could we
2017 Nov 29
3
RFC: Adding 'no-overflow' keyword to 'sdiv'\'udiv' instructions
Introduction:
We would like to add new keyword to 'sdiv'\'udiv' instructions i.e. 'no-overflow'.
This is the updated solution devised in the discussion: http://lists.llvm.org/pipermail/llvm-dev/2017-October/118257.html
The proposed keywords:
"nof" stands for 'no-overflow'
Syntax:
<result> = sdiv nof <ty> <op1>,
2008 Mar 26
1
deconv
I'm translating a matlab routine to R and I need some equivalent to deconv():
Description: deconv()
[q,r] = deconv(v,u) deconvolves vector u out of vector v, using long
division. The quotient is returned in vector q and the remainder in
vector r such that v = conv(u,q)+r .
If u and v are vectors of polynomial coefficients, convolving them is
equivalent to multiplying the two polynomials, and
2011 Oct 24
3
new to R coding.
how do I code the following in R. I want to produce a vector where dx=log(
(d(x))/(d(x-1)) ). I can do it for dx=diff(log(x)). I am learning/trying to
model log returns of a stock market index. But instead of using the
difference of the closing values of two consecutive days, i want to use the
log of the quotient of the two days. any help is most appreciated. d is a
vector of the closing values of
2013 Dec 09
3
[LLVMdev] [cfe-dev] ARM EABI and modulo
On Mon, Dec 09, 2013 at 01:58:29PM +0000, Renato Golin wrote:
> I can see the error, and it's just a bad selection of choices. I was
> wrong in assuming that the "eabi" at the end would always force it:
>
> $ clang -target arm-elf-eabi -S mod.c -o - | grep mod
> .file "mod.c"
> bl __modsi3
> bl __umodsi3
I was discussing this with Tim on IRC and he
2013 May 15
0
[PATCH] Fix dead links and update news
I scanned the website with linkchecker and found quite a lot of
dead links. This commit fixes or removes them.
---
developers.html | 2 +-
documentation_tasks.html | 2 +-
download.html | 12 ++++++------
faq.html | 2 +-
features.html | 2 +-
feeds/feed.xml | 8 ++++++++
format.html | 8 ++++----
2013 May 15
0
[PATCH 2/2] Fix dead links and update news
I scanned the website with linkchecker and found quite a lot of
dead links. This commit fixes or removes them.
---
developers.html | 2 +-
documentation_tasks.html | 2 +-
download.html | 14 +++++++-------
faq.html | 2 +-
features.html | 2 +-
feeds/feed.xml | 8 ++++++++
format.html | 8 ++++----
2007 Oct 11
5
cpufreq: weird bug in set_time_scale
On my test machine, in set_time_scale(),
the following code:
ts->mul_frac = div_frac(MILLISECS(1000), tps32);
crashes with a division by zero error if
tps32 == 1000000000d. Unfortunately, tps32 is
often that value.
Does anyone know why this happens? I''ve
resolved it temporarily by checking for
tps32 == 1000000000 and changing the
value slightly (101000010d works fine
on my test
2023 Sep 05
1
[PATCH nbdkit] server: Move size parsing code (nbdkit_parse_size) to common/include
On Tue, Sep 05, 2023 at 11:09:02AM +0100, Richard W.M. Jones wrote:
> > > +static inline int64_t
> > > +human_size_parse (const char *str,
> > > + const char **error, const char **pstr)
> > > +{
> > > + int64_t size;
> > > + char *end;
> > > + uint64_t scale = 1;
> > > +
> > > + /* XXX Should we
2017 Jun 06
1
[Cellar] FLAC Markdown
Hi all,
I'm jumping in on this thread to make a few remarks about the spec. I
implemented a FLAC decoder by only looking at the spec, and I have a few
notes that would have saved me a lot of time if the spec had mentioned
them. They are obvious in hindsight, of course.
* If the channel assignment includes a difference channel, then the
subframe for that channel has one extra bit per sample
2017 Jun 07
0
[Cellar] FLAC Markdown
Hi all,
> On Jun 5, 2017, at 11:52 PM, Andrew James Weaver <weevz at uw.edu> wrote:
>
> Hello all!
> (cc-ing the flac-dev list)
>
> I would like to give an update as to the recent CELLAR work on the FLAC specification.
>
> • Work has been done to make internal and external links more accurate and reliable.
> • 'Rice Coding' has been clarified as
2007 Sep 03
1
FLAC: compressing data
On Mon 3 Sep 4:04 pm Ivo Emanuel Gon?alves wrote:
> > can the flac encoder be used to compress non-wave data?
> No, it's not possible. ?That's actually very silly.
Actually, there is no reason it should not run on the data fine, if presented
to it appropriately. Input data is a binary stream, and any input will work
correctly. With music data, most algorithms rely on the fact
2017 May 02
0
NHW Project and wavelet codecs
Hello,
In my last post, I seemed to say that there were no directional wavelet
transforms that would give improvement to the NHW codec, but are
directional wavelets an active research field today? I have also seen some
recent patents on advanced and improved SPIHT, and I am a little surprised
that there is no "up-to-date" state-of-the-art wavelet codec.Rududu in
April 2008 was the last
2004 Sep 10
1
Rice coding parameter
Date: Sun, 19 Oct 2003 00:59:22 +0200
> On Sat, Oct 18, 2003 at 07:21:08PM +0000, Dan Stowell wrote:
> > I asked a few questions about the flac format a couple of weeks
ago.
> > One more (if you don't mind) about the Rice coding. The Rice
> > parameter "k" can't be zero (unless I'm mistaken), yet the FLAC spec
> > says the Rice parameter can range