Quantcast
Channel: Intel® Software - Media
Viewing all articles
Browse latest Browse all 2185

mfxFrameSurface1 Pitch size

$
0
0

How and where does pitch get set? I see that  

Encoder has a line 
MSDK_MEMCPY_VAR(m_pVppSurfaces[i].Info, &(m_mfxVppParams.mfx.FrameInfo), sizeof(mfxFrameInfo));

This line  sets the info struct of  mfxFrameSurface1
But where does the surface.data.pitch get set of mfxFrameSurface1
Does it automatically mults width by 8 bytes and since we alight the width with MSDK_ALIGN16 ?

Thanks


Viewing all articles
Browse latest Browse all 2185

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>