12 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 13 * version 2 for more details (a copy is included in the LICENSE file that 14 * accompanied this code). 15 * 16 * You should have received a copy of the GNU General Public License version 17 * 2 along with this work; if not, write to the Free Software Foundation, 18 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 19 * 20 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 21 * or visit www.oracle.com if you need additional information or have any 22 * questions. 23 */ 24 25 /* pngpriv.h - private declarations for use inside libpng 26 * 27 * This file is available under and governed by the GNU General Public 28 * License version 2 only, as published by the Free Software Foundation. 29 * However, the following notice accompanied the original version of this 30 * file and, per its terms, should not be removed: 31 * 32 * Last changed in libpng 1.6.18 [July 23, 2015] 33 * Copyright (c) 1998-2015 Glenn Randers-Pehrson 34 * (Version 0.96 Copyright (c) 1996, 1997 Andreas Dilger) 35 * (Version 0.88 Copyright (c) 1995, 1996 Guy Eric Schalnat, Group 42, Inc.) 36 * 37 * This code is released under the libpng license. 38 * For conditions of distribution and use, see the disclaimer 39 * and license in png.h 40 */ 41 42 /* The symbols declared in this file (including the functions declared 43 * as extern) are PRIVATE. They are not part of the libpng public 44 * interface, and are not recommended for use by regular applications. 45 * Some of them may become public in the future; others may stay private, 46 * change in an incompatible way, or even disappear. 47 * Although the libpng users are not forbidden to include this header, 48 * they should be well aware of the issues that may arise from doing so. 49 */ 50 51 #ifndef PNGPRIV_H 52 #define PNGPRIV_H 53 1928 #endif /* SIMPLIFIED READ/WRITE */ 1929 1930 /* These are initialization functions for hardware specific PNG filter 1931 * optimizations; list these here then select the appropriate one at compile 1932 * time using the macro PNG_FILTER_OPTIMIZATIONS. If the macro is not defined 1933 * the generic code is used. 1934 */ 1935 #ifdef PNG_FILTER_OPTIMIZATIONS 1936 PNG_INTERNAL_FUNCTION(void, PNG_FILTER_OPTIMIZATIONS, (png_structp png_ptr, 1937 unsigned int bpp), PNG_EMPTY); 1938 /* Just declare the optimization that will be used */ 1939 #else 1940 /* List *all* the possible optimizations here - this branch is required if 1941 * the builder of libpng passes the definition of PNG_FILTER_OPTIMIZATIONS in 1942 * CFLAGS in place of CPPFLAGS *and* uses symbol prefixing. 1943 */ 1944 PNG_INTERNAL_FUNCTION(void, png_init_filter_functions_neon, 1945 (png_structp png_ptr, unsigned int bpp), PNG_EMPTY); 1946 #endif 1947 1948 /* Maintainer: Put new private prototypes here ^ */ 1949 1950 #include "pngdebug.h" 1951 1952 #ifdef __cplusplus 1953 } 1954 #endif 1955 1956 #endif /* PNG_VERSION_INFO_ONLY */ 1957 #endif /* PNGPRIV_H */ | 12 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 13 * version 2 for more details (a copy is included in the LICENSE file that 14 * accompanied this code). 15 * 16 * You should have received a copy of the GNU General Public License version 17 * 2 along with this work; if not, write to the Free Software Foundation, 18 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 19 * 20 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 21 * or visit www.oracle.com if you need additional information or have any 22 * questions. 23 */ 24 25 /* pngpriv.h - private declarations for use inside libpng 26 * 27 * This file is available under and governed by the GNU General Public 28 * License version 2 only, as published by the Free Software Foundation. 29 * However, the following notice accompanied the original version of this 30 * file and, per its terms, should not be removed: 31 * 32 * Last changed in libpng 1.6.22 [May 26, 2016] 33 * Copyright (c) 1998-2002,2004,2006-2016 Glenn Randers-Pehrson 34 * (Version 0.96 Copyright (c) 1996, 1997 Andreas Dilger) 35 * (Version 0.88 Copyright (c) 1995, 1996 Guy Eric Schalnat, Group 42, Inc.) 36 * 37 * This code is released under the libpng license. 38 * For conditions of distribution and use, see the disclaimer 39 * and license in png.h 40 */ 41 42 /* The symbols declared in this file (including the functions declared 43 * as extern) are PRIVATE. They are not part of the libpng public 44 * interface, and are not recommended for use by regular applications. 45 * Some of them may become public in the future; others may stay private, 46 * change in an incompatible way, or even disappear. 47 * Although the libpng users are not forbidden to include this header, 48 * they should be well aware of the issues that may arise from doing so. 49 */ 50 51 #ifndef PNGPRIV_H 52 #define PNGPRIV_H 53 1928 #endif /* SIMPLIFIED READ/WRITE */ 1929 1930 /* These are initialization functions for hardware specific PNG filter 1931 * optimizations; list these here then select the appropriate one at compile 1932 * time using the macro PNG_FILTER_OPTIMIZATIONS. If the macro is not defined 1933 * the generic code is used. 1934 */ 1935 #ifdef PNG_FILTER_OPTIMIZATIONS 1936 PNG_INTERNAL_FUNCTION(void, PNG_FILTER_OPTIMIZATIONS, (png_structp png_ptr, 1937 unsigned int bpp), PNG_EMPTY); 1938 /* Just declare the optimization that will be used */ 1939 #else 1940 /* List *all* the possible optimizations here - this branch is required if 1941 * the builder of libpng passes the definition of PNG_FILTER_OPTIMIZATIONS in 1942 * CFLAGS in place of CPPFLAGS *and* uses symbol prefixing. 1943 */ 1944 PNG_INTERNAL_FUNCTION(void, png_init_filter_functions_neon, 1945 (png_structp png_ptr, unsigned int bpp), PNG_EMPTY); 1946 #endif 1947 1948 PNG_INTERNAL_FUNCTION(png_uint_32, png_check_keyword, (png_structrp png_ptr, 1949 png_const_charp key, png_bytep new_key), PNG_EMPTY); 1950 1951 /* Maintainer: Put new private prototypes here ^ */ 1952 1953 #include "pngdebug.h" 1954 1955 #ifdef __cplusplus 1956 } 1957 #endif 1958 1959 #endif /* PNG_VERSION_INFO_ONLY */ 1960 #endif /* PNGPRIV_H */ |