Commit: 13ab6b7bb60c3af82c6f99c2177f2fb2576ccd22 Author: Richard Antalik Date: Wed Jun 2 21:29:38 2021 +0200 Branches: blender-v2.93-release https://developer.blender.org/rB13ab6b7bb60c3af82c6f99c2177f2fb2576ccd22
Fix T57397: Movies are blurred after sws_scale Images with 4:2:2 and 4:4:4 chroma subsampling were blurred when `SWS_FAST_BILINEAR` interpolation is set for `anim->img_convert_ctx`. Use `SWS_BILINEAR` interpolation for all movies, as performance is not impacted by this change. Reviewed By: sergey Differential Revision: https://developer.blender.org/D11457 =================================================================== M source/blender/imbuf/intern/anim_movie.c =================================================================== diff --git a/source/blender/imbuf/intern/anim_movie.c b/source/blender/imbuf/intern/anim_movie.c index 78b07e4e2c8..7c95983dfd5 100644 --- a/source/blender/imbuf/intern/anim_movie.c +++ b/source/blender/imbuf/intern/anim_movie.c @@ -719,7 +719,7 @@ static int startffmpeg(struct anim *anim) anim->x, anim->y, AV_PIX_FMT_RGBA, - SWS_FAST_BILINEAR | SWS_PRINT_INFO | SWS_FULL_CHR_H_INT, + SWS_BILINEAR | SWS_PRINT_INFO | SWS_FULL_CHR_H_INT, NULL, NULL, NULL); _______________________________________________ Bf-blender-cvs mailing list [email protected] List details, subscription details or unsubscribe: https://lists.blender.org/mailman/listinfo/bf-blender-cvs
