Changeset e58633393c744fcc1b0809c23a69dac68195183c
- 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
| r4c270ec |
re586333 |
|
| 3572 | 3572 | [ --enable-dirac experimental dirac codec (default disabled)]) |
|---|
| 3573 | 3573 | if test "${enable_dirac}" = "yes"; then |
|---|
| 3574 | | PKG_CHECK_MODULES(DIRAC,[dirac >= 0.9.0], [ |
|---|
| | 3574 | PKG_CHECK_MODULES(DIRAC,[dirac >= 0.10.0], [ |
|---|
| 3575 | 3575 | VLC_ADD_PLUGIN([dirac]) |
|---|
| 3576 | 3576 | VLC_ADD_CFLAGS([dirac],[$DIRAC_CFLAGS]) |
|---|
| 3577 | 3577 | 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.]) |
|---|
| 3579 | 3579 | ]) |
|---|
| 3580 | 3580 | fi |
|---|
| r98a8a73 |
re586333 |
|
| 2185 | 2185 | dirac: dirac-$(DIRAC_VERSION).tar.gz |
|---|
| 2186 | 2186 | $(EXTRACT_GZ) |
|---|
| 2187 | | patch -p0 <Patches/dirac-cross.patch |
|---|
| | 2187 | patch -p1 -d dirac <Patches/dirac-cross.patch |
|---|
| 2188 | 2188 | ifdef HAVE_CYGWIN |
|---|
| 2189 | 2189 | # incorrect compile warning with cygwin compiler 3.4.4 |
|---|
| 2190 | 2190 | patch -p0 <Patches/dirac-cygwin.patch |
|---|
| 2191 | 2191 | endif |
|---|
| 2192 | | (cd $@; aclocal && autoconf && automake) |
|---|
| | 2192 | (cd $@; aclocal -I m4 && autoconf && automake) |
|---|
| 2193 | 2193 | |
|---|
| 2194 | 2194 | DIRAC_SUBDIRS = libdirac_byteio libdirac_common libdirac_motionest libdirac_encoder libdirac_decoder |
|---|
| 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 | | # |
|---|
| | 1 | diff --git a/Makefile.am b/Makefile.am |
|---|
| | 2 | index dfd6b87..e534452 100644 |
|---|
| | 3 | --- a/Makefile.am |
|---|
| | 4 | +++ b/Makefile.am |
|---|
| | 5 | @@ -3,17 +3,12 @@ |
|---|
| 6 | 6 | |
|---|
| 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 |
|---|
| 10 | 11 | |
|---|
| 11 | 12 | .PHONY: valgrind-check |
|---|
| … | … | |
| 21 | 22 | if HAVE_LATEX |
|---|
| 22 | 23 | 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 @@ |
|---|
| | 24 | diff --git a/configure.ac b/configure.ac |
|---|
| | 25 | index a4d0d84..975a83d 100644 |
|---|
| | 26 | --- a/configure.ac |
|---|
| | 27 | +++ b/configure.ac |
|---|
| | 28 | @@ -149,7 +149,7 @@ dnl Checks for optional files in doc directory. |
|---|
| 27 | 29 | dnl algorithm documentation is not distributed in |
|---|
| 28 | 30 | dnl the release. It is available only from CVS |
|---|
| … | … | |
| 33 | 35 | |
|---|
| 34 | 36 | dnl ----------------------------------------------- |
|---|
| 35 | | @@ -151,7 +151,7 @@ |
|---|
| | 37 | @@ -157,7 +157,7 @@ dnl Checks for optional files in doc directory. |
|---|
| 36 | 38 | dnl Enhancements is not distributed in |
|---|
| 37 | 39 | dnl the release. It is available only from CVS |
|---|
| … | … | |
| 42 | 44 | |
|---|
| 43 | 45 | dnl ----------------------------------------------- |
|---|
| 44 | | @@ -159,7 +159,7 @@ |
|---|
| | 46 | @@ -165,7 +165,7 @@ dnl Checks for optional files in doc directory. |
|---|
| 45 | 47 | dnl Global Motion documentation is not distributed in |
|---|
| 46 | 48 | dnl the release. It is available only from CVS |
|---|
| … | … | |
| 51 | 53 | |
|---|
| 52 | 54 | dnl ----------------------------------------------- |
|---|
| 53 | | @@ -167,7 +167,7 @@ |
|---|
| | 55 | @@ -173,7 +173,7 @@ dnl Checks for optional files in doc directory. |
|---|
| 54 | 56 | dnl Upconversion doc is not distributed in |
|---|
| 55 | 57 | dnl the release. It is available only from CVS |
|---|
| … | … | |
| 60 | 62 | |
|---|
| 61 | 63 | dnl ----------------------------------------------- |
|---|
| 62 | | @@ -175,7 +175,7 @@ |
|---|
| | 64 | @@ -181,7 +181,7 @@ dnl Checks for optional files in doc directory. |
|---|
| 63 | 65 | dnl programmer's guide is not distributed in |
|---|
| 64 | 66 | dnl the release. It is available only from CVS |
|---|
| … | … | |
| 69 | 71 | |
|---|
| 70 | 72 | dnl ----------------------------------------------- |
|---|
| 71 | | @@ -183,7 +183,7 @@ |
|---|
| | 73 | @@ -189,7 +189,7 @@ dnl Checks for optional files in doc directory. |
|---|
| 72 | 74 | dnl Diagnostics tools docs are is not distributed in |
|---|
| 73 | 75 | dnl the release. It is available only from CVS |
|---|
| … | … | |
| 78 | 80 | |
|---|
| 79 | 81 | 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 @@ |
|---|
| | 82 | diff --git a/libdirac_common/band_codec.cpp b/libdirac_common/band_codec.cpp |
|---|
| | 83 | index 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 |
|---|
| 83 | 87 | } |
|---|
| 84 | 88 | |
|---|
| … | … | |
| 88 | 92 | } |
|---|
| 89 | 93 | |
|---|
| 90 | | inline int BandCodec::ChooseInfoContext() const 7 |
|---|
| | 94 | inline int BandCodec::ChooseInfoContext() const |
|---|
| r83aca3e |
re586333 |
|
| 195 | 195 | XML_URL=$(VIDEOLAN)/testing/contrib/libxml2-$(XML_VERSION).tar.gz |
|---|
| 196 | 196 | #XML_URL=http://xmlsoft.org/sources/libxml2-$(XML_VERSION).tar.gz |
|---|
| 197 | | DIRAC_VERSION=0.9.1 |
|---|
| | 197 | DIRAC_VERSION=0.10.0 |
|---|
| 198 | 198 | DIRAC_URL=$(SF)/dirac/dirac-$(DIRAC_VERSION).tar.gz |
|---|
| 199 | 199 | DX_HEADERS_URL=$(VIDEOLAN)/testing/contrib/win32-dx7headers.tgz |
|---|
| r3561b9b |
re586333 |
|
| 276 | 276 | break; |
|---|
| 277 | 277 | |
|---|
| 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 | | |
|---|
| 284 | 278 | 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 ); |
|---|
| 288 | 281 | |
|---|
| 289 | 282 | /* Picture available for display */ |
|---|
| … | … | |
| 477 | 470 | encoder_sys_t *p_sys = p_enc->p_sys; |
|---|
| 478 | 471 | |
|---|
| 479 | | msg_Dbg( p_enc, "resulting bit-rate: %i bits/sec", |
|---|
| | 472 | msg_Dbg( p_enc, "resulting bit-rate: %lld bits/sec", |
|---|
| 480 | 473 | p_sys->p_dirac->enc_seqstats.bit_rate ); |
|---|
| 481 | 474 | |
|---|