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

Is There A Function that can convert rgb 24bit to YUV420?

kantonwang
Beginner
339 Views

hi

There are some functions about converting from rgb to YUV420 in ippcc.h. Now I need a function convert rgb 24bit to YUV420. Is there?

Thanks!

0 Kudos
3 Replies
kantonwang
Beginner
339 Views

I found it ippiBGRToYCbCr420_8u_C3P3R, i think it's ok.

Another question:

When I use UMC::VideoEncoder, there is memory leaks.

Detected memory leaks!
Dumping objects ->
{83} normal block at 0x003F7568, 1424 bytes long.
Data: < > CD CD CD CD 00 CD CD CD 00 00 00 00 00 00 00 00

My test source at VC++2003

UMC::VideoEncoder *pEncoder = UMC::createMPEG4VideoEncoder();
delete pEncoder;

Please tell me why it happend?

Thanks a lot!

peter

0 Kudos
kantonwang
Beginner
339 Views

Maybe it's sample's bug.

At file umc_mpeg4_video_encoder.cpp Ln30, i think it should delete mp4enc. I modified and test it, there is no memory leaks.

peter

0 Kudos
Vladimir_Dudnik
Employee
339 Views

Hi Peter,

thanks for reporting about that issue, I've submitted your report to Intel Premier Support, so you will be automatically notified when that issue will be fixed.

Regards,
Vladimir

0 Kudos
Reply