[FFmpeg-devel] [PATCH] avutil: runtime cpu detection for mips
u at pkh.me
Wed Sep 30 23:32:52 CEST 2015
On Wed, Sep 30, 2015 at 02:23:43PM +0000, Shivraj Patil wrote:
> <shivraj.patil <at> imgtec.com> writes:
> > + FILE *f = fopen("/proc/cpuinfo", "r");
> Is this what every other software for mips does?
> How does the kernel (or whatever sets cpuinfo) know?
> Shivraj:- We have used generic cpuinfo as it is unrestricted to access from user space compared to the kernel setting hwcaps (via low level mips control regs accessible) in kernel space for now.
I might be asking something stupid, but afaik /proc is linux exclusive;
does this mean it's going to disable all optimisations on every other
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 473 bytes
Desc: not available
More information about the ffmpeg-devel