7 years agoRemove _BIND_TO_CURRENT_CRT_VERSION from the MSVC build. Trac #1720. theora-1.1
Ralph Giles [Sun, 8 May 2011 01:38:18 +0000 (01:38 +0000)]
Remove _BIND_TO_CURRENT_CRT_VERSION from the MSVC build. Trac #1720.

This is preferred, matches our other project files, and echoes
trunk r17780.

svn path=/branches/theora-1.1/; revision=17978

7 years agoDon't build the specification by default. Trac #1773.
Ralph Giles [Sat, 7 May 2011 22:54:49 +0000 (22:54 +0000)]
Don't build the specification by default. Trac #1773.

A dependency loop in the spec makefile causes Theora.pdf
to be rebuilt even when it's up to date, such as a fresh
build from a release package. This confuses some tools.

This really just a makefile bug; I would like to find a
better fix for trunk, but for now we can work around
the problem by not (re)building the spec by default.

NB: this means one needs to './configure --enable-spec'
before trying 'make dist'.

svn path=/branches/theora-1.1/; revision=17977

7 years agoReplace dist-bzip2 with dist-xz. This requires automake 1.11.
Ralph Giles [Sat, 7 May 2011 22:38:53 +0000 (22:38 +0000)]
Replace dist-bzip2 with dist-xz. This requires automake 1.11.

svn path=/branches/theora-1.1/; revision=17976

7 years agoRemove an unused variable.
Ralph Giles [Sat, 7 May 2011 22:35:30 +0000 (22:35 +0000)]
Remove an unused variable.

Silences a warning under gcc 4.6.

svn path=/branches/theora-1.1/; revision=17975

7 years agoMerge whitespace cleanup in the examples from trunk.
Ralph Giles [Sat, 7 May 2011 22:31:49 +0000 (22:31 +0000)]
Merge whitespace cleanup in the examples from trunk.

svn path=/branches/theora-1.1/; revision=17974

7 years agoMerge spec updates from trunk.
Ralph Giles [Sat, 7 May 2011 22:09:04 +0000 (22:09 +0000)]
Merge spec updates from trunk.

svn path=/branches/theora-1.1/; revision=17972

7 years agoAdded Visual Studiop 2010 project files.
Cristian Adam [Tue, 21 Sep 2010 19:04:31 +0000 (19:04 +0000)]
Added Visual Studiop 2010 project files.

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

8 years agoFix a changelog typo.
Ralph Giles [Wed, 5 May 2010 21:43:41 +0000 (21:43 +0000)]
Fix a changelog typo.

Patch from Michael Kohler, trac issue #1695.

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

8 years agopng2theora: Correct handling for odd sizes.
Gregory Maxwell [Mon, 15 Mar 2010 02:14:42 +0000 (02:14 +0000)]
png2theora: Correct handling for odd sizes.

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

8 years agoRemoved Release_SSE and Release SSE2 configurations. Changed Windows Mobile 5.0 confi...
Cristian Adam [Thu, 18 Feb 2010 17:12:09 +0000 (17:12 +0000)]
Removed Release_SSE and Release SSE2 configurations. Changed Windows Mobile 5.0 configuration from "Pocket PC SDK 2 (ARMV4I)" to "Pocket PC SDK (ARMV4I)", version "2" was generated by versions of Windows Mobile 5.0 SDK which are no longer available on MSDN.

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

8 years agoplayer_example.c: Switch to the same careful conversion code as is used by the telemetry
Gregory Maxwell [Thu, 11 Feb 2010 06:41:20 +0000 (06:41 +0000)]
player_example.c: Switch to the same careful conversion code as is used by the telemetry

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

8 years agoUpdated to current libvorbis version (1.2.3)
Cristian Adam [Mon, 8 Feb 2010 20:42:47 +0000 (20:42 +0000)]
Updated to current libvorbis version (1.2.3)

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

8 years agopng2theora: Simple filtered down-sampling for 4:2:0 and 4:2:2 to improve quality...
Gregory Maxwell [Wed, 6 Jan 2010 21:53:00 +0000 (21:53 +0000)]
png2theora: Simple filtered down-sampling for 4:2:0 and 4:2:2 to improve quality. The elimination of a frame copy offsets the increased processing, for me this is about 2% faster for 4:2:0.

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

8 years agoAdd support for a "422jpeg" chroma tag on YUV4MPEG2 input and output.
Tim Terriberry [Mon, 28 Dec 2009 14:27:33 +0000 (14:27 +0000)]
Add support for a "422jpeg" chroma tag on YUV4MPEG2 input and output.
This is not an official tag, but none of the official tags support the chroma
 sampling Theora uses (i.e., JPEG's).
Using this new tag allows YUV4MPEG2 input and output without chroma resampling.

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

8 years agoUse /bin/echo explictly in so -n works on MacOS X.
Ralph Giles [Sat, 19 Dec 2009 21:15:15 +0000 (21:15 +0000)]
Use /bin/echo explictly in so -n works on MacOS X.

On MacOS X, when invoked as /bin/sh, the built-in implementation of
'echo' on GNU Bash (v3.2.17 on MacOS 10.5 and v3.2.38 on MacOS 10.6)
ignores the -n option, resulting in output like

  checking for autoconf...
  -n checking for automake 1.7 or later...

instead of the expected

  checking for autoconf...
  checking for automake 1.7 or later... automake

However, the /bin/echo command works correctly. I've not checked if
this is an issue with GNU Bash 3.2 or just Apple's versions; echo -n
works as expected in Bash 4.0.35 on my Linux machine.

I've replaced some, but not all of the invocations too keep things
readable. The only important ones are those with the -n argument.

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

8 years agoDocument changes so far.
Ralph Giles [Sat, 19 Dec 2009 20:51:34 +0000 (20:51 +0000)]
Document changes so far.

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

8 years agoClean up some unused variables.
Tim Terriberry [Sat, 19 Dec 2009 00:56:34 +0000 (00:56 +0000)]
Clean up some unused variables.

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

8 years agoMinor config.h clean-up.
Tim Terriberry [Sat, 19 Dec 2009 00:52:46 +0000 (00:52 +0000)]
Minor config.h clean-up.
config.h is not available in most of our build systems, and as little code as
 possible should depend on it.

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

8 years agoApply symbol versioning went building on hurd and kfreebsd; those
Ralph Giles [Sun, 13 Dec 2009 18:31:17 +0000 (18:31 +0000)]
Apply symbol versioning went building on hurd and kfreebsd; those
platforms also use the GNU linker.

Patch from John Ferlito.

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

8 years agoFix image padding offsets for 64-bit platforms (broken in r16714).
Tim Terriberry [Mon, 30 Nov 2009 07:57:27 +0000 (07:57 +0000)]
Fix image padding offsets for 64-bit platforms (broken in r16714).

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

8 years agolinked statically to c runtime for windows mobile.
Cristian Adam [Wed, 25 Nov 2009 23:05:52 +0000 (23:05 +0000)]
linked statically to c runtime for windows mobile.

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

8 years agoRemove an extraneous comma (the TI compiler complains).
Tim Terriberry [Sun, 22 Nov 2009 04:01:45 +0000 (04:01 +0000)]
Remove an extraneous comma (the TI compiler complains).
Patch from David Schleef.

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

8 years agoChange the type of the bitpacker window to size_t.
Tim Terriberry [Sun, 22 Nov 2009 03:46:08 +0000 (03:46 +0000)]
Change the type of the bitpacker window to size_t.
This solves a problem for TI C64x+ DSPs, where sizeof(long)==8, but longs
 really only contain 40 bits of data.
It should still yield the preferred type on every other platform (e.g., 64
 bits for x86-64), and as a bonus is now also correct for 64-bit Windows.

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

8 years agoAdd API support for passing the encoder a buffer the size of the picture
Tim Terriberry [Sun, 22 Nov 2009 03:34:21 +0000 (03:34 +0000)]
Add API support for passing the encoder a buffer the size of the picture
 region, instead of the size of a full frame.
This was always possible with the 1.0 API, but now we'll do the pointer
 arithmetic so that applications don't have to.

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

8 years agoDocument changes so far.
Ralph Giles [Tue, 17 Nov 2009 07:00:01 +0000 (07:00 +0000)]
Document changes so far.

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

8 years agoLink libtheoraenc with libtheoradec at build time, as required by some
Ralph Giles [Mon, 16 Nov 2009 20:32:14 +0000 (20:32 +0000)]
Link libtheoraenc with libtheoradec at build time, as required by some

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

8 years agoMake libtool use -no-undefined for our libs, otherwise it doesn't build
Mike Smith [Mon, 16 Nov 2009 19:41:19 +0000 (19:41 +0000)]
Make libtool use -no-undefined for our libs, otherwise it doesn't build
shared libraries on some platforms.

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

8 years agoConvert to the preferred form: Xiph.Org.
Tim Terriberry [Sun, 15 Nov 2009 23:02:31 +0000 (23:02 +0000)]
Convert to the preferred form: Xiph.Org.

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

8 years agoFix incorrect usage of local variable notation for a non-local variable.
Tim Terriberry [Sun, 15 Nov 2009 23:00:49 +0000 (23:00 +0000)]
Fix incorrect usage of local variable notation for a non-local variable.

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

8 years agoFix Huffman table decoding when OC_HUFF_SLUSH is defined to be 0.
Tim Terriberry [Sun, 15 Nov 2009 00:40:55 +0000 (00:40 +0000)]
Fix Huffman table decoding when OC_HUFF_SLUSH is defined to be 0.

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

8 years agoRequire automake 1.7 which is the first version to support docdir.
Ralph Giles [Thu, 29 Oct 2009 10:32:30 +0000 (10:32 +0000)]
Require automake 1.7 which is the first version to support docdir.

Use of the built-in --docdir option was assumed by r16634, but systems
with automake-1.6 installed would warn that it was unsupported. Updating
the minimum version to 1.7 ensures a supporting automake is called.

Note this means we require at least MacOS X 10.5 to build out of
the box on that platform.

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

8 years agoalso check for aclocal-1.11
j [Thu, 29 Oct 2009 10:28:40 +0000 (10:28 +0000)]
also check for aclocal-1.11

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

8 years agosecond patch from ticket #1597
j [Sun, 11 Oct 2009 16:24:55 +0000 (16:24 +0000)]
second patch from ticket #1597
* don't set docdir in doc/{,spec/} so
  that docdir can actually be set with --docdir=foo

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

8 years agofirst patch from ticket #1597
j [Sun, 11 Oct 2009 16:22:30 +0000 (16:22 +0000)]
first patch from ticket #1597
 * use AM_SILENT_RULES if available
 * add configure switch for building the API docs
 * fix mistake in valgrind-testing switch, where $ac_enable_valgrind was always set to "yes" if --enable-valgrind-testing *OR* --disable-valgrind-testing was passed
 * use AS_HELP_STRING for ./configure --help niceness

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

8 years agoplayer_example.c: Fix frame size handling broken by switch to 1.1 api in r16451
Gregory Maxwell [Sat, 10 Oct 2009 05:50:52 +0000 (05:50 +0000)]
player_example.c: Fix frame size handling broken by switch to 1.1 api in r16451

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

8 years agoAlso remove floating point from clamp().
Tim Terriberry [Fri, 9 Oct 2009 01:42:37 +0000 (01:42 +0000)]
Also remove floating point from clamp().

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

8 years agoSlightly better RGB->Y'CbCr conversion (no floating point, correct offsets and
Tim Terriberry [Fri, 9 Oct 2009 01:41:16 +0000 (01:41 +0000)]
Slightly better RGB->Y'CbCr conversion (no floating point, correct offsets and
This still does not account for gamma or RGB primaries/whitepoint, and is not

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

8 years agoalso check for automake-1.10
j [Fri, 9 Oct 2009 01:25:06 +0000 (01:25 +0000)]
also check for automake-1.10

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

8 years agoplayer_example.c: Eliminate floats from initialization; switch to more accurate coeff...
Gregory Maxwell [Wed, 7 Oct 2009 05:30:46 +0000 (05:30 +0000)]
player_example.c: Eliminate floats from initialization; switch to more accurate coefficients and use all available precision (doesn't matter, but why not?)

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

8 years agoAdd software YUV->RGB for 4:4:4 to player example because SDL YUV overlay does not...
Gregory Maxwell [Mon, 5 Oct 2009 20:23:44 +0000 (20:23 +0000)]
Add software YUV->RGB for 4:4:4 to player example because SDL YUV overlay does not support this mode.

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

8 years agoBump versioning after the 1.1.1 release.
Ralph Giles [Thu, 1 Oct 2009 18:08:57 +0000 (18:08 +0000)]
Bump versioning after the 1.1.1 release.

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

8 years agoUpdate versions and changelog for the 1.1.1 release. v1.1.1
Ralph Giles [Thu, 1 Oct 2009 18:00:57 +0000 (18:00 +0000)]
Update versions and changelog for the 1.1.1 release.

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

8 years agoChanged the C runtime library to the default option - dynamic runtime library.
Cristian Adam [Tue, 29 Sep 2009 22:46:49 +0000 (22:46 +0000)]
Changed the C runtime library to the default option - dynamic runtime library.

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

8 years agoupdate pkg.m4
j [Mon, 28 Sep 2009 16:52:44 +0000 (16:52 +0000)]
update pkg.m4

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

8 years agoreplace existing libtool files if running
j [Mon, 28 Sep 2009 16:49:40 +0000 (16:49 +0000)]
replace existing libtool files if running

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

8 years agoUpdate the version number in the readme; we're no longer beta.
Ralph Giles [Sat, 26 Sep 2009 20:55:46 +0000 (20:55 +0000)]
Update the version number in the readme; we're no longer beta.

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

8 years agoFix a problem with the MSVC asm.
Tim Terriberry [Sat, 26 Sep 2009 19:35:55 +0000 (19:35 +0000)]
Fix a problem with the MSVC asm.
Thanks to Matthew Gregan for the patch.

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

8 years agoFrom Mozilla 455357_wince_local_variable_macro_clash_patch
Gregory Maxwell [Fri, 25 Sep 2009 22:56:16 +0000 (22:56 +0000)]
From Mozilla 455357_wince_local_variable_macro_clash_patch

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

8 years agoRemoved EBX register usage in inline MSVC assembly.
Cristian Adam [Fri, 25 Sep 2009 19:50:48 +0000 (19:50 +0000)]
Removed EBX register usage in inline MSVC assembly.

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

8 years agoAdd encoder_disabled.c to the distribution.
Ralph Giles [Fri, 25 Sep 2009 15:29:31 +0000 (15:29 +0000)]
Add encoder_disabled.c to the distribution.

This is an optional file which supports the --disable-encode option to
configure. Such source files must be listed separately in EXTRA_DIST
to be included in a release.

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

8 years agoUse 1.1.0+svn instead of 1.1.1svn for the package version between the
Ralph Giles [Fri, 25 Sep 2009 15:12:22 +0000 (15:12 +0000)]
Use 1.1.0+svn instead of 1.1.1svn for the package version between the
1.1.0 and 1.1.1 releases. This again improves sorting and gives better
results with pkg-config.

Thanks to j^ for the suggestion.

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

8 years agoBump the version after the 1.1.0 release.
Ralph Giles [Fri, 25 Sep 2009 06:55:18 +0000 (06:55 +0000)]
Bump the version after the 1.1.0 release.

Also, remove periods after the 1.1.0 CHANGES entries to match the other
sections of that file.

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

8 years agoBump the version number and change log for the 1.1.0 release. v1.1.0
Ralph Giles [Thu, 24 Sep 2009 19:18:41 +0000 (19:18 +0000)]
Bump the version number and change log for the 1.1.0 release.

Note that we're switching to a three-part version number here, like the
other xiph code projects use. This has some implications for pkg-config.
There was a problem with the 1.0 release because pkg-config sorted '1.0'
later than '1.0beta3'. To work around this, the pkg-config files for the
1.0 release give the version at '1.0final'. Anything with 1.1 version
sorts after 1.0, but 1.1.x doesn't sort after the 1.1beta versions we've
already released. The 1.1 beta period was much shorter than for 1.0, so
I've switched schemes for this release. Requesting 'theoradec >=
1.0final' or 'theoradec >= 1.1.0' will work, but not, for
example, 'theoradec >= 1.1beta2'.

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

8 years agoBump library so versioning for decoder changes since the last release.
Ralph Giles [Thu, 24 Sep 2009 18:26:22 +0000 (18:26 +0000)]
Bump library so versioning for decoder changes since the last release.

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

8 years agoFix handling of 0-byte packet as the first frame.
Tim Terriberry [Tue, 15 Sep 2009 04:21:05 +0000 (04:21 +0000)]
Fix handling of 0-byte packet as the first frame.

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

8 years agoFix 4:2:2 in player_example; broken by the switch to the 1.0 api
Gregory Maxwell [Wed, 9 Sep 2009 17:53:13 +0000 (17:53 +0000)]
Fix 4:2:2 in player_example; broken by the switch to the 1.0 api

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

8 years agoRemove some redundant stores from oc_filter_vedge().
Tim Terriberry [Sat, 5 Sep 2009 19:30:33 +0000 (19:30 +0000)]
Remove some redundant stores from oc_filter_vedge().
Thanks to Robin Watts for the report.

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

8 years agoThe examples have been ported to the 1.x api and are no longer useful
Ralph Giles [Tue, 1 Sep 2009 03:07:14 +0000 (03:07 +0000)]
The examples have been ported to the 1.x api and are no longer useful
references for using the legacy api.

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

8 years agoUpdate copyright year on the public library headers.
Ralph Giles [Mon, 31 Aug 2009 22:52:42 +0000 (22:52 +0000)]
Update copyright year on the public library headers.

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

8 years agoFix a doxygen warning about duplicate \mainpage attributes.
Ralph Giles [Mon, 31 Aug 2009 22:49:44 +0000 (22:49 +0000)]
Fix a doxygen warning about duplicate \mainpage attributes.

The original \mainpage directive in theora.h was shadowed by the newer
one in codec.h, generating a warning. This was probably reliable since
the later comes first in sort order, but was still infelicitous.

I've just commuted the second to file-level documenation. I've not
figured out how to get it on the 'Legacy pre-1.0 API' module
documenation page, which is where it should be.

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

8 years agoDocumenation fix: the legacy api uses an OC_ prefix for error
Ralph Giles [Mon, 31 Aug 2009 22:30:22 +0000 (22:30 +0000)]
Documenation fix: the legacy api uses an OC_ prefix for error
defines. Use this in the documentation rather than the TH_
prefix from the 1.x api.

The numerical error codes are the same, so no harm came from
the mislabelling, but this is much less confusing as far as
which header is which.

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

8 years agoDocumentation fix: some calls were documented to return TH_IMPL, but
Ralph Giles [Mon, 31 Aug 2009 22:25:40 +0000 (22:25 +0000)]
Documentation fix: some calls were documented to return TH_IMPL, but
the actual define in code.h is TH_EIMPL.

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

8 years agoLink the two encoding examles with the math library for rint().
Ralph Giles [Fri, 28 Aug 2009 08:42:36 +0000 (08:42 +0000)]
Link the two encoding examles with the math library for rint().

This is redundant for encoder_example, since the vorbis libs
already bring in -lm, but it's better to have consistent references.

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

8 years agoCorrect a bug where the bit usage telemetry can freak out if the FPS
Monty [Wed, 26 Aug 2009 12:31:38 +0000 (12:31 +0000)]
Correct a bug where the bit usage telemetry can freak out if the FPS
ration consists of large integers

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

8 years agoFix an ignored fread() warning.
Ralph Giles [Tue, 25 Aug 2009 19:48:57 +0000 (19:48 +0000)]
Fix an ignored fread() warning.

GCC now warns if the return code for fread() and similar functions is
ignored, but it can be pacified just by assigning it to a variable.
Clang isn't pursuaded by this and still warns that nothing is done
to check the result.

This combines the dummy read of the 4 byte chunk size (which we ignore)
with the subsequent read for the 'WAVE' chunk id so that the length
check covers both.

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

8 years agoBump version number post-release.
Ralph Giles [Sat, 22 Aug 2009 18:22:02 +0000 (18:22 +0000)]
Bump version number post-release.

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

8 years agoUpdate copyright year on the OggTheora source code.
Ralph Giles [Sat, 22 Aug 2009 18:14:02 +0000 (18:14 +0000)]
Update copyright year on the OggTheora source code.

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

8 years agoDocumentation updates.
Ralph Giles [Sat, 22 Aug 2009 18:02:08 +0000 (18:02 +0000)]
Documentation updates.

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

8 years agoBump soname revision numbers for release.
Ralph Giles [Sat, 22 Aug 2009 17:54:35 +0000 (17:54 +0000)]
Bump soname revision numbers for release.

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

8 years agoUpdate version and change log for 1.1beta3.
Ralph Giles [Sat, 22 Aug 2009 17:53:42 +0000 (17:53 +0000)]
Update version and change log for 1.1beta3.

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

8 years agoBump vendor string for today's encoder changes.
Ralph Giles [Sat, 22 Aug 2009 17:53:26 +0000 (17:53 +0000)]
Bump vendor string for today's encoder changes.

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

8 years agoMore rate control tweaks.
Tim Terriberry [Sat, 22 Aug 2009 15:50:28 +0000 (15:50 +0000)]
More rate control tweaks.
1) Use a smaller time constant for the Bessel filters at the start of a
 sequence, slowly increasing them to the desired level, to avoid catastrophic
 failure in the case that the first frame metrics are completely off (e.g., in
 a fade-in from black).
2) Don't add prediction corrections for the virtual padding frames added at the
 end of a 2-pass sequence.

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

8 years agoPrevent the user from setting a keyframe interval of 0.
Tim Terriberry [Fri, 21 Aug 2009 23:41:15 +0000 (23:41 +0000)]
Prevent the user from setting a keyframe interval of 0.

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

8 years agoThe theoraenc library always depends on the theoradec library, which
Ralph Giles [Thu, 20 Aug 2009 23:34:09 +0000 (23:34 +0000)]
The theoraenc library always depends on the theoradec library, which
contains public functions shared between encode and decode. Reflect
this in the pkg-config file.

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

8 years agoSet DOS line endings on the exports file so they don't get clobbered.
Ralph Giles [Thu, 20 Aug 2009 23:20:35 +0000 (23:20 +0000)]
Set DOS line endings on the exports file so they don't get clobbered.

This property was set on the old version in win32 but not copied in

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

8 years agoAdd a newline to the exports file.
Ralph Giles [Thu, 20 Aug 2009 23:11:43 +0000 (23:11 +0000)]
Add a newline to the exports file.

Ending without a final newline confuses the defexp.awk script.

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

8 years agoRemove a redundant escape character.
Ralph Giles [Thu, 20 Aug 2009 23:10:00 +0000 (23:10 +0000)]
Remove a redundant escape character.

Some awks warn about it having no effect.

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

8 years agoMoved win32/libtheora.def to lib/theora.def
Cristian Adam [Thu, 20 Aug 2009 23:04:42 +0000 (23:04 +0000)]
Moved win32/libtheora.def to lib/theora.def

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

8 years agoSynced win32\libtheora.def with lib\theora.exp
Cristian Adam [Thu, 20 Aug 2009 22:53:42 +0000 (22:53 +0000)]
Synced win32\libtheora.def with lib\theora.exp

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

8 years agoAdded missing exports (dump_video encoder_example projects compile now)
Cristian Adam [Thu, 20 Aug 2009 22:34:41 +0000 (22:34 +0000)]
Added missing exports (dump_video encoder_example projects compile now)

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

8 years agoBump vendor string to track today's rate control changes.
Ralph Giles [Tue, 18 Aug 2009 22:47:58 +0000 (22:47 +0000)]
Bump vendor string to track today's rate control changes.

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

8 years agoencoder_example.c: Allow -v and -V to coexist without --soft-target.
Monty [Tue, 18 Aug 2009 22:44:06 +0000 (22:44 +0000)]
encoder_example.c: Allow -v and -V to coexist without --soft-target.
Yes, this one might be a tad controversial.

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

8 years agoThe code in select_qi that looks for budget underflow and
Monty [Tue, 18 Aug 2009 22:39:28 +0000 (22:39 +0000)]
The code in select_qi that looks for budget underflow and
force-reduces the log_qtarget was predicated on "if drop frames are
enabled and not infinite-buffer two pass mode".  This was primarily
driven by use cases at the time and is subtly inappropriate.

Modify the predication to 'if we don't have a minimum quality level';
this allows proper behavior in the case where we have a minimum
quality level but aren't using 'soft-target'.  Otherwise, lambda could
still drop to min when we were trying to force a minimum qi, which
results in what look like 'waterfalls' as SKIP triggers on large
number of blocks but the quantizer is still very fine.

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

8 years agoCommit derf's "simple_bias" patch to add a simpler but also more
Monty [Tue, 18 Aug 2009 21:56:31 +0000 (21:56 +0000)]
Commit derf's "simple_bias" patch to add a simpler but also more
robust rate-error bias correction to two-pass encoding mode.  It
doesn't hold a specific rate quite as tightly, but is also not prone
to being thrown way off by assymetrical scale error between passes.

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

8 years agoDocumentation fixes.
Ralph Giles [Fri, 14 Aug 2009 06:14:33 +0000 (06:14 +0000)]
Documentation fixes.

Update link to the format specification.
Better line wrapping in a few places for text-side reading.
A minor wording improvement.

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

8 years agoDon't free not inited vorbis structures if only doing the first scanning pass.
Arek Korbik [Thu, 13 Aug 2009 15:03:32 +0000 (15:03 +0000)]
Don't free not inited vorbis structures if only doing the first scanning pass.

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

8 years agoBump versioning post-release.
Ralph Giles [Wed, 12 Aug 2009 17:06:12 +0000 (17:06 +0000)]
Bump versioning post-release.

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

8 years agoBump versioning for the 1.1beta2 release.
Ralph Giles [Wed, 12 Aug 2009 16:56:54 +0000 (16:56 +0000)]
Bump versioning for the 1.1beta2 release.

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

8 years agoIf I'm going to put in the useless line to silence the stupid compiler warnings,
Tim Terriberry [Wed, 12 Aug 2009 10:23:01 +0000 (10:23 +0000)]
If I'm going to put in the useless line to silence the stupid compiler warnings,
 actually do the proper assignment.

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

8 years agoUpdate Xcode build files after the merge in r16443.
Arek Korbik [Sun, 9 Aug 2009 19:05:01 +0000 (19:05 +0000)]
Update Xcode build files after the merge in r16443.

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

8 years agoRe-hook up the speed level setting to the encoder internals and add a ctl code
Tim Terriberry [Sat, 8 Aug 2009 11:46:40 +0000 (11:46 +0000)]
Re-hook up the speed level setting to the encoder internals and add a ctl code
 to retrieve the current setting.
The meaning of the options has changed slightly, and the default is no longer
 zero (the slowest).
The currently defined levels (for all encoding modes):
- 0: Slowest (best)
- 1: Enable early skip (default)
- 2: Disable motion compensation
The difference in quality between 0 and 1 is very small, and quality is only
 likely to improve a very small amount, and only at very low bitrates.
The difference in quality between 1 and 2 is very large, and quality will
 degrade significantly (though speed will vastly improve).

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

8 years agoBetter attempt to describe the huskies fix.
Ralph Giles [Sat, 8 Aug 2009 00:02:01 +0000 (00:02 +0000)]
Better attempt to describe the huskies fix.

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

8 years agoUpdate change log so far.
Ralph Giles [Fri, 7 Aug 2009 23:51:29 +0000 (23:51 +0000)]
Update change log so far.

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

8 years agoGeneralize the structure of the OpenBSD checks a bit.
Ralph Giles [Fri, 7 Aug 2009 22:33:53 +0000 (22:33 +0000)]
Generalize the structure of the OpenBSD checks a bit.

We add -lcompat to everything, but only if it's needed for ftime(). This
moves clutter from to the already messy build lines.

We still add -lossaudio iff the target is OpenBSD, but we call it
OSS_LIBS instead of OBSD_OSSAUDIO which is both shorter and more
generic should other systems need something in the future.

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

8 years agoBuild fixes for OpenBSD.
Ralph Giles [Fri, 7 Aug 2009 22:23:28 +0000 (22:23 +0000)]
Build fixes for OpenBSD.

dump_video requires -lcompat for ftime(), and player_example requires
-lossaudio for ioctl() and other bits. This is a little heavy-handed,
but it's better than not building at all.

Patch from Simon Hosie.

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

8 years agoRe-initialize the IIR filters after trial encodes.
Tim Terriberry [Fri, 7 Aug 2009 14:18:57 +0000 (14:18 +0000)]
Re-initialize the IIR filters after trial encodes.

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

8 years agoCode review of r16447.
Tim Terriberry [Fri, 7 Aug 2009 06:37:52 +0000 (06:37 +0000)]
Code review of r16447.
Fix a 32-bit/64-bit bug.
Update the stat file version number.
Add back some saturation to prevent overflow.
Fix some other minor discrepancies.

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

8 years agoplayer_example: Upgrade to 1.0 API. "This compiles."
Gregory Maxwell [Fri, 7 Aug 2009 04:16:26 +0000 (04:16 +0000)]
player_example: Upgrade to 1.0 API. "This compiles."

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

8 years agor16448 for png2theora.c and an error message fix.
Gregory Maxwell [Thu, 6 Aug 2009 23:58:26 +0000 (23:58 +0000)]
r16448 for png2theora.c and an error message fix.

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

8 years agoCorrect a minor bufsize setup inconsistency in encoder_example.c
Monty [Thu, 6 Aug 2009 23:54:35 +0000 (23:54 +0000)]
Correct a minor bufsize setup inconsistency in encoder_example.c

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