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

Unified 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, 9 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 side-by-side diff with in-line comments
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 »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/libpng/pngpriv.h
diff --git a/third_party/libpng/pngpriv.h b/third_party/libpng/pngpriv.h
index 9ea023fea7bea2c449e6b22e4108095aa390c4ef..4a4a49b9794f0da2cd1d8bfa7aeafe3416cc9853 100644
--- a/third_party/libpng/pngpriv.h
+++ b/third_party/libpng/pngpriv.h
@@ -1971,6 +1971,14 @@ PNG_INTERNAL_FUNCTION(void, png_init_filter_functions_sse2,
PNG_INTERNAL_FUNCTION(png_uint_32, png_check_keyword, (png_structrp png_ptr,
png_const_charp key, png_bytep new_key), PNG_EMPTY);
+#if PNG_ARM_NEON_IMPLEMENTATION == 1
+PNG_INTERNAL_FUNCTION(void, png_riffle_palette,
+ (png_structrp, png_row_infop), PNG_EMPTY);
+PNG_INTERNAL_FUNCTION(int, png_do_expand_palette_neon,
+ (png_structrp, png_row_infop, png_const_bytep, const png_bytepp,
+ const png_bytepp), PNG_EMPTY);
+#endif
+
/* Maintainer: Put new private prototypes here ^ */
#include "pngdebug.h"
« 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