- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have tried the IPP codes samples ( http://software.intel.com/en-us/articles/intel-integrated-performance-primitives-code-samples/ ) for mpeg4.
That is said , this encoder is support openMP :
Threading Capabilities
The MPEG-4 Encoder creates threads if it is compiled by compiler which supports the OpenMP. The _OPENMP macro must be defined during compilation. The number of threads is controlled via numThreads value of VideoEncoderParam during initialization stage. Synchronization is done by internal OpenMP IPPEncoder.rar mechanism
Then I tried converting .yuv to .mpg, I found the run time is no different whatever openmp is on/off.
Then I trace the code: Seems the bottlenecks do not be processed by OpenMP float.
, So, may anyone could give me a comment? if it is my wrong .. or that is nature?
Please reference the attached file(win XP, VC 2005), thank you.Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
pParams->info.clip_info.height=imgHeight;
pParams->info.clip_info.width=imgWidth;
pParams->info.bitrate = bitrate;
pParams->numThreads = 1;
pParams->info.framerate = framerate
of course, it always enables ONE threads..... =.=
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page