October 16, 2015, 10:15 am
Hello,
IPP v9.0 on Mac 10.10.5
I am running into an issue when trying to static link with libippcp.a on Mac. The error that is generated is ...
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: archive member: src/.libs/libA.a(libippcp.a) fat file for cputype (7) cpusubtype (3) is not an object file (bad magic number)
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ar: internal ranlib command failed
make[1]: *** [src/libA.la] Error 1
When I run /usr/bin/ranlib on libippcp.a it throws a bunch of no symbols -- don't know if that is relavent or not to the issue of linking.
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: for architecture: x86_64 file: IPP/lib/libippcp.a(precomp_k0.o) has no symbols
Using the same setup I'm trying on Mac but switching to a Linux machine and using the linux version of libippcp.a is able to work. It also appears to be able to link with libippcore.a on the Mac just not libippcp.a. I was curious if this was a known issue and if there was something that could be done.
Regards,
Jacob
↧
October 19, 2015, 4:12 am
Hi everyone,
I am shocked to find out the small matrices and vector part of the IPP got removed.
In short, what would be an alternative regarding ease of use and performance?
Greetings from Germany,
Hendrik
↧
↧
October 19, 2015, 8:37 am
Hello,
I have a very basic C program that calls ippInit(). When calling ippInit() valgrind on Mac shows conditional jump or move that is dependent on uninitialised values. Is there more function calls I need to do before calling ippInit()? On Linux the same simple program but using the Linux libraries has no issues reported by valgrind.
PROGRAM
1 #include "/dirto/ippcp.h"
2 #include "/dirto/ipp.h"
3 #include <stdio.h>
4
5 static int Init(void* heap)
6 {
7 printf("calling ipp init\n");
8 ippInit(); /* Selects the right optimizations to use */
9
10 (void)heap;
11 return 0;
12 }
13
14
15 int main()
16 {
17 Init(NULL);
18
19 return 0;
20 }
WARNING BY VALGRIND
calling ipp init
==48583== Conditional jump or move depends on uninitialised value(s)
==48583== at 0x10001238F: __intel_ssse3_strrchr (in /usr/local/lib/libippcp-9.0.dylib)
==48583== by 0x100011BB5: DynReload (in /usr/local/lib/libippcp-9.0.dylib)
==48583== by 0x636F6C2F7273752E: ???
==48583== by 0x6C2F62696C2F6C60: ???
==48583== by 0x2D70637070696268: ???
==48583== by 0x696C79642E302E38: ???
==48583== by 0x100000061: ??? (in ./a.out)
==48583== by 0x1FF000000FEFFFF: ???
==48583== by 0x1: ???
==48583== by 0x7FFF5FC38597: ??? (in /usr/lib/dyld)
==48583== by 0x7FFF5FC3FC87: ???
==48583== by 0x100001007: ??? (in ./a.out)
Regards
↧
October 25, 2015, 8:54 pm
Hi,
I am using the IPP 8.2.3 speech coding lib and USC interface for AMRNB decoder. The decode process crashed.
Here is the gdb infos.
bt
#0 0x000000000069593d in apiGSMAMRDecode ()
#1 0x000000000068800e in Decode ()
#2 0x00000000005fd820 in m_amrnb_dec ()
#3 0x00000000005a489d in execute_ingress_decoder ()
#4 0x00000000005a3ae9 in ingress_process_event ()
#5 0x00000000005a39b9 in uph_speech_ingress_data_event ()
#6 0x00000000005995d6 in uph_speech ()
#7 0x000000000059183c in fw_uph ()
#8 0x000000000065491a in dispatch_events ()
#9 0x0000000000653d1a in termination_process ()
#10 0x00000000006524c7 in slave_process ()
#11 0x0000000000652276 in master_process ()
#12 0x0000000000402276 in odo_process_entry ()
#13 0x000000000040188e in arch_setup_context ()
#14 0x0000000000000000 in ?? ()
disas
0x000000000069586c <+3052>: punpckhwd %xmm4,%xmm5
0x0000000000695870 <+3056>: movdqa %xmm1,%xmm4
0x0000000000695874 <+3060>: punpcklwd %xmm5,%xmm1
0x0000000000695878 <+3064>: punpckhwd %xmm5,%xmm4
0x000000000069587c <+3068>: punpcklwd %xmm4,%xmm1
0x0000000000695880 <+3072>: movdqu 0x10(%rdi),%xmm4
0x0000000000695885 <+3077>: pcmpgtw %xmm4,%xmm6
0x0000000000695889 <+3081>: movdqa %xmm4,%xmm5
=> 0x000000000069588d <+3085>: movaps %xmm1,0x220(%rsp)
0x0000000000695895 <+3093>: punpcklwd %xmm6,%xmm5
0x0000000000695899 <+3097>: punpckhwd %xmm6,%xmm4
0x000000000069589d <+3101>: movdqa %xmm3,%xmm6
0x00000000006958a1 <+3105>: movdqa %xmm5,%xmm1
0x00000000006958a5 <+3109>: psrlq $0x20,%xmm5
0x00000000006958aa <+3114>: pmuludq %xmm2,%xmm5
0x00000000006958ae <+3118>: pshufd $0x8,%xmm5,%xmm5
I checked the memory bank allocation, all memory were allocated normally. How can I troubleshoot it?
↧
October 25, 2015, 11:34 pm
Any idea why the function in a multithreaded program is working at about 1/4 speed than when it works in a single thread?
I am benchmarking the net performance of the functions (it doesn't include any waits, locks, anything)?
Thanks
Soroin
↧
↧
October 25, 2015, 11:45 pm
Any idea why the function in a multithreaded program is working at about 1/4 speed than when it works in a single thread?
I am benchmarking the net performance of the functions (it doesn't include any waits, locks, anything)?
Thanks
Soroin
↧
October 27, 2015, 3:30 am
Let say there is a 7x5 matrix (16-bit image) with the following values, and a raster with equdistant length of 3 pixels between the lines. So I want to copy every 3rd value into a new 3x2 matrix
![]()
=>
0 3 6
21 24 27
I tried ippiCopySubpix_16u_C1R but it does not seem to be the correct function. Do you have any ideas how to solve it? I'm using IPP 5.2.
Thanks.
↧
November 2, 2015, 3:38 pm
Does ippiConv internally perform a separable filter if the kernel parameters allow it?
I have implemented convolution using both ippiConv and ippiFilterRowBorderPipeline_32f_C1R, ippiFilterColumnPipeline_32f_C1R. I have implemented convolution using the above as both a single threaded version and multi-threaded (by breaking the convolution up into chunks).
In all cases ippiConv is faster than the by calling the ippiFilterRow/Column pair.
I didn't expect ippiConv to handle the separable case. I expected the ippiFilterRow/Column pair to be faster.
I am wondering if I did something wrong, or this is expected (outputs are numerically the same so raw implementation is correct).
I'm using IPP 8. Convolutions are perhaps 512x512 pixels, float. 4 core i7 CPU.
Thanks.
↧
November 6, 2015, 6:46 pm
Hello everyone,
I would like to do image processing and need to know the detail of ippiYCbCr422ToBGR_8u_C2C3R.
such as
Y'= 0.299*R' + 0.587*G' + 0.114*B'
U'= -0.147*R' - 0.289*G' + 0.436*B' = 0.492*(B'- Y') V'= 0.615*R' - 0.515*G' - 0.100*B' = 0.877*(R'- Y') R' = Y' + 1.140*V'
G' = Y' - 0.394*U' - 0.581*V' )
Is anyone can help me ? thanks
↧
↧
November 8, 2015, 11:41 pm
Hi,
I can't find "Audio/Video/Image/Speech encoding/decoding (H.264, MPEG-4, MP3, JPEG, JPEG2000, G.729, more)" samples.
Where can i get it?
Best regards Viktor.
↧
November 11, 2015, 3:18 pm
Hello,
IPP v9.0
I've combed through the cryptography manual and looked at options for ippsRSASign_PKCS1v15 but am looking for not using a hash digest. At the moment am using the base ippsRSA_Encrypt to make signatures and setting up an RSA key for the purpose of signing. But it has some performance overhead from loading the message into a BigNumberState and setting things up. Have also looked at using the function ippsRSAEncrypt_PKCSv15 since I'm using the PKCSv15 format anyway, but in using it I would need access to altering the first couple bytes of the padding which it seems the function does not allow to be done ("00020001FFFFFFFFF" attempt with using the padding pointer parameter)
Is there a way to go about just signing a message without having a hash involved that may have less overhead than my current approach?
Regards,
Jacob
↧
November 11, 2015, 9:43 pm
Hi,
I tried build video encode samples but got this:
-- Intel(R) IPP was found here: /home/hc/intel/compilers_and_libraries_2016.0.109/linux/ipp
-- folder with libraries: /home/hc/intel/compilers_and_libraries_2016.0.109/linux/ipp/lib/intel64
-- folder with includes : /home/hc/intel/compilers_and_libraries_2016.0.109/linux/ipp/include
--
--
-- [ vc1_enc ] codec/video/vc1/enc
-- [ vc1_dec ] codec/video/vc1/dec
-- [ vc1_common ] codec/video/vc1/common
-- [ mpeg4_enc ] codec/video/mpeg4/enc
-- [ mpeg4_dec ] codec/video/mpeg4/dec
-- [ h264_enc ] codec/video/h264/enc
-- [ h264_dec ] codec/video/h264/dec
-- [ mjpeg_dec ] codec/video/mjpeg/dec
-- [ common_cc ] codec/video/common/cc
-- [ common_sa ] codec/video/common/sa
-- [ common_me ] codec/video/common/me
-- [ mpeg2_enc ] codec/video/mpeg2/enc
-- [ mpeg2_dec ] codec/video/mpeg2/dec
-- [ vc1_spl ] codec/container/vc1/spl
-- [ mpeg4_spl ] codec/container/mpeg4/spl
-- [ mpeg4_mux ] codec/container/mpeg4/mux
-- [ avi_spl ] codec/container/avi/spl
-- [ container_common ] codec/container/common
-- [ mpeg2_spl ] codec/container/mpeg2/spl
-- [ mpeg2_mux ] codec/container/mpeg2/mux
-- [ mp3_enc ] codec/audio/mp3/enc
-- [ mp3_dec ] codec/audio/mp3/dec
-- [ mp3_common ] codec/audio/mp3/common
-- [ aac_enc ] codec/audio/aac/enc
-- [ aac_dec ] codec/audio/aac/dec
-- [ aac_common ] codec/audio/aac/common
-- [ ac3_dec ] codec/audio/ac3/dec
-- [ codec_common ] codec/common
-- [ vm_plus ] core/vm_plus
-- [ vm ] core/vm
-- [ core_umc ] core/umc
-- [ simple_player ] application/simple_player
-- [ umc_video_enc_con ] application/umc_video_enc_con
-- [ umc_audio_enc_con ] application/umc_audio_enc_con
-- [ umc_audio_dec_con ] application/umc_audio_dec_con
-- [ umc_video_dec_con ] application/umc_video_dec_con
-- [ application_common ] application/common
-- [ media_buffers ] io/media_buffers
-- [ renders_video ] io/renders/video
-- [ renders_audio ] io/renders/audio
-- [ io_umc ] io/umc
--
-- Configuring done
-- Generating done
-- Build files have been written to: /home/hc/Downloads/l_ipp_8.0.0.005_legacy_samples/ipp-samples.8.0.0.005/__cmake/audio-video-codecs.intel64.make.dynamic.release
/usr/bin/cmake -H/home/hc/Downloads/l_ipp_8.0.0.005_legacy_samples/ipp-samples.8.0.0.005/sources/audio-video-codecs -B/home/hc/Downloads/l_ipp_8.0.0.005_legacy_samples/ipp-samples.8.0.0.005/__cmake/audio-video-codecs.intel64.make.dynamic.release --check-build-system CMakeFiles/Makefile.cmake 0
/usr/bin/cmake -E cmake_progress_start /home/hc/Downloads/l_ipp_8.0.0.005_legacy_samples/ipp-samples.8.0.0.005/__cmake/audio-video-codecs.intel64.make.dynamic.release/CMakeFiles /home/hc/Downloads/l_ipp_8.0.0.005_legacy_samples/ipp-samples.8.0.0.005/__cmake/audio-video-codecs.intel64.make.dynamic.release/CMakeFiles/progress.marks
/usr/bin/gmake -f CMakeFiles/Makefile2 all
gmake[1]: вход в каталог «/home/hc/Downloads/l_ipp_8.0.0.005_legacy_samples/ipp-samples.8.0.0.005/__cmake/audio-video-codecs.intel64.make.dynamic.release»
/usr/bin/gmake -f codec/video/vc1/enc/CMakeFiles/vc1_enc.dir/build.make codec/video/vc1/enc/CMakeFiles/vc1_enc.dir/depend
gmake[2]: вход в каталог «/home/hc/Downloads/l_ipp_8.0.0.005_legacy_samples/ipp-samples.8.0.0.005/__cmake/audio-video-codecs.intel64.make.dynamic.release»
cd /home/hc/Downloads/l_ipp_8.0.0.005_legacy_samples/ipp-samples.8.0.0.005/__cmake/audio-video-codecs.intel64.make.dynamic.release && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /home/hc/Downloads/l_ipp_8.0.0.005_legacy_samples/ipp-samples.8.0.0.005/sources/audio-video-codecs /home/hc/Downloads/l_ipp_8.0.0.005_legacy_samples/ipp-samples.8.0.0.005/sources/audio-video-codecs/codec/video/vc1/enc /home/hc/Downloads/l_ipp_8.0.0.005_legacy_samples/ipp-samples.8.0.0.005/__cmake/audio-video-codecs.intel64.make.dynamic.release /home/hc/Downloads/l_ipp_8.0.0.005_legacy_samples/ipp-samples.8.0.0.005/__cmake/audio-video-codecs.intel64.make.dynamic.release/codec/video/vc1/enc /home/hc/Downloads/l_ipp_8.0.0.005_legacy_samples/ipp-samples.8.0.0.005/__cmake/audio-video-codecs.intel64.make.dynamic.release/codec/video/vc1/enc/CMakeFiles/vc1_enc.dir/DependInfo.cmake --color=
Scanning dependencies of target vc1_enc
gmake[2]: выход из каталога «/home/hc/Downloads/l_ipp_8.0.0.005_legacy_samples/ipp-samples.8.0.0.005/__cmake/audio-video-codecs.intel64.make.dynamic.release»
/usr/bin/gmake -f codec/video/vc1/enc/CMakeFiles/vc1_enc.dir/build.make codec/video/vc1/enc/CMakeFiles/vc1_enc.dir/build
gmake[2]: вход в каталог «/home/hc/Downloads/l_ipp_8.0.0.005_legacy_samples/ipp-samples.8.0.0.005/__cmake/audio-video-codecs.intel64.make.dynamic.release»
[ 0%] Building CXX object codec/video/vc1/enc/CMakeFiles/vc1_enc.dir/src/umc_vc1_enc_picture_adv.cpp.o
cd /home/hc/Downloads/l_ipp_8.0.0.005_legacy_samples/ipp-samples.8.0.0.005/__cmake/audio-video-codecs.intel64.make.dynamic.release/codec/video/vc1/enc && /usr/bin/c++ -DINTEL64 -DLINUX -DLINUX32 -DLINUX64 -DUNIX -m64 -O2 -Wall -I/home/hc/intel/compilers_and_libraries_2016.0.109/linux/ipp/include -I/home/hc/Downloads/l_ipp_8.0.0.005_legacy_samples/ipp-samples.8.0.0.005/sources/audio-video-codecs/codec/video/vc1/enc/include -I/home/hc/Downloads/l_ipp_8.0.0.005_legacy_samples/ipp-samples.8.0.0.005/sources/audio-video-codecs/codec/video/vc1/common/include -I/home/hc/Downloads/l_ipp_8.0.0.005_legacy_samples/ipp-samples.8.0.0.005/sources/audio-video-codecs/codec/video/common/me/include -I/home/hc/Downloads/l_ipp_8.0.0.005_legacy_samples/ipp-samples.8.0.0.005/sources/audio-video-codecs/codec/video/common/sa/include -I/home/hc/Downloads/l_ipp_8.0.0.005_legacy_samples/ipp-samples.8.0.0.005/sources/audio-video-codecs/io/umc/include -I/home/hc/Downloads/l_ipp_8.0.0.005_legacy_samples/ipp-samples.8.0.0.005/sources/audio-video-codecs/core/umc/include -I/home/hc/Downloads/l_ipp_8.0.0.005_legacy_samples/ipp-samples.8.0.0.005/sources/audio-video-codecs/core/vm/include -I/home/hc/Downloads/l_ipp_8.0.0.005_legacy_samples/ipp-samples.8.0.0.005/sources/audio-video-codecs/core/vm_plus/include -o CMakeFiles/vc1_enc.dir/src/umc_vc1_enc_picture_adv.cpp.o -c /home/hc/Downloads/l_ipp_8.0.0.005_legacy_samples/ipp-samples.8.0.0.005/sources/audio-video-codecs/codec/video/vc1/enc/src/umc_vc1_enc_picture_adv.cpp
In file included from /home/hc/Downloads/l_ipp_8.0.0.005_legacy_samples/ipp-samples.8.0.0.005/sources/audio-video-codecs/codec/video/vc1/enc/include/umc_vc1_enc_common.h:17:0,
from /home/hc/Downloads/l_ipp_8.0.0.005_legacy_samples/ipp-samples.8.0.0.005/sources/audio-video-codecs/codec/video/vc1/enc/include/umc_vc1_enc_mb.h:21,
from /home/hc/Downloads/l_ipp_8.0.0.005_legacy_samples/ipp-samples.8.0.0.005/sources/audio-video-codecs/codec/video/vc1/enc/include/umc_vc1_enc_picture_adv.h:20,
from /home/hc/Downloads/l_ipp_8.0.0.005_legacy_samples/ipp-samples.8.0.0.005/sources/audio-video-codecs/codec/video/vc1/enc/src/umc_vc1_enc_picture_adv.cpp:19:
/home/hc/Downloads/l_ipp_8.0.0.005_legacy_samples/ipp-samples.8.0.0.005/sources/audio-video-codecs/codec/video/vc1/common/include/umc_vc1_common_defs.h:23:19: фатальная ошибка: ippvc.h: Нет такого файла или каталога
#include "ippvc.h"
^
компиляция прервана.
codec/video/vc1/enc/CMakeFiles/vc1_enc.dir/build.make:65: ошибка выполнения рецепта для цели «codec/video/vc1/enc/CMakeFiles/vc1_enc.dir/src/umc_vc1_enc_picture_adv.cpp.o»
gmake[2]: *** [codec/video/vc1/enc/CMakeFiles/vc1_enc.dir/src/umc_vc1_enc_picture_adv.cpp.o] Ошибка 1
gmake[2]: выход из каталога «/home/hc/Downloads/l_ipp_8.0.0.005_legacy_samples/ipp-samples.8.0.0.005/__cmake/audio-video-codecs.intel64.make.dynamic.release»
CMakeFiles/Makefile2:88: ошибка выполнения рецепта для цели «codec/video/vc1/enc/CMakeFiles/vc1_enc.dir/all»
gmake[1]: *** [codec/video/vc1/enc/CMakeFiles/vc1_enc.dir/all] Ошибка 2
gmake[1]: выход из каталога «/home/hc/Downloads/l_ipp_8.0.0.005_legacy_samples/ipp-samples.8.0.0.005/__cmake/audio-video-codecs.intel64.make.dynamic.release»
Makefile:86: ошибка выполнения рецепта для цели «all»
gmake: *** [all] Ошибка 2
[ audio-video-codecs.intel64.make.dynamic.release State: FAIL ]
-----------------------------------------------------------------------------------
Where is ippvc.h file?
Best regards Viktor.
↧
November 11, 2015, 11:10 pm
Hi,
Where i can find actual UMC for IPP 9?
UMC IPP8 is very different api from IPP9.
↧
↧
November 12, 2015, 3:24 am
Hello there!
How can i achieve some color enhancements with the Intels IPP library?
I'm working with RGB32 images and in particular would like to:
- Raise/lower the single "RGB channels"
This could this be achieved via "Image Arithmetic and Logical Operations", i think.
Just "Add"/"Sub" values from RGB channels. Right?
- Adjust "color temperature"
Not sure about this, but i red some advices to devise my own stratagy, changing the color between red and blue.
Any idea/comments about the most common/practical way to do it?
- Raise/lower "black color" value
Well i suspect the color space conversion to HLS and adjsuting the "lightness" (L) value, than back to RGB?!?!
- Adjust "color saturation"
color space conversion to HLS and adjsuting the "saturation" (S) value, than back to RGB?
- Gamma correction
Isn't the same as "adjustment of black color"?!?!
- Adjust "contrast"
A combination of simultaneously admjustment of "saturation" and "lightness"?
higher contras -> higher saturation + lower lightness ?
lower contras -> lower saturation + higher lightness ?
Thank You very much in advance!
Regards,
Max
↧
November 12, 2015, 1:53 pm
Hi,
I've just installed version 9.0.0 of IPP. I use VS 2010 as my IDE. I have code that has been working fine with version 7 of the IPP and so I was a little surprised that after installing IPP 9.0.0 this code no longer compiled.
I set the include path the the IPP 9 include location and indeed some of the IPP basic stuff like ippsGetLibVersion() but
I'm getting compiler errors on declarations like:
IppsFIRState_64f* m_pState;
In fact I can't even find this type or ippsFIRInitAlloc_64f() in any of the version 9 header files. Did I miss something in my setup?
Thanks
↧
November 16, 2015, 4:55 am
I can do this using OpenCV to load the image file and then the WarpAffine function from the ipp_blur_rotate_sample SDK sample; the alpha channel from the original image is preserved however areas in the new rotated image that were not originally present default to 100% opacity which is not what I want. I would like them to default to transparency but cant see how to do this easily without extra processing ( subsequently I am using ippiAlphaComp_8u_AC4R to composite the rotated image with larger video frames and don't want to them obscure parts of the video ).
I can work round this by my making my images larger and then when compositing specifying a smaller ROI which gets all the important content but doesn't include the opaque new regions but this is not ideal since it requires extra calculation.
- I found out this morning its simply a question of setting the border value argument iWarpAffineLinearInit(...) to a value which has the alpha channel set to zero
↧
November 17, 2015, 7:49 pm
I used intel parallel studio 2011, Visual Studio 2008, Window 7- 64bit
I load "ipps-7.0.dll" and "ippm-7.0.dll" in folder "C:\Program Files (x86)\Intel\Parallel Studio 2011\Composer\redist\intel64\ipp\"
then "flush to zero" is enabled.
how many dll of IPP enable "flush to zero" mode when it is loaded?
Code C# used to load:
"
LoadLibrary(@"C:\Program Files (x86)\Intel\Parallel Studio 2011\Composer\redist\intel64\ipp\ipps-7.0.dll");
"
↧
↧
November 22, 2015, 3:53 pm
How to concatenate matrices with Intel IPP? Are there any functions that perform it like in OpenCV hconcat and vconcat?
↧
November 22, 2015, 5:45 pm
Hi,
Is there a way I can get an evaluation version of IPP8.1? We are looking at using IPP JPEG2000 decoder, but JPEG functionality has been removed from IPP9, so it is a no-go for us.
Thank you.
↧
November 24, 2015, 7:03 am
I am working on a project that will record some g.726 data. My software does not currently support this codec so we will have to use the Intel IPP library to decode the files after they are recorded. I am looking through the sample code libraries and cannot seem to locate some g.276 sample source code anywhere. Is there a way someone could provide this for me please?
Any help would be greatly appreciated. Thanks in advance!
↧