Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(748)

Side by Side Diff: third_party/libpng/pngpriv.h

Issue 2771903002: libpng: Optimize RGBA png_do_expand_palette
Patch Set: Correct potentially uninitialized loop variable Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « third_party/libpng/arm/arm_palette.c ('k') | third_party/libpng/pngrtran.c » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 1
2 /* pngpriv.h - private declarations for use inside libpng 2 /* pngpriv.h - private declarations for use inside libpng
3 * 3 *
4 * Last changed in libpng 1.6.22 [May 26, 2016] 4 * Last changed in libpng 1.6.22 [May 26, 2016]
5 * Copyright (c) 1998-2002,2004,2006-2016 Glenn Randers-Pehrson 5 * Copyright (c) 1998-2002,2004,2006-2016 Glenn Randers-Pehrson
6 * (Version 0.96 Copyright (c) 1996, 1997 Andreas Dilger) 6 * (Version 0.96 Copyright (c) 1996, 1997 Andreas Dilger)
7 * (Version 0.88 Copyright (c) 1995, 1996 Guy Eric Schalnat, Group 42, Inc.) 7 * (Version 0.88 Copyright (c) 1995, 1996 Guy Eric Schalnat, Group 42, Inc.)
8 * 8 *
9 * This code is released under the libpng license. 9 * This code is released under the libpng license.
10 * For conditions of distribution and use, see the disclaimer 10 * For conditions of distribution and use, see the disclaimer
(...skipping 1953 matching lines...) Expand 10 before | Expand all | Expand 10 after
1964 */ 1964 */
1965 PNG_INTERNAL_FUNCTION(void, png_init_filter_functions_neon, 1965 PNG_INTERNAL_FUNCTION(void, png_init_filter_functions_neon,
1966 (png_structp png_ptr, unsigned int bpp), PNG_EMPTY); 1966 (png_structp png_ptr, unsigned int bpp), PNG_EMPTY);
1967 PNG_INTERNAL_FUNCTION(void, png_init_filter_functions_sse2, 1967 PNG_INTERNAL_FUNCTION(void, png_init_filter_functions_sse2,
1968 (png_structp png_ptr, unsigned int bpp), PNG_EMPTY); 1968 (png_structp png_ptr, unsigned int bpp), PNG_EMPTY);
1969 #endif 1969 #endif
1970 1970
1971 PNG_INTERNAL_FUNCTION(png_uint_32, png_check_keyword, (png_structrp png_ptr, 1971 PNG_INTERNAL_FUNCTION(png_uint_32, png_check_keyword, (png_structrp png_ptr,
1972 png_const_charp key, png_bytep new_key), PNG_EMPTY); 1972 png_const_charp key, png_bytep new_key), PNG_EMPTY);
1973 1973
1974 #if PNG_ARM_NEON_IMPLEMENTATION == 1
1975 PNG_INTERNAL_FUNCTION(void, png_riffle_palette,
1976 (png_structrp, png_row_infop), PNG_EMPTY);
1977 PNG_INTERNAL_FUNCTION(int, png_do_expand_palette_neon,
1978 (png_structrp, png_row_infop, png_const_bytep, const png_bytepp,
1979 const png_bytepp), PNG_EMPTY);
1980 #endif
1981
1974 /* Maintainer: Put new private prototypes here ^ */ 1982 /* Maintainer: Put new private prototypes here ^ */
1975 1983
1976 #include "pngdebug.h" 1984 #include "pngdebug.h"
1977 1985
1978 #ifdef __cplusplus 1986 #ifdef __cplusplus
1979 } 1987 }
1980 #endif 1988 #endif
1981 1989
1982 #endif /* PNG_VERSION_INFO_ONLY */ 1990 #endif /* PNG_VERSION_INFO_ONLY */
1983 #endif /* PNGPRIV_H */ 1991 #endif /* PNGPRIV_H */
OLDNEW
« no previous file with comments | « third_party/libpng/arm/arm_palette.c ('k') | third_party/libpng/pngrtran.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698