Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

disable SIMD acceleration #38

Open
ggeor opened this issue Aug 27, 2015 · 4 comments
Open

disable SIMD acceleration #38

ggeor opened this issue Aug 27, 2015 · 4 comments

Comments

@ggeor
Copy link

ggeor commented Aug 27, 2015

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
Copy link
Member

eraffin commented Aug 27, 2015

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
Copy link
Author

ggeor commented Aug 27, 2015

i'll try that , thanks!

@ggeor
Copy link
Author

ggeor commented Aug 28, 2015

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
Copy link
Member

eraffin commented Aug 28, 2015

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants