OpenHEVC / openHEVC

HEVC decoder
http://openhevc.github.io/openHEVC/
531 stars 192 forks source link

disable SIMD acceleration #38

Open ggeor opened 9 years ago

ggeor commented 9 years ago

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...

eraffin commented 9 years ago

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 9 years ago

i'll try that , thanks!

ggeor commented 9 years ago

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?

eraffin commented 9 years ago

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