Quantcast
Channel: Dernières contributions
Viewing all articles
Browse latest Browse all 10

Need help with resizing video frame

$
0
0
Anglais

I'm capture a YUY2 640x480 video frame from camera in DirectShow. I have a transform filter and all I want to do is downsize the 640x480 frame to 320x240 frame. I have no clue what functions I should use for malloc and the actual downsize. Here's the functions I AM using and am not getting the desired results:

IppiSize roiInputSize = { 640, 480};

IppiSize roiOutputSize = { 320, 240 };

IppiRect roi = {0, 0, 640, 480};

ImageYUY2 = ippiMalloc_8u_C2( roiOutputSize.width, roiOutputSize.height, &stepYUY2 );


Viewing all articles
Browse latest Browse all 10

Trending Articles



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