10 years agobugfix: memory leak in return statement at function PickMode of lib/enc/encode.c... theora-multithread
portavales [Wed, 27 Feb 2008 14:23:38 +0000 (14:23 +0000)]
bugfix: memory leak in return statement at function PickMode of lib/enc/encode.c file

svn path=/branches/theora-multithread/; revision=14543

10 years agoFirst Attempt to paralellize the Encoder: This first attempt only paralellized the...
portavales [Sat, 6 Oct 2007 22:15:55 +0000 (22:15 +0000)]
First Attempt to paralellize the Encoder: This first attempt only paralellized the Motion Vector Search part of the algorithm, using pthreads. Cheers, Felipe Portavales Goldstein

svn path=/branches/theora-multithread/; revision=13941

10 years agoTest for USE_ASM _after_ including codec_internal.h, so config.h can get
Tim Terriberry [Thu, 4 Oct 2007 20:18:48 +0000 (20:18 +0000)]
Test for USE_ASM _after_ including codec_internal.h, so config.h can get

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

10 years agoCosmetic.
Ralph Giles [Thu, 4 Oct 2007 18:41:18 +0000 (18:41 +0000)]

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

10 years agoFix inconsistent line endings
sping [Wed, 3 Oct 2007 18:56:42 +0000 (18:56 +0000)]
Fix inconsistent line endings

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

10 years agoLine ending properties: *.{c,h} to native, *.{vcproj,sln,bat} to CRLF
sping [Wed, 3 Oct 2007 18:51:06 +0000 (18:51 +0000)]
Line ending properties: *.{c,h} to native, *.{vcproj,sln,bat} to CRLF

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

10 years agoRevert by request using 'svn merge -r 13922:13919 .'
sping [Tue, 2 Oct 2007 21:13:24 +0000 (21:13 +0000)]
Revert by request using 'svn merge -r 13922:13919 .'

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

10 years agoCompile fix
sping [Tue, 2 Oct 2007 20:50:28 +0000 (20:50 +0000)]
Compile fix

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

10 years agoVariable renames for MSVC
sping [Tue, 2 Oct 2007 20:49:48 +0000 (20:49 +0000)]
Variable renames for MSVC

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

10 years agoFirst step for automated GCC to MSVC inline assembly conversion
sping [Tue, 2 Oct 2007 20:25:17 +0000 (20:25 +0000)]
First step for automated GCC to MSVC inline assembly conversion
derf, this is what I want you to have a look at

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

10 years ago- include and link fixes
sping [Tue, 2 Oct 2007 17:39:22 +0000 (17:39 +0000)]
- include and link fixes
- USE_ASM and (unused) THEORA_USE_ASM disabled
- no more debug info in release builds
- #error message added in consensus with derf and maikmerten
  (consensus was adding it, not the actual text. please modify if necessary.)
- fully commit the four items before this time, sorry
- fix and integrate <dump_video> and <encoder_example> project files

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

10 years ago- include and link fixes
sping [Tue, 2 Oct 2007 15:32:07 +0000 (15:32 +0000)]
- include and link fixes
- USE_ASM and (unused) THEORA_USE_ASM disabled
- no more debug info in release builds
- #error message added in consensus with derf and maikmerten
  (consensus was adding it, not the actual text. please modify if necessary.)

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

10 years agoDeclaration came after code, fixed
sping [Tue, 2 Oct 2007 14:38:46 +0000 (14:38 +0000)]
Declaration came after code, fixed

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

10 years agoFirst VS2005 bits, still not working
sping [Fri, 28 Sep 2007 19:43:16 +0000 (19:43 +0000)]
First VS2005 bits, still not working

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

10 years agoMake mv's use signed chars explicitly.
Tim Terriberry [Fri, 28 Sep 2007 01:39:26 +0000 (01:39 +0000)]
Make mv's use signed chars explicitly.
Hopefully this should fix the crash on PowerPC, though it's something we should
 be doing anyway.

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

10 years agoMake dump_video actually respect -o for files other than "-".
Tim Terriberry [Fri, 28 Sep 2007 01:37:19 +0000 (01:37 +0000)]
Make dump_video actually respect -o for files other than "-".

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

10 years agoFix long-standing bug in the umv padding code that left the first 8 to 16 bytes
Tim Terriberry [Fri, 28 Sep 2007 01:36:41 +0000 (01:36 +0000)]
Fix long-standing bug in the umv padding code that left the first 8 to 16 bytes
 of the first row in the full reconstruction buffer uninitialized (and also
 wrote 8 bytes past the end of the buffer, not that valgrind ever complained).

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

10 years agoMinor MingW32 build fixes.
Tim Terriberry [Sat, 22 Sep 2007 14:25:19 +0000 (14:25 +0000)]
Minor MingW32 build fixes.

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

10 years agoUpdate versioning for release.
Ralph Giles [Sat, 22 Sep 2007 08:55:30 +0000 (08:55 +0000)]
Update versioning for release.

We use the same interface version as the 1.0alpha8 release. This isn't
strictly correct since alpha8 exported the theoradec api as well, but
since that release was short lived, we expect the reversion will not
cause significant problems.

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

10 years agoUpdate the README some before release.
Ralph Giles [Sat, 22 Sep 2007 08:50:25 +0000 (08:50 +0000)]
Update the README some before release.

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

10 years agoUpdate the copyright statement with the current year. This covers
Ralph Giles [Sat, 22 Sep 2007 08:38:10 +0000 (08:38 +0000)]
Update the copyright statement with the current year. This covers
the collection as a whole and isn't an accurate range for some

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

10 years agoOnly generate documentation for the old libtheora api until we figure
Ralph Giles [Sat, 22 Sep 2007 08:28:22 +0000 (08:28 +0000)]
Only generate documentation for the old libtheora api until we figure
out how to separate the two.

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

10 years agoDuplicate the TH_DECCTL switches for theora_control() in theora.h,
Ralph Giles [Sat, 22 Sep 2007 08:22:39 +0000 (08:22 +0000)]
Duplicate the TH_DECCTL switches for theora_control() in theora.h,
as was done for the encoder control switches. This allows use without
including the new api in theoradec.h.

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

10 years agoAutomake 1.10 warns that we need AM_PROG_CC_C_O to use per-target flags.
Ralph Giles [Sat, 22 Sep 2007 08:02:14 +0000 (08:02 +0000)]
Automake 1.10 warns that we need AM_PROG_CC_C_O to use per-target flags.

Apparently this has been true for some time, and it's only the warning
that was new. In any case, Automake 1.6 has this macro, so we add it.

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

10 years agoMake libtheora depend on its version script.
Ralph Giles [Sat, 22 Sep 2007 07:33:03 +0000 (07:33 +0000)]
Make libtheora depend on its version script.

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

10 years agoPrepend the srcdir to the Version_script path so building from an
Ralph Giles [Sat, 22 Sep 2007 07:13:57 +0000 (07:13 +0000)]
Prepend the srcdir to the Version_script path so building from an
custom directory works again. This didn't matter previously as
Version_script was created by configure, which put it in the build
directory and thus a local copy was available.

Also apply it only on Linux and Solaris, instead of whenever GNU ld
is used as before. This is probably not exactly correct, since the
options are the same on Solaris, and GNU ld probably always accepts
--version-script, but as we're close to release, I chose a more
conservative resolution of the ambiguity in the previous code.

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

10 years agoRevert the examples back to the old API temporarily for beta1; also restore a
Tim Terriberry [Sat, 22 Sep 2007 02:02:59 +0000 (02:02 +0000)]
Revert the examples back to the old API temporarily for beta1; also restore a
 bunch of the comments from the old versions and clean up the tabs and EOL WS.
Note that player_example uses the new theora_control for configuring
 post-processing, which currently requires theoradec.h.

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

10 years agoDon't install the headers for the theora-exp api, since we're not
Ralph Giles [Sat, 22 Sep 2007 00:48:32 +0000 (00:48 +0000)]
Don't install the headers for the theora-exp api, since we're not
exporting the symbols.

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

10 years agoInclude the new apiwrapper.h in noinst_HEADERS.
Tim Terriberry [Sat, 22 Sep 2007 00:45:14 +0000 (00:45 +0000)]
Include the new apiwrapper.h in noinst_HEADERS.

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

10 years agoExport only the old "1.0" API for now.
Ralph Giles [Fri, 21 Sep 2007 23:41:40 +0000 (23:41 +0000)]
Export only the old "1.0" API for now.

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

10 years agoOr maybe I was the lame one. Use fixed version tags in the GNU ld
Ralph Giles [Fri, 21 Sep 2007 23:37:47 +0000 (23:37 +0000)]
Or maybe I was the lame one. Use fixed version tags in the GNU ld
version-script instead of substituting values from the configure

The VERSION field in the GNU ld version-script is an arbitrary string
that is picked into the library, and bears no relation to the soname.
Therefore not only should the version not depend on the libtool version
numbers, it also shouldn't depend on the PACKAGE name.

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

10 years agoaccording to the link in
j [Fri, 21 Sep 2007 09:41:31 +0000 (09:41 +0000)]
according to the link in
the version number in Version_script is not the one defined in

this commit exports
 * old functions as libtheora.1.0 (as done in alpha7)
 * and functions added after alpha7 as libtheora.2.0

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

10 years agoPatch by Lino Mastrodomenico <l.mastrodomenico (at)>
j [Thu, 20 Sep 2007 09:59:25 +0000 (09:59 +0000)]
Patch by Lino Mastrodomenico <l.mastrodomenico (at)>
It modifies
 * adding the two new header files and
 * reorders the changelog in descending chronological order.

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

10 years agoUpdate the SConstruct build file.
Ralph Giles [Tue, 18 Sep 2007 07:49:23 +0000 (07:49 +0000)]
Update the SConstruct build file.

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

10 years agoSimplify the version check for the old granulepos scheme. The major and
Ralph Giles [Tue, 18 Sep 2007 07:25:57 +0000 (07:25 +0000)]
Simplify the version check for the old granulepos scheme. The major and
minor should already have been checked, and we should treat higher tiny
revisions the same.

This will need to be updated if major and minor ever change.

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

10 years agoChange the granulepos mapping scheme used for the Ogg embedding to use
Ralph Giles [Tue, 18 Sep 2007 07:17:58 +0000 (07:17 +0000)]
Change the granulepos mapping scheme used for the Ogg embedding to use
the count of decodeable frames, instead of the index. This is similar
to what other codecs are doing, and in theory conceptually simpler.

This change was originally proposed by Thomas Vander Stichele.

Since this is a bitstream change, the stream version number has
been bumped to 3.2.1. The decoder will correctly support both
the older 3.2.0 granulepos scheme and the new one. By spec,
old decoders should attempt to play 3.2.1 streams, but sync
will be off by one in the less noticeable direction.

Patch from Maik Merten.

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

10 years agoBump version number post-release.
Ralph Giles [Tue, 18 Sep 2007 07:06:19 +0000 (07:06 +0000)]
Bump version number post-release.

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

10 years agoCorrect documentation of the default encoder search speed.
Ralph Giles [Tue, 18 Sep 2007 07:05:46 +0000 (07:05 +0000)]
Correct documentation of the default encoder search speed.
Patch from Maik Merten, also included in 1.0alpha8.

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

10 years agoUpdate encoder version string for the last change date in prep for the
Ralph Giles [Tue, 18 Sep 2007 06:36:43 +0000 (06:36 +0000)]
Update encoder version string for the last change date in prep for the
1.0alpha8 release.

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

10 years agoActually include the new files for r13843.
Tim Terriberry [Sun, 16 Sep 2007 22:07:20 +0000 (22:07 +0000)]
Actually include the new files for r13843.

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

10 years agoPort of r13842 from theora-exp.
Tim Terriberry [Sun, 16 Sep 2007 22:05:48 +0000 (22:05 +0000)]
Port of r13842 from theora-exp.

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

10 years ago- rename new option to be inline with the rest (thanks, David)
j [Sat, 15 Sep 2007 11:20:11 +0000 (11:20 +0000)]
- rename new option to be inline with the rest (thanks, David)

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

10 years agoPromote TH_DEBUG to the common internal header. Fixes a compile problem.
Ralph Giles [Fri, 14 Sep 2007 18:32:40 +0000 (18:32 +0000)]
Promote TH_DEBUG to the common internal header. Fixes a compile problem.

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

10 years agoPatch by David Kuehling,
j [Sun, 9 Sep 2007 11:34:26 +0000 (11:34 +0000)]
Patch by David Kuehling,
 * expose more options as commandline parameters in encoder_example
   (keyframe_frequency, noise_sensitivity, sharpness)

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

10 years agoTidy Xcode build settings a bit.
Arek Korbik [Sun, 2 Sep 2007 15:21:34 +0000 (15:21 +0000)]
Tidy Xcode build settings a bit.

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

10 years agoadd public headers to Framework
j [Sat, 1 Sep 2007 13:33:16 +0000 (13:33 +0000)]
add public headers to Framework

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

10 years agoupdate XCode project,
j [Sat, 1 Sep 2007 13:21:39 +0000 (13:21 +0000)]
update XCode project,
 * add OTHER_LDFLAGS_i386 in the right place
 * rename Product to theoradec to get libtheoradec

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

10 years agoAdd proper headers and line ending conversion to the test sources.
Ralph Giles [Tue, 28 Aug 2007 19:59:55 +0000 (19:59 +0000)]
Add proper headers and line ending conversion to the test sources.

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

10 years agoAdd a rough test routine for the encoder's granulepos generation.
Ralph Giles [Tue, 28 Aug 2007 19:53:24 +0000 (19:53 +0000)]
Add a rough test routine for the encoder's granulepos generation.

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

10 years agoadd libtheoradec.a(decoder only) target to Xcode project
j [Mon, 27 Aug 2007 12:49:22 +0000 (12:49 +0000)]
add libtheoradec.a(decoder only) target to Xcode project

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

10 years agoCHANGES: actually there's no fixed 6 quant table support anymore but
Maik Merten [Sat, 25 Aug 2007 12:36:56 +0000 (12:36 +0000)]
CHANGES: actually there's no fixed 6 quant table support anymore but
something better.

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

10 years agoCredit where credit is due.
Ralph Giles [Fri, 24 Aug 2007 18:42:25 +0000 (18:42 +0000)]
Credit where credit is due.

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

10 years agoCorrect an apparent typo in the LDFLAGS generation so the gcc
Ralph Giles [Fri, 24 Aug 2007 00:08:24 +0000 (00:08 +0000)]
Correct an apparent typo in the LDFLAGS generation so the gcc
Version_script is actually used.

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

10 years agoHave configure append the correct library version numbers to the gcc
Ralph Giles [Fri, 24 Aug 2007 00:06:34 +0000 (00:06 +0000)]
Have configure append the correct library version numbers to the gcc

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

10 years agoUse TH_LIB_ for the library versioning instead of V_LIB which was copied
Ralph Giles [Fri, 24 Aug 2007 00:05:54 +0000 (00:05 +0000)]
Use TH_LIB_ for the library versioning instead of V_LIB which was copied
from vorbis.

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

10 years agoClear the i pointer along with the rest of the struct in theora_encode_clear(),
Tim Terriberry [Thu, 23 Aug 2007 22:52:05 +0000 (22:52 +0000)]
Clear the i pointer along with the rest of the struct in theora_encode_clear(),
 so that a second call to theora_clear() won't segfault.

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

10 years agoAdd cross-compilation Makefile for mingw32.
Tim Terriberry [Thu, 23 Aug 2007 20:18:36 +0000 (20:18 +0000)]
Add cross-compilation Makefile for mingw32.
This is currently the only way to get asm optimizations in the decoder on
Builds both release and debug versions for each version of libc that currently
 ships with mingw32.
DLL version information must still be updated manually (at the top of the
 Makefile), but that's okay because mingw32 doesn't implement DllGetVersion
 anyway, so it will never show up unless someone queries the resources manually.

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

10 years agoUpdate version numbers to reflect API additions.
Tim Terriberry [Thu, 23 Aug 2007 20:09:30 +0000 (20:09 +0000)]
Update version numbers to reflect API additions.
General warning clean-up.

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

10 years agoRemove obsolete fields from Doxyfile.
Tim Terriberry [Thu, 23 Aug 2007 20:08:32 +0000 (20:08 +0000)]
Remove obsolete fields from Doxyfile.
The documentation is still in general a mess, and needs to be cleaned up before

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

10 years agoGeneral formatting clean-up.
Tim Terriberry [Thu, 23 Aug 2007 20:07:50 +0000 (20:07 +0000)]
General formatting clean-up.

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

10 years agoGeneral warning clean-up.
Tim Terriberry [Thu, 23 Aug 2007 20:07:30 +0000 (20:07 +0000)]
General warning clean-up.

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

10 years agoVarious clean-ups in preparation for release.
Tim Terriberry [Thu, 23 Aug 2007 20:05:38 +0000 (20:05 +0000)]
Various clean-ups in preparation for release.
Fix theora_clear() so it actually clears an encoder instance.
Remove link-time dependencies of the decoder code on the encoder code.
This allows the separation of the two libraries, but requires a virtual
 function table of entry points into the encoder in order to work with the old
 libtheora API functions that don't distinguish between encoder and decoder
Future upgrades will need to be careful of this bit to retain ABI
Fix up #include directives to point directly to the project-local files they
 are including.
General warning clean-up.
Minor updates to the version script; this still needs to be fixed to use the
 proper version macros from

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

10 years agoadd some help for derf
Thomas Vander Stichele [Thu, 23 Aug 2007 16:40:06 +0000 (16:40 +0000)]
add some help for derf

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

10 years agofix build
Thomas Vander Stichele [Thu, 23 Aug 2007 13:55:08 +0000 (13:55 +0000)]
fix build

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

10 years agoCollective revert statement.
Mike Smith [Fri, 10 Aug 2007 16:43:22 +0000 (16:43 +0000)]
Collective revert statement.

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

10 years agoCollective Copyright statement.
ivo [Fri, 10 Aug 2007 16:42:25 +0000 (16:42 +0000)]
Collective Copyright statement.

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

Maik Merten [Thu, 26 Jul 2007 18:07:10 +0000 (18:07 +0000)]

0: Same as quick_p = 0 (exhaustive motion search)
1: Same as quick_p = 1 (default, combination of quick and exhaustive motion search)
2: No motion compensation at all. Very fast but impacts negatively on both image quality and bitrate. Perhaps useful for e.g. videoconferencing (little motion) on slow systems. Definately of limited use.

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

10 years agoExport the new theora_control() call.
Ralph Giles [Mon, 23 Jul 2007 20:35:17 +0000 (20:35 +0000)]
Export the new theora_control() call.

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

10 years agoThe new theora_control() call uses size_t, which requires stddef.h.
Ralph Giles [Sun, 22 Jul 2007 16:19:13 +0000 (16:19 +0000)]
The new theora_control() call uses size_t, which requires stddef.h.

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

11 years agofirst iteration of theora_control() support. Apps now can provide their own
Maik Merten [Fri, 13 Jul 2007 19:55:15 +0000 (19:55 +0000)]
first iteration of theora_control() support. Apps now can provide their own
th_quant_info data or ask the encoder to switch to VP3 profile (that's currently
the default anyway).

Cleaned up some underscore-prefixed variable names that were inherited from theora-exp

Got rid of PROFILE_FULL and PROFILE_VP3 - those weren't exposed in the API. Now apps
can use theora_control() to get something equivalent to PROFILE_VP3. If the apps want
"PROFILE_FULL" (that was a 6 quant table thingie) they can just provide the necessary

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

11 years agoAllow configure-type disable of building the example code. Mostly to
Ralph Giles [Tue, 10 Jul 2007 18:49:18 +0000 (18:49 +0000)]
Allow configure-type disable of building the example code. Mostly to
work around dependency breakage detection. After a patch by Matthias

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

11 years agoFix automake version detection to work with the 1.xx releases.
Ralph Giles [Tue, 10 Jul 2007 18:37:36 +0000 (18:37 +0000)]
Fix automake version detection to work with the 1.xx releases.

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

11 years agoFix cross compilation for Windows under MINGW. Patch from Matthias
Ralph Giles [Tue, 10 Jul 2007 18:35:40 +0000 (18:35 +0000)]
Fix cross compilation for Windows under MINGW. Patch from Matthias

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

11 years agoMake the encoder use a th_quant_info structure to take it's quant parameters.
Maik Merten [Mon, 9 Jul 2007 17:38:13 +0000 (17:38 +0000)]
Make the encoder use a th_quant_info structure to take it's quant parameters.
This should pave the way to enable the encoder to take quant info from encoder applications.

The decoder uses the default VP31 values and I verified even the alpha 3 decoder can
handle the output produced.

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

11 years agoUndo some unrolling in the encoder quant code.
Maik Merten [Thu, 5 Jul 2007 18:27:01 +0000 (18:27 +0000)]
Undo some unrolling in the encoder quant code.
This doesn't impact on performance for me (and we're specifying -funroll-loops anyway)

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

11 years agoSwitch encoder back to PROFILE_VP3.
Maik Merten [Thu, 5 Jul 2007 17:41:25 +0000 (17:41 +0000)]
Switch encoder back to PROFILE_VP3.

Motivated by the fact that PROFILE_FULL (6 quant tables) was less than well-tested when it comes to quality. Plus I guess old Cortado releases will be around for a while.

Note to (mostly) myself: Find a set of 6 quant tables that actually does make use of the added flexibility. Just copying old table values doesn't sound like it'll revolutionize and transform the video coding industry.

Oh, this is my first checkin, by the way. All seek for cover.

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

11 years agocompile fix for cygwin
j [Tue, 19 Jun 2007 15:39:45 +0000 (15:39 +0000)]
compile fix for cygwin

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

11 years agoCorrection to (commented out) reference version of 1D iDCT, following section
Conrad Parker [Mon, 28 May 2007 07:54:22 +0000 (07:54 +0000)]
Correction to (commented out) reference version of 1D iDCT, following section
7.9.3 of the Theora specification. In this example code, the array values
t[2-7] were initialized in terms of themselves (uninitialized stack region),
rather than the input DCT coefficients y. Closes ticket:1168

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

11 years agoAFAICT _FILE_OFFSET_BITS is the only one of these magic defines we are
Ralph Giles [Mon, 14 May 2007 16:01:51 +0000 (16:01 +0000)]
AFAICT _FILE_OFFSET_BITS is the only one of these magic defines we are
using. Removing the others to reduce cargo culting and improve

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

11 years agobasename() and dirname() can mangle their argument, and must be
Ralph Giles [Thu, 10 May 2007 02:48:29 +0000 (02:48 +0000)]
basename() and dirname() can mangle their argument, and must be
passed scratch strings. Without this the filename filter is
not parsed properly on my Ubuntu Linux 7.04 system.

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

11 years agoCorrect various warnings related to incorrect const usage.
Ralph Giles [Wed, 9 May 2007 22:55:01 +0000 (22:55 +0000)]
Correct various warnings related to incorrect const usage.

Also add debug and error prints.

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

11 years agoCorrect a segfault in the error handling.
Ralph Giles [Wed, 9 May 2007 22:47:46 +0000 (22:47 +0000)]
Correct a segfault in the error handling.

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

11 years agoLoosen the bitstream version checking to match the older code and
Ralph Giles [Mon, 30 Apr 2007 19:30:40 +0000 (19:30 +0000)]
Loosen the bitstream version checking to match the older code and
specification: We expect general playback compatibility regardless
of the subminor version, and accept earlier minors under the same
minor as backward-compatible.

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

11 years agoPort of r12881.
Tim Terriberry [Tue, 17 Apr 2007 05:52:06 +0000 (05:52 +0000)]
Port of r12881.
As an added feature, this time it actually works.

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

11 years agodetect Geode cpu
j [Tue, 17 Apr 2007 04:26:52 +0000 (04:26 +0000)]
detect Geode cpu

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

11 years agoDisable the loop filter correctly this time.
Tim Terriberry [Mon, 16 Apr 2007 14:40:18 +0000 (14:40 +0000)]
Disable the loop filter correctly this time.

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

11 years agoDisable the loop filter until I get a chance to fix it.
Tim Terriberry [Mon, 16 Apr 2007 14:23:24 +0000 (14:23 +0000)]
Disable the loop filter until I get a chance to fix it.

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

11 years agoForward port of r12876.
Tim Terriberry [Mon, 16 Apr 2007 14:10:07 +0000 (14:10 +0000)]
Forward port of r12876.

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

11 years agoenc_arch_dir all the way
j [Mon, 16 Apr 2007 07:03:00 +0000 (07:03 +0000)]
enc_arch_dir all the way

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

11 years agoMajor overhaul of the x86 assembly for the decoder.
Tim Terriberry [Mon, 16 Apr 2007 01:32:17 +0000 (01:32 +0000)]
Major overhaul of the x86 assembly for the decoder.
Reduced the divergence between x86-32 and x86-64 (there is now basically
 one function that is different between them, and that due to the extra
 registers x86-64 gives us).
Used named parameters for readability (requires gcc 3.1 or later).
All global symbol references should now be handled by gcc, so there
 should be no problems with/without -fPIC, or various underscore
 conventions for different toolchains (e.g., OS X).
Currently satisfies register allocations even WITH -fPIC and WITHOUT
 -fomit-frame-pointer (the worst case scenario).

The same cannot be said for the encoder's asm, on basically any of these

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

11 years ago- fix ./configure --disable-asm
j [Sun, 15 Apr 2007 19:10:21 +0000 (19:10 +0000)]
- fix ./configure --disable-asm
- fix asm build of encoder on 64bit

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

11 years agoadd mmx optimized version of loopfilter to decoder.
j [Sun, 15 Apr 2007 18:24:08 +0000 (18:24 +0000)]
add mmx optimized version of loopfilter to decoder.
patches to remove MANGLE are welcome

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

11 years agoadd pp again and look into a better way to take it out
j [Sun, 15 Apr 2007 11:29:54 +0000 (11:29 +0000)]
add pp again and look into a better way to take it out

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

11 years ago- remove leftover from old decoder(pp.?)
j [Sun, 15 Apr 2007 09:49:31 +0000 (09:49 +0000)]
- remove leftover from old decoder(pp.?)
- user new decoder api in player_example / dump_video

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

11 years agoadd new example png2theora
j [Fri, 13 Apr 2007 11:47:09 +0000 (11:47 +0000)]
add new example png2theora

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

11 years agomore copyright headers and set Id property
j [Thu, 12 Apr 2007 21:49:43 +0000 (21:49 +0000)]
more copyright headers and set Id property

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

11 years agoadd copyright headers
j [Thu, 12 Apr 2007 19:27:43 +0000 (19:27 +0000)]
add copyright headers

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

11 years ago- remove leftover test from theora-mashup
j [Thu, 12 Apr 2007 17:48:40 +0000 (17:48 +0000)]
- remove leftover test from theora-mashup
- note changes in CHANGES

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

11 years agonew trunk
j [Thu, 12 Apr 2007 17:26:20 +0000 (17:26 +0000)]
new trunk

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