Intel® Integrated Performance Primitives
Community support and discussions relating to developing high-performance vision, signal, security, and storage applications.
6634 Discussions

MPEG2VideoEncoderBase::FormatMismatch() inaccuracy

OTorg
New Contributor III
113 Views

YFrameHSize/UVFrameHSize values are compared with GetPlanePitch().

But YFrameHSize/UVFrameHSize are derived from m_iWidth, not pitch. Pitch of subsequent frames can be greater than width and it is quite normal.

So, YFrameHSize/UVFrameHSize values should be compared with width value(s).

0 Kudos
0 Replies
Reply