Update to celt-0.10.0
This commit is contained in:
parent
26db5a86a0
commit
de78db3e5f
@ -1,8 +1,8 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2010/12/02 22:16:02 dcoppa Exp $
|
||||
# $OpenBSD: Makefile,v 1.2 2010/12/30 13:36:09 dcoppa Exp $
|
||||
|
||||
COMMENT = ultra-low delay audio codec
|
||||
|
||||
DISTNAME = celt-0.9.1
|
||||
DISTNAME = celt-0.10.0
|
||||
|
||||
CATEGORIES = audio
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
MD5 (celt-0.9.1.tar.gz) = vcrbxUZtgsj0LDg6Yw6tHw==
|
||||
RMD160 (celt-0.9.1.tar.gz) = dB9zS7Yrv/jxdlDa0TWtCkDsrKA=
|
||||
SHA1 (celt-0.9.1.tar.gz) = JEn3AjTi58tXt0pJ2Ow70AeHEEQ=
|
||||
SHA256 (celt-0.9.1.tar.gz) = Rj4TVY+zo6anQ689glmwWeHLWUcjqXv5b/4RbPxpzb4=
|
||||
SIZE (celt-0.9.1.tar.gz) = 432112
|
||||
MD5 (celt-0.10.0.tar.gz) = plb2F26b6EAnwOUc7t1xDw==
|
||||
RMD160 (celt-0.10.0.tar.gz) = k1aqzfoeNTxb/xV9/s4HPqsT08g=
|
||||
SHA1 (celt-0.10.0.tar.gz) = EStkHlanwOp7HDURrBcW+dSo6lQ=
|
||||
SHA256 (celt-0.10.0.tar.gz) = FHxbyMajeyrSyLivF8kcs1SUQh7JtoEQAYpLzscuRdw=
|
||||
SIZE (celt-0.10.0.tar.gz) = 435953
|
||||
|
19
audio/celt/patches/patch-libcelt_celt_c
Normal file
19
audio/celt/patches/patch-libcelt_celt_c
Normal file
@ -0,0 +1,19 @@
|
||||
$OpenBSD: patch-libcelt_celt_c,v 1.1 2010/12/30 13:36:09 dcoppa Exp $
|
||||
|
||||
Missing commas (from upstream git)
|
||||
|
||||
--- libcelt/celt.c.orig Tue Dec 21 03:14:48 2010
|
||||
+++ libcelt/celt.c Thu Dec 30 14:11:11 2010
|
||||
@@ -428,9 +428,9 @@ static void comb_filter(celt_word32 *y, celt_word32 *x
|
||||
|
||||
static const signed char tf_select_table[4][8] = {
|
||||
{0, -1, 0, -1, 0,-1, 0,-1},
|
||||
- {0, -1, 0, -2, 1, 0, 1 -1},
|
||||
- {0, -2, 0, -3, 2, 0, 1 -1},
|
||||
- {0, -2, 0, -3, 2, 0, 1 -1},
|
||||
+ {0, -1, 0, -2, 1, 0, 1,-1},
|
||||
+ {0, -2, 0, -3, 2, 0, 1,-1},
|
||||
+ {0, -2, 0, -3, 2, 0, 1,-1},
|
||||
};
|
||||
|
||||
static celt_word32 l1_metric(const celt_norm *tmp, int N, int LM, int width)
|
@ -1,15 +0,0 @@
|
||||
$OpenBSD: patch-libcelt_pitch_c,v 1.1.1.1 2010/12/02 22:16:02 dcoppa Exp $
|
||||
|
||||
Bugfix from upstream git (0722c16dd3bc66d77be61cb5330d0bb32650b899)
|
||||
|
||||
--- libcelt/pitch.c.orig Mon Nov 8 10:20:03 2010
|
||||
+++ libcelt/pitch.c Wed Dec 1 11:14:45 2010
|
||||
@@ -112,7 +112,7 @@ void pitch_downsample(celt_sig * restrict x[], celt_wo
|
||||
if (C==2)
|
||||
{
|
||||
for (i=1;i<len>>1;i++)
|
||||
- x_lp[i] = SHR32(HALF32(HALF32(x[1][(2*i-1)]+x[1][(2*i+1)])+x[1][2*i]), SIG_SHIFT+2);
|
||||
+ x_lp[i] += SHR32(HALF32(HALF32(x[1][(2*i-1)]+x[1][(2*i+1)])+x[1][2*i]), SIG_SHIFT+2);
|
||||
x_lp[0] += SHR32(HALF32(HALF32(x[1][1])+x[1][0]), SIG_SHIFT+2);
|
||||
*xmem += x[1][end-1];
|
||||
}
|
Loading…
Reference in New Issue
Block a user