Skip to main content
YuK1_Works
Inspiring
June 10, 2024
Question

What interval is determined for PF_EffectWorld.rowbytes?

  • June 10, 2024
  • 1 reply
  • 198 views

I am trying to speed up the plugin by making it AVX2 compliant and would like to know how rowbytes are determined.
4byte?8byte?16byte?32byte?
I am assuming that they are probably patted to match one of those, but I would like to know the specific values.

This topic has been closed for replies.

1 reply

Community Expert
June 11, 2024

I've always found rowbytes to be "whole" pixels. i.e. a buffer 10 pixels wide would have an extra 1 pixel worth of bytes.

though i can't tell you if it's a rule or other sizes may occur...