Merge branch 'master' of github.com:pisilinux/main
This commit is contained in:
@@ -0,0 +1,35 @@
|
||||
#!/usr/bin/python
|
||||
# -*- coding: utf-8 -*-
|
||||
#
|
||||
# Licensed under the GNU General Public License, version 3.
|
||||
# See the file http://www.gnu.org/licenses/gpl.txt
|
||||
|
||||
from pisi.actionsapi import autotools
|
||||
from pisi.actionsapi import pisitools
|
||||
from pisi.actionsapi import shelltools
|
||||
from pisi.actionsapi import get
|
||||
|
||||
WorkDir = "mjpegtools-2.1.0"
|
||||
|
||||
def setup():
|
||||
shelltools.export("CFLAGS", "%s -fno-strict-aliasing" % get.CFLAGS())
|
||||
autotools.autoreconf("-vfi")
|
||||
|
||||
pisitools.dosed("configure", "ARCHFLAGS=.*", "ARCHFLAGS=")
|
||||
autotools.configure("--with-x \
|
||||
--enable-largefile \
|
||||
--disable-simd-accel \
|
||||
--with-dv-yv12 \
|
||||
--disable-static \
|
||||
--with-libpng \
|
||||
--with-libdv=/usr")
|
||||
|
||||
pisitools.dosed("libtool", " -shared ", " -Wl,-O1,--as-needed -shared ")
|
||||
|
||||
def build():
|
||||
autotools.make()
|
||||
|
||||
def install():
|
||||
autotools.install()
|
||||
|
||||
pisitools.dodoc("AUTHORS","ChangeLog","README*","mjpeg_howto.txt", "TODO")
|
||||
@@ -0,0 +1,97 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>mjpegtools</Name>
|
||||
<Homepage>http://mjpeg.sourceforge.net/</Homepage>
|
||||
<Packager>
|
||||
<Name>PisiLinux Community</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Packager>
|
||||
<License>as-is</License>
|
||||
<IsA>app:gui</IsA>
|
||||
<Summary>Tools for MJPEG video</Summary>
|
||||
<Description>mjpegtools is a complete suite of tools for you to capture, edit, process, filter and play your media as you wish. You can digitize your VHS collection, create DVDs, and do advanced video filtering on already-digitized videos.</Description>
|
||||
<Archive sha1sum="b9effa86280e23d67369e842e5cb645948583097" type="targz">http://sourceforge.net/projects/mjpeg/files/mjpegtools/2.1.0/mjpegtools-2.1.0.tar.gz/download</Archive>
|
||||
<BuildDependencies>
|
||||
<Dependency>gtk2-devel</Dependency>
|
||||
<Dependency>libdv-devel</Dependency>
|
||||
<Dependency>libsdl-devel</Dependency>
|
||||
<Dependency>libXxf86dga-devel</Dependency>
|
||||
<!--<Dependency>libquicktime-devel</Dependency>-->
|
||||
<Dependency>libjpeg-turbo-devel</Dependency>
|
||||
<Dependency>libpng-devel</Dependency>
|
||||
</BuildDependencies>
|
||||
<Patches>
|
||||
<!-- <Patch level="0">mjpegtools-1.9.0-link.patch</Patch> -->
|
||||
<!-- <Patch level="1">mjpegtools-1.9.0rc1-x86_64.patch</Patch> -->
|
||||
<!--<Patch level="1">mjpegtools-2.0.0-format-strings.patch</Patch>
|
||||
<Patch level="0">mjpegtools-2.0.0-mplex-build.patch</Patch>-->
|
||||
</Patches>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>mjpegtools</Name>
|
||||
<RuntimeDependencies>
|
||||
<Dependency>gtk2</Dependency>
|
||||
<Dependency>glib2</Dependency>
|
||||
<Dependency>libdv</Dependency>
|
||||
<Dependency>libgcc</Dependency>
|
||||
<Dependency>libsdl</Dependency>
|
||||
<Dependency>libjpeg-turbo</Dependency>
|
||||
<Dependency>libpng</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="executable">/usr/bin</Path>
|
||||
<Path fileType="library">/usr/lib</Path>
|
||||
<Path fileType="doc">/usr/share/doc</Path>
|
||||
<Path fileType="info">/usr/share/info</Path>
|
||||
<Path fileType="man">/usr/share/man</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>mjpegtools-devel</Name>
|
||||
<Summary>Development files for mjpegtools</Summary>
|
||||
<RuntimeDependencies>
|
||||
<Dependency release="current">mjpegtools</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="header">/usr/include</Path>
|
||||
<Path fileType="data">/usr/lib/pkgconfig</Path>
|
||||
<!-- FIXME: Remove this if not necessary -->
|
||||
<Path fileType="man">/usr/share/man/man3</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="4">
|
||||
<Date>2014-06-10</Date>
|
||||
<Version>2.1.0</Version>
|
||||
<Comment>Rebuild.</Comment>
|
||||
<Name>Ertuğrul Erata</Name>
|
||||
<Email>ertugrulerata@gmail.com</Email>
|
||||
</Update>
|
||||
<Update release="3">
|
||||
<Date>2014-05-26</Date>
|
||||
<Version>2.1.0</Version>
|
||||
<Comment>Rebuild.</Comment>
|
||||
<Name>Alihan Öztürk</Name>
|
||||
<Email>alihan@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="2">
|
||||
<Date>2014-02-13</Date>
|
||||
<Version>2.1.0</Version>
|
||||
<Comment>Version bump</Comment>
|
||||
<Name>Kamil Atlı</Name>
|
||||
<Email>suvarice@gmail.com</Email>
|
||||
</Update>
|
||||
<Update release="1">
|
||||
<Date>2012-10-07</Date>
|
||||
<Version>2.0.1_rc1</Version>
|
||||
<Comment>First release</Comment>
|
||||
<Name>Erdinç Gültekin</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Update>
|
||||
</History>
|
||||
</PISI>
|
||||
@@ -0,0 +1,13 @@
|
||||
<?xml version="1.0" ?>
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>mjpegtools</Name>
|
||||
<Summary xml:lang="tr">MJPEG video dosyaları için kullanılabilecek araçlar</Summary>
|
||||
<Description xml:lang="tr">Mjpegtools size görüntü yakalama, düzenleme, işleme ve filtreleme olanakları sunan ayrıca dosyalarınızı istediğiniz gibi oynatabileceğiniz tam bir araçlar paketidir. VHS kolleksiyonunuzu dijital ortama taşıyabilir, DVDler yaratabilirsiniz. Zaten dijital ortamda olan videolara ileri düzeyde video filtrelemesi yapabilirsiniz.</Description>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>mjpegtools-devel</Name>
|
||||
<Summary xml:lang="tr">mjpegtools için geliştirme dosyaları</Summary>
|
||||
</Package>
|
||||
</PISI>
|
||||
@@ -0,0 +1,29 @@
|
||||
#!/usr/bin/python
|
||||
# -*- coding: utf-8 -*-
|
||||
#
|
||||
# Licensed under the GNU General Public License, version 3.
|
||||
# See the file http://www.gnu.org/licenses/gpl.txt
|
||||
#
|
||||
# taken from
|
||||
# svn://svn.mplayerhq.hu/dvdnav/trunk/libdvdnav
|
||||
|
||||
from pisi.actionsapi import autotools
|
||||
from pisi.actionsapi import pisitools
|
||||
from pisi.actionsapi import libtools
|
||||
from pisi.actionsapi import get
|
||||
|
||||
def setup():
|
||||
libtools.libtoolize("--force --install")
|
||||
autotools.autoreconf("-fi")
|
||||
|
||||
autotools.configure("--with-libdvdcss=/usr \
|
||||
--disable-static")
|
||||
|
||||
def build():
|
||||
autotools.make()
|
||||
|
||||
def install():
|
||||
autotools.rawInstall('DESTDIR="%s"' % get.installDIR())
|
||||
|
||||
pisitools.dodoc("ChangeLog", "AUTHORS", "README", "TODO")
|
||||
|
||||
@@ -0,0 +1,105 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>libdvdnav</Name>
|
||||
<Homepage>http://www.mplayerhq.hu/</Homepage>
|
||||
<Packager>
|
||||
<Name>PisiLinux Community</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Packager>
|
||||
<License>GPLv2</License>
|
||||
<IsA>library</IsA>
|
||||
<Summary>libdvdnav is a library for developers of multimedia applications</Summary>
|
||||
<Description>libdvdnav is a library for developers of multimedia applications. It allows easy use of sophisticated DVD navigation features such as DVD menus, multiangle playback and even interactive DVD games.</Description>
|
||||
<Archive sha1sum="e3ec3277e37dd1714e7dc7d205b8fd084125b51a" type="tarbz2">http://download.videolan.org/pub/videolan/libdvdnav/5.0.3/libdvdnav-5.0.3.tar.bz2</Archive>
|
||||
<BuildDependencies>
|
||||
<Dependency>libdvdread-devel</Dependency>
|
||||
</BuildDependencies>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>libdvdnav</Name>
|
||||
<RuntimeDependencies>
|
||||
<Dependency>libdvdread</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="library">/usr/lib</Path>
|
||||
<Path fileType="doc">/usr/share/doc/libdvdnav</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>libdvdnav-devel</Name>
|
||||
<Summary>Development files for libdvdnav</Summary>
|
||||
<RuntimeDependencies>
|
||||
<Dependency release="current">libdvdnav</Dependency>
|
||||
<Dependency>libdvdread-devel</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="executable">/usr/bin</Path>
|
||||
<Path fileType="header">/usr/include</Path>
|
||||
<Path fileType="data">/usr/lib/pkgconfig</Path>
|
||||
<Path fileType="data">/usr/share/aclocal</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="8">
|
||||
<Date>2015-01-31</Date>
|
||||
<Version>5.0.3</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Name>Hakan Yıldız</Name>
|
||||
<Email>hknyldz93@gmail.com</Email>
|
||||
</Update>
|
||||
<Update release="7">
|
||||
<Date>2015-01-28</Date>
|
||||
<Version>5.0.2</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Name>Hakan Yıldız</Name>
|
||||
<Email>hknyldz93@gmail.com</Email>
|
||||
</Update>
|
||||
<Update release="6">
|
||||
<Date>2014-09-29</Date>
|
||||
<Version>5.0.1</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Name>Stefan Gronewold(groni)</Name>
|
||||
<Email>groni@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="5">
|
||||
<Date>2014-05-24</Date>
|
||||
<Version>4.2.1</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Name>Alihan Öztürk</Name>
|
||||
<Email>alihan@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="4">
|
||||
<Date>2014-03-08</Date>
|
||||
<Version>4.2.0</Version>
|
||||
<Comment>Rebuild.</Comment>
|
||||
<Name>Erdinç Gültekin</Name>
|
||||
<Email>erdincgultekin@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="3">
|
||||
<Date>2013-07-31</Date>
|
||||
<Version>4.2.0</Version>
|
||||
<Comment>missing dep.</Comment>
|
||||
<Name>Erdinç Gültekin</Name>
|
||||
<Email>erdincgultekin@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="2">
|
||||
<Date>2013-03-08</Date>
|
||||
<Version>4.2.0</Version>
|
||||
<Comment>V.Bump</Comment>
|
||||
<Name>PisiLinux Community</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="1">
|
||||
<Date>2010-10-12</Date>
|
||||
<Version>0.0_20100819</Version>
|
||||
<Comment>First release</Comment>
|
||||
<Name>Pisi Linux Admins</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Update>
|
||||
</History>
|
||||
</PISI>
|
||||
@@ -0,0 +1,15 @@
|
||||
<?xml version="1.0" ?>
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>libdvdnav</Name>
|
||||
<Summary xml:lang="tr">libdvdnav çokluortam uyguamaları geliştiricileri için bir kütüphane</Summary>
|
||||
<Description xml:lang="tr">libdvdnav çokluortam uyguamaları geliştiricileri için bir kütüphane. libdvdnav ile karmaşık DVD dolaşmalarını Örn: DVD menüleri, değişik açılı gösterimleri ve hatta etkileşimli DVD oyunlarını kullanabilirsiniz</Description>
|
||||
<Description xml:lang="fr">libdvdnav est une librairie pour les développeur d'applications multimédia. Elle permet l'utilisation de fonctionnalités sophistiquées de navigation DVD tels que les menus DVD, la lecture multi-angle et même des jeux interactifs DVD.</Description>
|
||||
<Description xml:lang="es">libdvdnav es una librería para desarrollo de aplicaciones multimedia. Permite uso fácil de navegación avanzada en DVDs como en menús de DVDs, reproducción multi-ángulo, e incluso DVDs con juegos interactivos.</Description>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>libdvdnav-devel</Name>
|
||||
<Summary xml:lang="tr">libdvdnav için geliştirme dosyaları</Summary>
|
||||
</Package>
|
||||
</PISI>
|
||||
@@ -0,0 +1,27 @@
|
||||
#!/usr/bin/python
|
||||
# -*- coding: utf-8 -*-
|
||||
#
|
||||
# Licensed under the GNU General Public License, version 3.
|
||||
# See the file http://www.gnu.org/licenses/gpl.txt
|
||||
|
||||
from pisi.actionsapi import autotools
|
||||
from pisi.actionsapi import pisitools
|
||||
from pisi.actionsapi import get
|
||||
|
||||
def setup():
|
||||
autotools.autoreconf("-fi")
|
||||
autotools.configure("--enable-shared \
|
||||
--disable-static")
|
||||
|
||||
def build():
|
||||
autotools.make('OPT_CFLAGS=""')
|
||||
|
||||
def install():
|
||||
autotools.rawInstall('DESTDIR="%s"' % get.installDIR())
|
||||
pisitools.remove("/usr/lib/*.a")
|
||||
|
||||
# FIXME: avidemux needs this
|
||||
# pisitools.insinto("/usr/include","libdts/dca_internal.h")
|
||||
|
||||
pisitools.dodoc("AUTHORS", "ChangeLog", "NEWS", "README", "TODO", "doc/libdca.txt")
|
||||
|
||||
@@ -0,0 +1,12 @@
|
||||
Index: libdca-0.0.5/configure.ac
|
||||
===================================================================
|
||||
--- libdca-0.0.5.orig/configure.ac
|
||||
+++ libdca-0.0.5/configure.ac
|
||||
@@ -32,7 +32,6 @@ if test x"$GCC" = x"yes"; then
|
||||
TRY_CFLAGS=`echo "$OPT_CFLAGS $CFLAGS"|sed "s/-O[0-9]*//g"`
|
||||
changequote([,])
|
||||
TRY_CFLAGS="$TRY_CFLAGS -O3"
|
||||
- AC_TRY_CFLAGS([$TRY_CFLAGS],[OPT_CFLAGS=$TRY_CFLAGS; CFLAGS=""])
|
||||
|
||||
AC_ARG_ENABLE([debug],
|
||||
[ --enable-debug debug mode configuration])
|
||||
@@ -0,0 +1,719 @@
|
||||
Index: libdca-0.0.5/libdca/parse.c
|
||||
===================================================================
|
||||
--- libdca-0.0.5.orig/libdca/parse.c
|
||||
+++ libdca-0.0.5/libdca/parse.c
|
||||
@@ -548,7 +548,7 @@ static int dca_subframe_header (dca_stat
|
||||
/* Scale factors */
|
||||
for (j = 0; j < state->prim_channels; j++)
|
||||
{
|
||||
- int *scale_table;
|
||||
+ const int *scale_table;
|
||||
int scale_sum;
|
||||
|
||||
for (k = 0; k < state->subband_activity[j]; k++)
|
||||
@@ -761,7 +761,7 @@ static int dca_subsubframe (dca_state_t
|
||||
int k, l;
|
||||
int subsubframe = state->current_subsubframe;
|
||||
|
||||
- double *quant_step_table;
|
||||
+ const double *quant_step_table;
|
||||
|
||||
/* FIXME */
|
||||
double subband_samples[DCA_PRIM_CHANNELS_MAX][DCA_SUBBANDS][8];
|
||||
@@ -1145,7 +1145,7 @@ static void qmf_32_subbands (dca_state_t
|
||||
double samples_in[32][8], sample_t *samples_out,
|
||||
double scale, sample_t bias)
|
||||
{
|
||||
- double *prCoeff;
|
||||
+ const double *prCoeff;
|
||||
int i, j, k;
|
||||
double raXin[32];
|
||||
|
||||
@@ -1236,7 +1236,7 @@ static void lfe_interpolation_fir (int n
|
||||
*/
|
||||
|
||||
int nDeciFactor, k, J;
|
||||
- double *prCoeff;
|
||||
+ const double *prCoeff;
|
||||
|
||||
int NumFIRCoef = 512; /* Number of FIR coefficients */
|
||||
int nInterpIndex = 0; /* Index to the interpolated samples */
|
||||
Index: libdca-0.0.5/libdca/tables_fir.h
|
||||
===================================================================
|
||||
--- libdca-0.0.5.orig/libdca/tables_fir.h
|
||||
+++ libdca-0.0.5/libdca/tables_fir.h
|
||||
@@ -21,7 +21,7 @@
|
||||
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
*/
|
||||
|
||||
-double fir_32bands_perfect[] =
|
||||
+static const double fir_32bands_perfect[] =
|
||||
{
|
||||
+1.135985195E-010,
|
||||
-6.022448247E-007,
|
||||
@@ -537,7 +537,7 @@ double fir_32bands_perfect[] =
|
||||
-1.135985195E-010
|
||||
};
|
||||
|
||||
-double fir_32bands_nonperfect[] =
|
||||
+static const double fir_32bands_nonperfect[] =
|
||||
{
|
||||
-1.390191784E-007,
|
||||
-1.693738625E-007,
|
||||
@@ -1053,7 +1053,7 @@ double fir_32bands_nonperfect[] =
|
||||
+1.390191784E-007
|
||||
};
|
||||
|
||||
-double lfe_fir_64[] =
|
||||
+static const double lfe_fir_64[] =
|
||||
{
|
||||
2.6584343868307770E-004,
|
||||
8.1793652498163280E-005,
|
||||
@@ -1569,7 +1569,7 @@ double lfe_fir_64[] =
|
||||
2.6584343868307770E-004
|
||||
};
|
||||
|
||||
-double lfe_fir_128[] =
|
||||
+static const double lfe_fir_128[] =
|
||||
{
|
||||
0.00053168571,
|
||||
0.00016358691,
|
||||
Index: libdca-0.0.5/libdca/tables_huffman.h
|
||||
===================================================================
|
||||
--- libdca-0.0.5.orig/libdca/tables_huffman.h
|
||||
+++ libdca-0.0.5/libdca/tables_huffman.h
|
||||
@@ -29,7 +29,7 @@ typedef struct huff_entry_s
|
||||
|
||||
} huff_entry_t;
|
||||
|
||||
-huff_entry_t bitalloc_a_12[] =
|
||||
+static const huff_entry_t bitalloc_a_12[] =
|
||||
{
|
||||
{ 1, 0, 1}, { 2, 2, 2}, { 3, 6, 3}, { 4, 14, 4},
|
||||
{ 5, 30, 5}, { 6, 62, 6}, { 8, 255, 7}, { 8, 254, 8},
|
||||
@@ -37,7 +37,7 @@ huff_entry_t bitalloc_a_12[] =
|
||||
{ 0, 0, 0}
|
||||
};
|
||||
|
||||
-huff_entry_t bitalloc_b_12[] =
|
||||
+static const huff_entry_t bitalloc_b_12[] =
|
||||
{
|
||||
{ 1, 1, 1}, { 2, 0, 2}, { 3, 2, 3}, { 5, 15, 4},
|
||||
{ 5, 12, 5}, { 6, 29, 6}, { 7, 57, 7}, { 7, 56, 8},
|
||||
@@ -45,7 +45,7 @@ huff_entry_t bitalloc_b_12[] =
|
||||
{ 0, 0, 0}
|
||||
};
|
||||
|
||||
-huff_entry_t bitalloc_c_12[] =
|
||||
+static const huff_entry_t bitalloc_c_12[] =
|
||||
{
|
||||
{ 2, 0, 1}, { 3, 7, 2}, { 3, 5, 3}, { 3, 4, 4},
|
||||
{ 3, 2, 5}, { 4, 13, 6}, { 4, 12, 7}, { 4, 6, 8},
|
||||
@@ -53,7 +53,7 @@ huff_entry_t bitalloc_c_12[] =
|
||||
{ 0, 0, 0}
|
||||
};
|
||||
|
||||
-huff_entry_t bitalloc_d_12[] =
|
||||
+static const huff_entry_t bitalloc_d_12[] =
|
||||
{
|
||||
{ 2, 3, 1}, { 2, 2, 2}, { 2, 0, 3}, { 3, 2, 4},
|
||||
{ 4, 6, 5}, { 5, 14, 6}, { 6, 30, 7}, { 7, 62, 8},
|
||||
@@ -61,7 +61,7 @@ huff_entry_t bitalloc_d_12[] =
|
||||
{ 0, 0, 0}
|
||||
};
|
||||
|
||||
-huff_entry_t bitalloc_e_12[] =
|
||||
+static const huff_entry_t bitalloc_e_12[] =
|
||||
{
|
||||
{ 1, 1, 1}, { 2, 0, 2}, { 3, 2, 3}, { 4, 6, 4},
|
||||
{ 5, 14, 5}, { 7, 63, 6}, { 7, 61, 7}, { 8, 124, 8},
|
||||
@@ -69,7 +69,7 @@ huff_entry_t bitalloc_e_12[] =
|
||||
{ 0, 0, 0}
|
||||
};
|
||||
|
||||
-huff_entry_t *bitalloc_12[] =
|
||||
+static const huff_entry_t *const bitalloc_12[] =
|
||||
{
|
||||
bitalloc_a_12,
|
||||
bitalloc_b_12,
|
||||
@@ -78,7 +78,7 @@ huff_entry_t *bitalloc_12[] =
|
||||
bitalloc_e_12
|
||||
};
|
||||
|
||||
-huff_entry_t scales_a_129[] =
|
||||
+static const huff_entry_t scales_a_129[] =
|
||||
{
|
||||
{ 2, 1, 0}, { 3, 6, 1}, { 3, 5, -1}, { 3, 0, 2},
|
||||
{ 4, 15, -2}, { 4, 8, 3}, { 4, 3, -3}, { 5, 28, 4},
|
||||
@@ -115,7 +115,7 @@ huff_entry_t scales_a_129[] =
|
||||
{14, 15024,-64}, { 0, 0, 0}
|
||||
};
|
||||
|
||||
-huff_entry_t scales_b_129[] =
|
||||
+static const huff_entry_t scales_b_129[] =
|
||||
{
|
||||
{ 3, 3, 0}, { 3, 2, 1}, { 3, 1, -1}, { 4, 15, 2},
|
||||
{ 4, 14, -2}, { 4, 12, 3}, { 4, 11, -3}, { 4, 10, 4},
|
||||
@@ -152,7 +152,7 @@ huff_entry_t scales_b_129[] =
|
||||
{15, 3936,-64}, { 0, 0, 0}
|
||||
};
|
||||
|
||||
-huff_entry_t scales_c_129[] =
|
||||
+static const huff_entry_t scales_c_129[] =
|
||||
{
|
||||
{ 3, 4, 0}, { 3, 1, 1}, { 3, 0, -1}, { 4, 13, 2},
|
||||
{ 4, 12, -2}, { 4, 7, 3}, { 4, 6, -3}, { 5, 31, 4},
|
||||
@@ -189,7 +189,7 @@ huff_entry_t scales_c_129[] =
|
||||
{15, 20944,-64}, { 0, 0, 0}
|
||||
};
|
||||
|
||||
-huff_entry_t scales_d_129[] =
|
||||
+static const huff_entry_t scales_d_129[] =
|
||||
{
|
||||
{ 2, 0, 0}, { 3, 5, 1}, { 3, 4, -1}, { 4, 15, 2},
|
||||
{ 4, 14, -2}, { 4, 7, 3}, { 4, 6, -3}, { 5, 26, 4},
|
||||
@@ -226,7 +226,7 @@ huff_entry_t scales_d_129[] =
|
||||
{15, 28516,-64}, { 0, 0, 0}
|
||||
};
|
||||
|
||||
-huff_entry_t scales_e_129[] =
|
||||
+static const huff_entry_t scales_e_129[] =
|
||||
{
|
||||
{ 4, 14, 0}, { 4, 11, 1}, { 4, 10, -1}, { 4, 7, 2},
|
||||
{ 4, 6, -2}, { 4, 3, 3}, { 4, 2, -3}, { 5, 31, 4},
|
||||
@@ -263,7 +263,7 @@ huff_entry_t scales_e_129[] =
|
||||
{16, 57172,-64}, { 0, 0, 0}
|
||||
};
|
||||
|
||||
-huff_entry_t *scales_129[] =
|
||||
+static const huff_entry_t *const scales_129[] =
|
||||
{
|
||||
scales_a_129,
|
||||
scales_b_129,
|
||||
@@ -272,36 +272,36 @@ huff_entry_t *scales_129[] =
|
||||
scales_e_129
|
||||
};
|
||||
|
||||
-huff_entry_t bitalloc_a_3[] =
|
||||
+static const huff_entry_t bitalloc_a_3[] =
|
||||
{
|
||||
{ 1, 0, 0}, { 2, 2, 1}, { 2, 3, -1}, { 0, 0, 0}
|
||||
};
|
||||
|
||||
-huff_entry_t bitalloc_a_4[] =
|
||||
+static const huff_entry_t bitalloc_a_4[] =
|
||||
{
|
||||
{ 1, 0, 0}, { 2, 2, 1}, { 3, 6, 2}, { 3, 7, 3},
|
||||
{ 0, 0, 0}
|
||||
};
|
||||
|
||||
-huff_entry_t bitalloc_b_4[] =
|
||||
+static const huff_entry_t bitalloc_b_4[] =
|
||||
{
|
||||
{ 2, 2, 0}, { 3, 6, 1}, { 3, 7, 2}, { 1, 0, 3},
|
||||
{ 0, 0, 0}
|
||||
};
|
||||
|
||||
-huff_entry_t bitalloc_c_4[] =
|
||||
+static const huff_entry_t bitalloc_c_4[] =
|
||||
{
|
||||
{ 3, 6, 0}, { 3, 7, 1}, { 1, 0, 2}, { 2, 2, 3},
|
||||
{ 0, 0, 0}
|
||||
};
|
||||
|
||||
-huff_entry_t bitalloc_d_4[] =
|
||||
+static const huff_entry_t bitalloc_d_4[] =
|
||||
{
|
||||
{ 2, 0, 0}, { 2, 1, 1}, { 2, 2, 2}, { 2, 3, 3},
|
||||
{ 0, 0, 0}
|
||||
};
|
||||
|
||||
-huff_entry_t *tmode[] =
|
||||
+static const huff_entry_t *const tmode[] =
|
||||
{
|
||||
bitalloc_a_4,
|
||||
bitalloc_b_4,
|
||||
@@ -309,64 +309,64 @@ huff_entry_t *tmode[] =
|
||||
bitalloc_d_4
|
||||
};
|
||||
|
||||
-huff_entry_t bitalloc_a_5[] =
|
||||
+static const huff_entry_t bitalloc_a_5[] =
|
||||
{
|
||||
{ 1, 0, 0}, { 2, 2, 1}, { 3, 6, -1}, { 4, 14, 2},
|
||||
{ 4, 15, -2}, { 0, 0, 0}
|
||||
};
|
||||
|
||||
-huff_entry_t bitalloc_b_5[] =
|
||||
+static const huff_entry_t bitalloc_b_5[] =
|
||||
{
|
||||
{ 2, 2, 0}, { 2, 0, 1}, { 2, 1, -1}, { 3, 6, 2},
|
||||
{ 3, 7, -2}, { 0, 0, 0}
|
||||
};
|
||||
|
||||
-huff_entry_t bitalloc_c_5[] =
|
||||
+static const huff_entry_t bitalloc_c_5[] =
|
||||
{
|
||||
{ 1, 0, 0}, { 3, 4, 1}, { 3, 5, -1}, { 3, 6, 2},
|
||||
{ 3, 7, -2}, { 0, 0, 0}
|
||||
};
|
||||
|
||||
-huff_entry_t bitalloc_a_7[] =
|
||||
+static const huff_entry_t bitalloc_a_7[] =
|
||||
{
|
||||
{ 1, 0, 0}, { 3, 6, 1}, { 3, 5, -1}, { 3, 4, 2},
|
||||
{ 4, 14, -2}, { 5, 31, 3}, { 5, 30, -3}, { 0, 0, 0}
|
||||
};
|
||||
|
||||
-huff_entry_t bitalloc_b_7[] =
|
||||
+static const huff_entry_t bitalloc_b_7[] =
|
||||
{
|
||||
{ 2, 3, 0}, { 2, 1, 1}, { 2, 0, -1}, { 3, 4, 2},
|
||||
{ 4, 11, -2}, { 5, 21, 3}, { 5, 20, -3}, { 0, 0, 0}
|
||||
};
|
||||
|
||||
-huff_entry_t bitalloc_c_7[] =
|
||||
+static const huff_entry_t bitalloc_c_7[] =
|
||||
{
|
||||
{ 2, 3, 0}, { 2, 2, 1}, { 2, 1, -1}, { 4, 3, 2},
|
||||
{ 4, 2, -2}, { 4, 1, 3}, { 4, 0, -3}, { 0, 0, 0}
|
||||
};
|
||||
|
||||
-huff_entry_t bitalloc_a_9[] =
|
||||
+static const huff_entry_t bitalloc_a_9[] =
|
||||
{
|
||||
{ 1, 0, 0}, { 3, 7, 1}, { 3, 5, -1}, { 4, 13, 2},
|
||||
{ 4, 9, -2}, { 4, 8, 3}, { 5, 25, -3}, { 6, 49, 4},
|
||||
{ 6, 48, -4}, { 0, 0, 0}
|
||||
};
|
||||
|
||||
-huff_entry_t bitalloc_b_9[] =
|
||||
+static const huff_entry_t bitalloc_b_9[] =
|
||||
{
|
||||
{ 2, 2, 0}, { 2, 0, 1}, { 3, 7, -1}, { 3, 3, 2},
|
||||
{ 3, 2, -2}, { 5, 27, 3}, { 5, 26, -3}, { 5, 25, 4},
|
||||
{ 5, 24, -4}, { 0, 0, 0}
|
||||
};
|
||||
|
||||
-huff_entry_t bitalloc_c_9[] =
|
||||
+static const huff_entry_t bitalloc_c_9[] =
|
||||
{
|
||||
{ 2, 2, 0}, { 2, 0, 1}, { 3, 7, -1}, { 3, 6, 2},
|
||||
{ 3, 2, -2}, { 4, 6, 3}, { 5, 15, -3}, { 6, 29, 4},
|
||||
{ 6, 28, -4}, { 0, 0, 0}
|
||||
};
|
||||
|
||||
-huff_entry_t bitalloc_a_13[] =
|
||||
+static const huff_entry_t bitalloc_a_13[] =
|
||||
{
|
||||
{ 1, 0, 0}, { 3, 4, 1}, { 4, 15, -1}, { 4, 13, 2},
|
||||
{ 4, 12, -2}, { 4, 10, 3}, { 5, 29, -3}, { 5, 22, 4},
|
||||
@@ -374,7 +374,7 @@ huff_entry_t bitalloc_a_13[] =
|
||||
{ 7, 112, -6}, { 0, 0, 0}
|
||||
};
|
||||
|
||||
-huff_entry_t bitalloc_b_13[] =
|
||||
+static const huff_entry_t bitalloc_b_13[] =
|
||||
{
|
||||
{ 2, 0, 0}, { 3, 6, 1}, { 3, 5, -1}, { 3, 2, 2},
|
||||
{ 4, 15, -2}, { 4, 9, 3}, { 4, 7, -3}, { 4, 6, 4},
|
||||
@@ -382,7 +382,7 @@ huff_entry_t bitalloc_b_13[] =
|
||||
{ 6, 56, -6}, { 0, 0, 0}
|
||||
};
|
||||
|
||||
-huff_entry_t bitalloc_c_13[] =
|
||||
+static const huff_entry_t bitalloc_c_13[] =
|
||||
{
|
||||
{ 3, 5, 0}, { 3, 4, 1}, { 3, 3, -1}, { 3, 2, 2},
|
||||
{ 3, 0, -2}, { 4, 15, 3}, { 4, 14, -3}, { 4, 12, 4},
|
||||
@@ -390,7 +390,7 @@ huff_entry_t bitalloc_c_13[] =
|
||||
{ 5, 4, -6}, { 0, 0, 0}
|
||||
};
|
||||
|
||||
-huff_entry_t bitalloc_a_17[] =
|
||||
+static const huff_entry_t bitalloc_a_17[] =
|
||||
{
|
||||
{ 2, 1, 0}, { 3, 7, 1}, { 3, 6, -1}, { 3, 4, 2},
|
||||
{ 3, 1, -2}, { 4, 11, 3}, { 4, 10, -3}, { 4, 0, 4},
|
||||
@@ -399,7 +399,7 @@ huff_entry_t bitalloc_a_17[] =
|
||||
{12, 340, -8}, { 0, 0, 0}
|
||||
};
|
||||
|
||||
-huff_entry_t bitalloc_b_17[] =
|
||||
+static const huff_entry_t bitalloc_b_17[] =
|
||||
{
|
||||
{ 2, 0, 0}, { 3, 6, 1}, { 3, 5, -1}, { 3, 2, 2},
|
||||
{ 4, 15, -2}, { 4, 9, 3}, { 4, 8, -3}, { 5, 29, 4},
|
||||
@@ -408,7 +408,7 @@ huff_entry_t bitalloc_b_17[] =
|
||||
{ 8, 124, -8}, { 0, 0, 0}
|
||||
};
|
||||
|
||||
-huff_entry_t bitalloc_c_17[] =
|
||||
+static const huff_entry_t bitalloc_c_17[] =
|
||||
{
|
||||
{ 3, 6, 0}, { 3, 4, 1}, { 3, 3, -1}, { 3, 0, 2},
|
||||
{ 4, 15, -2}, { 4, 11, 3}, { 4, 10, -3}, { 4, 4, 4},
|
||||
@@ -417,7 +417,7 @@ huff_entry_t bitalloc_c_17[] =
|
||||
{ 7, 44, -8}, { 0, 0, 0}
|
||||
};
|
||||
|
||||
-huff_entry_t bitalloc_d_17[] =
|
||||
+static const huff_entry_t bitalloc_d_17[] =
|
||||
{
|
||||
{ 1, 0, 0}, { 3, 7, 1}, { 3, 6, -1}, { 4, 11, 2},
|
||||
{ 4, 10, -2}, { 5, 19, 3}, { 5, 18, -3}, { 6, 35, 4},
|
||||
@@ -426,7 +426,7 @@ huff_entry_t bitalloc_d_17[] =
|
||||
{ 9, 256, -8}, { 0, 0, 0}
|
||||
};
|
||||
|
||||
-huff_entry_t bitalloc_e_17[] =
|
||||
+static const huff_entry_t bitalloc_e_17[] =
|
||||
{
|
||||
{ 1, 0, 0}, { 3, 5, 1}, { 3, 4, -1}, { 4, 12, 2},
|
||||
{ 5, 31, -2}, { 5, 28, 3}, { 5, 27, -3}, { 6, 60, 4},
|
||||
@@ -435,7 +435,7 @@ huff_entry_t bitalloc_e_17[] =
|
||||
{ 8, 232, -8}, { 0, 0, 0}
|
||||
};
|
||||
|
||||
-huff_entry_t bitalloc_f_17[] =
|
||||
+static const huff_entry_t bitalloc_f_17[] =
|
||||
{
|
||||
{ 3, 6, 0}, { 3, 5, 1}, { 3, 4, -1}, { 3, 2, 2},
|
||||
{ 3, 1, -2}, { 4, 15, 3}, { 4, 14, -3}, { 4, 6, 4},
|
||||
@@ -444,7 +444,7 @@ huff_entry_t bitalloc_f_17[] =
|
||||
{ 8, 4, -8}, { 0, 0, 0}
|
||||
};
|
||||
|
||||
-huff_entry_t bitalloc_g_17[] =
|
||||
+static const huff_entry_t bitalloc_g_17[] =
|
||||
{
|
||||
{ 2, 2, 0}, { 3, 7, 1}, { 3, 6, -1}, { 3, 1, 2},
|
||||
{ 3, 0, -2}, { 4, 5, 3}, { 4, 4, -3}, { 5, 14, 4},
|
||||
@@ -453,7 +453,7 @@ huff_entry_t bitalloc_g_17[] =
|
||||
{ 8, 96, -8}, { 0, 0, 0}
|
||||
};
|
||||
|
||||
-huff_entry_t bitalloc_a_25[] =
|
||||
+static const huff_entry_t bitalloc_a_25[] =
|
||||
{
|
||||
{ 3, 6, 0}, { 3, 4, 1}, { 3, 3, -1}, { 3, 1, 2},
|
||||
{ 3, 0, -2}, { 4, 15, 3}, { 4, 14, -3}, { 4, 5, 4},
|
||||
@@ -464,7 +464,7 @@ huff_entry_t bitalloc_a_25[] =
|
||||
{14, 10324,-12}, { 0, 0, 0}
|
||||
};
|
||||
|
||||
-huff_entry_t bitalloc_b_25[] =
|
||||
+static const huff_entry_t bitalloc_b_25[] =
|
||||
{
|
||||
{ 3, 5, 0}, { 3, 2, 1}, { 3, 1, -1}, { 4, 15, 2},
|
||||
{ 4, 14, -2}, { 4, 9, 3}, { 4, 8, -3}, { 4, 6, 4},
|
||||
@@ -475,7 +475,7 @@ huff_entry_t bitalloc_b_25[] =
|
||||
{ 9, 28,-12}, { 0, 0, 0}
|
||||
};
|
||||
|
||||
-huff_entry_t bitalloc_c_25[] =
|
||||
+static const huff_entry_t bitalloc_c_25[] =
|
||||
{
|
||||
{ 3, 1, 0}, { 4, 15, 1}, { 4, 14, -1}, { 4, 12, 2},
|
||||
{ 4, 11, -2}, { 4, 9, 3}, { 4, 8, -3}, { 4, 6, 4},
|
||||
@@ -486,7 +486,7 @@ huff_entry_t bitalloc_c_25[] =
|
||||
{ 8, 76,-12}, { 0, 0, 0}
|
||||
};
|
||||
|
||||
-huff_entry_t bitalloc_d_25[] =
|
||||
+static const huff_entry_t bitalloc_d_25[] =
|
||||
{
|
||||
{ 2, 2, 0}, { 3, 7, 1}, { 3, 6, -1}, { 3, 1, 2},
|
||||
{ 3, 0, -2}, { 4, 5, 3}, { 4, 4, -3}, { 5, 13, 4},
|
||||
@@ -497,7 +497,7 @@ huff_entry_t bitalloc_d_25[] =
|
||||
{12, 1920,-12}, { 0, 0, 0}
|
||||
};
|
||||
|
||||
-huff_entry_t bitalloc_e_25[] =
|
||||
+static const huff_entry_t bitalloc_e_25[] =
|
||||
{
|
||||
{ 2, 3, 0}, { 3, 3, 1}, { 3, 2, -1}, { 4, 11, 2},
|
||||
{ 4, 10, -2}, { 4, 1, 3}, { 4, 0, -3}, { 5, 17, 4},
|
||||
@@ -508,7 +508,7 @@ huff_entry_t bitalloc_e_25[] =
|
||||
{ 8, 60,-12}, { 0, 0, 0}
|
||||
};
|
||||
|
||||
-huff_entry_t bitalloc_f_25[] =
|
||||
+static const huff_entry_t bitalloc_f_25[] =
|
||||
{
|
||||
{ 3, 1, 0}, { 3, 0, 1}, { 4, 15, -1}, { 4, 14, 2},
|
||||
{ 4, 13, -2}, { 4, 11, 3}, { 4, 10, -3}, { 4, 8, 4},
|
||||
@@ -519,7 +519,7 @@ huff_entry_t bitalloc_f_25[] =
|
||||
{10, 804,-12}, { 0, 0, 0}
|
||||
};
|
||||
|
||||
-huff_entry_t bitalloc_g_25[] =
|
||||
+static const huff_entry_t bitalloc_g_25[] =
|
||||
{
|
||||
{ 2, 1, 0}, { 3, 6, 1}, { 3, 5, -1}, { 3, 0, 2},
|
||||
{ 4, 15, -2}, { 4, 8, 3}, { 4, 3, -3}, { 5, 28, 4},
|
||||
@@ -530,7 +530,7 @@ huff_entry_t bitalloc_g_25[] =
|
||||
{10, 936,-12}, { 0, 0, 0}
|
||||
};
|
||||
|
||||
-huff_entry_t bitalloc_a_33[] =
|
||||
+static const huff_entry_t bitalloc_a_33[] =
|
||||
{
|
||||
{ 3, 2, 0}, { 3, 1, 1}, { 3, 0, -1}, { 4, 14, 2},
|
||||
{ 4, 13, -2}, { 4, 12, 3}, { 4, 11, -3}, { 4, 9, 4},
|
||||
@@ -543,7 +543,7 @@ huff_entry_t bitalloc_a_33[] =
|
||||
{13, 5504,-16}, { 0, 0, 0}
|
||||
};
|
||||
|
||||
-huff_entry_t bitalloc_b_33[] =
|
||||
+static const huff_entry_t bitalloc_b_33[] =
|
||||
{
|
||||
{ 3, 1, 0}, { 4, 15, 1}, { 4, 14, -1}, { 4, 11, 2},
|
||||
{ 4, 10, -2}, { 4, 8, 3}, { 4, 7, -3}, { 4, 4, 4},
|
||||
@@ -556,7 +556,7 @@ huff_entry_t bitalloc_b_33[] =
|
||||
{10, 780,-16}, { 0, 0, 0}
|
||||
};
|
||||
|
||||
-huff_entry_t bitalloc_c_33[] =
|
||||
+static const huff_entry_t bitalloc_c_33[] =
|
||||
{
|
||||
{ 4, 13, 0}, { 4, 11, 1}, { 4, 10, -1}, { 4, 8, 2},
|
||||
{ 4, 7, -2}, { 4, 4, 3}, { 4, 3, -3}, { 4, 2, 4},
|
||||
@@ -569,7 +569,7 @@ huff_entry_t bitalloc_c_33[] =
|
||||
{ 9, 204,-16}, { 0, 0, 0}
|
||||
};
|
||||
|
||||
-huff_entry_t bitalloc_d_33[] =
|
||||
+static const huff_entry_t bitalloc_d_33[] =
|
||||
{
|
||||
{ 2, 1, 0}, { 3, 6, 1}, { 3, 5, -1}, { 3, 0, 2},
|
||||
{ 4, 15, -2}, { 4, 8, 3}, { 4, 3, -3}, { 5, 28, 4},
|
||||
@@ -582,7 +582,7 @@ huff_entry_t bitalloc_d_33[] =
|
||||
{14, 15096,-16}, { 0, 0, 0}
|
||||
};
|
||||
|
||||
-huff_entry_t bitalloc_e_33[] =
|
||||
+static const huff_entry_t bitalloc_e_33[] =
|
||||
{
|
||||
{ 2, 2, 0}, { 3, 2, 1}, { 3, 1, -1}, { 4, 12, 2},
|
||||
{ 4, 7, -2}, { 4, 0, 3}, { 5, 31, -3}, { 5, 27, 4},
|
||||
@@ -595,7 +595,7 @@ huff_entry_t bitalloc_e_33[] =
|
||||
{ 9, 456,-16}, { 0, 0, 0}
|
||||
};
|
||||
|
||||
-huff_entry_t bitalloc_f_33[] =
|
||||
+static const huff_entry_t bitalloc_f_33[] =
|
||||
{
|
||||
{ 4, 13, 0}, { 4, 12, 1}, { 4, 11, -1}, { 4, 9, 2},
|
||||
{ 4, 8, -2}, { 4, 7, 3}, { 4, 6, -3}, { 4, 4, 4},
|
||||
@@ -608,7 +608,7 @@ huff_entry_t bitalloc_f_33[] =
|
||||
{11, 1828,-16}, { 0, 0, 0}
|
||||
};
|
||||
|
||||
-huff_entry_t bitalloc_g_33[] =
|
||||
+static const huff_entry_t bitalloc_g_33[] =
|
||||
{
|
||||
{ 3, 6, 0}, { 3, 3, 1}, { 3, 2, -1}, { 4, 15, 2},
|
||||
{ 4, 14, -2}, { 4, 9, 3}, { 4, 8, -3}, { 4, 1, 4},
|
||||
@@ -621,7 +621,7 @@ huff_entry_t bitalloc_g_33[] =
|
||||
{10, 644,-16}, { 0, 0, 0}
|
||||
};
|
||||
|
||||
-huff_entry_t bitalloc_a_65[] =
|
||||
+static const huff_entry_t bitalloc_a_65[] =
|
||||
{
|
||||
{ 4, 6, 0}, { 4, 5, 1}, { 4, 4, -1}, { 4, 2, 2},
|
||||
{ 4, 1, -2}, { 4, 0, 3}, { 5, 31, -3}, { 5, 29, 4},
|
||||
@@ -642,7 +642,7 @@ huff_entry_t bitalloc_a_65[] =
|
||||
{16, 40540,-32}, { 0, 0, 0}
|
||||
};
|
||||
|
||||
-huff_entry_t bitalloc_b_65[] =
|
||||
+static const huff_entry_t bitalloc_b_65[] =
|
||||
{
|
||||
{ 4, 4, 0}, { 4, 2, 1}, { 4, 1, -1}, { 5, 30, 2},
|
||||
{ 5, 29, -2}, { 5, 26, 3}, { 5, 25, -3}, { 5, 23, 4},
|
||||
@@ -663,7 +663,7 @@ huff_entry_t bitalloc_b_65[] =
|
||||
{12, 2700,-32}, { 0, 0, 0}
|
||||
};
|
||||
|
||||
-huff_entry_t bitalloc_c_65[] =
|
||||
+static const huff_entry_t bitalloc_c_65[] =
|
||||
{
|
||||
{ 5, 28, 0}, { 5, 25, 1}, { 5, 24, -1}, { 5, 23, 2},
|
||||
{ 5, 22, -2}, { 5, 19, 3}, { 5, 18, -3}, { 5, 16, 4},
|
||||
@@ -684,7 +684,7 @@ huff_entry_t bitalloc_c_65[] =
|
||||
{11, 1116,-32}, { 0, 0, 0}
|
||||
};
|
||||
|
||||
-huff_entry_t bitalloc_d_65[] =
|
||||
+static const huff_entry_t bitalloc_d_65[] =
|
||||
{
|
||||
{ 3, 4, 0}, { 3, 1, 1}, { 3, 0, -1}, { 4, 13, 2},
|
||||
{ 4, 12, -2}, { 4, 7, 3}, { 4, 6, -3}, { 5, 31, 4},
|
||||
@@ -705,7 +705,7 @@ huff_entry_t bitalloc_d_65[] =
|
||||
{15, 28848,-32}, { 0, 0, 0}
|
||||
};
|
||||
|
||||
-huff_entry_t bitalloc_e_65[] =
|
||||
+static const huff_entry_t bitalloc_e_65[] =
|
||||
{
|
||||
{ 3, 4, 0}, { 3, 0, 1}, { 4, 15, -1}, { 4, 7, 2},
|
||||
{ 4, 6, -2}, { 5, 29, 3}, { 5, 28, -3}, { 5, 23, 4},
|
||||
@@ -726,7 +726,7 @@ huff_entry_t bitalloc_e_65[] =
|
||||
{10, 812,-32}, { 0, 0, 0}
|
||||
};
|
||||
|
||||
-huff_entry_t bitalloc_f_65[] =
|
||||
+static const huff_entry_t bitalloc_f_65[] =
|
||||
{
|
||||
{ 3, 6, 0}, { 3, 3, 1}, { 3, 2, -1}, { 4, 15, 2},
|
||||
{ 4, 14, -2}, { 4, 9, 3}, { 4, 8, -3}, { 4, 1, 4},
|
||||
@@ -747,7 +747,7 @@ huff_entry_t bitalloc_f_65[] =
|
||||
{14, 4064,-32}, { 0, 0, 0}
|
||||
};
|
||||
|
||||
-huff_entry_t bitalloc_g_65[] =
|
||||
+static const huff_entry_t bitalloc_g_65[] =
|
||||
{
|
||||
{ 4, 14, 0}, { 4, 11, 1}, { 4, 10, -1}, { 4, 8, 2},
|
||||
{ 4, 6, -2}, { 4, 4, 3}, { 4, 3, -3}, { 4, 0, 4},
|
||||
@@ -768,7 +768,7 @@ huff_entry_t bitalloc_g_65[] =
|
||||
{11, 268,-32}, { 0, 0, 0}
|
||||
};
|
||||
|
||||
-huff_entry_t bitalloc_a_129[] =
|
||||
+static const huff_entry_t bitalloc_a_129[] =
|
||||
{
|
||||
{ 4, 8, 0}, { 4, 10, 1}, { 4, 9, -1}, { 4, 0, 2},
|
||||
{ 5, 31, -2}, { 5, 24, 3}, { 5, 23, -3}, { 5, 12, 4},
|
||||
@@ -805,7 +805,7 @@ huff_entry_t bitalloc_a_129[] =
|
||||
{11, 1632,-64}, { 0, 0, 0}
|
||||
};
|
||||
|
||||
-huff_entry_t bitalloc_b_129[] =
|
||||
+static const huff_entry_t bitalloc_b_129[] =
|
||||
{
|
||||
{ 5, 10, 0}, { 5, 7, 1}, { 5, 6, -1}, { 5, 4, 2},
|
||||
{ 5, 3, -2}, { 5, 0, 3}, { 6, 63, -3}, { 6, 60, 4},
|
||||
@@ -842,7 +842,7 @@ huff_entry_t bitalloc_b_129[] =
|
||||
{14, 10716,-64}, { 0, 0, 0}
|
||||
};
|
||||
|
||||
-huff_entry_t bitalloc_c_129[] =
|
||||
+static const huff_entry_t bitalloc_c_129[] =
|
||||
{
|
||||
{ 6, 58, 0}, { 6, 55, 1}, { 6, 54, -1}, { 6, 52, 2},
|
||||
{ 6, 51, -2}, { 6, 49, 3}, { 6, 48, -3}, { 6, 46, 4},
|
||||
@@ -879,7 +879,7 @@ huff_entry_t bitalloc_c_129[] =
|
||||
{13, 3676,-64}, { 0, 0, 0}
|
||||
};
|
||||
|
||||
-huff_entry_t bitalloc_d_129[] =
|
||||
+static const huff_entry_t bitalloc_d_129[] =
|
||||
{
|
||||
{ 4, 9, 0}, { 4, 6, 1}, { 4, 5, -1}, { 4, 2, 2},
|
||||
{ 4, 1, -2}, { 5, 30, 3}, { 5, 29, -3}, { 5, 26, 4},
|
||||
@@ -916,7 +916,7 @@ huff_entry_t bitalloc_d_129[] =
|
||||
{16, 42392,-64}, { 0, 0, 0}
|
||||
};
|
||||
|
||||
-huff_entry_t bitalloc_e_129[] =
|
||||
+static const huff_entry_t bitalloc_e_129[] =
|
||||
{
|
||||
{ 5, 12, 0}, { 5, 11, 1}, { 5, 10, -1}, { 5, 9, 2},
|
||||
{ 5, 8, -2}, { 5, 7, 3}, { 5, 6, -3}, { 5, 4, 4},
|
||||
@@ -953,7 +953,7 @@ huff_entry_t bitalloc_e_129[] =
|
||||
{16, 41276,-64}, { 0, 0, 0}
|
||||
};
|
||||
|
||||
-huff_entry_t bitalloc_f_129[] =
|
||||
+static const huff_entry_t bitalloc_f_129[] =
|
||||
{
|
||||
{ 6, 56, 0}, { 6, 55, 1}, { 6, 54, -1}, { 6, 52, 2},
|
||||
{ 6, 51, -2}, { 6, 50, 3}, { 6, 49, -3}, { 6, 48, 4},
|
||||
@@ -990,7 +990,7 @@ huff_entry_t bitalloc_f_129[] =
|
||||
{15, 30252,-64}, { 0, 0, 0}
|
||||
};
|
||||
|
||||
-huff_entry_t bitalloc_g_129[] =
|
||||
+static const huff_entry_t bitalloc_g_129[] =
|
||||
{
|
||||
{ 4, 0, 0}, { 5, 29, 1}, { 5, 28, -1}, { 5, 25, 2},
|
||||
{ 5, 24, -2}, { 5, 21, 3}, { 5, 20, -3}, { 5, 17, 4},
|
||||
@@ -1027,7 +1027,7 @@ huff_entry_t bitalloc_g_129[] =
|
||||
{13, 7712,-64}, { 0, 0, 0}
|
||||
};
|
||||
|
||||
-huff_entry_t *bitalloc_select[11][8] =
|
||||
+static const huff_entry_t *const bitalloc_select[11][8] =
|
||||
{
|
||||
{ 0 },
|
||||
{ bitalloc_a_3, 0 },
|
||||
@@ -1047,7 +1047,7 @@ huff_entry_t *bitalloc_select[11][8] =
|
||||
bitalloc_e_129, bitalloc_f_129, bitalloc_g_129, 0 },
|
||||
};
|
||||
|
||||
-static int InverseQ( dca_state_t * state, huff_entry_t * huff )
|
||||
+static int InverseQ( dca_state_t * state, const huff_entry_t * huff )
|
||||
{
|
||||
int value = 0;
|
||||
int length = 0, j;
|
||||
Index: libdca-0.0.5/libdca/tables_quantization.h
|
||||
===================================================================
|
||||
--- libdca-0.0.5.orig/libdca/tables_quantization.h
|
||||
+++ libdca-0.0.5/libdca/tables_quantization.h
|
||||
@@ -21,7 +21,7 @@
|
||||
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
*/
|
||||
|
||||
-int scale_factor_quant6[] =
|
||||
+static const int scale_factor_quant6[] =
|
||||
{
|
||||
1, 2, 2, 3, 3, 4, 6, 7,
|
||||
10, 12, 16, 20, 26, 34, 44, 56,
|
||||
@@ -33,7 +33,7 @@ int scale_factor_quant6[] =
|
||||
1819701, 2344229, 3019952, 3890451, 5011872, 6456542, 8317638, 0
|
||||
};
|
||||
|
||||
-int scale_factor_quant7[] =
|
||||
+static const int scale_factor_quant7[] =
|
||||
{
|
||||
1, 1, 2, 2, 2, 2, 3, 3,
|
||||
3, 4, 4, 5, 6, 7, 7, 8,
|
||||
@@ -54,7 +54,7 @@ int scale_factor_quant7[] =
|
||||
};
|
||||
|
||||
/* 20bits unsigned fractional binary codes */
|
||||
-int lossy_quant[] =
|
||||
+static const int lossy_quant[] =
|
||||
{
|
||||
0, 6710886, 4194304, 3355443, 2474639, 2097152, 1761608, 1426063,
|
||||
796918, 461373, 251658, 146801, 79692, 46137, 27263, 16777,
|
||||
@@ -62,7 +62,7 @@ int lossy_quant[] =
|
||||
84, 42, 21, 0, 0, 0, 0, 0
|
||||
};
|
||||
|
||||
-double lossy_quant_d[] =
|
||||
+static const double lossy_quant_d[] =
|
||||
{
|
||||
0, 1.6, 1.0, 0.8, 0.59, 0.50, 0.42, 0.34,
|
||||
0.19, 0.11, 0.06, 0.035, 0.019, 0.011, 0.0065, 0.0040,
|
||||
@@ -71,7 +71,7 @@ double lossy_quant_d[] =
|
||||
};
|
||||
|
||||
/* 20bits unsigned fractional binary codes */
|
||||
-int lossless_quant[] =
|
||||
+static const int lossless_quant[] =
|
||||
{
|
||||
0, 4194304, 2097152, 1384120, 1048576, 696254, 524288, 348127,
|
||||
262144, 131072, 65431, 33026, 16450, 8208, 4100, 2049,
|
||||
@@ -79,7 +79,7 @@ int lossless_quant[] =
|
||||
4, 2, 1, 0, 0, 0, 0, 0
|
||||
};
|
||||
|
||||
-double lossless_quant_d[] =
|
||||
+static const double lossless_quant_d[] =
|
||||
{
|
||||
0, 1.0, 0.5, 0.33, 0.25, 0.166, 0.125,
|
||||
0.083, 0.0625, 0.03125, 0.0156, 7.874E-3, 3.922E-3, 1.957E-3,
|
||||
@@ -0,0 +1,67 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>libdca</Name>
|
||||
<Homepage>http://developers.videolan.org/libdca.html</Homepage>
|
||||
<Packager>
|
||||
<Name>PisiLinux Community</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Packager>
|
||||
<License>GPLv2</License>
|
||||
<IsA>library</IsA>
|
||||
<Summary>Library for decoding DTS Coherent Acoustics streams</Summary>
|
||||
<Description>libdts is a free library for decoding DTS Coherent Acoustics streams.</Description>
|
||||
<Archive sha1sum="3fa5188eaaa2fc83fb9c4196f6695a23cb17f3bc" type="tarbz2">http://download.videolan.org/pub/videolan/libdca/0.0.5/libdca-0.0.5.tar.bz2</Archive>
|
||||
<Patches>
|
||||
<Patch level="1">libdca-0.0.5-cflags.patch</Patch>
|
||||
<Patch level="1">libdca-0.0.5-constant.patch</Patch>
|
||||
</Patches>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>libdca</Name>
|
||||
<Files>
|
||||
<Path fileType="library">/usr/lib</Path>
|
||||
<Path fileType="executable">/usr/bin</Path>
|
||||
<Path fileType="man">/usr/share/man</Path>
|
||||
<Path fileType="doc">/usr/share/doc</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>libdca-devel</Name>
|
||||
<Summary>Development files for libdca</Summary>
|
||||
<RuntimeDependencies>
|
||||
<Dependency release="current">libdca</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="header">/usr/include</Path>
|
||||
<Path fileType="data">/usr/lib/pkgconfig</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="3">
|
||||
<Date>2014-05-20</Date>
|
||||
<Version>0.0.5</Version>
|
||||
<Comment>Rebuild.</Comment>
|
||||
<Name>Serdar Soytetir</Name>
|
||||
<Email>kaptan@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="2">
|
||||
<Date>2014-01-29</Date>
|
||||
<Version>0.0.5</Version>
|
||||
<Comment>Rebuild</Comment>
|
||||
<Name>Stefan Gronewold(groni)</Name>
|
||||
<Email>groni@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="1">
|
||||
<Date>2010-10-12</Date>
|
||||
<Version>0.0.5</Version>
|
||||
<Comment>First release</Comment>
|
||||
<Name>Pisi Linux Admins</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Update>
|
||||
</History>
|
||||
</PISI>
|
||||
@@ -0,0 +1,15 @@
|
||||
<?xml version="1.0" ?>
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>libdca</Name>
|
||||
<Summary xml:lang="tr">libdts DTS tutarlı akustik streamlerini çözebilen ücretsiz bir kütüphane</Summary>
|
||||
<Description xml:lang="tr">libdts DTS tutarlı akustik streamlerini çözebilen ücretsiz bir kütüphane</Description>
|
||||
<Description xml:lang="fr">libdts est une librairie libre pour décoder les flux DTS Coherent Acoustics.</Description>
|
||||
<Description xml:lang="es">libdts es una librería libre para decodificar flujos acústicos coherentes DTS.</Description>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>libdca-devel</Name>
|
||||
<Summary xml:lang="tr">libdca için geliştirme dosyaları</Summary>
|
||||
</Package>
|
||||
</PISI>
|
||||
@@ -0,0 +1,41 @@
|
||||
#!/usr/bin/python
|
||||
# -*- coding: utf-8 -*-
|
||||
#
|
||||
# Licensed under the GNU General Public License, version 3.
|
||||
# See the file http://www.gnu.org/licenses/gpl.txt
|
||||
|
||||
from pisi.actionsapi import autotools
|
||||
from pisi.actionsapi import libtools
|
||||
from pisi.actionsapi import pisitools
|
||||
from pisi.actionsapi import shelltools
|
||||
from pisi.actionsapi import get
|
||||
|
||||
WorkDir = "soundtouch"
|
||||
|
||||
def setup():
|
||||
pisitools.dosed("source/SoundStretch/Makefile.*", "-O3", "")
|
||||
shelltools.system("sed -i 's/AM_CONFIG_HEADER/AC_CONFIG_HEADER/' configure.ac")
|
||||
shelltools.system("./bootstrap")
|
||||
autotools.configure("--enable-shared \
|
||||
--disable-dependency-tracking \
|
||||
--disable-static \
|
||||
--disable-integer-samples \
|
||||
--with-pic")
|
||||
|
||||
# Avoid rpath
|
||||
pisitools.dosed("libtool", "^hardcode_libdir_flag_spec=.*", "hardcode_libdir_flag_spec=\"\"")
|
||||
pisitools.dosed("libtool", "^runpath_var=LD_RUN_PATH", "runpath_var=DIE_RPATH_DIE")
|
||||
|
||||
def build():
|
||||
autotools.make()
|
||||
|
||||
def install():
|
||||
autotools.rawInstall("DESTDIR=%s pkgdocdir=/usr/share/doc/%s" % (get.installDIR(), get.srcNAME()))
|
||||
|
||||
# Install compat symlinks for pkgconfig files
|
||||
pisitools.dosym("/usr/lib/pkgconfig/soundtouch.pc", "/usr/lib/pkgconfig/soundtouch-1.4.pc")
|
||||
pisitools.dosym("/usr/lib/pkgconfig/soundtouch.pc", "/usr/lib/pkgconfig/SoundTouch-1.0.pc")
|
||||
pisitools.dosym("/usr/lib/pkgconfig/soundtouch.pc", "/usr/lib/pkgconfig/SoundTouch-1.4.pc")
|
||||
|
||||
# Install docs
|
||||
pisitools.dodoc("COPYING.TXT", "README.html")
|
||||
@@ -0,0 +1,64 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>soundtouch</Name>
|
||||
<Homepage>http://www.surina.net/soundtouch</Homepage>
|
||||
<Packager>
|
||||
<Name>PisiLinux Community</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Packager>
|
||||
<License>LGPLv2.1</License>
|
||||
<IsA>library</IsA>
|
||||
<IsA>app:console</IsA>
|
||||
<Summary>Audio Processing Library</Summary>
|
||||
<Description>soundtouch is an open-source audio processing library for changing the Tempo, Pitch and Playback Rates of audio streams or file.</Description>
|
||||
<Archive sha1sum="2cee2c63194227b4a58da01a7cd92b8632f139cd" type="targz">http://www.surina.net/soundtouch/soundtouch-1.8.0.tar.gz</Archive>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>soundtouch</Name>
|
||||
<Files>
|
||||
<Path fileType="executable">/usr/bin</Path>
|
||||
<Path fileType="library">/usr/lib</Path>
|
||||
<Path fileType="doc">/usr/share/doc</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>soundtouch-devel</Name>
|
||||
<Summary>Development files for soundtouch</Summary>
|
||||
<RuntimeDependencies>
|
||||
<Dependency release="current">soundtouch</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="header">/usr/include</Path>
|
||||
<Path fileType="data">/usr/lib/pkgconfig</Path>
|
||||
<Path fileType="data">/usr/share/aclocal</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="3">
|
||||
<Date>2014-07-05</Date>
|
||||
<Version>1.8.0</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Name>Alihan Öztürk</Name>
|
||||
<Email>alihan@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="2">
|
||||
<Date>2014-03-09</Date>
|
||||
<Version>1.5.0</Version>
|
||||
<Comment>Rebuild for buildhost</Comment>
|
||||
<Name>PisiLinux Community</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="1">
|
||||
<Date>2010-10-12</Date>
|
||||
<Version>1.5.0</Version>
|
||||
<Comment>First release</Comment>
|
||||
<Name>Pisi Linux Admins</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Update>
|
||||
</History>
|
||||
</PISI>
|
||||
@@ -0,0 +1,15 @@
|
||||
<?xml version="1.0" ?>
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>soundtouch</Name>
|
||||
<Description xml:lang="fr">Librairie de traitement audio open-source (libre) pour changer le Tempo, le Pitch et la vitesse de lecture de flux audio ou de fichiers.</Description>
|
||||
<Description xml:lang="es">Librería código libre para procesamiento de sonido para manipular Tempo, Pitch y Tasas de reproducción de flujos o archivos de audio</Description>
|
||||
<Summary xml:lang="tr">Ses işleme kitaplığı</Summary>
|
||||
<Description xml:lang="tr">soundtouch ses dosyalarının temposunu, oynatma hızını ve frekansını değiştirmek için kullanılabilen açık kaynaklı bir ses işleme kütüphanesidir.</Description>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>soundtouch-devel</Name>
|
||||
<Summary xml:lang="tr">soundtouch için geliştirme dosyaları</Summary>
|
||||
</Package>
|
||||
</PISI>
|
||||
@@ -14,58 +14,60 @@
|
||||
<Description>GStreamer Bad Plug-ins is a set of plug-ins that aren't up to par compared to the rest. They might be close to being good quality, but they're missing something - be it a good code review, some documentation, a set of tests, a real live maintainer, or some actual wide use.</Description>
|
||||
<Archive sha1sum="46208d7bcebaac31310e2a884cc840c51034781a" type="tarbz2">http://gstreamer.freedesktop.org/src/gst-plugins-bad/gst-plugins-bad-0.10.23.tar.bz2</Archive>
|
||||
<BuildDependencies>
|
||||
<Dependency>gstreamermm-devel</Dependency>
|
||||
<Dependency>gst-plugins-base-devel</Dependency>
|
||||
<Dependency>gstreamer-devel</Dependency>
|
||||
<Dependency versionFrom="1.7.1">DirectFB-devel</Dependency> <!-- dfbvideosink -->
|
||||
<Dependency>libcdaudio-devel</Dependency>
|
||||
<Dependency>libdc1394-devel</Dependency>
|
||||
<Dependency>libdca-devel</Dependency> <!-- dtsdec -->
|
||||
<Dependency>libdvdread-devel</Dependency>
|
||||
<Dependency>libdvdnav-devel</Dependency>
|
||||
<Dependency>soundtouch-devel</Dependency>
|
||||
<Dependency>faac-devel</Dependency>
|
||||
<Dependency>faad2-devel</Dependency>
|
||||
<Dependency>valgrind</Dependency>
|
||||
<Dependency>jasper-devel</Dependency> <!-- jp2kdec jp2kenc -->
|
||||
<Dependency>gsm-devel</Dependency> <!-- gsmenc gsmdec -->
|
||||
<Dependency>libdca-devel</Dependency>--> <!-- dtsdec -->
|
||||
<Dependency>gsm-devel</Dependency>--> <!-- gsmenc gsmdec -->
|
||||
<Dependency>mjpegtools-devel</Dependency>--> <!-- mplex mpgenc -->
|
||||
<Dependency>libdvdnav-devel</Dependency> --><!-- resindvd -->
|
||||
<Dependency>libsndfile-devel</Dependency>--> <!-- sfsrc sfsink -->
|
||||
<Dependency versionFrom="1.7.1">DirectFB-devel</Dependency> <!-- dfbvideosink -->
|
||||
<Dependency>libSM-devel</Dependency>
|
||||
<Dependency>libICE-devel</Dependency>
|
||||
<Dependency>celt-devel</Dependency>
|
||||
<Dependency>libdc1394-devel</Dependency>
|
||||
<Dependency>alsa-lib-devel</Dependency>
|
||||
<Dependency>libsdl-devel</Dependency>
|
||||
<Dependency>soundtouch-devel</Dependency>
|
||||
<Dependency>libtheora-devel</Dependency>
|
||||
<Dependency>libmodplug-devel</Dependency>
|
||||
<Dependency>xvid-devel</Dependency>
|
||||
<Dependency>libdvdread-devel</Dependency>
|
||||
<Dependency>libvdpau-devel</Dependency>
|
||||
<Dependency>rtmpdump-devel</Dependency>
|
||||
<Dependency>schroedinger-devel</Dependency>
|
||||
<Dependency>gdk-pixbuf-devel</Dependency>
|
||||
<Dependency>libvo-aacenc-devel</Dependency>
|
||||
<Dependency>libvo-amrwbenc-devel</Dependency>
|
||||
<!--<Dependency>libcdaudio-devel</Dependency>
|
||||
<Dependency>faad2-devel</Dependency>
|
||||
<Dependency>jack-audio-connection-kit-devel</Dependency>
|
||||
<Dependency>ladspa-sdk-devel</Dependency>
|
||||
<Dependency>libmms-devel</Dependency>
|
||||
<Dependency>liblrdf-devel</Dependency>
|
||||
<Dependency>libmimic-devel</Dependency>
|
||||
<Dependency>libmodplug-devel</Dependency>
|
||||
<Dependency>libmpcdec-devel</Dependency>
|
||||
<Dependency>mjpegtools-devel</Dependency> <!-- mplex mpgenc -->
|
||||
<Dependency>musicbrainz-devel</Dependency>
|
||||
<Dependency>neon-devel</Dependency>
|
||||
<Dependency>libofa-devel</Dependency>
|
||||
<Dependency>libsdl-devel</Dependency>
|
||||
<Dependency>liboil-devel</Dependency>
|
||||
<Dependency>soundtouch-devel</Dependency>
|
||||
<Dependency>libdvdnav-devel</Dependency> <!-- resindvd -->
|
||||
<Dependency>libtheora-devel</Dependency>
|
||||
<Dependency>libsndfile-devel</Dependency> <!-- sfsrc sfsink -->
|
||||
<Dependency>xvid-devel</Dependency>
|
||||
<Dependency>libdvdread-devel</Dependency>
|
||||
<Dependency>exempi-devel</Dependency>
|
||||
<Dependency>slv2-devel</Dependency>
|
||||
<Dependency>libvdpau-devel</Dependency>
|
||||
<Dependency>libkate-devel</Dependency>
|
||||
<Dependency>cairo-devel</Dependency>
|
||||
<Dependency>librsvg-devel</Dependency>
|
||||
<Dependency>libvpx-devel</Dependency>
|
||||
<Dependency>flite-devel</Dependency>
|
||||
<Dependency>rtmpdump-devel</Dependency>
|
||||
<Dependency>opencv-devel</Dependency>
|
||||
<Dependency>schroedinger-devel</Dependency>
|
||||
<Dependency>libopus-devel</Dependency>
|
||||
<Dependency>orc-devel</Dependency>
|
||||
<Dependency>zvbi-devel</Dependency>
|
||||
<Dependency>openal-devel</Dependency>
|
||||
<Dependency>gdk-pixbuf-devel</Dependency>
|
||||
<Dependency>libvo-aacenc-devel</Dependency>
|
||||
<Dependency>libvo-amrwbenc-devel</Dependency>
|
||||
<Dependency>nas-devel</Dependency>
|
||||
<Dependency>libSM-devel</Dependency>
|
||||
<Dependency>libICE-devel</Dependency>
|
||||
<Dependency>celt-devel</Dependency>
|
||||
<Dependency>nas-devel</Dependency>-->
|
||||
</BuildDependencies>
|
||||
<Patches>
|
||||
<!--Patch>02_no-Werror.patch</Patch>
|
||||
@@ -81,54 +83,29 @@
|
||||
<Dependency>gst-plugins-base</Dependency>
|
||||
<Dependency>gstreamer</Dependency>
|
||||
<Dependency versionFrom="1.7.1">DirectFB</Dependency> <!-- dfbvideosink -->
|
||||
<Dependency>libcdaudio</Dependency>
|
||||
<Dependency>nas</Dependency>
|
||||
<Dependency>celt</Dependency>
|
||||
<Dependency>libSM</Dependency>
|
||||
<Dependency>libICE</Dependency>
|
||||
<Dependency>libdc1394</Dependency>
|
||||
<Dependency>libdca</Dependency> <!-- dtsdec -->
|
||||
<Dependency>libgcc</Dependency>
|
||||
<Dependency>libpng</Dependency>
|
||||
<Dependency>faac</Dependency>
|
||||
<Dependency>faad2</Dependency>
|
||||
<Dependency>bzip2</Dependency>
|
||||
<Dependency>glib2</Dependency>
|
||||
<Dependency>jasper</Dependency> <!-- jp2kdec jp2kenc -->
|
||||
<Dependency>libX11</Dependency>
|
||||
<Dependency>gsm</Dependency> <!-- gsmenc gsmdec -->
|
||||
<Dependency>alsa-lib</Dependency>
|
||||
<Dependency>jack-audio-connection-kit</Dependency>
|
||||
<Dependency>ladspa-sdk</Dependency>
|
||||
<Dependency>libmms</Dependency>
|
||||
<Dependency>liblrdf</Dependency>
|
||||
<Dependency>libmimic</Dependency>
|
||||
<Dependency>libmodplug</Dependency>
|
||||
<Dependency>libmpcdec</Dependency>
|
||||
<Dependency>mjpegtools</Dependency> <!-- mplex mpgenc -->
|
||||
<Dependency>musicbrainz</Dependency>
|
||||
<Dependency>neon</Dependency>
|
||||
<Dependency>libofa</Dependency>
|
||||
<Dependency>libsdl</Dependency>
|
||||
<Dependency>liboil</Dependency>
|
||||
<Dependency>soundtouch</Dependency>
|
||||
<Dependency>libdvdnav</Dependency> <!-- resindvd -->
|
||||
<Dependency>libtheora</Dependency>
|
||||
<Dependency>libsndfile</Dependency> <!-- sfsrc sfsink -->
|
||||
<Dependency>libexif</Dependency> <!-- metadata -->
|
||||
<!--<Dependency>libexif</Dependency>--> <!-- metadata -->
|
||||
<Dependency>xvid</Dependency>
|
||||
<Dependency>libdvdread</Dependency>
|
||||
<Dependency>exempi</Dependency>
|
||||
<Dependency>slv2</Dependency>
|
||||
<Dependency>libvdpau</Dependency>
|
||||
<Dependency>libkate</Dependency>
|
||||
<Dependency>cairo</Dependency>
|
||||
<Dependency>librsvg</Dependency>
|
||||
<Dependency>libvpx</Dependency>
|
||||
<Dependency>flite</Dependency>
|
||||
<Dependency>rtmpdump</Dependency>
|
||||
<Dependency>opencv</Dependency>
|
||||
<Dependency>schroedinger</Dependency>
|
||||
<Dependency>libopus</Dependency>
|
||||
<Dependency>orc</Dependency>
|
||||
<Dependency>zvbi</Dependency>
|
||||
<Dependency>openal</Dependency>
|
||||
<Dependency>gdk-pixbuf</Dependency>
|
||||
<Dependency>libvo-aacenc</Dependency>
|
||||
<Dependency>libvo-amrwbenc</Dependency>
|
||||
</RuntimeDependencies>
|
||||
|
||||
@@ -0,0 +1,24 @@
|
||||
#!/usr/bin/python
|
||||
# -*- coding: utf-8 -*-
|
||||
#
|
||||
# Licensed under the GNU General Public License, version 3.
|
||||
# See the file http://www.gnu.org/licenses/gpl.txt
|
||||
|
||||
from pisi.actionsapi import autotools
|
||||
from pisi.actionsapi import pisitools
|
||||
|
||||
def setup():
|
||||
autotools.configure("--disable-static \
|
||||
--enable-experimental \
|
||||
--with-package-name='PisiLinux gstreamer-plugins-good package' \
|
||||
--with-package-origin='http://www.pisilinux.org'")
|
||||
|
||||
pisitools.dosed("libtool", " -shared ", " -Wl,-O1,--as-needed -shared ")
|
||||
|
||||
def build():
|
||||
autotools.make()
|
||||
|
||||
def install():
|
||||
autotools.install()
|
||||
|
||||
pisitools.dodoc("AUTHORS", "README", "RELEASE")
|
||||
@@ -0,0 +1,134 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>gst-plugins-good-next</Name>
|
||||
<Homepage>http://gstreamer.net/</Homepage>
|
||||
<Packager>
|
||||
<Name>PisiLinux Community</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Packager>
|
||||
<License>GPLv2</License>
|
||||
<IsA>library</IsA>
|
||||
<Summary>A set of good-quality plugins for GStreamer</Summary>
|
||||
<Description>gst-plugins-good contains a set of mature plugins and elements for GStreamer.</Description>
|
||||
<Archive sha1sum="9a416b2111429d22ff83fc492c46141d58aa3f2a" type="tarxz">http://gstreamer.freedesktop.org/src/gst-plugins-good/gst-plugins-good-1.4.5.tar.xz</Archive>
|
||||
<BuildDependencies>
|
||||
<Dependency>gst-plugins-base-next-devel</Dependency>
|
||||
<Dependency>pulseaudio-libs-devel</Dependency>
|
||||
<Dependency>gstreamer-next-devel</Dependency>
|
||||
<Dependency>libjpeg-turbo-devel</Dependency>
|
||||
<!--<Dependency>libiec61883-devel</Dependency>-->
|
||||
<Dependency>gdk-pixbuf-devel</Dependency>
|
||||
<!--<Dependency>libavc1394-devel</Dependency>-->
|
||||
<Dependency>libraw1394-devel</Dependency>
|
||||
<Dependency>libXdamage-devel</Dependency>
|
||||
<Dependency>libXfixes-devel</Dependency>
|
||||
<!--<Dependency>libproxy-devel</Dependency>-->
|
||||
<!--<Dependency>libshout-devel</Dependency>-->
|
||||
<!--<Dependency>wavpack-devel</Dependency>-->
|
||||
<!--<Dependency>libcaca-devel</Dependency>-->
|
||||
<Dependency>libsoup-devel</Dependency>
|
||||
<!--<Dependency>libsoup-gnome</Dependency>-->
|
||||
<Dependency>libXext-devel</Dependency>
|
||||
<Dependency>libv4l-devel</Dependency>
|
||||
<!--<Dependency>taglib-devel</Dependency>-->
|
||||
<Dependency>libXv-devel</Dependency>
|
||||
<Dependency>cairo-devel</Dependency>
|
||||
<Dependency>aalib-devel</Dependency>
|
||||
<Dependency>speex-devel</Dependency>
|
||||
<!--<Dependency>libdv-devel</Dependency>-->
|
||||
<Dependency>gtk2-devel</Dependency>
|
||||
<Dependency>flac-devel</Dependency>
|
||||
<Dependency>orc-devel</Dependency>
|
||||
</BuildDependencies>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>gst-plugins-good-next</Name>
|
||||
<RuntimeDependencies>
|
||||
<Dependency>orc</Dependency>
|
||||
<Dependency>flac</Dependency>
|
||||
<Dependency>zlib</Dependency>
|
||||
<Dependency>speex</Dependency>
|
||||
<Dependency>libX11</Dependency>
|
||||
<Dependency>libpng</Dependency>
|
||||
<Dependency>cairo</Dependency>
|
||||
<Dependency>glib2</Dependency>
|
||||
<Dependency>aalib</Dependency>
|
||||
<Dependency>bzip2</Dependency>
|
||||
<Dependency>libv4l</Dependency>
|
||||
<Dependency>libXext</Dependency>
|
||||
<Dependency>libsoup</Dependency>
|
||||
<Dependency>libXfixes</Dependency>
|
||||
<Dependency>gdk-pixbuf</Dependency>
|
||||
<Dependency>libXdamage</Dependency>
|
||||
<Dependency>libjpeg-turbo</Dependency>
|
||||
<Dependency>gstreamer-next</Dependency>
|
||||
<Dependency>pulseaudio-libs</Dependency>
|
||||
<Dependency>gst-plugins-base-next</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="config">/etc/gconf</Path>
|
||||
<Path fileType="executable">/usr/bin</Path>
|
||||
<Path fileType="library">/usr/lib</Path>
|
||||
<Path fileType="data">/usr/share/gstreamer-1.0/presets</Path>
|
||||
<Path fileType="doc">/usr/share/doc</Path>
|
||||
<Path fileType="doc">/usr/share/gtk-doc</Path>
|
||||
<Path fileType="man">/usr/share/man</Path>
|
||||
<Path fileType="localedata">/usr/share/locale</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="7">
|
||||
<Date>2015-04-18</Date>
|
||||
<Version>1.4.5</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Name>Yusuf Aydemir</Name>
|
||||
<Email>yusuf.aydemir@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="6">
|
||||
<Date>2014-08-22</Date>
|
||||
<Version>1.4.0</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Name>Yusuf Aydemir</Name>
|
||||
<Email>yusuf.aydemir@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="5">
|
||||
<Date>2014-05-28</Date>
|
||||
<Version>1.2.4</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Name>Alihan Öztürk</Name>
|
||||
<Email>alihan@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="4">
|
||||
<Date>2014-02-14</Date>
|
||||
<Version>1.2.3</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Name>Yusuf Aydemir</Name>
|
||||
<Email>yusuf.aydemir@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="3">
|
||||
<Date>2013-11-23</Date>
|
||||
<Version>1.2.1</Version>
|
||||
<Comment>version bump</Comment>
|
||||
<Name>Richard de Bruin</Name>
|
||||
<Email>richdb@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="2">
|
||||
<Date>2013-10-14</Date>
|
||||
<Version>1.2.0</Version>
|
||||
<Comment>version bump</Comment>
|
||||
<Name>Erdinç Gültekin</Name>
|
||||
<Email>erdincgultekin@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="1">
|
||||
<Date>2013-08-30</Date>
|
||||
<Version>1.1.4</Version>
|
||||
<Comment>First release</Comment>
|
||||
<Name>Osman Erkan</Name>
|
||||
<Email>osman.erkan@pisilinux.org</Email>
|
||||
</Update>
|
||||
</History>
|
||||
</PISI>
|
||||
@@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" ?>
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>gst-plugins-good</Name>
|
||||
<Summary xml:lang="tr">Gstreamer için temel eklentiler paketi</Summary>
|
||||
<Summary xml:lang="fr">Ensemble de plug-ins (greffons) de bonne qualité sous la licence préférée de gstreamer.</Summary>
|
||||
</Source>
|
||||
</PISI>
|
||||
@@ -0,0 +1,27 @@
|
||||
#!/usr/bin/python
|
||||
# -*- coding: utf-8 -*-
|
||||
#
|
||||
# Licensed under the GNU General Public License, version 3.
|
||||
# See the file http://www.gnu.org/licenses/gpl.txt
|
||||
|
||||
from pisi.actionsapi import autotools
|
||||
from pisi.actionsapi import pisitools
|
||||
from pisi.actionsapi import libtools
|
||||
from pisi.actionsapi import get
|
||||
|
||||
def setup():
|
||||
autotools.autoreconf("-vfi")
|
||||
autotools.configure("--disable-gtk \
|
||||
--disable-gtktest \
|
||||
--disable-static \
|
||||
--without-debug \
|
||||
--enable-sdl \
|
||||
--enable-xv")
|
||||
|
||||
def build():
|
||||
autotools.make()
|
||||
|
||||
def install():
|
||||
autotools.install()
|
||||
|
||||
pisitools.dodoc("AUTHORS", "COPYRIGHT", "ChangeLog", "NEWS", "README*", "TODO")
|
||||
@@ -0,0 +1,17 @@
|
||||
--- libdv-0.99/libdv/enc_input.c 2002-12-31 23:04:02.000000000 +0000
|
||||
+++ libdv-0.99/libdv/enc_input.c.plasmaroo 2003-12-30 16:42:19.000000000 +0000
|
||||
@@ -48,13 +48,13 @@
|
||||
|
||||
#if HAVE_DEV_VIDEO
|
||||
#include <sys/types.h>
|
||||
-#include <linux/videodev.h>
|
||||
#include <sys/time.h>
|
||||
#include <unistd.h>
|
||||
#include <fcntl.h>
|
||||
#include <sys/stat.h>
|
||||
#include <sys/ioctl.h>
|
||||
#include <sys/mman.h>
|
||||
+#include <linux/videodev.h>
|
||||
#endif
|
||||
|
||||
// #define ARCH_X86 0
|
||||
@@ -0,0 +1,12 @@
|
||||
We now need to explicitly link to libraries that we use because we can no
|
||||
longer depend on our dependencies to pull them in for us. See
|
||||
http://fedoraproject.org/wiki/UnderstandingDSOLinkChange
|
||||
|
||||
--- libdv-1.0.0/playdv/#Makefile.am~ 2010-02-15 14:49:06.000000000 -0500
|
||||
+++ libdv-1.0.0/playdv/Makefile.am 2010-02-15 14:49:06.000000000 -0500
|
||||
@@ -15,4 +15,4 @@ bin_PROGRAMS= playdv
|
||||
noinst_HEADERS= display.h oss.h
|
||||
|
||||
playdv_SOURCES= playdv.c display.c display.h oss.c
|
||||
-playdv_LDADD= $(SDL_LIBS) $(GTK_LIBS) $(XV_LIB) ../libdv/libdv.la $(POPT_LIB)
|
||||
+playdv_LDADD= $(SDL_LIBS) $(GTK_LIBS) $(XV_LIB) ../libdv/libdv.la $(POPT_LIB) -lX11 -lXext
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,11 @@
|
||||
--- libdv-1.0.0/libdv/dv.c.mmx_athlon 2004-10-20 05:49:24.000000000 +0200
|
||||
+++ libdv-1.0.0/libdv/dv.c 2009-04-11 08:52:09.000000000 +0200
|
||||
@@ -170,7 +170,7 @@
|
||||
static int done=FALSE;
|
||||
if(done) goto init_done;
|
||||
#if ARCH_X86
|
||||
- dv_use_mmx = mmx_ok();
|
||||
+ dv_use_mmx = 1;
|
||||
#endif
|
||||
|
||||
/* decoder */
|
||||
@@ -0,0 +1,76 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>libdv</Name>
|
||||
<Homepage>http://libdv.sourceforge.net/</Homepage>
|
||||
<Packager>
|
||||
<Name>PisiLinux Community</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Packager>
|
||||
<License>GPLv2</License>
|
||||
<IsA>app:console</IsA>
|
||||
<Summary>Software codec for dv-format video (camcorders etc)</Summary>
|
||||
<Description>The Quasar DV codec (libdv) is a software codec for DV video, the encoding format used by most digital camcorders, typically those that support the IEEE 1394 (a.k.a. FireWire or i.Link) interface. Libdv was developed according to the official standards for DV video: IEC 61834 and SMPTE 314M.</Description>
|
||||
<Archive sha1sum="2e5ba0e95f665d60e72cbebcf1c4989e0d6c92c8" type="targz">mirrors://sourceforge/libdv/libdv-1.0.0.tar.gz</Archive>
|
||||
<BuildDependencies>
|
||||
<Dependency>libsdl-devel</Dependency>
|
||||
<Dependency>popt-devel</Dependency>
|
||||
</BuildDependencies>
|
||||
<Patches>
|
||||
<Patch level="1">libdv-0.99-2.6.patch</Patch>
|
||||
<Patch level="1">libdv-1.0.0-pic.patch</Patch>
|
||||
<Patch level="1">libdv-1.0.0-dso-linking.patch</Patch>
|
||||
<Patch level="1">libdv-mmxdetect-athlon.patch</Patch>
|
||||
</Patches>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>libdv</Name>
|
||||
<RuntimeDependencies>
|
||||
<Dependency>popt</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="executable">/usr/bin</Path>
|
||||
<Path fileType="library">/usr/lib</Path>
|
||||
<Path fileType="doc">/usr/share/doc</Path>
|
||||
<Path fileType="man">/usr/share/man</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>libdv-devel</Name>
|
||||
<Summary>Development files for libdv</Summary>
|
||||
<RuntimeDependencies>
|
||||
<Dependency release="current">libdv</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="header">/usr/include/libdv</Path>
|
||||
<Path fileType="data">/usr/lib/pkgconfig</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="3">
|
||||
<Date>2014-05-25</Date>
|
||||
<Version>1.0.0</Version>
|
||||
<Comment>Rebuild</Comment>
|
||||
<Name>Kamil Atlı</Name>
|
||||
<Email>suvarice@gmail.com</Email>
|
||||
</Update>
|
||||
<Update release="2">
|
||||
<Date>2014-01-29</Date>
|
||||
<Version>1.0.0</Version>
|
||||
<Comment>Rebuild</Comment>
|
||||
<Name>Stefan Gronewold(groni)</Name>
|
||||
<Email>groni@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="1">
|
||||
<Date>2010-10-12</Date>
|
||||
<Version>1.0.0</Version>
|
||||
<Comment>First release</Comment>
|
||||
<Name>Pisi Linux Admins</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Update>
|
||||
</History>
|
||||
</PISI>
|
||||
@@ -0,0 +1,15 @@
|
||||
<?xml version="1.0" ?>
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>libdv</Name>
|
||||
<Summary xml:lang="tr">Dijital video (kaydedici cihazlar vs) için çözümleme yazılımı</Summary>
|
||||
<Description xml:lang="tr">Quasar DV codec (libdv), DV video için çözümleyicidir. Bu dosya biçimi çoğu dijital kameralarda (özellikle de IEEE 1394) kullanılır. Libdv, DV videonun resmi standartları olan IEC 61834 ve SMPTE 314M'ye göre geliştirilmiştir.</Description>
|
||||
<Description xml:lang="fr">Le codec Quasar DV (libdv) est un codec logiciel pour la vidéo DV, le format d'encodage utilisé par la plupart des caméras numériques, typiquement celles gérant l'interface IEEE 1394 (a.k.a. FireWire ou i.Link). Libdv a été développé selon les standards officiels pour la vidéo DV : IEC 61834 et SMPTE 314M.</Description>
|
||||
<Description xml:lang="es">El codec Quasar DV (libdv) es un codec de software para video DV, el formato de codificación usado en la mayoría de los camcorders digitales, que típicamente soportan la interfaz IEEE 1394 (alias FireWire o i.Link). Libdv fue desarrollado de conforme los estándares oficiales para video DV: IEC 61834 y SMPTE 314M.</Description>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>libdv-devel</Name>
|
||||
<Summary xml:lang="tr">libdv için geliştirme dosyaları</Summary>
|
||||
</Package>
|
||||
</PISI>
|
||||
Reference in New Issue
Block a user