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

Huge Image Size of a video capture and encoding/decoding application

sasishiju
Beginner
349 Views
Hi,
we are developing a media application using IPP UMC classes. By trial and error we could see that we need the following

#pragma comment (lib, "h264_enc")

#pragma comment (lib, "umc")

#pragma comment (lib, "vm")

#pragma comment (lib, "vm_plus")

#pragma comment (lib, "h264_dec")

#pragma comment (lib,"color_space_converter")

This is because we had to include all the above projects from ipp-samples for the compilation/building to work. But the problem here is that, the built image size is a huge 11+ MB.
Please let me know how this can be reduced by a good extent as we have a very critical requirement not to exceed the binary size to go beyond 2 MBs maximum.

0 Kudos
5 Replies
sasishiju
Beginner
349 Views
Quoting sasishiju
Hi,
we are developing a media application using IPP UMC classes. By trial and error we could see that we need the following

#pragma comment (lib, "h264_enc")

#pragma comment (lib, "umc")

#pragma comment (lib, "vm")

#pragma comment (lib, "vm_plus")

#pragma comment (lib, "h264_dec")

#pragma comment (lib,"color_space_converter")

This is because we had to include all the above projects from ipp-samples for the compilation/building to work. But the problem here is that, the built image size is a huge 11+ MB.
Please let me know how this can be reduced by a good extent as we have a very critical requirement not to exceed the binary size to go beyond 2 MBs maximum.


Hi,
Could any of you please send a reply on this ASAP, as our entire project is blocking on this crucial factor?

Thanks in advance,
Shiju

0 Kudos
sasishiju
Beginner
349 Views
Quoting sasishiju
Quoting sasishiju
Hi,
we are developing a media application using IPP UMC classes. By trial and error we could see that we need the following

#pragma comment (lib, "h264_enc")

#pragma comment (lib, "umc")

#pragma comment (lib, "vm")

#pragma comment (lib, "vm_plus")

#pragma comment (lib, "h264_dec")

#pragma comment (lib,"color_space_converter")

This is because we had to include all the above projects from ipp-samples for the compilation/building to work. But the problem here is that, the built image size is a huge 11+ MB.
Please let me know how this can be reduced by a good extent as we have a very critical requirement not to exceed the binary size to go beyond 2 MBs maximum.


Hi,
Could any of you please send a reply on this ASAP, as our entire project is blocking on this crucial factor?

Thanks in advance,
Shiju


Hi, To elaborate,
1. We are using Visual Studio 2010 to compile our application. We included the projects "h264_enc", "h264_dec", "umc", "vm", "vm_plus", "color_space_converter" to make our project compile and link properly.
But the resultant application binary size is way above the size affordable by us. Pleas help to throw light on this at your earliest convenience.

Thanks,
Shiju

0 Kudos
Tamer_Assad
Innovator
349 Views

Hi Shiju,

If are you performing static linking to IPP library, try dynamic linking.

Regards,

Tamer Assad

0 Kudos
sasishiju
Beginner
349 Views
Quoting Tamer Assad

Hi Shiju,

If are you performing static linking to IPP library, try dynamic linking.

Regards,

Tamer Assad

Hi Tamer,
Which are the dlls that are needed instead of the "libs" thatI have mentioned ? Where are they located?
Thanks,
Shiju

0 Kudos
Tamer_Assad
Innovator
349 Views

Hi Shiju,

Please check out the following article regarding IPP linkage models.

Simplified Link Instructions for the IPP Library

http://software.intel.com/en-us/articles/simplified-link-instructions-for-the-ipp-library/

Regards,

Tamer Assad

0 Kudos
Reply