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

How do I get LumaKeyEnable to work?

$
0
0

Hi

I am using the simple_8_composite_vmem sample provided by Sravanthi K at Intel.

composite.InputStream[0].DstX = (mfxU32)0;

composite.InputStream[0].DstY = (mfxU32)0;

composite.InputStream[0].DstW = (mfxU32)720;

composite.InputStream[0].DstH = (mfxU32)576;

 

composite.InputStream[1].DstX = (mfxU32)0; //Co-ordinates for where the second stream should go on the output surface

composite.InputStream[1].DstY = (mfxU32)0;

composite.InputStream[1].DstW = (mfxU32)720;

composite.InputStream[1].DstH = (mfxU32)576;

composite.InputStream[1].LumaKeyEnable = true;

composite.InputStream[1].LumaKeyMin = 200;

composite.InputStream[1].LumaKeyMax =255;

 

I have change the values of each surface to 720 x 576 and enabled LumaKeyEnable and set LumaKeyMin and LumaKeyMax.

I have attached the input frames I have used and the resultant output frame.

There is little information on this within the documentation and the resultant frame is not correct.

 

Thanks for your help in advance,

Kevin

AttachmentSize
Downloadapplication/zipyuv files.zip39.4 KB

Viewing all articles
Browse latest Browse all 697

Trending Articles



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