#define LA_HWCAP_LSX (1<<4) staticint
png_has_lsx(void)
{ int flags = 0; int flag = (int)getauxval(AT_HWCAP);
if (flag & LA_HWCAP_LSX) return1;
return0;
}
void
png_init_filter_functions_lsx(png_structp pp, unsignedint bpp)
{ /* IMPORTANT: any new external functions used here must be declared using *PNG_INTERNAL_FUNCTIONin../pngpriv.h.Thisisrequiredsothatthe *'prefix'optiontoconfigureworks: * *./configure--with-libpng-prefix=foobar_ * *Verifyyouhavegotthisrightbyrunningtheabovecommand,doingabuild *andexaminingpngprefix.h;itmustcontaina#defineforeveryexternal *functionyouadd.(Noticethatthishappensautomaticallyforthe *initializationfunction.)
*/
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.