Tag: assembly

使用NEON指令进行图像阈值处理

我正在为iOSdevise一些image processing应用程序,阈值确实是一个巨大的瓶颈。 所以我试图用NEON来优化它。 这里是C版本的函数。 有没有什么办法可以用NEON来重写(不幸的是我绝对没有这方面的经验)? static void thresh_8u( const Image& _src, Image& _dst, uchar thresh, uchar maxval, int type ) { int i, j; uchar tab[256]; Size roi = _src.size(); roi.width *= _src.channels(); memset(&tab[0], 0, thresh); memset(&tab[thresh], maxval, 256-thresh); for( i = 0; i < roi.height; i++ ) { const uchar* src = (const uchar*)(_src.data […]

使用otool反汇编默认iOS应用程序

当我尝试使用otool反汇编库存iOS应用程序(而不是应用程序商店应用程序)时,它不会被拆分为不同的方法。 这只是一个巨大的部分。 以下是我正在使用的命令: otool -tV theApp.app/theApp >~/Desktop/output.txt 有没有办法将反汇编拆分成方法?