Forum Discussion
Hi David,
Apologize for the delayed respond.
I understand that this is not a bug.
Only active video frame is stored in frame buffer.
For example, when Htotal = 4400 Vtotal = 2250, only H-active = 3840 and Vactive = 2160 data is stored in frame buffer. The size of a frame in frame buffer is 3840x2160x byte of a pixel.
Thank you.
Best Regards,
Zul
Hi Zul,
"The size of a frame in frame buffer is 3840x2160x byte of a pixel". This is only correct when the inter-line stride is equal to the maximum bytes per line. In general, the size of a frame in frame buffer is max_height x Inter-line stride. Which can be greater than max_width x max_height x byte_of_pixel.
In practice, we were using these settings in our video pipeline and the last 56 lines of the frame appeared to be overwritten periodically. I've attached a screenshot showing this behavior.
The behavior disappeared when we changed the Inner-Line stride from 0x4000 (16384) to 0x3000 (12288).
If it is not a bug, can you explain the behavior?
Thanks,
David