techyian wrote: ↑
Fri May 18, 2018 10:21 am
Thanks for the heads up on that. Yes, currently using the MMAL_PARAMETER_SUPPORTED_ENCODINGS call to check supported encoding types. Are you planning any changes to the MMAL_PARAMETER_ENCODING_T struct at all to signify whether support is built in?
I can look into it, but hadn't been planing on doing so until now. TBH I'll probably do a simple #ifdef to cull them as the Pi firmware branch doesn't need to support them at all.
Am I right in thinking libnetpbm and libtga are suitable libraries to use or does MMAL call specific libs? I'll have a try later and report back.
No, these are all libraries built into the GPU firmware rather than ARM side libraries.
Having looked at the implementations of the codecs in the firmware tree there's no vector acceleration. They both appear to be simple bit manipulations of the RGB values. The ARM core(s) are clocked faster than the VPU on all the Pi SoCs, so an ARM library is likely to be comparable in speed.
Software Engineer at Raspberry Pi Trading. Views expressed are still personal views.
I'm not interested in doing contracts for bespoke functionality - please don't ask.