On Fri, Oct 10, 2008 at 06:21:22PM +0000, David Flynn wrote:
> From: Jonathan Rosser <[EMAIL PROTECTED]>
> 
> different encoder implementations may leave or prune excess bits at the
> end of the arithmetic data.

> @@ -2706,12 +2706,16 @@ schro_decoder_decode_subband (SchroPicture *picture,
>      if (ctx->arith->offset < ctx->subband_length) {
>        SCHRO_WARNING("arith decoding didn't consume buffer (%d < %d)",
>            ctx->arith->offset, ctx->subband_length);
> +#ifdef DONT_DO_THIS
>        ctx->broken = TRUE;
> +#endif

Um, don't do this.  :)  I'd prefer to add real solutions rather than
random ifdefs.

The cutoffs for deciding when a subband has been decoded incorrectly
might be a little too strict.  Please fix this if you ever see this
warning generated.  It might be a good idea to bump the cutoff out
by 5 bytes or so -- decode mistakes are generally off by a *lot*.



dave...


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Schrodinger-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/schrodinger-devel

Reply via email to