Mercurial > libavcodec.hg
comparison error_resilience.c @ 9012:15a3df8c01fd libavcodec
More approved hunks for VAAPI & our new and cleaner hwaccel API.
patch by Gwenole Beauchesne gbeauchesne splitted-desktop com
author | michael |
---|---|
date | Mon, 23 Feb 2009 13:44:51 +0000 |
parents | 886ef38c7b36 |
children | 2767eb8c227d |
comparison
equal
deleted
inserted
replaced
9011:90c99bda19f5 | 9012:15a3df8c01fd |
---|---|
678 int is_intra_likely; | 678 int is_intra_likely; |
679 int size = s->b8_stride * 2 * s->mb_height; | 679 int size = s->b8_stride * 2 * s->mb_height; |
680 Picture *pic= s->current_picture_ptr; | 680 Picture *pic= s->current_picture_ptr; |
681 | 681 |
682 if(!s->error_recognition || s->error_count==0 || s->avctx->lowres || | 682 if(!s->error_recognition || s->error_count==0 || s->avctx->lowres || |
683 s->avctx->hwaccel || | |
683 s->avctx->codec->capabilities&CODEC_CAP_HWACCEL_VDPAU || | 684 s->avctx->codec->capabilities&CODEC_CAP_HWACCEL_VDPAU || |
684 s->error_count==3*s->mb_width*(s->avctx->skip_top + s->avctx->skip_bottom)) return; | 685 s->error_count==3*s->mb_width*(s->avctx->skip_top + s->avctx->skip_bottom)) return; |
685 | 686 |
686 if(s->current_picture.motion_val[0] == NULL){ | 687 if(s->current_picture.motion_val[0] == NULL){ |
687 av_log(s->avctx, AV_LOG_ERROR, "Warning MVs not available\n"); | 688 av_log(s->avctx, AV_LOG_ERROR, "Warning MVs not available\n"); |