Intel® Integrated Performance Primitives
Deliberate problems developing high-performance vision, signal, security, and storage applications.
6706 Discussions

MPEG2VideoEncoderBase::FormatMismatch() inaccuracy

OTorg
New Contributor III
217 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