/* * Loongson MMI optimizations for libjpeg-turbo * * Copyright 2009 Pierre Ossman <ossman@cendio.se> for Cendio AB * Copyright (C) 2014-2015, 2019, D. R. Commander. All Rights Reserved. * Copyright (C) 2016-2018, Loongson Technology Corporation Limited, BeiJing. * All Rights Reserved. * Authors: ZhangLixia <zhanglixia-hf@loongson.cn> * * Based on the x86 SIMD extension for IJG JPEG library * Copyright (C) 1999-2006, MIYASAKA Masaru. * * This software is provided 'as-is', without any express or implied * warranty. In no event will the authors be held liable for any damages * arising from the use of this software. * * Permission is granted to anyone to use this software for any purpose, * including commercial applications, and to alter it and redistribute it * freely, subject to the following restrictions: * * 1. The origin of this software must not be misrepresented; you must not * claim that you wrote the original software. If you use this software * in a product, an acknowledgment in the product documentation would be * appreciated but is not required. * 2. Altered source versions must be plainly marked as such, and must not be * misrepresented as being the original software. * 3. This notice may not be removed or altered from any source distribution.
*/
/* This file is included by jcgray-mmi.c */
#if RGB_RED == 0 #define mmA re #define mmB ro #elif RGB_GREEN == 0 #define mmA ge #define mmB go #elif RGB_BLUE == 0 #define mmA be #define mmB bo #else #define mmA xe #define mmB xo #endif
#if RGB_RED == 1 #define mmC re #define mmD ro #elif RGB_GREEN == 1 #define mmC ge #define mmD go #elif RGB_BLUE == 1 #define mmC be #define mmD bo #else #define mmC xe #define mmD xo #endif
#if RGB_RED == 2 #define mmE re #define mmF ro #elif RGB_GREEN == 2 #define mmE ge #define mmF go #elif RGB_BLUE == 2 #define mmE be #define mmF bo #else #define mmE xe #define mmF xo #endif
#if RGB_RED == 3 #define mmG re #define mmH ro #elif RGB_GREEN == 3 #define mmG ge #define mmH go #elif RGB_BLUE == 3 #define mmG be #define mmH bo #else #define mmG xe #define mmH xo #endif
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.