theora.git
11 years agomerge changes from theora-trunk theora-oil
j [Mon, 28 Nov 2005 16:23:34 +0000 (16:23 +0000)]
merge changes from theora-trunk

svn path=/branches/theora-oil/; revision=10497

11 years agoFix off-by-one error in the quant-range size decode.
Tim Terriberry [Wed, 23 Nov 2005 07:22:49 +0000 (07:22 +0000)]
Fix off-by-one error in the quant-range size decode.
The code was correct; the spec was wrong.

svn path=/trunk/theora/; revision=10422

11 years agoFix #740 - doubling LDFLAGS
Thomas Vander Stichele [Tue, 15 Nov 2005 10:46:17 +0000 (10:46 +0000)]
Fix #740 - doubling LDFLAGS

svn path=/trunk/theora/; revision=10380

11 years agoupdated Symbian build for inverted DISABLE_FLOAT option.
Conrad Parker [Fri, 4 Nov 2005 05:56:01 +0000 (05:56 +0000)]
updated Symbian build for inverted DISABLE_FLOAT option.
Patch from Jeremy Lee

svn path=/trunk/theora/; revision=10333

11 years agoipr update
lu_zero [Wed, 2 Nov 2005 01:11:07 +0000 (01:11 +0000)]
ipr update

svn path=/trunk/theora/; revision=10320

11 years agoOpps, forgot the corresponding free->_ogg_free
Ralph Giles [Thu, 27 Oct 2005 23:18:26 +0000 (23:18 +0000)]
Opps, forgot the corresponding free->_ogg_free

svn path=/trunk/theora/; revision=10308

11 years agoCorrect a bar malloc() call to use _ogg_malloc().
Ralph Giles [Wed, 26 Oct 2005 20:42:34 +0000 (20:42 +0000)]
Correct a bar malloc() call to use _ogg_malloc().

svn path=/trunk/theora/; revision=10305

11 years agoAdded kfish.
Tim Terriberry [Fri, 21 Oct 2005 23:52:16 +0000 (23:52 +0000)]
Added kfish.

svn path=/trunk/theora/; revision=10226

11 years agoMinor changes
lu_zero [Fri, 21 Oct 2005 13:53:08 +0000 (13:53 +0000)]
Minor changes

svn path=/trunk/theora/; revision=10224

11 years agofilename changed to conform to the avt quidelines
lu_zero [Fri, 21 Oct 2005 02:49:30 +0000 (02:49 +0000)]
filename changed to conform to the avt quidelines

svn path=/trunk/theora/; revision=10220

11 years agoFirst commit
lu_zero [Fri, 21 Oct 2005 01:49:47 +0000 (01:49 +0000)]
First commit

svn path=/trunk/theora/; revision=10217

11 years agoAdd one more patch contributor and fix the eol-style.
Tim Terriberry [Thu, 20 Oct 2005 17:20:33 +0000 (17:20 +0000)]
Add one more patch contributor and fix the eol-style.

svn path=/trunk/theora/; revision=10213

11 years ago* Add authors file
Zentaro Kavanagh [Thu, 20 Oct 2005 15:47:42 +0000 (15:47 +0000)]
* Add authors file

svn path=/trunk/theora/; revision=10212

12 years agoSome minor fixes and clarifications.
Tim Terriberry [Thu, 6 Oct 2005 20:23:56 +0000 (20:23 +0000)]
Some minor fixes and clarifications.

svn path=/trunk/theora/; revision=10136

12 years ago* VS2003 files
Zentaro Kavanagh [Wed, 5 Oct 2005 07:42:45 +0000 (07:42 +0000)]
* VS2003 files

svn path=/trunk/theora/; revision=10123

12 years agobuild test with OGG_CFLAGS - fixes build when having ogg
Thomas Vander Stichele [Thu, 29 Sep 2005 17:04:18 +0000 (17:04 +0000)]
build test with OGG_CFLAGS - fixes build when having ogg
only in a non-system include dir

svn path=/trunk/theora/; revision=10096

12 years agoadd OGG_CFLAGS and VORBIS_CFLAGS as appropriate in Makefile.am's, to build
Conrad Parker [Wed, 28 Sep 2005 17:08:13 +0000 (17:08 +0000)]
add OGG_CFLAGS and VORBIS_CFLAGS as appropriate in Makefile.am's, to build
examples correctly when these are installed in non-standard locations.
Closes ticket:711

svn path=/trunk/theora/; revision=10087

12 years agoadd check for GNU ld when using version script, was broken on Solaris for
Conrad Parker [Wed, 28 Sep 2005 16:41:47 +0000 (16:41 +0000)]
add check for GNU ld when using version script, was broken on Solaris for
non-GNU builds. Patch from Brian Cameron, closes ticket:712

svn path=/trunk/theora/; revision=10086

12 years agoremove Makefile.am
Thomas Vander Stichele [Wed, 7 Sep 2005 18:36:32 +0000 (18:36 +0000)]
remove Makefile.am

svn path=/trunk/theora/; revision=9987

12 years agodist the debian stuff in a way that avoids the MacOSX HFS issue
Thomas Vander Stichele [Wed, 7 Sep 2005 18:34:19 +0000 (18:34 +0000)]
dist the debian stuff in a way that avoids the MacOSX HFS issue

svn path=/trunk/theora/; revision=9986

12 years agopatch from Nehal for win32
Thomas Vander Stichele [Wed, 7 Sep 2005 17:20:25 +0000 (17:20 +0000)]
patch from Nehal for win32

svn path=/trunk/theora/; revision=9983

12 years agofix CFLAGS so only player_example uses the SDL ones
Thomas Vander Stichele [Mon, 5 Sep 2005 18:31:27 +0000 (18:31 +0000)]
fix CFLAGS so only player_example uses the SDL ones

svn path=/trunk/theora/; revision=9965

12 years agofix CFLAGS so only player_example uses the SDL ones
Thomas Vander Stichele [Mon, 5 Sep 2005 18:29:50 +0000 (18:29 +0000)]
fix CFLAGS so only player_example uses the SDL ones

svn path=/trunk/theora/; revision=9964

12 years agobreak out acinclude.m4 into an m4 dir
Thomas Vander Stichele [Mon, 5 Sep 2005 18:04:35 +0000 (18:04 +0000)]
break out acinclude.m4 into an m4 dir

svn path=/trunk/theora/; revision=9962

12 years agoadding pkg.m4 to acinclude.m4, for people that don't have pkg-config
Thomas Vander Stichele [Mon, 5 Sep 2005 17:51:28 +0000 (17:51 +0000)]
adding pkg.m4 to acinclude.m4, for people that don't have pkg-config

svn path=/trunk/theora/; revision=9961

12 years agoAdd getopt replacement to the dump_video example build. We started
Ralph Giles [Thu, 25 Aug 2005 19:00:39 +0000 (19:00 +0000)]
Add getopt replacement to the dump_video example build. We started
depending on it without hooking up the replacement, breaking things
on systems that didn't provide it by default.

svn path=/trunk/theora/; revision=9853

12 years agodo not cast PixelPtr in FilterVert, so its the same as in FilterHoriz
j [Sun, 21 Aug 2005 19:43:14 +0000 (19:43 +0000)]
do not cast PixelPtr in FilterVert, so its the same as in FilterHoriz

svn path=/branches/theora-oil/; revision=9825

12 years agoremove some variables in relation to CopyBlock
j [Sun, 21 Aug 2005 19:42:23 +0000 (19:42 +0000)]
remove some variables in relation to CopyBlock

svn path=/branches/theora-oil/; revision=9824

12 years agomerge changes from trunk to theora-oil
j [Sat, 20 Aug 2005 23:36:24 +0000 (23:36 +0000)]
merge changes from trunk to theora-oil

svn path=/branches/theora-oil/; revision=9815

12 years agoBump version numbers post-release.
Ralph Giles [Sat, 20 Aug 2005 20:06:31 +0000 (20:06 +0000)]
Bump version numbers post-release.

svn path=/trunk/theora/; revision=9806

12 years agoBump global copyright date.
Ralph Giles [Sat, 20 Aug 2005 19:37:00 +0000 (19:37 +0000)]
Bump global copyright date.

svn path=/trunk/theora/; revision=9796

12 years agoDon't take an argument for the -r/--raw option in dump_video. I'm not
Ralph Giles [Sat, 20 Aug 2005 19:13:54 +0000 (19:13 +0000)]
Don't take an argument for the -r/--raw option in dump_video. I'm not
sure why it was done this way; we can make an argument optional later
if we want to add more than one "raw" output format.

svn path=/trunk/theora/; revision=9793

12 years agowhitespace removal
Thomas Vander Stichele [Sat, 20 Aug 2005 18:46:00 +0000 (18:46 +0000)]
whitespace removal

svn path=/trunk/theora/; revision=9791

12 years agoBump library version numbers for code changes + new api entry.
Ralph Giles [Sat, 20 Aug 2005 18:42:15 +0000 (18:42 +0000)]
Bump library version numbers for code changes + new api entry.

svn path=/trunk/theora/; revision=9789

12 years agoUpdate various version numbers, the README, and fix a doc typo.
Ralph Giles [Sat, 20 Aug 2005 18:40:27 +0000 (18:40 +0000)]
Update various version numbers, the README, and fix a doc typo.

svn path=/trunk/theora/; revision=9788

12 years agoUpdate CHANGES for release.
Ralph Giles [Sat, 20 Aug 2005 18:28:13 +0000 (18:28 +0000)]
Update CHANGES for release.

svn path=/trunk/theora/; revision=9787

12 years agoAdd code to read the alternate frame qi values if available. Since we
Ralph Giles [Sat, 20 Aug 2005 18:27:40 +0000 (18:27 +0000)]
Add code to read the alternate frame qi values if available. Since we
don't yet parse or use the per-block alt qi mapping, we return OC_IMPL
the number of qi values in the frame is different from 1.

svn path=/trunk/theora/; revision=9786

12 years agoRemove the check for only 3 base matricies from the setup header
Ralph Giles [Sat, 20 Aug 2005 18:10:00 +0000 (18:10 +0000)]
Remove the check for only 3 base matricies from the setup header
read function now that we have hacky half-support for more.

svn path=/trunk/theora/; revision=9785

12 years agoAdd some comments and remove unnecessary casts.
Ralph Giles [Sat, 20 Aug 2005 18:01:11 +0000 (18:01 +0000)]
Add some comments and remove unnecessary casts.

svn path=/trunk/theora/; revision=9784

12 years agoAdd a missing header to the distribution. Patch from the -oil branch.
Ralph Giles [Sat, 20 Aug 2005 17:45:20 +0000 (17:45 +0000)]
Add a missing header to the distribution. Patch from the -oil branch.

svn path=/trunk/theora/; revision=9783

12 years agoClarify the ogg version required.
Ralph Giles [Sat, 20 Aug 2005 17:32:28 +0000 (17:32 +0000)]
Clarify the ogg version required.

svn path=/trunk/theora/; revision=9782

12 years agoReplace the SadTemp macro with inline functions. Patch from j^, who
Ralph Giles [Sat, 20 Aug 2005 04:28:45 +0000 (04:28 +0000)]
Replace the SadTemp macro with inline functions. Patch from j^, who
reports no speed difference. Note that inline will need to be protected
in config.h eventually.

svn path=/branches/theora-oil/; revision=9779

12 years agoApply http://people.xiph.org/~j/theora.oil-j-2005-08-19.patch the latest
Ralph Giles [Fri, 19 Aug 2005 18:11:52 +0000 (18:11 +0000)]
Apply people.xiph.org/~j/theora.oil-j-2005-08-19.patch the latest
version of the liboil patch.

svn path=/branches/theora-oil/; revision=9774

12 years agochange libtheora_la_LIBS to libtheora_la_LIBADD
j [Sat, 6 Aug 2005 14:03:34 +0000 (14:03 +0000)]
change libtheora_la_LIBS to libtheora_la_LIBADD
that way the shared library is properly linked.
[its *_la_LIBADD in vorbis too]

svn path=/trunk/theora/; revision=9707

12 years agoadd configuration summary to ./configure output
Conrad Parker [Fri, 5 Aug 2005 09:52:02 +0000 (09:52 +0000)]
add configuration summary to ./configure output

svn path=/trunk/theora/; revision=9702

12 years agofix memory leak in theora_encoder_clear()
Conrad Parker [Fri, 5 Aug 2005 06:43:12 +0000 (06:43 +0000)]
fix memory leak in theora_encoder_clear()
+ found with valgrind on tests/noop
+ tested against libogg. A cursory reading of libogg2 source in svn
suggests that this one-liner should work there too, however libtheora
does not currently configure against libogg2 anyway.

svn path=/trunk/theora/; revision=9701

12 years agoAdd a tests directory to libtheora.
Conrad Parker [Fri, 5 Aug 2005 06:30:52 +0000 (06:30 +0000)]
Add a tests directory to libtheora.
+ Add --enable-valgrind-testing option to ./configure to run test suite under
  valgrind
+ Add noop test which simply creates and deletes an encoder, a decoder, and
  a comment object. The point of this is to provide a baseline for finding
  memory leaks in libtheora-created objects.
  * This noop test identifies a small memory leak in the encoder
  * Testing of the decoder is commented out pending discussion, as the test
  segfaults. Resolving this needs developer feedback on the test code.
+ Add a test of the comments API. This is a simple test which uses all
  theora_comment_*() API functions and checks that return values are correct.
  This provides full coverage of the comments API.

svn path=/trunk/theora/; revision=9700

12 years agoadd Version_script listing exported symbols for GNU (ELF only) and Solaris ld.
Conrad Parker [Fri, 5 Aug 2005 04:20:17 +0000 (04:20 +0000)]
add Version_script listing exported symbols for GNU (ELF only) and Solaris ld.

* For background discussion, see:
  http://lists.xiph.org/pipermail/theora-dev/2005-August/002823.html

* For details on version-script, see:
  http://www.gnu.org/software/binutils/manual/ld-2.9.1/html_node/ld_25.html

svn path=/trunk/theora/; revision=9699

12 years agoClean up header file documentation with consistent capitalization and
Conrad Parker [Fri, 5 Aug 2005 04:07:16 +0000 (04:07 +0000)]
Clean up header file documentation with consistent capitalization and
ensure all function arguments are documented.

svn path=/trunk/theora/; revision=9698

12 years agoSomeone's being picky...
Mike Smith [Fri, 29 Jul 2005 16:08:39 +0000 (16:08 +0000)]
Someone's being picky...

svn path=/trunk/theora/; revision=9645

12 years agoInvert default, make it work a little better.
Mike Smith [Fri, 29 Jul 2005 16:03:28 +0000 (16:03 +0000)]
Invert default, make it work a little better.

svn path=/trunk/theora/; revision=9644

12 years agoAdd an option to dump_video to create output compatible with encoder_example
Mike Smith [Fri, 29 Jul 2005 15:45:23 +0000 (15:45 +0000)]
Add an option to dump_video to create output compatible with encoder_example

svn path=/trunk/theora/; revision=9643

12 years agoTurn on debugging info in the default gcc build.
Ralph Giles [Tue, 26 Jul 2005 01:15:05 +0000 (01:15 +0000)]
Turn on debugging info in the default gcc build.

svn path=/trunk/theora/; revision=9625

12 years agoAdd support for separate per-channel Intra and Inter Y,U,V quant matricies.
Ralph Giles [Mon, 25 Jul 2005 22:36:01 +0000 (22:36 +0000)]
Add support for separate per-channel Intra and Inter Y,U,V quant matricies.
Doesn't appear to break VP3-compatible files but is otherwise untested.

svn path=/trunk/theora/; revision=9624

12 years agoRewrite CopyQTables to read the range table from codec_setup_info
Ralph Giles [Mon, 25 Jul 2005 21:21:08 +0000 (21:21 +0000)]
Rewrite CopyQTables to read the range table from codec_setup_info
as best it can instead of just blindly copying the first three
matricies. We still only support the Y, UV and Inter slots.

svn path=/trunk/theora/; revision=9623

12 years agoRemove the capability for a separate UV DcScaleFactorTable. This freedom
Ralph Giles [Sun, 24 Jul 2005 21:45:38 +0000 (21:45 +0000)]
Remove the capability for a separate UV DcScaleFactorTable. This freedom
isn't allowed by the spec and is vestigial in the code.

svn path=/trunk/theora/; revision=9620

12 years agoMore cleanup associated with the ZigZag rename.
Ralph Giles [Sun, 24 Jul 2005 21:24:41 +0000 (21:24 +0000)]
More cleanup associated with the ZigZag rename.

svn path=/trunk/theora/; revision=9619

12 years agoRename the zigzag to row order block coefficient lookup table to
Ralph Giles [Sun, 24 Jul 2005 21:16:06 +0000 (21:16 +0000)]
Rename the zigzag to row order block coefficient lookup table to
the more explicative name (de)zigzag_quant[].

svn path=/trunk/theora/; revision=9618

12 years agoReplace a for loop with a memset, which save a few % in the unoptimized
Ralph Giles [Sun, 24 Jul 2005 08:41:45 +0000 (08:41 +0000)]
Replace a for loop with a memset, which save a few % in the unoptimized
profile. Also correct a comment typo.

svn path=/trunk/theora/; revision=9613

12 years agoSlight code rearrangement. One the decode side, store the Q Index
Ralph Giles [Sun, 24 Jul 2005 06:32:34 +0000 (06:32 +0000)]
Slight code rearrangement. One the decode side, store the Q Index
value from the frame header directly in the playback state instead
of inverting it in UpdateQ(). Also move UpdateQ() into the frame
header parse from LoadAndDecode().

This actually removed the LastFrameQualityValue != ThisFrameQualityValue
check before recalculating the Q matricies. This should either be replaced
with a check against the previous Q Index (or single QI frames) or
LastFrameQualityValue should go away entirely; but this involves
disentangling the encoder's use of the field.

svn path=/trunk/theora/; revision=9612

12 years agoCorrect a pointer addressing error in the quant table range storage.
Ralph Giles [Sun, 24 Jul 2005 05:38:58 +0000 (05:38 +0000)]
Correct a pointer addressing error in the quant table range storage.
Hooray for cross-platform testing.

svn path=/trunk/theora/; revision=9611

12 years agoThe 'encoder_internal.h' includes decoder and shared state objects as
Ralph Giles [Sat, 23 Jul 2005 23:59:34 +0000 (23:59 +0000)]
The 'encoder_internal.h' includes decoder and shared state objects as
well; rename it to 'codec_internal.h'.

svn path=/trunk/theora/; revision=9608

12 years agoAdd some comments to the internal header.
Ralph Giles [Sat, 23 Jul 2005 21:46:26 +0000 (21:46 +0000)]
Add some comments to the internal header.

svn path=/trunk/theora/; revision=9607

12 years agoFix a typo.
Ralph Giles [Sat, 23 Jul 2005 20:13:38 +0000 (20:13 +0000)]
Fix a typo.

svn path=/trunk/theora/; revision=9603

12 years agofix a possibly uninitialized value
Thomas Vander Stichele [Mon, 11 Jul 2005 10:37:57 +0000 (10:37 +0000)]
fix a possibly uninitialized value

svn path=/trunk/theora/; revision=9559

12 years agofix for case-insensitive file systems picking up debian/changelog in DIST_COMMON
Thomas Vander Stichele [Thu, 7 Jul 2005 13:24:35 +0000 (13:24 +0000)]
fix for case-insensitive file systems picking up debian/changelog in DIST_COMMON

svn path=/trunk/theora/; revision=9553

12 years agoFix a type-aliasing warning.
Ralph Giles [Tue, 28 Jun 2005 13:47:25 +0000 (13:47 +0000)]
Fix a type-aliasing warning.

svn path=/trunk/theora/; revision=9535

12 years agoAdd experimental scons build file.
Ralph Giles [Tue, 28 Jun 2005 11:32:52 +0000 (11:32 +0000)]
Add experimental scons build file.

svn path=/trunk/theora/; revision=9533

12 years agoDocument that theora_granule_time() may return -1.0 with
Ralph Giles [Tue, 28 Jun 2005 10:10:48 +0000 (10:10 +0000)]
Document that theora_granule_time() may return -1.0 with
--disable-float. Also, a granulepos of -1 is undefined, not
invalid.

svn path=/trunk/theora/; revision=9532

12 years agoInvert the sense of and make optional the defines to disable floating
Ralph Giles [Tue, 28 Jun 2005 09:58:47 +0000 (09:58 +0000)]
Invert the sense of and make optional the defines to disable floating
point and encode support. This way one gets a fully-functioning
libtheora by default in a naive build without having to specifically
enable these options.

Result of spending an hour trying to figure out why playback didn't work
with the scons build: theora_granule_time() was implementated but never
returned a useful timestamp because floats were disabled.

svn path=/trunk/theora/; revision=9531

12 years agoClarify some comments.
Ralph Giles [Mon, 27 Jun 2005 11:41:20 +0000 (11:41 +0000)]
Clarify some comments.

svn path=/trunk/theora/; revision=9529

12 years agoCode cleanup: remove commented-out debug prints.
Ralph Giles [Mon, 27 Jun 2005 11:28:02 +0000 (11:28 +0000)]
Code cleanup: remove commented-out debug prints.

svn path=/trunk/theora/; revision=9528

12 years agoCode cleanup. Define frame types as KEY_FRAME and DELTA_FRAME instead of
Ralph Giles [Mon, 27 Jun 2005 10:47:51 +0000 (10:47 +0000)]
Code cleanup. Define frame types as KEY_FRAME and DELTA_FRAME instead of
BASE_FRAME and NORMAL_FRAME, which terms aren't used anywhere else. The
spec uses 'intra' and 'inter' but those are hard to distinguish
visually.

svn path=/trunk/theora/; revision=9527

12 years agoCorrectly handle --enable-encode and --enable-float on the configure
Ralph Giles [Wed, 22 Jun 2005 15:52:33 +0000 (15:52 +0000)]
Correctly handle --enable-encode and --enable-float on the configure
commandline. Previously, these had the opposite effect. Patch from
Edward Hervey.

svn path=/trunk/theora/; revision=9507

12 years agoUpdate CHANGES with fixes so far.
Ralph Giles [Wed, 22 Jun 2005 12:43:30 +0000 (12:43 +0000)]
Update CHANGES with fixes so far.

svn path=/trunk/theora/; revision=9506

12 years agoAdd a theora_granule_shift() utility function to extract the shift from
Ralph Giles [Wed, 22 Jun 2005 11:40:55 +0000 (11:40 +0000)]
Add a theora_granule_shift() utility function to extract the shift from
the theora_info struct. This is convenient for those wanting to inspect
the granulepos themselves who are still using libtheora.

svn path=/trunk/theora/; revision=9505

12 years agoRemeber the range table for the quant matricies from the setup header.
Ralph Giles [Mon, 20 Jun 2005 16:42:25 +0000 (16:42 +0000)]
Remeber the range table for the quant matricies from the setup header.

svn path=/trunk/theora/; revision=9495

12 years agoenable maintainer mode for autogen builds by default
Thomas Vander Stichele [Sat, 18 Jun 2005 15:55:21 +0000 (15:55 +0000)]
enable maintainer mode for autogen builds by default

svn path=/trunk/theora/; revision=9471

12 years agoRemove prototype for testing function.
Ralph Giles [Tue, 14 Jun 2005 13:37:52 +0000 (13:37 +0000)]
Remove prototype for testing function.

svn path=/trunk/theora/; revision=9451

12 years agoDocument the normal return value of theora_decode_packetin().
Ralph Giles [Tue, 14 Jun 2005 12:08:06 +0000 (12:08 +0000)]
Document the normal return value of theora_decode_packetin().

svn path=/trunk/theora/; revision=9449

12 years ago[22:31:40] <Andy_NJ> It's about a crash in theora_granule_time...
Monty [Tue, 14 Jun 2005 02:42:47 +0000 (02:42 +0000)]
[22:31:40] <Andy_NJ> It's about a crash in theora_granule_time...
[22:32:21] <Andy_NJ> In a newsgroup I found a short discussion on that, unfortunately the discussion ended without answering my problem...
[22:33:06] <xiphmont> {I don't know about the newsgroup, but keep going}
[22:33:22] <Andy_NJ> There it was pointed out that  theora_granule_time could crash because of the theora_state struct not beeing initialized properly
[22:33:38] <xiphmont> yes; you need to have successfully read the header for the function call to work.
[22:34:00] <Andy_NJ> I think I've done that.
[22:34:31] <Andy_NJ> The point is that when building the lib using encoder_disabled, the encoder part of the state get's not initizlied
[22:35:21] <xiphmont> [I wrote the original libtheora... three years ago; I'm unfamiliar with changes made since then, such as being able to build without the encoder]
[22:35:41] <xiphmont> let me have a quick look
[22:37:58] <Andy_NJ> That would be great...
[22:38:22] <xiphmont> OK... reading the code, the call only depends on decode state, however...
[22:38:39] <xiphmont> this relies on encode state being nulled; it's possible that part isn;t happening (looking)
[22:39:26] <xiphmont> In fact, that looks like the problem.
[22:41:06] <xiphmont> at a guess, add the following line:
[22:41:19] <xiphmont> th->internal_encode = NULL;
[22:41:30] <xiphmont> after line 298 in lib/toplevel.c
[22:42:18] <xiphmont> if you can give that a try and see if it solves the problem, I'll submit a bug report/patch.

svn path=/trunk/theora/; revision=9447

12 years ago- move library checks before stuff that checks examples
Thomas Vander Stichele [Mon, 6 Jun 2005 13:06:47 +0000 (13:06 +0000)]
- move library checks before stuff that checks examples
- don't build encoder example if vorbis is not present
- random typos and fixes

svn path=/trunk/theora/; revision=9374

12 years agofix up -local rules so that make distcheck works
Thomas Vander Stichele [Mon, 6 Jun 2005 13:05:03 +0000 (13:05 +0000)]
fix up -local rules so that make distcheck works

svn path=/trunk/theora/; revision=9373

12 years agoRemove the speculative note about start-time granulepos. We decided against this...
Ralph Giles [Sat, 4 Jun 2005 15:26:05 +0000 (15:26 +0000)]
Remove the speculative note about start-time granulepos. We decided against this some time ago.

svn path=/trunk/theora/; revision=9349

12 years agoUpdate link to Mike Melanson's VP3 spec.
Ralph Giles [Sun, 22 May 2005 15:55:41 +0000 (15:55 +0000)]
Update link to Mike Melanson's VP3 spec.

svn path=/trunk/theora/; revision=9300

12 years agoUpdate to v0.5 of Mike Melanson's VP3 documentation.
Ralph Giles [Sun, 22 May 2005 15:53:01 +0000 (15:53 +0000)]
Update to v0.5 of Mike Melanson's VP3 documentation.

svn path=/trunk/theora/; revision=9299

12 years agoFix DC-unprediction so that it resets the "LASTDC" predictors between each
Tim Terriberry [Fri, 6 May 2005 13:37:25 +0000 (13:37 +0000)]
Fix DC-unprediction so that it resets the "LASTDC" predictors between each
 color plane.

svn path=/trunk/theora/; revision=9219

12 years agoAvoid division by zero in RegulateQ when there are no coded blocks.
Tim Terriberry [Sun, 1 May 2005 18:53:43 +0000 (18:53 +0000)]
Avoid division by zero in RegulateQ when there are no coded blocks.

svn path=/trunk/theora/; revision=9197

12 years agoRemove extraneous executable bit.
Tim Terriberry [Mon, 25 Apr 2005 21:33:07 +0000 (21:33 +0000)]
Remove extraneous executable bit.

svn path=/trunk/theora/; revision=9184

12 years agoAlso reset the dropped frame count, as a frame with no changed blocks is
Tim Terriberry [Fri, 4 Mar 2005 21:04:09 +0000 (21:04 +0000)]
Also reset the dropped frame count, as a frame with no changed blocks is
 semantically different from a "dropped" frame.

svn path=/trunk/theora/; revision=9038

12 years agoHere is a patch that fixes distortions that appear during scenes with no
j [Fri, 4 Mar 2005 20:23:11 +0000 (20:23 +0000)]
Here is a patch that fixes distortions that appear during scenes with no
motion. Tbe problem was that UpdateFrame() was not being called when a
MotionScore of 0 was computed. Since UpdateFrame() was not called the buffer
returned by theora_encode_packetout() would be the same buffer that was output
for the last frame that had a non-zero MotionScore. This is obviously incorrect
behavior. I've just moved the UpdateFrame() out of the (MotionScore > 0)
conditional block.

I've also included my change that prevents the encoder from spending WAY to
many bits on keyframes. This helps prevent the artifact where the video
suddenly gets very clear when keyframes occur but gets progressively blurry
for interframes. This change helps minimize some of the drastic Q changes
that cause this artifact.

Aaron

svn path=/trunk/theora/; revision=9037

12 years agochange OSS check so it only warns if it does not find any of the possible soundcard...
j [Thu, 3 Mar 2005 16:58:45 +0000 (16:58 +0000)]
change OSS check so it only warns if it does not find any of the possible soundcard.h files

svn path=/trunk/theora/; revision=9029

12 years agoadd debian/watch file to theora
j [Thu, 3 Mar 2005 04:22:22 +0000 (04:22 +0000)]
add debian/watch file to theora

svn path=/trunk/theora/; revision=9015

12 years agoCorrect a typo.
Ralph Giles [Sun, 27 Feb 2005 17:33:08 +0000 (17:33 +0000)]
Correct a typo.

svn path=/trunk/theora/; revision=8993

12 years agoavi2vp3 cleanup.
Ralph Giles [Sun, 27 Feb 2005 05:07:42 +0000 (05:07 +0000)]
avi2vp3 cleanup.

open() on win32 requires an O_BINARY flag. If this flag isn't defined by
the os, we define it to 0 so that it has no effect when or'd with the
other flags.

win32 also doesn't define to the mode flags, so fall back to a manual
0644 constant.

AVI_max_video_chunk() returns zero on files without an idx table: fall back
to a 128K buffer in such cases. This is cleaner than the universal 32K buffer
used in the theora-tools version.

Based on a patch from Nehal Mistry.

svn path=/trunk/theora/; revision=8991

12 years agoExplictly null out our theora_state in theora_decode_init.
Tim Terriberry [Sat, 26 Feb 2005 03:44:24 +0000 (03:44 +0000)]
Explictly null out our theora_state in theora_decode_init.
The structure was already nulled in theora_encode_init, but not in decode,
 which made theora_granule_time crash when it tried to access internal_encode
 to determine whether the state is for an encoder or a decoder.
Thanks to Nehal for the catch.

svn path=/trunk/theora/; revision=8987

12 years agoRemove the executable property from some source files.
Tim Terriberry [Sat, 26 Feb 2005 03:38:17 +0000 (03:38 +0000)]
Remove the executable property from some source files.

svn path=/trunk/theora/; revision=8986

12 years agoFix copy/paste error in the iDCT pseudocode.
Tim Terriberry [Sat, 26 Feb 2005 03:32:30 +0000 (03:32 +0000)]
Fix copy/paste error in the iDCT pseudocode.
Thanks to ruik for the catch.

svn path=/trunk/theora/; revision=8985

12 years agoInitial commit.
philkerr [Tue, 1 Feb 2005 03:59:18 +0000 (03:59 +0000)]
Initial commit.

svn path=/trunk/theora/; revision=8816

12 years agoInitial commit.
philkerr [Tue, 1 Feb 2005 03:58:44 +0000 (03:58 +0000)]
Initial commit.

svn path=/trunk/theora/; revision=8815