I'm a little confused. The function RGBToGray will work for BGR format too?
Or I have to do the conversion before?
Thank you very much.
I'm a little confused. The function RGBToGray will work for BGR format too?
Or I have to do the conversion before?
Thank you very much.
For a basis I followed an example from this links:
http://software.intel.com/en-us/articles/how-to-use-intel-ipp-s-1d-fouri...
I don't understand function ippsFFTFwd_CToC_32fc(pSrc,pDst,pFFTSpec,pFFTWorkBuf); To make a FFT it is necessary to have values of any signal.
Hello,
I use the following call to get the duration of one video to be decoded. The debug version of my MS VS 2008 compiler does not have any problems to get the correct duration of the loaded video. The release version has some problems to get from every video the correct duration. Sometimes the duration is 0 instead of 3-5s or seems to be shorter than the given value of 30-60s from the video. I wonder why there is a difference between the debug and release one. I use the IPP 7-0-2 in my software.
Can I use other stream parameters to check the duration or to calculate the correct one? Do I have to wait for a certain state so that I know that the duration parameter is correct now?
virtualDOUBLE GetDuration()
{
if(m_videostreaminfo.duration > 0)
{
// UMC::VideoStreamInfo CVideoItem::m_videostreaminfo
// Ipp64f UMC::sVideoStreamInfo::duration
returnm_videostreaminfo.duration;
}
elseif(m_pSplInfo != 0L)
{
// UMC::SplitterInfo *CVideoItem::m_pSplInfo
// Ipp64f UMC::SplitterInfo::m_dDuration
returnm_pSplInfo->m_dDuration;
}
return0.0;
}
Best regards,
Detlev
Hello Guys,
With help of this fourms of software.intel.com, I am sharing my knowledge of Drupal Development, which Three steps of tools is very necessary and important for draupl development that helping to manage to cms of drupal technology.
Regards,
David Kroj
Hi all,
I'm trying to run a program written using Microsoft Visual C++ 6.0 (legacy software, that's why it's running on such an old version). It uses some IPP APIs, and I have installed IPP 7.1 in
C:\ProgramFiles\Intel\Composer XE
in which there is an ipp folder, and a redist\ia32\ipp folder that contains ippcore-7.1.dll, among many other dlls.
After I've compiled and built my program, I tried to run it, but I kept getting the error
This application has failed to start because ippcore-7.1.dll was not found.Re-installing the application may fix this problem.
I also have the following path in my Link -> (Category) Input
Additional library path: C:\ProgramFiles\Intel\Composer XE\ipp\lib\ia32
I also tried to run
C:\ProgramFiles\Intel\Composer XE\ipp\demo\ia32\ippsDemo.exe
and also got the same error.
The program did run successfully about 5 months ago when I first installed IPP 7.1. Is there some settings that I have neglected to set, or is this a matter of the IPP license expiring?
Thank you.
Hello All,
I just implemented the histogram equalization technique using intel ipp functions. Since Histogram equalization equalizes within the two extreem values, I was thinking of implementing other methods for auto contrast.
Is there any way that I can perform auto contrast and not histogram equlaiztion?
Thanks,
Sharath
Hello friends. Could you provide correct parameters for Gaussian Mixture (ippiForegroundGaussianInitAlloc parameters). I'm going to use it in indoor place with constant illumination. I have already tried to use GMM with extensive diapason of parameters, but it works unsatisfactorily. For example: Shadows aren't detected, therefore foreground is fail.
Thanks.
Hi,
We have a large application with different parts that use IPP. Some are using version 6.1, some 7.0 and some 7.1. Is this going to cause us any problems?
Does it make a difference if the the different versions are used in different procesess or does it depend on how we link to IPP?
I have heard of problems with OpenMP conflicts but I get the impression OpenMP isn't used in 7.1 so would these problems go away?
Thanks very much,
Andy
Hi,
I have trouble finding the difference between SqrDistanceFull_Norm/SqrDistanceSame_Norm/SqrDistanceValid_Norm, as well as CrossCorFull_Norm/CrossCorSame_Norm/CrossCorValid_Norm, as well as CrossCorFull_NormLevel/CrossCorSame_NormLevel/CrossCorValid_NormLevel.
What exactly is the difference between Full/Same/Valid versions?
All of these functions are marked as deprectated, but nowhere can I find the name of a replacement function. Which function(s) replace the deprecated ones?
I must also say that the documentation is really hard to read. All these variants of function descriptions seem to share the same documentation (at least 99% is the same), making it very very hard to spot differences.
Best regards
Peter
I'm trying to use 'ippsResamplePolyphaseFixed' based on the sample code I found here. Most makes sense and I have things almost working. The problem I have (in addition to the outdated API being used in the sample code) is that I am working on sample frames processed in real time as opposed to file I/O. That is, I am not reading a chunk from a file and resampling, I am reading a smaller chunk from a media stream (i.e. roughly 60 msec at 11kHz) and converting to an even smaller chunk (8kHz). The example code uses a base buffer size of 4096 samples and a history of 128 samples . . .
int bufsize=4096;
int history=128;
Where do these values come from? If I am providing input chunks of 660 samples should the buffsize / history values change or do I need to fill the buffer with more samples before trying to extract the converted samples? The end result of my current implementation is that about 90% of the chunk is converted properly but I am seeing about 10% of trailing silence in the output for each 60 msec chunk.
Thanks Bob
Hi,
Does IPP support mic architecture (Intel Xeon Phi)? In many places (e.g. http://software.intel.com/en-us/articles/intel-xeon-phi-coprocessor-deve...) there is information about available Compilers and Libraries and there is mention about IPP. Unfortunately there is no IPP mic libraries in ComposerXE 2013.3.163.
Best Regards,
Marcin Szaferski
Hello,
According to the IPP Manual (version 7.1) functions: ippiWTFwdFree_32f_C1R and ippiWTFwdFree_32f_C3R are marked deprecated. More specifically the manual says: "This function is obsolete and will be removed in a future release. Use new Resize API instead of this one. Use the following link for details: http://software.intel.com/en-us/articles/intel-ipp-71-deprecated-features/". However, I cannot find any information about the "new Resize API" and the functions corresponding to WTFwdInitAlloc are not marked deprecated. Could you give me a hint, how IppiWTFwdSpec_32f structures should be deallocated without using ippiWTFwdFree_32f_C1R?
Note, the example on page 886 still uses function ippiWTFwdFree_32f_C1R to free memory.
Best regards,
Thomas
I've completed a performance evaluation of some linear algebra algorithm that uses ippsAdd_32f and ippsSub_32f IPP functions vs. a simple 2-for-loop implementation ( of the same functionality in the same algorithm ) compiled with /O3 ( Intel C++ compiler ) and /O2 ( Microsoft C++ compiler ) optimizations and my results are very interesting.
In a couple of words: There was just ~0.30% performance improvement when IPP functions are used and I would consider it as negligible. I also provide test results later.
Thanks and ask questions if interested.
Hello,
I am trying to build IPP 7.1 samples in Ubuntu.
When I run, I get the following error: Unknown CMake command "make_executable"
My kernek (OS) is up-to-date.
Can you help me how to solve ?
Thanks
Emre
CMake Error at CMakeLists.txt:68 (make_executable):
Unknown CMake command "make_executable".CMake Warning (dev) in CMakeLists.txt:
No cmake_minimum_required command is present. A line of code such ascmake_minimum_required(VERSION 2.8)
should be added at the top of the file. The version specified may be lower
if you wish to support older CMake versions for this project. For more
information run "cmake --help-policy CMP0000".
This warning is for project developers. Use -Wno-dev to suppress it.-- Configuring incomplete, errors occurred!
Is there any parameter in common UMC::H264Encoder and UMC::MPEG4Encoder that define the quality? (compression level)
Some param to be set at the initialization?
Best regards,
Good morning dear all,
I'm currently using ippiSqrIntegral_8u32f64f_C1R to compute integral and square integral of an image. The square integral double array resulted seem to be right but it's not the case for the float integral array. So i decided to experiment the function in a simple 512x512 image entirely filled with 255 value. With this case, I expect that every value of integral array is gonna finish with "5" or "0" as it is a sum of 255 values... but i notice that some values can finish with "4" or "7", etc... errors occur between (126,508) and (513,508) .Here is my problem, because even if i'm wrong with the function paramters, it cannot gives float finishing with value other than "0" or "5". Thanks for any help
Here is my code :
#include <vector>
int main(){
std::vector<unsigned char> white(512*512,255);
Ipp8u* src = &white[0];
int step = 0;
Ipp32f* integral = ippiMalloc_32f_C1(512+1,521+1,&step);
Ipp64f* integral2 = (double*)malloc((512+1)*(512+1)*sizeof(double));
IppiSize roi = {w+2*R,h+2*R};
st = ippiSqrIntegral_8u32f64f_C1R(src,512*sizeof(Ipp8u),integral,(512+1)*sizeof(Ipp32f),integral2,(512+1)*sizeof(double),roi,0,0);
if(st!=ippStsNoErr)
{
std::cout << ippGetStatusString(st) << std::endl;
return 1;
}
for(int i=0 ; i<512+1 ; i++)
for(int j=0 ; j<512+1 ; j++)
{
if(*(integral + i*(512+1) + j)%5 != 0)
{
std::cout << i << ","<< j << std::endl;
system("PAUSE");
}
}
return 0;
}
What are the replacements for the correlation and convolution functions: ippiCrossCorrFull, ... and ippiConvFull, ippiConvValid ? The website http://software.intel.com/en-us/articles/functions-deprecated-in-ipp-71/ marks them as obsolete functions, but similar to the wavelet memory allocation stuff no replacement is listed.
Could you please give me a hint?
Thomas
Hi,
We are evaluating the performance of IPP mpeg2 decoder source code library on some of our target server. For this we are using IPP 7.1 sample source code for mpeg2 decoder compiled with IPP 7.1 core library. We are getting quiet good performance on one of our target hardware. But we are facing one issue that if we run the same source code on a target hardware with better configuration, the performance of the Mpeg2 decoder is degrading. The specification of the old and new hardware is as follows:
Old Hardware specification: Processor: 2 x Intel Xeon x5650 processor(2.66Ghz/6core/12 MB), RAM: 12GB DDR3, OS: Windows server 2003 standard with SP1
New Hardware Specification:Processor: Xeon E5-2690 Processor Kit[N8101-552F] x 2(2.90 Ghz/8core/20 MB), RAM: 32GB DDR3, OS: Windows server 2003 standard with SP1.
From above you can see that new hardware has very good configuration and even Xenon E5-2650 supports the AVX instruction set also, even though the performance is degrading on this new hardware.
FYI:
IPP static libraries are used to build the binary. ippInit() is called befrore calling any other function of the IPP library(also checked with ippInitCpu and ippEnableCpu functions but behaviour does not change).
Kindly provide some direction to get the root cause of this issue.
Hi, I noticed that the documentation warns that all the Tone-generating (ippsTone*) functions are deprecated. If that is the case, what is the proposed alternative? I cannot find this information in the documentation.
Thanks!
Ed
Hi,
I am intel ipp h264 encoder for our application. We are using it for various resolutions with various bitrate.
So, for 320x240 with 100kbps with 30 fps CPU usage is around 20 to 35%
where for 640x480 with 100kps with 30fps CPU usage is around 80 to 100%
As the resolution for 320x240 is 20 to 35%, for double the resolution with same fps and bitrate, the CPU usage also get doubled, but why it is going beyond more than double equals to thriple.
Is this not like resolution is doubled, so CPU also double, is this valid one or expected.
Plz provide the proper explanation.