Path: blob/master/3rdparty/libpng/opencv-libpng.patch
16337 views
--- a/3rdparty/libpng/pngpriv.h1+++ b/3rdparty/libpng/pngpriv.h2@@ -214,7 +214,7 @@3# endif4#endif56-#if PNG_INTEL_SSE_OPT > 07+#if defined(PNG_INTEL_SSE_OPT) && PNG_INTEL_SSE_OPT > 08# ifndef PNG_INTEL_SSE_IMPLEMENTATION9# if defined(__SSE4_1__) || defined(__AVX__)10/* We are not actually using AVX, but checking for AVX is the best11@@ -547,7 +547,7 @@1213/* Memory model/platform independent fns */14#ifndef PNG_ABORT15-# ifdef _WINDOWS_16+# if defined(_WINDOWS_) && !defined(WINRT)17# define PNG_ABORT() ExitProcess(0)18# else19# define PNG_ABORT() abort()20@@ -1340,7 +1340,7 @@ PNG_INTERNAL_FUNCTION(void,png_read_filter_row_paeth4_vsx,(png_row_infop21row_info, png_bytep row, png_const_bytep prev_row),PNG_EMPTY);22#endif2324-#if PNG_INTEL_SSE_IMPLEMENTATION > 025+#if defined(PNG_INTEL_SSE_IMPLEMENTATION) && PNG_INTEL_SSE_IMPLEMENTATION > 026PNG_INTERNAL_FUNCTION(void,png_read_filter_row_sub3_sse2,(png_row_infop27row_info, png_bytep row, png_const_bytep prev_row),PNG_EMPTY);28PNG_INTERNAL_FUNCTION(void,png_read_filter_row_sub4_sse2,(png_row_infop29@@ -2099,7 +2099,7 @@ PNG_INTERNAL_FUNCTION(void, png_init_filter_functions_msa,30(png_structp png_ptr, unsigned int bpp), PNG_EMPTY);31#endif3233-# if PNG_INTEL_SSE_IMPLEMENTATION > 034+# if defined(PNG_INTEL_SSE_IMPLEMENTATION) && PNG_INTEL_SSE_IMPLEMENTATION > 035PNG_INTERNAL_FUNCTION(void, png_init_filter_functions_sse2,36(png_structp png_ptr, unsigned int bpp), PNG_EMPTY);37# endif3839