View Single Post
Old 19th July 2019, 02:00   #11  |  Link
hello_hello
Registered User
 
Join Date: Mar 2011
Posts: 4,829
Does FastBlur() crash for anyone else when the width isn't mod8 for YV12 video? I think it's a bug because the height mod doesn't seem to matter.

Here's a version that enforces a mod8 output width and resizes the picture width to mod8 (cropping if required). That seemed the easiest way to ensure mod8 borders. There'll only be an error message if FrostyBorders are actually being added and the output width isn't mod8. the output width isn't restricted when plain borders are added. If the output width isn't mod16 the picture mightn't be centred as the borders have to be mod8 both sides. It depends if the picture itself ends up mod8 or mod16.
ie 104 left border and 112 right border, rather than 108 each side, as they could be for mod4 borders.

Link removed

Last edited by hello_hello; 19th July 2019 at 12:29.
hello_hello is offline   Reply With Quote