10 years agoThis is the fatest version using openMP theora_multithread_decode_omp
piga [Mon, 8 Sep 2008 22:35:40 +0000 (22:35 +0000)]
This is the fatest version using openMP

svn path=/branches/theora_multithread_decode_omp/; revision=15274

10 years agoThis version of the pipelined multithread decoder with openMP uses a generic value...
piga [Thu, 17 Jul 2008 00:08:38 +0000 (00:08 +0000)]
This version of the pipelined multithread decoder with openMP uses a generic value for MCU size
Should be compiled with -DMCU_OMP_VALUE=<value> flag

svn path=/branches/theora_multithread_decode_omp/; revision=15116

10 years agoA pipelined implementation
piga [Wed, 16 Jul 2008 14:15:11 +0000 (14:15 +0000)]
A pipelined implementation

svn path=/branches/theora_multithread_decode_omp/; revision=15115

10 years agoSome bug fixes
piga [Mon, 14 Jul 2008 18:18:41 +0000 (18:18 +0000)]
Some bug fixes

svn path=/branches/theora_multithread_decode_omp/; revision=15112

10 years agoA faster version with greater MCU size
piga [Mon, 14 Jul 2008 17:57:44 +0000 (17:57 +0000)]
A faster version with greater MCU size

svn path=/branches/theora_multithread_decode_omp/; revision=15111

10 years agoThe opemMP parallel implementation
piga [Mon, 7 Jul 2008 00:27:51 +0000 (00:27 +0000)]
The opemMP parallel implementation

svn path=/branches/theora_multithread_decode_omp/; revision=15103

10 years agoAlso update 32 bit MMX with loop filter fix
Monty [Fri, 27 Jun 2008 21:49:05 +0000 (21:49 +0000)]
Also update 32 bit MMX with loop filter fix

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

10 years agoCorrect an introduced bug that cam in the with the new loop filter asm;
Monty [Fri, 27 Jun 2008 21:45:39 +0000 (21:45 +0000)]
Correct an introduced bug that cam in the with the new loop filter asm;

My testing was flawed and there were several bounds errors in the new
code written to reconcile the new ASM's expected data ordering.

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

10 years agoEliminate use of SSE instruction in loop filter MMX code by replacing
Monty [Sun, 22 Jun 2008 21:07:32 +0000 (21:07 +0000)]
Eliminate use of SSE instruction in loop filter MMX code by replacing
current loop filter with one from Derf's new decoder.  This required
some amount of code refactoring as Derf's code expects slightly
different input.

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

10 years agoadd export symbols flag for mingw build fixes #1383
j [Sun, 22 Jun 2008 13:24:13 +0000 (13:24 +0000)]
add export symbols flag for mingw build fixes #1383

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

10 years agoInclude <stddef.h> in theora[enc|dec].h directly in order to get size_t.
Tim Terriberry [Sat, 21 Jun 2008 15:58:37 +0000 (15:58 +0000)]
Include <stddef.h> in theora[enc|dec].h directly in order to get size_t.
We had previously been relying on <ogg/ogg.h> to do this for us, but it doesn't
 do so on all plaforms.

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

10 years agoMerge x86 assembly for forward DCT from Thusnelda branch; an attempt to fix
Monty [Sun, 8 Jun 2008 22:52:00 +0000 (22:52 +0000)]
Merge x86 assembly for forward DCT from Thusnelda branch; an attempt to fix

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

10 years agoSet eos properly in png2theora.
Ralph Giles [Tue, 27 May 2008 21:39:21 +0000 (21:39 +0000)]
Set eos properly in png2theora.

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

10 years agoRemove trailing whitespace.
Ralph Giles [Tue, 27 May 2008 21:27:51 +0000 (21:27 +0000)]
Remove trailing whitespace.

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

10 years agoUpdate Xcode build files.
Arek Korbik [Sun, 11 May 2008 16:17:35 +0000 (16:17 +0000)]
Update Xcode build files.

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

10 years agoUnify cpuid flag parsing across the various brands and add detection for SSE4
Tim Terriberry [Thu, 8 May 2008 17:32:30 +0000 (17:32 +0000)]
Unify cpuid flag parsing across the various brands and add detection for SSE4
 and (the forthcoming) SSE5.

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

10 years agoReplace "long" with "ptrdiff_t" in the x86 asm, since win64 is apparently the
Tim Terriberry [Sun, 4 May 2008 17:37:16 +0000 (17:37 +0000)]
Replace "long" with "ptrdiff_t" in the x86 asm, since win64 is apparently the
 only platform in existence where sizeof(long) < sizeof(void *).
Yes, I knew it was technically possible, but I thought at least on x86 we could
 assume such things did not happen; now I know better.

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

10 years agoWe still need to do an AMD-style check for VIA processors even if the
Tim Terriberry [Sun, 4 May 2008 14:03:21 +0000 (14:03 +0000)]
We still need to do an AMD-style check for VIA processors even if the
 Intel-style one succeeds in order to pick up 3dnow! support.
Thanks to David Kuehling for pointing out the error.

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

10 years agoMake granulepos, granulepos_theoraenc and granulepos_theora build in Solaris. Patch...
ivo [Sat, 3 May 2008 21:07:38 +0000 (21:07 +0000)]
Make granulepos, granulepos_theoraenc and granulepos_theora build in Solaris.  Patch from Sun's Brian Cameron.  Closes #1356.

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

10 years agoFix compile errors from r14814.
Tim Terriberry [Tue, 29 Apr 2008 23:35:06 +0000 (23:35 +0000)]
Fix compile errors from r14814.
Also make sure we return an initialzed flags variable from all paths.

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

10 years agoLots of clean-up to the CPU detection code.
Tim Terriberry [Tue, 29 Apr 2008 16:54:37 +0000 (16:54 +0000)]
Lots of clean-up to the CPU detection code.
VIA detection reworked (should behave properly even with late model C3-2's,
 please complain if it doesn't).
Win32 now properly tries to detect the cpuid instruction, assuming that code
 even works.
Support for Prescott New Instructions (SSE3) detection added.

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

10 years agoAdd cpuid clauses for Transmeta TM5800 and VIA C3, C7 processors.
Ralph Giles [Tue, 29 Apr 2008 16:38:03 +0000 (16:38 +0000)]
Add cpuid clauses for Transmeta TM5800 and VIA C3, C7 processors.

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

10 years agoAdd a security warning about large frame sizes.
Tim Terriberry [Fri, 25 Apr 2008 15:57:48 +0000 (15:57 +0000)]
Add a security warning about large frame sizes.

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

10 years agoInclude the new MSVC asm in the distribution.
Ralph Giles [Thu, 17 Apr 2008 20:34:40 +0000 (20:34 +0000)]
Include the new MSVC asm in the distribution.

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

10 years agoBuild fixes for the MinGW cross-compiler needed for the beta3 release.
Tim Terriberry [Thu, 17 Apr 2008 11:54:51 +0000 (11:54 +0000)]
Build fixes for the MinGW cross-compiler needed for the beta3 release.

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

10 years agoBump package version post-release.
Ralph Giles [Wed, 16 Apr 2008 23:24:41 +0000 (23:24 +0000)]
Bump package version post-release.

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

10 years agoUpdate versioning for the 1.0beta3 release.
Ralph Giles [Wed, 16 Apr 2008 20:23:44 +0000 (20:23 +0000)]
Update versioning for the 1.0beta3 release.

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

10 years agoFix a spacing problem in the help text.
Ralph Giles [Wed, 16 Apr 2008 19:57:04 +0000 (19:57 +0000)]
Fix a spacing problem in the help text.

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

10 years agoMinor corrections.
Ralph Giles [Wed, 16 Apr 2008 19:18:12 +0000 (19:18 +0000)]
Minor corrections.

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

10 years agoInstall (and distribute) the headers for the new api.
Ralph Giles [Wed, 16 Apr 2008 19:17:43 +0000 (19:17 +0000)]
Install (and distribute) the headers for the new api.

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

10 years agoUpdate change log.
Ralph Giles [Wed, 16 Apr 2008 18:01:14 +0000 (18:01 +0000)]
Update change log.

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

10 years agoReduce noise and print better fail information in the granulepos tests.
Ralph Giles [Wed, 16 Apr 2008 17:50:15 +0000 (17:50 +0000)]
Reduce noise and print better fail information in the granulepos tests.

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

10 years agoFix to #1266: eliminate text relocations in lib/enc/x86_32/dct_decode_mmx.c
Monty [Tue, 15 Apr 2008 10:35:59 +0000 (10:35 +0000)]
Fix to #1266: eliminate text relocations in lib/enc/x86_32/dct_decode_mmx.c

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

10 years agoUpdate the scons build for recent source changes.
Ralph Giles [Tue, 15 Apr 2008 06:07:41 +0000 (06:07 +0000)]
Update the scons build for recent source changes.

This version builds libtheoradec and libtheoraenc, but does not link
in the assembly optimizations.

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

10 years ago4/3 libtheora: Consistent use of $(ConfigurationName) for vs2k5, SSE and SSE2 release...
sping [Mon, 14 Apr 2008 22:32:45 +0000 (22:32 +0000)]
4/3 libtheora: Consistent use of $(ConfigurationName) for vs2k5, SSE and SSE2 releases now have their own folders

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

10 years agoFix var name compile error
sping [Mon, 14 Apr 2008 21:54:44 +0000 (21:54 +0000)]
Fix var name compile error

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

10 years agoTry again to fix the VS2005 project file. Patch from Andrew Chew.
Ralph Giles [Mon, 14 Apr 2008 18:16:52 +0000 (18:16 +0000)]
Try again to fix the VS2005 project file. Patch from Andrew Chew.

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

10 years agoUpdate the MSVC asm for a recent api change. Patch from Andrew Chew.
Ralph Giles [Mon, 14 Apr 2008 18:16:06 +0000 (18:16 +0000)]
Update the MSVC asm for a recent api change. Patch from Andrew Chew.

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

10 years agoRemove duplicate code in the new MSVC inline asm. Patch from Andrew Chew.
Ralph Giles [Sun, 13 Apr 2008 06:28:00 +0000 (06:28 +0000)]
Remove duplicate code in the new MSVC inline asm. Patch from Andrew Chew.

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

10 years agoInclude the local getopt.h when building under MSVC.
Ralph Giles [Sun, 13 Apr 2008 06:23:04 +0000 (06:23 +0000)]
Include the local getopt.h when building under MSVC.
Patch from Andrew Chew.

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

10 years agoActually compare in the correct direction when testing comment buffer size.
Tim Terriberry [Sat, 12 Apr 2008 11:36:40 +0000 (11:36 +0000)]
Actually compare in the correct direction when testing comment buffer size.

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

10 years agore-include cpu.h in cpu.c (which in turn includes internal.h, and config.h). Was...
Conrad Parker [Sat, 12 Apr 2008 08:36:58 +0000 (08:36 +0000)]
re-include cpu.h in cpu.c (which in turn includes internal.h, and config.h). Was removed in r14714

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

10 years agoMake comment-count overflow slightly more robust on platforms with different
Tim Terriberry [Sat, 12 Apr 2008 04:12:39 +0000 (04:12 +0000)]
Make comment-count overflow slightly more robust on platforms with different
 int and long sizes.
Also fixes #1328 (this is not really a bug, but a stupid compiler, however I
 don't see how it hurts anything to fix it).

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

10 years agoActually allocate a properly sized temporary buffer for non-4:2:0 modes, even
Tim Terriberry [Sat, 12 Apr 2008 03:57:29 +0000 (03:57 +0000)]
Actually allocate a properly sized temporary buffer for non-4:2:0 modes, even
 though the decoder doesn't support them.

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

10 years agoFix th_encode_ycbcr_in() to pad input frames if necessary (the new API does not
Tim Terriberry [Sat, 12 Apr 2008 03:43:09 +0000 (03:43 +0000)]
Fix th_encode_ycbcr_in() to pad input frames if necessary (the new API does not
 require the caller to do this).
Also add some extra validity checks to th_encode_alloc(), and remove the
 useless copy of enc/internal.c

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

10 years agoUntested merge of Nils Pipenbrinck's translation of the inline assembly
Ralph Giles [Sat, 12 Apr 2008 01:04:43 +0000 (01:04 +0000)]
Untested merge of Nils Pipenbrinck's translation of the inline assembly
to MSVC syntax.

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

10 years agoFix some memory leaks, and also don't print negative timestamps (and bitrates).
Tim Terriberry [Fri, 11 Apr 2008 23:36:00 +0000 (23:36 +0000)]
Fix some memory leaks, and also don't print negative timestamps (and bitrates).

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

10 years agoAlso copy back values in theora_info that theora_encode_init() can chnage in
Tim Terriberry [Fri, 11 Apr 2008 04:35:52 +0000 (04:35 +0000)]
Also copy back values in theora_info that theora_encode_init() can chnage in
This is needed to ensure the version numbers and granule shift match the values
 in the real encoder.

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

10 years agoFix encapiwrapper: we need a th_info struct at the start of th_enc_ctx in order
Tim Terriberry [Fri, 11 Apr 2008 04:19:43 +0000 (04:19 +0000)]
Fix encapiwrapper: we need a th_info struct at the start of th_enc_ctx in order
 for th_granule_[frame|time] to work.

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

10 years agoFix a comment.
Ralph Giles [Fri, 11 Apr 2008 04:15:26 +0000 (04:15 +0000)]
Fix a comment.

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

10 years agoClarify language about truncation in the DCT to indicate that the truncated
Tim Terriberry [Thu, 10 Apr 2008 18:49:44 +0000 (18:49 +0000)]
Clarify language about truncation in the DCT to indicate that the truncated
 values are signed.

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

10 years agoCheck for out of bounds before dereferencing instead of after.
Ralph Giles [Tue, 8 Apr 2008 03:18:26 +0000 (03:18 +0000)]
Check for out of bounds before dereferencing instead of after.
Patch by ogg.k.ogg.k.

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

10 years agoUse .ogv in examples instead of .ogg
ivo [Sat, 5 Apr 2008 00:14:37 +0000 (00:14 +0000)]
Use .ogv in examples instead of .ogg

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

10 years agoUse .ogv in examples instead of .ogg
ivo [Fri, 4 Apr 2008 23:48:30 +0000 (23:48 +0000)]
Use .ogv in examples instead of .ogg

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

10 years agoadd pkg-config files for theoraenc and theoradec
j [Wed, 26 Mar 2008 22:29:33 +0000 (22:29 +0000)]
add pkg-config files for theoraenc and theoradec

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

10 years agoencoder still depends on libogg. link it
j [Wed, 26 Mar 2008 22:22:36 +0000 (22:22 +0000)]
encoder still depends on libogg. link it

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

10 years agoFix inaccurate clarfification in 7.4.2.d.i.B, as well as a typo.
Tim Terriberry [Thu, 20 Mar 2008 14:16:55 +0000 (14:16 +0000)]
Fix inaccurate clarfification in 7.4.2.d.i.B, as well as a typo.
Thanks to Chris Brien for the report.
Also includes mode scheme 7 in Table 7.19 to clarify the source of the value

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

10 years agoFix two errors in the iDCT specification.
Tim Terriberry [Fri, 7 Mar 2008 15:09:29 +0000 (15:09 +0000)]
Fix two errors in the iDCT specification.
Thanks to Chris Brien for the report.

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

10 years agoFix possible read past the end of the buffer when reading 0 bits.
Tim Terriberry [Fri, 29 Feb 2008 01:14:05 +0000 (01:14 +0000)]
Fix possible read past the end of the buffer when reading 0 bits.

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

10 years agoProperly clean up when comment decoding is interrupted.
Tim Terriberry [Wed, 13 Feb 2008 19:50:32 +0000 (19:50 +0000)]
Properly clean up when comment decoding is interrupted.
Also, check to make sure an invalid packet doesn't tell us to allocate a
 ridiculous number of comment pointers (i.e., more than could possibly fit in
 the packet).

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

10 years agoDon't eat up tons of memory on invalid comment lengths.
Tim Terriberry [Wed, 13 Feb 2008 18:46:48 +0000 (18:46 +0000)]
Don't eat up tons of memory on invalid comment lengths.

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

10 years agoFix error-handling in Huffman-tree unpacking code.
Tim Terriberry [Wed, 13 Feb 2008 09:25:37 +0000 (09:25 +0000)]
Fix error-handling in Huffman-tree unpacking code.

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

10 years agoadd encapiwrapper to encoder_disabled
j [Sun, 3 Feb 2008 11:01:47 +0000 (11:01 +0000)]
add encapiwrapper to encoder_disabled

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

10 years agoApplied patch from #1280.
ivo [Sat, 19 Jan 2008 00:55:46 +0000 (00:55 +0000)]
Applied patch from #1280.

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

10 years agoMake the spec's handling of LAST1/LAST2 for INTER_4MV mode when not all the
Tim Terriberry [Thu, 10 Jan 2008 02:06:49 +0000 (02:06 +0000)]
Make the spec's handling of LAST1/LAST2 for INTER_4MV mode when not all the
 luma blocks are coded match the source code.
I don't know why they diverged, but it makes no sense to use (0,0) for one of
 the last MV's, since there's special MB modes dedicated to that value already.

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

10 years agoRename the 'ystride' member of the th_img_plane struct to 'stride'.
Ralph Giles [Wed, 9 Jan 2008 19:53:18 +0000 (19:53 +0000)]
Rename the 'ystride' member of the th_img_plane struct to 'stride'.

The y was for vertical, to distinguish from a possible future xstride
to allow pixel packing, but this was easily confused with the y of
Y'CrCb color planes. This is less confusing, and I think it makes
more sense to add support for chunked images in a deparate type.


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

10 years agoPort the granulepos test to the new api. It currently fails.
Ralph Giles [Tue, 8 Jan 2008 02:07:04 +0000 (02:07 +0000)]
Port the granulepos test to the new api. It currently fails.

Test the old api from both the new and old libraries.

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

10 years agoAdd copies of the noop and comment unit tests using the new style api.
Ralph Giles [Tue, 8 Jan 2008 01:08:12 +0000 (01:08 +0000)]
Add copies of the noop and comment unit tests using the new style api.
Test the old style api unit tests with both the new and old libraries.

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

10 years agoMore libogg2 removal.
Ralph Giles [Sun, 6 Jan 2008 06:16:50 +0000 (06:16 +0000)]
More libogg2 removal.

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

10 years agoVerify theora_granule_time() in the granulepos unit test.
Ralph Giles [Sun, 6 Jan 2008 05:54:41 +0000 (05:54 +0000)]
Verify theora_granule_time() in the granulepos unit test.

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

10 years agoMinor clean-ups.
Tim Terriberry [Sun, 6 Jan 2008 05:37:33 +0000 (05:37 +0000)]
Minor clean-ups.

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

10 years agoUpdate change log for r14369.
Ralph Giles [Sun, 6 Jan 2008 01:31:53 +0000 (01:31 +0000)]
Update change log for r14369.

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

10 years agoUpdate the unit tests for the new granulepos behaviour set it r14352.
Ralph Giles [Sun, 6 Jan 2008 01:31:06 +0000 (01:31 +0000)]
Update the unit tests for the new granulepos behaviour set it r14352.

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

10 years agoRemove the optional libogg2 support.
Ralph Giles [Sat, 5 Jan 2008 23:52:28 +0000 (23:52 +0000)]
Remove the optional libogg2 support.

This library was never released and now looks like it needs to be
redesigned. The support for building against it was never ported
to the new decoder, so it hasn't worked for some time.

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

10 years agoSilence const usage warning (this was in theora-exp but somehow missed getting
Tim Terriberry [Sat, 5 Jan 2008 23:36:42 +0000 (23:36 +0000)]
Silence const usage warning (this was in theora-exp but somehow missed getting
 in mainline).

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

10 years agoCopy the libogg bitpacker directly into libtheoradec.
Tim Terriberry [Sat, 5 Jan 2008 23:15:32 +0000 (23:15 +0000)]
Copy the libogg bitpacker directly into libtheoradec.
Due to the vagaries of -fPIC and dynamic linking, we wasting a _huge_ amount of
 time on function call overhead.
We also take the opportunity to get rid of our wrapper around the old libogg
 API and implement the API we want directly.
This gives more than an 18% decoding speed-up for an 82-byte net increase in
 code size.

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

10 years agoAdd the new API to the doxygen run, and attempt to differentiate it from
Ralph Giles [Sat, 5 Jan 2008 05:59:57 +0000 (05:59 +0000)]
Add the new API to the doxygen run, and attempt to differentiate it from
the pre-1.0 api.

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

10 years agoUnexpose advanced encoder setup API, since it is not yet implemented.
Tim Terriberry [Fri, 4 Jan 2008 21:37:25 +0000 (21:37 +0000)]
Unexpose advanced encoder setup API, since it is not yet implemented.

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

10 years agoInstall the theora-exp encoder example using the new API.
Tim Terriberry [Fri, 4 Jan 2008 20:23:25 +0000 (20:23 +0000)]
Install the theora-exp encoder example using the new API.

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

10 years agoRemove the old encoder_example to make way for one using the new theora-exp API.
Tim Terriberry [Fri, 4 Jan 2008 20:21:30 +0000 (20:21 +0000)]
Remove the old encoder_example to make way for one using the new theora-exp API.

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

10 years agoAdd an API wrapper to the encoder to export the new theora-exp API.
Tim Terriberry [Fri, 4 Jan 2008 20:20:56 +0000 (20:20 +0000)]
Add an API wrapper to the encoder to export the new theora-exp API.

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

10 years agoSmall code reduction in oc_vlc_mv_comp_unpack().
Tim Terriberry [Fri, 4 Jan 2008 20:12:47 +0000 (20:12 +0000)]
Small code reduction in oc_vlc_mv_comp_unpack().

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

10 years agoThat is, the declaration in theora-exp.
Tim Terriberry [Fri, 4 Jan 2008 20:11:13 +0000 (20:11 +0000)]
That is, the declaration in theora-exp.
Fix it in mainline.

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

10 years agoPort r14354 from theora-exp (minor comment fix).
Tim Terriberry [Fri, 4 Jan 2008 20:05:28 +0000 (20:05 +0000)]
Port r14354 from theora-exp (minor comment fix).

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

10 years agoFix const usage to match declaration.
Tim Terriberry [Fri, 4 Jan 2008 20:04:12 +0000 (20:04 +0000)]
Fix const usage to match declaration.

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

10 years agoPort the new granule position scheme for 3.2.1 schemes to the theora-exp branch.
Tim Terriberry [Fri, 4 Jan 2008 19:52:38 +0000 (19:52 +0000)]
Port the new granule position scheme for 3.2.1 schemes to the theora-exp branch.
Change the way it works in mainline so that the frame counts are always kept in
 synch with the value in the granule position, so that they don't need to be
 adjusted every time we translate between the two.
Finish documentation clarifications.

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

10 years agoClarify the behaviour of theora_granule_frame() and
Ralph Giles [Fri, 4 Jan 2008 19:33:42 +0000 (19:33 +0000)]
Clarify the behaviour of theora_granule_frame() and
theora_granule_time() to return a frame index and
the end of the presentation interval, respectively.

We believe this to be the most useful combination.
In 1.0beta1 and beta2 theora_granule_frame() returned
the count, not the index. There is no change in the
behaviour of theora_granule_time().

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

10 years agoAdd additional documentation and references for the Huffman decoding.
Tim Terriberry [Fri, 4 Jan 2008 18:26:04 +0000 (18:26 +0000)]
Add additional documentation and references for the Huffman decoding.
It turns out someone had this idea before.

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

10 years agoChange a couple of table headings so they are unique (and more descriptive).
Tim Terriberry [Fri, 4 Jan 2008 18:20:10 +0000 (18:20 +0000)]
Change a couple of table headings so they are unique (and more descriptive).

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

10 years agoMark which loops auto-vectorize.
Tim Terriberry [Fri, 4 Jan 2008 18:17:00 +0000 (18:17 +0000)]
Mark which loops auto-vectorize.
Currently the auto-vectorizer produces _slower_ code than normal, so it is
 disabledby default.

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

10 years agoFix position of comments.
Tim Terriberry [Fri, 4 Jan 2008 18:02:21 +0000 (18:02 +0000)]
Fix position of comments.

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

10 years agoDrastically simplify oc_state_get_mv_offsets().
Tim Terriberry [Fri, 4 Jan 2008 18:00:14 +0000 (18:00 +0000)]
Drastically simplify oc_state_get_mv_offsets().

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

10 years agoPort j^'s reduction of the bv array to 256 entries from r12826.
Tim Terriberry [Fri, 4 Jan 2008 17:38:40 +0000 (17:38 +0000)]
Port j^'s reduction of the bv array to 256 entries from r12826.

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

10 years agoMMX optimizations by Nils Pipenbrinck.
Tim Terriberry [Mon, 31 Dec 2007 02:22:21 +0000 (02:22 +0000)]
MMX optimizations by Nils Pipenbrinck.

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

10 years agoWhen averaging two motion vectors for 4MV mode in 4:2:2, only divide by two,
Tim Terriberry [Sun, 30 Dec 2007 17:42:25 +0000 (17:42 +0000)]
When averaging two motion vectors for 4MV mode in 4:2:2, only divide by two,
 not four.
Also, clarify wording as to which MVs are averaged for which block.

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

10 years agoDon't check for ltablex when determining if we should build the format
Tim Terriberry [Sun, 30 Dec 2007 17:40:15 +0000 (17:40 +0000)]
Don't check for ltablex when determining if we should build the format
 specification, since we provide it ourselves.

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

10 years agoFix another instance of free being used instead of _ogg_free.
Tim Terriberry [Sat, 22 Dec 2007 18:09:29 +0000 (18:09 +0000)]
Fix another instance of free being used instead of _ogg_free.

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

10 years agoDon't use bx in the dering loop when its still got the value from the last loop,
Tim Terriberry [Sat, 22 Dec 2007 17:07:49 +0000 (17:07 +0000)]
Don't use bx in the dering loop when its still got the value from the last loop,
 which can be out of bounds.

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

10 years agoFree huffman nodes with the libogg allocator, not the system one.
Ralph Giles [Tue, 11 Dec 2007 17:32:19 +0000 (17:32 +0000)]
Free huffman nodes with the libogg allocator, not the system one.
Issue #1269.

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

10 years agoAdd additional helpful flags to the png decoder.
Ralph Giles [Tue, 27 Nov 2007 19:11:53 +0000 (19:11 +0000)]
Add additional helpful flags to the png decoder.

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