Quantcast
Channel: Intel® Software - Intel® Integrated Performance Primitives
Viewing all articles
Browse latest Browse all 1489

Compositing images

$
0
0

This is a theory question!

My objective is to add annotations to a video frame.

Say, I take a video frame, and want to add text to it.

My decoded frame is in YUY2 space. This is what I am thinking I should do.

1. Convert YUY2 frame to RGB32.

2. The "text image" which is in RGB32 will now be overlaid/composited on the RGB32 video frame.

3. Convert the composited image to YUY2 and send it to encoder.

Is my approach correct? What are the best IPP functions to accomplish compositing. I already know how to convert between color spaces.


Viewing all articles
Browse latest Browse all 1489

Trending Articles



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