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
This commit is contained in:
parent
a9dfde7b49
commit
1f55786791
Notes:
blender-bot
2023-02-14 07:39:46 +01:00
Referenced by issue #88449, Blender LTS: Maintenance Task 2.93 Referenced by issue #57397, in video editor, clips get blurred
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue