[FFmpeg-devel] [PATCH 2/2] svq3: stop using clear_blocks().

Michael Niedermayer michaelni at gmx.at
Mon Feb 18 15:34:44 CET 2013


On Sun, Feb 17, 2013 at 05:01:27PM -0800, Ronald S. Bultje wrote:
> From: "Ronald S. Bultje" <rsbultje at gmail.com>
> 
> The clearing of block coefficients is now integrated in the IDCT.
> ---
>  libavcodec/svq3.c | 2 --
>  1 file changed, 2 deletions(-)
> 
> diff --git a/libavcodec/svq3.c b/libavcodec/svq3.c
> index 1c41153..ad90f93 100644
> --- a/libavcodec/svq3.c
> +++ b/libavcodec/svq3.c
> @@ -671,8 +671,6 @@ static int svq3_decode_mb(SVQ3Context *s, unsigned int mb_type)
>      }
>      if (!IS_SKIP(mb_type) || h->pict_type == AV_PICTURE_TYPE_B) {
>          memset(h->non_zero_count_cache + 8, 0, 14 * 8 * sizeof(uint8_t));
> -        h->dsp.clear_blocks(h->mb +   0);
> -        h->dsp.clear_blocks(h->mb + 384);
>      }

This causes artifacts with:
http://samples.ffmpeg.org/mov/watermark/svq3_watermark.mov

[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

I have often repented speaking, but never of holding my tongue.
-- Xenocrates
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20130218/25918801/attachment.asc>


More information about the ffmpeg-devel mailing list