[FFmpeg-devel] [PATCH] avutil: runtime cpu detection for mips
Shivraj Patil
Shivraj.Patil at imgtec.com
Wed Sep 30 16:23:43 CEST 2015
<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.
Thanks,
Carl Eugen
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel at ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel
More information about the ffmpeg-devel
mailing list