Larger scaling numbers result in white frames (?) [closed]

asked 2019-12-18 15:14:27 -0500

updated 2020-10-11 14:22:36 -0500

Hi, This question is about a project I'm USING, not one that I've written.

I'm running a function which scales the image, like this:

resize(frame_g8, frame_g8, Size(), scale, scale, INTER_LINEAR);

The input image is 320x240. This works fine for any scales when I'm running on my laptop (Ubuntu 18.04), but when I run it on Debian 10 on a Snapdragon 410C I start getting white frames in the output.

I'm not 100% sure that this is the responsible function, but it seems to correlate well with larger scaling factors. I can't get above about 2.5 without the majority of the output frames starting to become white.

Might this have something to do with insufficient processing power on an embedded platform? If so, I would just expect it to take longer and reduce the output frame rate, not break.

Cheers, Rafael

edit retag flag offensive reopen merge delete

Closed for the following reason question is not relevant or outdated by sturkmen
close date 2020-10-11 14:22:47.356763

Comments

1

You could check if it is a timing issue by using a heavier & thus slower resizing method - the issue should hit at lower factors.

mvuori gravatar imagemvuori ( 2019-12-19 03:15:52 -0500 )edit