OpenHEVC/openHEVC

disable SIMD acceleration

Opened this issue · 4 comments

ggeor commented

hi,
is there any possibility to compile the decoder without NEON extensions on ARM (or SSE on x86)? The -a option on the command line parameters does not seem to do anything...

Hi,
AFAIK there is no clean way to do that. Nevertheless you can comment the following line in "libavcodec/hevcdsp.c":
if (ARCH_ARM) ff_hevcdsp_init_arm(hevcdsp, bit_depth);
In "libavcodec/cabac_functions.h" you can comment the following include:
# include "arm/cabac.h"

There is the same thing for ARCH_X86.

I Hope it will help.

ggeor commented

i'll try that , thanks!

ggeor commented

Hi,
actually there is no cabac.h file in arm folder and no "# include "arm/cabac.h" line in "libavcodec/cabac_functions.h. I used the branch hevc_arm, isn't it the one that has the NEON commands working?

It was but currently I suggest you try shm-dev branch.