AviSynth / AviSynthPlus

AviSynth with improvements
http://avs-plus.net
930 stars 74 forks source link

Request for enabling MIPS-related architecture support #285

Open CamberLoid opened 2 years ago

CamberLoid commented 2 years ago

Hello there.

This is Camber from Anthon Open Source Community, a package maintainer of our linux distribution AOSC OS. I am working on updating ffmpeg in out distro's repository, and I found that avisynth+ seems not to support mips architectures defined in avs_core/include/avs/config.h:64.

After doing some researches, I found that there is no architecture-specific codes for some of supported architectures. Then I conclude that this project can be successfully build for our mips64le target loongson3.

Currently my workaround of building for our supported mips64le target is to forcibly enable building support for mips. (Patch is attached in references) Still, on behalf of AOSC Community, I want to request official support for mips64le support. I would appreciate it if my request is taken to consideration.

Best regards, Camber Huang

Reference:

qyot27 commented 2 years ago

https://github.com/AviSynth/AviSynthPlus/commit/8ce63364a5105fbdf0eda6b564b67a5eb6a9cb9d adds the basic stubs. x264 had already modified their local avs/config.h header to enable MIPS (technically to de-restrict additional arches, as it didn't actually add MIPS identifiers); I was wondering when it might come up here.

The only reason that I hadn't added it in the arch list was because I don't have any MIPS systems to test on, either vintage SGI or Loongson (not counting the PlayStation 2), and hadn't gotten around to attempting to set up a VM.