Changeset e58633393c744fcc1b0809c23a69dac68195183c

Show
Ignore:
Timestamp:
20/06/08 22:48:50 (4 months ago)
Author:
Pavlov Konstantin <thresh@videolan.org>
git-committer:
Pavlov Konstantin <thresh@videolan.org> 1213994930 +0400
git-parent:

[4c270ec59c7e10e41c224a44f874d306cb81e5e6]

git-author:
Pavlov Konstantin <thresh@videolan.org> 1213993244 +0400
Message:

Update dirac support to 0.10.0.
Require it in configure as well.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • configure.ac

    r4c270ec re586333  
    35723572[  --enable-dirac          experimental dirac codec (default disabled)]) 
    35733573if test "${enable_dirac}" = "yes"; then 
    3574   PKG_CHECK_MODULES(DIRAC,[dirac >= 0.9.0], [ 
     3574  PKG_CHECK_MODULES(DIRAC,[dirac >= 0.10.0], [ 
    35753575      VLC_ADD_PLUGIN([dirac]) 
    35763576      VLC_ADD_CFLAGS([dirac],[$DIRAC_CFLAGS]) 
    35773577      VLC_ADD_LIBS([dirac],[$DIRAC_LIBS -lstdc++]) ],[ 
    3578       AC_MSG_ERROR([libdirac doesn't appear to be installed on you system.]) 
     3578      AC_MSG_ERROR([libdirac >= 0.10.0 doesn't appear to be installed on your system.]) 
    35793579  ]) 
    35803580fi 
  • extras/contrib/src/Makefile

    r98a8a73 re586333  
    21852185dirac: dirac-$(DIRAC_VERSION).tar.gz 
    21862186    $(EXTRACT_GZ) 
    2187     patch -p0 <Patches/dirac-cross.patch 
     2187    patch -p1 -d dirac <Patches/dirac-cross.patch 
    21882188ifdef HAVE_CYGWIN 
    21892189    # incorrect compile warning with cygwin compiler 3.4.4 
    21902190    patch -p0 <Patches/dirac-cygwin.patch 
    21912191endif 
    2192     (cd $@; aclocal && autoconf && automake) 
     2192    (cd $@; aclocal -I m4 && autoconf && automake) 
    21932193 
    21942194DIRAC_SUBDIRS = libdirac_byteio libdirac_common libdirac_motionest libdirac_encoder libdirac_decoder 
  • extras/contrib/src/Patches/dirac-cross.patch

    r52576d0 re586333  
    1 diff -ruN dirac-0.6.0.old/Makefile.am dirac-0.6.0/Makefile.am 
    2 --- dirac/Makefile.am   2007-03-27 00:17:15.000000000 +0200 
    3 +++ dirac/Makefile.am   2007-03-27 00:18:31.000000000 +0200 
    4 @@ -2,17 +2,12 @@ 
    5  # 
     1diff --git a/Makefile.am b/Makefile.am 
     2index dfd6b87..e534452 100644 
     3--- a/Makefile.am 
     4+++ b/Makefile.am 
     5@@ -3,17 +3,12 @@ 
    66  
    7  SUBDIRS = libdirac_byteio libdirac_common libdirac_motionest libdirac_encoder libdirac_decoder \ 
    8 -encoder decoder util $(CPPUNITTESTS_DIR) tests $(DOC_DIR) win32 
    9 +encoder decoder util $(CPPUNITTESTS_DIR) win32 
     7 SUBDIRS = libdirac_byteio libdirac_common libdirac_motionest libdirac_encoder \ 
     8           libdirac_decoder encoder decoder util $(CPPUNITTESTS_DIR) \ 
     9-          tests $(DOC_DIR) win32 
     10+          win32 
    1011  
    1112 .PHONY: valgrind-check 
     
    2122 if HAVE_LATEX 
    2223 DOC_DIR = doc 
    23 diff -ruN dirac-0.6.0.old/configure.ac dirac-0.6.0/configure.ac 
    24 --- dirac/configure.ac  2007-03-27 00:17:15.000000000 +0200 
    25 +++ dirac/configure.ac  2007-03-27 00:19:52.000000000 +0200 
    26 @@ -143,7 +143,7 @@ 
     24diff --git a/configure.ac b/configure.ac 
     25index a4d0d84..975a83d 100644 
     26--- a/configure.ac 
     27+++ b/configure.ac 
     28@@ -149,7 +149,7 @@ dnl Checks for optional files in doc directory. 
    2729 dnl algorithm documentation is not distributed in 
    2830 dnl the release. It is available only from CVS 
     
    3335  
    3436 dnl ----------------------------------------------- 
    35 @@ -151,7 +151,7 @@ 
     37@@ -157,7 +157,7 @@ dnl Checks for optional files in doc directory. 
    3638 dnl Enhancements is not distributed in 
    3739 dnl the release. It is available only from CVS 
     
    4244  
    4345 dnl ----------------------------------------------- 
    44 @@ -159,7 +159,7 @@ 
     46@@ -165,7 +165,7 @@ dnl Checks for optional files in doc directory. 
    4547 dnl Global Motion documentation is not distributed in 
    4648 dnl the release. It is available only from CVS 
     
    5153  
    5254 dnl ----------------------------------------------- 
    53 @@ -167,7 +167,7 @@ 
     55@@ -173,7 +173,7 @@ dnl Checks for optional files in doc directory. 
    5456 dnl Upconversion doc is not distributed in 
    5557 dnl the release. It is available only from CVS 
     
    6062  
    6163 dnl ----------------------------------------------- 
    62 @@ -175,7 +175,7 @@ 
     64@@ -181,7 +181,7 @@ dnl Checks for optional files in doc directory. 
    6365 dnl programmer's guide is not distributed in 
    6466 dnl the release. It is available only from CVS 
     
    6971  
    7072 dnl ----------------------------------------------- 
    71 @@ -183,7 +183,7 @@ 
     73@@ -189,7 +189,7 @@ dnl Checks for optional files in doc directory. 
    7274 dnl Diagnostics tools docs are is not distributed in 
    7375 dnl the release. It is available only from CVS 
     
    7880  
    7981 dnl ----------------------------------------------- 
    80 --- dirac/libdirac_common/band_codec.cpp    2007-07-06 23:20:51.000000000 +0200 
    81 +++ dirac/libdirac_common/band_codec.cpp    2007-03-27 18:29:13.000000000 +0200 
    82 @@ -433,7 +433,7 @@ 
     82diff --git a/libdirac_common/band_codec.cpp b/libdirac_common/band_codec.cpp 
     83index f750906..bfe6e75 100644 
     84--- a/libdirac_common/band_codec.cpp 
     85+++ b/libdirac_common/band_codec.cpp 
     86@@ -433,7 +433,7 @@ inline int BandCodec::ChooseFollowContext( const int bin_number ) const 
    8387         } 
    8488  
     
    8892 } 
    8993  
    90  inline int BandCodec::ChooseInfoContext() const 7 
     94 inline int BandCodec::ChooseInfoContext() const 
  • extras/contrib/src/packages.mak

    r83aca3e re586333  
    195195XML_URL=$(VIDEOLAN)/testing/contrib/libxml2-$(XML_VERSION).tar.gz 
    196196#XML_URL=http://xmlsoft.org/sources/libxml2-$(XML_VERSION).tar.gz 
    197 DIRAC_VERSION=0.9.1 
     197DIRAC_VERSION=0.10.0 
    198198DIRAC_URL=$(SF)/dirac/dirac-$(DIRAC_VERSION).tar.gz 
    199199DX_HEADERS_URL=$(VIDEOLAN)/testing/contrib/win32-dx7headers.tgz 
  • modules/codec/dirac.c

    r3561b9b re586333  
    276276            break; 
    277277 
    278         case STATE_PICTURE_START: 
    279             msg_Dbg( p_dec, "PICTURE_START: frame_type=%i frame_num=%d", 
    280                      p_sys->p_dirac->frame_params.ftype, 
    281                      p_sys->p_dirac->frame_params.fnum ); 
    282             break; 
    283  
    284278        case STATE_PICTURE_AVAIL: 
    285             msg_Dbg( p_dec, "PICTURE_AVAI : frame_type=%i frame_num=%d", 
    286                      p_sys->p_dirac->frame_params.ftype, 
    287                      p_sys->p_dirac->frame_params.fnum ); 
     279            msg_Dbg( p_dec, "PICTURE_AVAIL : frame_num=%d", 
     280                     p_sys->p_dirac->frame_num ); 
    288281 
    289282            /* Picture available for display */ 
     
    477470    encoder_sys_t *p_sys = p_enc->p_sys; 
    478471 
    479     msg_Dbg( p_enc, "resulting bit-rate: %i bits/sec", 
     472    msg_Dbg( p_enc, "resulting bit-rate: %lld bits/sec", 
    480473             p_sys->p_dirac->enc_seqstats.bit_rate ); 
    481474