├── CMakeLists.txt ├── LICENSE ├── README.md ├── applications ├── CMakeLists.txt └── surfel_meshing │ ├── CMakeLists.txt │ ├── src │ └── surfel_meshing │ │ ├── asynchronous_meshing.cc │ │ ├── asynchronous_meshing.h │ │ ├── cuda_depth_processing.cu │ │ ├── cuda_depth_processing.cuh │ │ ├── cuda_surfel_reconstruction.cc │ │ ├── cuda_surfel_reconstruction.h │ │ ├── cuda_surfel_reconstruction_kernels.cc │ │ ├── cuda_surfel_reconstruction_kernels.cu │ │ ├── cuda_surfel_reconstruction_kernels.cuh │ │ ├── cuda_surfel_reconstruction_kernels.h │ │ ├── cuda_surfels_cpu.h │ │ ├── cuda_util.cuh │ │ ├── dummy.cu │ │ ├── main.cc │ │ ├── octree.cc │ │ ├── octree.h │ │ ├── surfel.h │ │ ├── surfel_meshing.cc │ │ ├── surfel_meshing.h │ │ ├── surfel_meshing_render_window.cc │ │ ├── surfel_meshing_render_window.h │ │ └── test │ │ ├── main.cc │ │ ├── test_octree.cc │ │ └── test_triangulation.cc │ └── third_party │ ├── cub-1.7.4 │ ├── .cproject │ ├── .project │ ├── .settings │ │ ├── .gitignore │ │ ├── org.eclipse.cdt.codan.core.prefs │ │ ├── org.eclipse.cdt.core.prefs │ │ ├── org.eclipse.cdt.ui.prefs │ │ └── org.eclipse.core.runtime.prefs │ ├── CHANGE_LOG.TXT │ ├── LICENSE.TXT │ ├── README.md │ ├── common.mk │ ├── cub │ │ ├── agent │ │ │ ├── agent_histogram.cuh │ │ │ ├── agent_radix_sort_downsweep.cuh │ │ │ ├── agent_radix_sort_upsweep.cuh │ │ │ ├── agent_reduce.cuh │ │ │ ├── agent_reduce_by_key.cuh │ │ │ ├── agent_rle.cuh │ │ │ ├── agent_scan.cuh │ │ │ ├── agent_segment_fixup.cuh │ │ │ ├── agent_select_if.cuh │ │ │ ├── agent_spmv_orig.cuh │ │ │ └── single_pass_scan_operators.cuh │ │ ├── block │ │ │ ├── block_adjacent_difference.cuh │ │ │ ├── block_discontinuity.cuh │ │ │ ├── block_exchange.cuh │ │ │ ├── block_histogram.cuh │ │ │ ├── block_load.cuh │ │ │ ├── block_radix_rank.cuh │ │ │ ├── block_radix_sort.cuh │ │ │ ├── block_raking_layout.cuh │ │ │ ├── block_reduce.cuh │ │ │ ├── block_scan.cuh │ │ │ ├── block_shuffle.cuh │ │ │ ├── block_store.cuh │ │ │ └── specializations │ │ │ │ ├── block_histogram_atomic.cuh │ │ │ │ ├── block_histogram_sort.cuh │ │ │ │ ├── block_reduce_raking.cuh │ │ │ │ ├── block_reduce_raking_commutative_only.cuh │ │ │ │ ├── block_reduce_warp_reductions.cuh │ │ │ │ ├── block_scan_raking.cuh │ │ │ │ ├── block_scan_warp_scans.cuh │ │ │ │ ├── block_scan_warp_scans2.cuh │ │ │ │ └── block_scan_warp_scans3.cuh │ │ ├── cub.cuh │ │ ├── device │ │ │ ├── device_histogram.cuh │ │ │ ├── device_partition.cuh │ │ │ ├── device_radix_sort.cuh │ │ │ ├── device_reduce.cuh │ │ │ ├── device_run_length_encode.cuh │ │ │ ├── device_scan.cuh │ │ │ ├── device_segmented_radix_sort.cuh │ │ │ ├── device_segmented_reduce.cuh │ │ │ ├── device_select.cuh │ │ │ ├── device_spmv.cuh │ │ │ └── dispatch │ │ │ │ ├── dispatch_histogram.cuh │ │ │ │ ├── dispatch_radix_sort.cuh │ │ │ │ ├── dispatch_reduce.cuh │ │ │ │ ├── dispatch_reduce_by_key.cuh │ │ │ │ ├── dispatch_rle.cuh │ │ │ │ ├── dispatch_scan.cuh │ │ │ │ ├── dispatch_select_if.cuh │ │ │ │ └── dispatch_spmv_orig.cuh │ │ ├── grid │ │ │ ├── grid_barrier.cuh │ │ │ ├── grid_even_share.cuh │ │ │ ├── grid_mapping.cuh │ │ │ └── grid_queue.cuh │ │ ├── host │ │ │ └── mutex.cuh │ │ ├── iterator │ │ │ ├── arg_index_input_iterator.cuh │ │ │ ├── cache_modified_input_iterator.cuh │ │ │ ├── cache_modified_output_iterator.cuh │ │ │ ├── constant_input_iterator.cuh │ │ │ ├── counting_input_iterator.cuh │ │ │ ├── discard_output_iterator.cuh │ │ │ ├── tex_obj_input_iterator.cuh │ │ │ ├── tex_ref_input_iterator.cuh │ │ │ └── transform_input_iterator.cuh │ │ ├── thread │ │ │ ├── thread_load.cuh │ │ │ ├── thread_operators.cuh │ │ │ ├── thread_reduce.cuh │ │ │ ├── thread_scan.cuh │ │ │ ├── thread_search.cuh │ │ │ └── thread_store.cuh │ │ ├── util_allocator.cuh │ │ ├── util_arch.cuh │ │ ├── util_debug.cuh │ │ ├── util_device.cuh │ │ ├── util_macro.cuh │ │ ├── util_namespace.cuh │ │ ├── util_ptx.cuh │ │ ├── util_type.cuh │ │ └── warp │ │ │ ├── specializations │ │ │ ├── warp_reduce_shfl.cuh │ │ │ ├── warp_reduce_smem.cuh │ │ │ ├── warp_scan_shfl.cuh │ │ │ └── warp_scan_smem.cuh │ │ │ ├── warp_reduce.cuh │ │ │ └── warp_scan.cuh │ ├── eclipse code style profile.xml │ ├── examples │ │ ├── block │ │ │ ├── .gitignore │ │ │ ├── Makefile │ │ │ ├── example_block_radix_sort.cu │ │ │ ├── example_block_reduce.cu │ │ │ ├── example_block_scan.cu │ │ │ └── reduce_by_key.cu │ │ └── device │ │ │ ├── .gitignore │ │ │ ├── Makefile │ │ │ ├── example_device_partition_flagged.cu │ │ │ ├── example_device_partition_if.cu │ │ │ ├── example_device_radix_sort.cu │ │ │ ├── example_device_reduce.cu │ │ │ ├── example_device_scan.cu │ │ │ ├── example_device_select_flagged.cu │ │ │ ├── example_device_select_if.cu │ │ │ ├── example_device_select_unique.cu │ │ │ └── example_device_sort_find_non_trivial_runs.cu │ ├── experimental │ │ ├── .gitignore │ │ ├── Makefile │ │ ├── defunct │ │ │ ├── example_coo_spmv.cu │ │ │ └── test_device_seg_reduce.cu │ │ ├── histogram │ │ │ ├── histogram_cub.h │ │ │ ├── histogram_gmem_atomics.h │ │ │ └── histogram_smem_atomics.h │ │ ├── histogram_compare.cu │ │ ├── sparse_matrix.h │ │ ├── spmv_compare.cu │ │ └── spmv_script.sh │ ├── test │ │ ├── .gitignore │ │ ├── Makefile │ │ ├── link_a.cu │ │ ├── link_b.cu │ │ ├── link_main.cpp │ │ ├── mersenne.h │ │ ├── test_allocator.cu │ │ ├── test_block_histogram.cu │ │ ├── test_block_load_store.cu │ │ ├── test_block_radix_sort.cu │ │ ├── test_block_reduce.cu │ │ ├── test_block_scan.cu │ │ ├── test_device_histogram.cu │ │ ├── test_device_radix_sort.cu │ │ ├── test_device_reduce.cu │ │ ├── test_device_reduce_by_key.cu │ │ ├── test_device_run_length_encode.cu │ │ ├── test_device_scan.cu │ │ ├── test_device_select_if.cu │ │ ├── test_device_select_unique.cu │ │ ├── test_grid_barrier.cu │ │ ├── test_iterator.cu │ │ ├── test_util.h │ │ ├── test_warp_reduce.cu │ │ └── test_warp_scan.cu │ └── tune │ │ ├── .gitignore │ │ ├── Makefile │ │ └── tune_device_reduce.cu │ └── spline_library │ ├── LICENSE │ ├── spline.h │ ├── splines │ ├── cubic_hermite_spline.h │ ├── generic_b_spline.h │ ├── natural_spline.h │ ├── quintic_hermite_spline.h │ ├── uniform_cr_spline.h │ └── uniform_cubic_bspline.h │ ├── utils │ ├── arclength.h │ ├── calculus.h │ ├── linearalgebra.h │ ├── nanoflann.hpp │ ├── spline_common.h │ ├── splineinverter.h │ └── splinesample_adaptor.h │ └── vector.h ├── cmake └── FindEigen3.cmake ├── libvis ├── resources │ ├── copy.png │ ├── fit_contents.png │ ├── resize_to_contents.png │ ├── resources.qrc │ ├── save.png │ ├── scale_1x.png │ ├── settings_sliders.png │ └── zoom_and_resize_to_contents.png ├── src │ ├── bin2c │ │ └── main.cc │ └── libvis │ │ ├── any_image.h │ │ ├── camera.h │ │ ├── camera_frustum.h │ │ ├── camera_frustum_opengl.h │ │ ├── command_line_parser.cc │ │ ├── command_line_parser.h │ │ ├── cuda │ │ ├── cholesky_solver.h │ │ ├── cuda_auto_tuner.h │ │ ├── cuda_buffer.cu │ │ ├── cuda_buffer.cuh │ │ ├── cuda_buffer.h │ │ ├── cuda_buffer_inl.h │ │ ├── cuda_matrix.cuh │ │ ├── cuda_unprojection_lookup.cuh │ │ ├── cuda_unprojection_lookup.h │ │ ├── cuda_util.h │ │ ├── patch_match_stereo.cc │ │ ├── patch_match_stereo.cu │ │ ├── patch_match_stereo.cuh │ │ ├── patch_match_stereo.h │ │ ├── pixel_corner_projector.cuh │ │ ├── pixel_corner_projector.h │ │ └── test │ │ │ ├── cholesky_solver.cc │ │ │ ├── cholesky_solver.cu │ │ │ ├── cholesky_solver.cuh │ │ │ └── main.cc │ │ ├── dlt.h │ │ ├── eigen.h │ │ ├── geometry.h │ │ ├── glew.cc │ │ ├── glew.h │ │ ├── image.cc │ │ ├── image.h │ │ ├── image_cache.h │ │ ├── image_display.cc │ │ ├── image_display.h │ │ ├── image_display_qt_widget.cc │ │ ├── image_display_qt_widget.h │ │ ├── image_display_qt_window.cc │ │ ├── image_display_qt_window.h │ │ ├── image_frame.h │ │ ├── image_io.cc │ │ ├── image_io.h │ │ ├── image_io_libpng.cc │ │ ├── image_io_libpng.h │ │ ├── image_io_netpbm.cc │ │ ├── image_io_netpbm.h │ │ ├── image_io_qt.cc │ │ ├── image_io_qt.h │ │ ├── image_template_specializations.h │ │ ├── libvis.cc │ │ ├── libvis.h │ │ ├── lm_optimizer.h │ │ ├── lm_optimizer_impl.h │ │ ├── lm_optimizer_update_accumulator.h │ │ ├── logging.h │ │ ├── loss_functions.h │ │ ├── mesh.h │ │ ├── mesh_opengl.h │ │ ├── opengl.cc │ │ ├── opengl.h │ │ ├── opengl_context.cc │ │ ├── opengl_context.h │ │ ├── opengl_context_glx.cc │ │ ├── opengl_context_glx.h │ │ ├── opengl_context_qt.cc │ │ ├── opengl_context_qt.h │ │ ├── patch_match_stereo.cc │ │ ├── patch_match_stereo.h │ │ ├── point_cloud.h │ │ ├── point_cloud_opengl.h │ │ ├── qt_thread.cc │ │ ├── qt_thread.h │ │ ├── render_display.cc │ │ ├── render_display.h │ │ ├── render_window.cc │ │ ├── render_window.h │ │ ├── render_window_qt.cc │ │ ├── render_window_qt.h │ │ ├── render_window_qt_opengl.cc │ │ ├── render_window_qt_opengl.h │ │ ├── render_window_qt_vulkan.cc │ │ ├── render_window_qt_vulkan.h │ │ ├── renderer.cc │ │ ├── renderer.h │ │ ├── rgbd_video.h │ │ ├── rgbd_video_io_tum_dataset.h │ │ ├── shader_program_opengl.cc │ │ ├── shader_program_opengl.h │ │ ├── shaders │ │ ├── compile.sh │ │ ├── license_header.h │ │ ├── shader.frag │ │ └── shader.vert │ │ ├── sophus.h │ │ ├── statistics.h │ │ ├── test │ │ ├── camera.cc │ │ ├── dlt.cc │ │ ├── geometry.cc │ │ ├── image.cc │ │ ├── image_cache.cc │ │ ├── lm_optimizer.cc │ │ ├── main.cc │ │ ├── point_cloud.cc │ │ └── util.cc │ │ ├── timing.cc │ │ ├── timing.h │ │ ├── util.h │ │ ├── vulkan.cc │ │ ├── vulkan.h │ │ └── window_callbacks.h └── third_party │ ├── gtest │ ├── CHANGES │ ├── CMakeLists.txt │ ├── CONTRIBUTORS │ ├── LICENSE │ ├── Makefile.am │ ├── README │ ├── cmake │ │ └── internal_utils.cmake │ ├── codegear │ │ ├── gtest.cbproj │ │ ├── gtest.groupproj │ │ ├── gtest_all.cc │ │ ├── gtest_link.cc │ │ ├── gtest_main.cbproj │ │ └── gtest_unittest.cbproj │ ├── configure.ac │ ├── include │ │ └── gtest │ │ │ ├── gtest-death-test.h │ │ │ ├── gtest-message.h │ │ │ ├── gtest-param-test.h │ │ │ ├── gtest-param-test.h.pump │ │ │ ├── gtest-printers.h │ │ │ ├── gtest-spi.h │ │ │ ├── gtest-test-part.h │ │ │ ├── gtest-typed-test.h │ │ │ ├── gtest.h │ │ │ ├── gtest_pred_impl.h │ │ │ ├── gtest_prod.h │ │ │ └── internal │ │ │ ├── gtest-death-test-internal.h │ │ │ ├── gtest-filepath.h │ │ │ ├── gtest-internal.h │ │ │ ├── gtest-linked_ptr.h │ │ │ ├── gtest-param-util-generated.h │ │ │ ├── gtest-param-util-generated.h.pump │ │ │ ├── gtest-param-util.h │ │ │ ├── gtest-port.h │ │ │ ├── gtest-string.h │ │ │ ├── gtest-tuple.h │ │ │ ├── gtest-tuple.h.pump │ │ │ ├── gtest-type-util.h │ │ │ └── gtest-type-util.h.pump │ ├── m4 │ │ ├── acx_pthread.m4 │ │ └── gtest.m4 │ ├── make │ │ └── Makefile │ ├── msvc │ │ ├── gtest-md.sln │ │ ├── gtest-md.vcproj │ │ ├── gtest.sln │ │ ├── gtest.vcproj │ │ ├── gtest_main-md.vcproj │ │ ├── gtest_main.vcproj │ │ ├── gtest_prod_test-md.vcproj │ │ ├── gtest_prod_test.vcproj │ │ ├── gtest_unittest-md.vcproj │ │ └── gtest_unittest.vcproj │ ├── samples │ │ ├── prime_tables.h │ │ ├── sample1.cc │ │ ├── sample1.h │ │ ├── sample10_unittest.cc │ │ ├── sample1_unittest.cc │ │ ├── sample2.cc │ │ ├── sample2.h │ │ ├── sample2_unittest.cc │ │ ├── sample3-inl.h │ │ ├── sample3_unittest.cc │ │ ├── sample4.cc │ │ ├── sample4.h │ │ ├── sample4_unittest.cc │ │ ├── sample5_unittest.cc │ │ ├── sample6_unittest.cc │ │ ├── sample7_unittest.cc │ │ ├── sample8_unittest.cc │ │ └── sample9_unittest.cc │ ├── scripts │ │ ├── fuse_gtest_files.py │ │ ├── gen_gtest_pred_impl.py │ │ ├── gtest-config.in │ │ ├── pump.py │ │ ├── test │ │ │ └── Makefile │ │ ├── upload.py │ │ └── upload_gtest.py │ ├── src │ │ ├── gtest-all.cc │ │ ├── gtest-death-test.cc │ │ ├── gtest-filepath.cc │ │ ├── gtest-internal-inl.h │ │ ├── gtest-port.cc │ │ ├── gtest-printers.cc │ │ ├── gtest-test-part.cc │ │ ├── gtest-typed-test.cc │ │ ├── gtest.cc │ │ └── gtest_main.cc │ ├── test │ │ ├── gtest-death-test_ex_test.cc │ │ ├── gtest-death-test_test.cc │ │ ├── gtest-filepath_test.cc │ │ ├── gtest-linked_ptr_test.cc │ │ ├── gtest-listener_test.cc │ │ ├── gtest-message_test.cc │ │ ├── gtest-options_test.cc │ │ ├── gtest-param-test2_test.cc │ │ ├── gtest-param-test_test.cc │ │ ├── gtest-param-test_test.h │ │ ├── gtest-port_test.cc │ │ ├── gtest-printers_test.cc │ │ ├── gtest-test-part_test.cc │ │ ├── gtest-tuple_test.cc │ │ ├── gtest-typed-test2_test.cc │ │ ├── gtest-typed-test_test.cc │ │ ├── gtest-typed-test_test.h │ │ ├── gtest-unittest-api_test.cc │ │ ├── gtest_all_test.cc │ │ ├── gtest_break_on_failure_unittest.py │ │ ├── gtest_break_on_failure_unittest_.cc │ │ ├── gtest_catch_exceptions_test.py │ │ ├── gtest_catch_exceptions_test_.cc │ │ ├── gtest_color_test.py │ │ ├── gtest_color_test_.cc │ │ ├── gtest_env_var_test.py │ │ ├── gtest_env_var_test_.cc │ │ ├── gtest_environment_test.cc │ │ ├── gtest_filter_unittest.py │ │ ├── gtest_filter_unittest_.cc │ │ ├── gtest_help_test.py │ │ ├── gtest_help_test_.cc │ │ ├── gtest_list_tests_unittest.py │ │ ├── gtest_list_tests_unittest_.cc │ │ ├── gtest_main_unittest.cc │ │ ├── gtest_no_test_unittest.cc │ │ ├── gtest_output_test.py │ │ ├── gtest_output_test_.cc │ │ ├── gtest_output_test_golden_lin.txt │ │ ├── gtest_pred_impl_unittest.cc │ │ ├── gtest_premature_exit_test.cc │ │ ├── gtest_prod_test.cc │ │ ├── gtest_repeat_test.cc │ │ ├── gtest_shuffle_test.py │ │ ├── gtest_shuffle_test_.cc │ │ ├── gtest_sole_header_test.cc │ │ ├── gtest_stress_test.cc │ │ ├── gtest_test_utils.py │ │ ├── gtest_throw_on_failure_ex_test.cc │ │ ├── gtest_throw_on_failure_test.py │ │ ├── gtest_throw_on_failure_test_.cc │ │ ├── gtest_uninitialized_test.py │ │ ├── gtest_uninitialized_test_.cc │ │ ├── gtest_unittest.cc │ │ ├── gtest_xml_outfile1_test_.cc │ │ ├── gtest_xml_outfile2_test_.cc │ │ ├── gtest_xml_outfiles_test.py │ │ ├── gtest_xml_output_unittest.py │ │ ├── gtest_xml_output_unittest_.cc │ │ ├── gtest_xml_test_utils.py │ │ ├── production.cc │ │ └── production.h │ └── xcode │ │ ├── Config │ │ ├── DebugProject.xcconfig │ │ ├── FrameworkTarget.xcconfig │ │ ├── General.xcconfig │ │ ├── ReleaseProject.xcconfig │ │ ├── StaticLibraryTarget.xcconfig │ │ └── TestTarget.xcconfig │ │ ├── Resources │ │ └── Info.plist │ │ ├── Samples │ │ └── FrameworkSample │ │ │ ├── Info.plist │ │ │ ├── WidgetFramework.xcodeproj │ │ │ └── project.pbxproj │ │ │ ├── runtests.sh │ │ │ ├── widget.cc │ │ │ ├── widget.h │ │ │ └── widget_test.cc │ │ ├── Scripts │ │ ├── runtests.sh │ │ └── versiongenerate.py │ │ └── gtest.xcodeproj │ │ └── project.pbxproj │ ├── libpng │ ├── ANNOUNCE │ ├── AUTHORS │ ├── CHANGES │ ├── CMakeLists.txt │ ├── INSTALL │ ├── LICENSE │ ├── Makefile.am │ ├── Makefile.in │ ├── README │ ├── TODO │ ├── TRADEMARK │ ├── aclocal.m4 │ ├── arm │ │ ├── arm_init.c │ │ ├── filter_neon.S │ │ ├── filter_neon_intrinsics.c │ │ └── palette_neon_intrinsics.c │ ├── autogen.sh │ ├── compile │ ├── config.guess │ ├── config.h.in │ ├── config.sub │ ├── configure │ ├── configure.ac │ ├── contrib │ │ ├── README.txt │ │ ├── arm-neon │ │ │ ├── README │ │ │ ├── android-ndk.c │ │ │ ├── linux-auxv.c │ │ │ └── linux.c │ │ ├── conftest │ │ │ ├── README │ │ │ ├── pngcp.dfa │ │ │ ├── read.dfa │ │ │ ├── s_read.dfa │ │ │ ├── s_write.dfa │ │ │ ├── simple.dfa │ │ │ └── write.dfa │ │ ├── examples │ │ │ ├── README.txt │ │ │ ├── iccfrompng.c │ │ │ ├── pngpixel.c │ │ │ ├── pngtopng.c │ │ │ └── simpleover.c │ │ ├── gregbook │ │ │ ├── COPYING │ │ │ ├── LICENSE │ │ │ ├── Makefile.mingw32 │ │ │ ├── Makefile.sgi │ │ │ ├── Makefile.unx │ │ │ ├── Makefile.w32 │ │ │ ├── README │ │ │ ├── makevms.com │ │ │ ├── readpng.c │ │ │ ├── readpng.h │ │ │ ├── readpng2.c │ │ │ ├── readpng2.h │ │ │ ├── readppm.c │ │ │ ├── rpng-win.c │ │ │ ├── rpng-x.c │ │ │ ├── rpng2-win.c │ │ │ ├── rpng2-x.c │ │ │ ├── toucan.png │ │ │ ├── wpng.c │ │ │ ├── writepng.c │ │ │ └── writepng.h │ │ ├── libtests │ │ │ ├── fakepng.c │ │ │ ├── gentests.sh │ │ │ ├── makepng.c │ │ │ ├── pngimage.c │ │ │ ├── pngstest-errors.h │ │ │ ├── pngstest.c │ │ │ ├── pngunknown.c │ │ │ ├── pngvalid.c │ │ │ ├── readpng.c │ │ │ ├── tarith.c │ │ │ └── timepng.c │ │ ├── mips-msa │ │ │ ├── README │ │ │ └── linux.c │ │ ├── oss-fuzz │ │ │ ├── Dockerfile │ │ │ ├── README.txt │ │ │ ├── build.sh │ │ │ ├── libpng_read_fuzzer.cc │ │ │ ├── libpng_read_fuzzer.options │ │ │ └── png.dict │ │ ├── pngminim │ │ │ ├── README │ │ │ ├── decoder │ │ │ │ ├── README │ │ │ │ ├── makefile │ │ │ │ ├── pngusr.dfa │ │ │ │ └── pngusr.h │ │ │ ├── encoder │ │ │ │ ├── README │ │ │ │ ├── makefile │ │ │ │ ├── pngusr.dfa │ │ │ │ └── pngusr.h │ │ │ └── preader │ │ │ │ ├── README │ │ │ │ ├── makefile │ │ │ │ ├── pngusr.dfa │ │ │ │ └── pngusr.h │ │ ├── pngminus │ │ │ ├── CHANGES.txt │ │ │ ├── CMakeLists.txt │ │ │ ├── LICENSE.txt │ │ │ ├── Makefile │ │ │ ├── README.txt │ │ │ ├── makevms.com │ │ │ ├── png2pnm.bat │ │ │ ├── png2pnm.c │ │ │ ├── png2pnm.sh │ │ │ ├── pngminus.bat │ │ │ ├── pngminus.sh │ │ │ ├── pnm2png.bat │ │ │ ├── pnm2png.c │ │ │ └── pnm2png.sh │ │ ├── pngsuite │ │ │ ├── README │ │ │ ├── bad_interlace_conversions.txt │ │ │ ├── basn0g01.png │ │ │ ├── basn0g02.png │ │ │ ├── basn0g04.png │ │ │ ├── basn0g08.png │ │ │ ├── basn0g16.png │ │ │ ├── basn2c08.png │ │ │ ├── basn2c16.png │ │ │ ├── basn3p01.png │ │ │ ├── basn3p02.png │ │ │ ├── basn3p04.png │ │ │ ├── basn3p08.png │ │ │ ├── basn4a08.png │ │ │ ├── basn4a16.png │ │ │ ├── basn6a08.png │ │ │ ├── basn6a16.png │ │ │ ├── ftbbn0g01.png │ │ │ ├── ftbbn0g02.png │ │ │ ├── ftbbn0g04.png │ │ │ ├── ftbbn2c16.png │ │ │ ├── ftbbn3p08.png │ │ │ ├── ftbgn2c16.png │ │ │ ├── ftbgn3p08.png │ │ │ ├── ftbrn2c08.png │ │ │ ├── ftbwn0g16.png │ │ │ ├── ftbwn3p08.png │ │ │ ├── ftbyn3p08.png │ │ │ ├── ftp0n0g08.png │ │ │ ├── ftp0n2c08.png │ │ │ ├── ftp0n3p08.png │ │ │ ├── ftp1n3p08.png │ │ │ ├── ibasn0g08.png │ │ │ ├── ibasn0g16.png │ │ │ ├── ibasn2c08.png │ │ │ ├── ibasn2c16.png │ │ │ ├── ibasn3p08.png │ │ │ ├── ibasn4a08.png │ │ │ ├── ibasn4a16.png │ │ │ ├── ibasn6a08.png │ │ │ ├── ibasn6a16.png │ │ │ ├── iftbbn2c16.png │ │ │ ├── iftbbn3p08.png │ │ │ ├── iftbgn2c16.png │ │ │ ├── iftbgn3p08.png │ │ │ ├── iftbrn2c08.png │ │ │ ├── iftbwn0g16.png │ │ │ ├── iftbwn3p08.png │ │ │ ├── iftbyn3p08.png │ │ │ ├── iftp0n0g08.png │ │ │ ├── iftp0n2c08.png │ │ │ ├── iftp0n3p08.png │ │ │ ├── iftp1n3p08.png │ │ │ └── interlaced │ │ │ │ ├── README │ │ │ │ ├── ibasn0g01.png │ │ │ │ ├── ibasn0g02.png │ │ │ │ ├── ibasn0g04.png │ │ │ │ ├── ibasn3p01.png │ │ │ │ ├── ibasn3p02.png │ │ │ │ ├── ibasn3p04.png │ │ │ │ ├── iftbbn0g01.png │ │ │ │ ├── iftbbn0g02.png │ │ │ │ └── iftbbn0g04.png │ │ ├── powerpc-vsx │ │ │ ├── README │ │ │ ├── linux.c │ │ │ └── linux_aux.c │ │ ├── testpngs │ │ │ ├── crashers │ │ │ │ ├── bad_iCCP.png │ │ │ │ ├── badadler.png │ │ │ │ ├── badcrc.png │ │ │ │ ├── empty_ancillary_chunks.png │ │ │ │ ├── huge_IDAT.png │ │ │ │ ├── huge_bKGD_chunk.png │ │ │ │ ├── huge_cHRM_chunk.png │ │ │ │ ├── huge_eXIf_chunk.png │ │ │ │ ├── huge_gAMA_chunk.png │ │ │ │ ├── huge_hIST_chunk.png │ │ │ │ ├── huge_iCCP_chunk.png │ │ │ │ ├── huge_iTXt_chunk.png │ │ │ │ ├── huge_juNK_unsafe_to_copy.png │ │ │ │ ├── huge_juNk_safe_to_copy.png │ │ │ │ ├── huge_pCAL_chunk.png │ │ │ │ ├── huge_pHYs_chunk.png │ │ │ │ ├── huge_sCAL_chunk.png │ │ │ │ ├── huge_sPLT_chunk.png │ │ │ │ ├── huge_sRGB_chunk.png │ │ │ │ ├── huge_sTER_chunk.png │ │ │ │ ├── huge_tEXt_chunk.png │ │ │ │ ├── huge_tIME_chunk.png │ │ │ │ └── huge_zTXt_chunk.png │ │ │ ├── gray-1-1.8-tRNS.png │ │ │ ├── gray-1-1.8.png │ │ │ ├── gray-1-linear-tRNS.png │ │ │ ├── gray-1-linear.png │ │ │ ├── gray-1-sRGB-tRNS.png │ │ │ ├── gray-1-sRGB.png │ │ │ ├── gray-1-tRNS.png │ │ │ ├── gray-1.png │ │ │ ├── gray-16-1.8-tRNS.png │ │ │ ├── gray-16-1.8.png │ │ │ ├── gray-16-linear-tRNS.png │ │ │ ├── gray-16-linear.png │ │ │ ├── gray-16-sRGB-tRNS.png │ │ │ ├── gray-16-sRGB.png │ │ │ ├── gray-16-tRNS.png │ │ │ ├── gray-16.png │ │ │ ├── gray-2-1.8-tRNS.png │ │ │ ├── gray-2-1.8.png │ │ │ ├── gray-2-linear-tRNS.png │ │ │ ├── gray-2-linear.png │ │ │ ├── gray-2-sRGB-tRNS.png │ │ │ ├── gray-2-sRGB.png │ │ │ ├── gray-2-tRNS.png │ │ │ ├── gray-2.png │ │ │ ├── gray-4-1.8-tRNS.png │ │ │ ├── gray-4-1.8.png │ │ │ ├── gray-4-linear-tRNS.png │ │ │ ├── gray-4-linear.png │ │ │ ├── gray-4-sRGB-tRNS.png │ │ │ ├── gray-4-sRGB.png │ │ │ ├── gray-4-tRNS.png │ │ │ ├── gray-4.png │ │ │ ├── gray-8-1.8-tRNS.png │ │ │ ├── gray-8-1.8.png │ │ │ ├── gray-8-linear-tRNS.png │ │ │ ├── gray-8-linear.png │ │ │ ├── gray-8-sRGB-tRNS.png │ │ │ ├── gray-8-sRGB.png │ │ │ ├── gray-8-tRNS.png │ │ │ ├── gray-8.png │ │ │ ├── gray-alpha-16-1.8.png │ │ │ ├── gray-alpha-16-linear.png │ │ │ ├── gray-alpha-16-sRGB.png │ │ │ ├── gray-alpha-16.png │ │ │ ├── gray-alpha-8-1.8.png │ │ │ ├── gray-alpha-8-linear.png │ │ │ ├── gray-alpha-8-sRGB.png │ │ │ ├── gray-alpha-8.png │ │ │ ├── makepngs.sh │ │ │ ├── palette-1-1.8-tRNS.png │ │ │ ├── palette-1-1.8.png │ │ │ ├── palette-1-linear-tRNS.png │ │ │ ├── palette-1-linear.png │ │ │ ├── palette-1-sRGB-tRNS.png │ │ │ ├── palette-1-sRGB.png │ │ │ ├── palette-1-tRNS.png │ │ │ ├── palette-1.png │ │ │ ├── palette-2-1.8-tRNS.png │ │ │ ├── palette-2-1.8.png │ │ │ ├── palette-2-linear-tRNS.png │ │ │ ├── palette-2-linear.png │ │ │ ├── palette-2-sRGB-tRNS.png │ │ │ ├── palette-2-sRGB.png │ │ │ ├── palette-2-tRNS.png │ │ │ ├── palette-2.png │ │ │ ├── palette-4-1.8-tRNS.png │ │ │ ├── palette-4-1.8.png │ │ │ ├── palette-4-linear-tRNS.png │ │ │ ├── palette-4-linear.png │ │ │ ├── palette-4-sRGB-tRNS.png │ │ │ ├── palette-4-sRGB.png │ │ │ ├── palette-4-tRNS.png │ │ │ ├── palette-4.png │ │ │ ├── palette-8-1.8-tRNS.png │ │ │ ├── palette-8-1.8.png │ │ │ ├── palette-8-linear-tRNS.png │ │ │ ├── palette-8-linear.png │ │ │ ├── palette-8-sRGB-tRNS.png │ │ │ ├── palette-8-sRGB.png │ │ │ ├── palette-8-tRNS.png │ │ │ ├── palette-8.png │ │ │ ├── rgb-16-1.8-tRNS.png │ │ │ ├── rgb-16-1.8.png │ │ │ ├── rgb-16-linear-tRNS.png │ │ │ ├── rgb-16-linear.png │ │ │ ├── rgb-16-sRGB-tRNS.png │ │ │ ├── rgb-16-sRGB.png │ │ │ ├── rgb-16-tRNS.png │ │ │ ├── rgb-16.png │ │ │ ├── rgb-8-1.8-tRNS.png │ │ │ ├── rgb-8-1.8.png │ │ │ ├── rgb-8-linear-tRNS.png │ │ │ ├── rgb-8-linear.png │ │ │ ├── rgb-8-sRGB-tRNS.png │ │ │ ├── rgb-8-sRGB.png │ │ │ ├── rgb-8-tRNS.png │ │ │ ├── rgb-8.png │ │ │ ├── rgb-alpha-16-1.8.png │ │ │ ├── rgb-alpha-16-linear.png │ │ │ ├── rgb-alpha-16-sRGB.png │ │ │ ├── rgb-alpha-16.png │ │ │ ├── rgb-alpha-8-1.8.png │ │ │ ├── rgb-alpha-8-linear.png │ │ │ ├── rgb-alpha-8-sRGB.png │ │ │ └── rgb-alpha-8.png │ │ ├── tools │ │ │ ├── README.txt │ │ │ ├── checksum-icc.c │ │ │ ├── chkfmt │ │ │ ├── cvtcolor.c │ │ │ ├── genpng.c │ │ │ ├── intgamma.sh │ │ │ ├── makesRGB.c │ │ │ ├── png-fix-itxt.c │ │ │ ├── pngcp.c │ │ │ ├── pngfix.c │ │ │ ├── reindent │ │ │ └── sRGB.h │ │ └── visupng │ │ │ ├── PngFile.c │ │ │ ├── PngFile.h │ │ │ ├── README.txt │ │ │ ├── VisualPng.c │ │ │ ├── VisualPng.dsp │ │ │ ├── VisualPng.dsw │ │ │ ├── VisualPng.ico │ │ │ ├── VisualPng.png │ │ │ ├── VisualPng.rc │ │ │ ├── cexcept.h │ │ │ └── resource.h │ ├── depcomp │ ├── example.c │ ├── install-sh │ ├── intel │ │ ├── filter_sse2_intrinsics.c │ │ └── intel_init.c │ ├── libpng-config.in │ ├── libpng-manual.txt │ ├── libpng.3 │ ├── libpng.pc.in │ ├── libpngpf.3 │ ├── ltmain.sh │ ├── mips │ │ ├── filter_msa_intrinsics.c │ │ └── mips_init.c │ ├── missing │ ├── png.5 │ ├── png.c │ ├── png.h │ ├── pngbar.jpg │ ├── pngbar.png │ ├── pngconf.h │ ├── pngdebug.h │ ├── pngerror.c │ ├── pngget.c │ ├── pnginfo.h │ ├── pnglibconf.h │ ├── pngmem.c │ ├── pngnow.png │ ├── pngpread.c │ ├── pngpriv.h │ ├── pngread.c │ ├── pngrio.c │ ├── pngrtran.c │ ├── pngrutil.c │ ├── pngset.c │ ├── pngstruct.h │ ├── pngtest.c │ ├── pngtest.png │ ├── pngtrans.c │ ├── pngusr.dfa │ ├── pngwio.c │ ├── pngwrite.c │ ├── pngwtran.c │ ├── pngwutil.c │ ├── powerpc │ │ ├── filter_vsx_intrinsics.c │ │ └── powerpc_init.c │ ├── projects │ │ ├── owatcom │ │ │ ├── libpng.tgt │ │ │ ├── libpng.wpj │ │ │ ├── pngconfig.mak │ │ │ ├── pngstest.tgt │ │ │ ├── pngtest.tgt │ │ │ └── pngvalid.tgt │ │ ├── visualc71 │ │ │ ├── PRJ0041.mak │ │ │ ├── README.txt │ │ │ ├── README_zlib.txt │ │ │ ├── libpng.sln │ │ │ ├── libpng.vcproj │ │ │ ├── pngtest.vcproj │ │ │ └── zlib.vcproj │ │ └── vstudio │ │ │ ├── README.txt │ │ │ ├── libpng │ │ │ └── libpng.vcxproj │ │ │ ├── pnglibconf │ │ │ └── pnglibconf.vcxproj │ │ │ ├── pngstest │ │ │ └── pngstest.vcxproj │ │ │ ├── pngtest │ │ │ └── pngtest.vcxproj │ │ │ ├── pngunknown │ │ │ └── pngunknown.vcxproj │ │ │ ├── pngvalid │ │ │ └── pngvalid.vcxproj │ │ │ ├── vstudio.sln │ │ │ ├── zlib.props │ │ │ └── zlib │ │ │ └── zlib.vcxproj │ ├── scripts │ │ ├── README.txt │ │ ├── SCOPTIONS.ppc │ │ ├── checksym.awk │ │ ├── descrip.mms │ │ ├── dfn.awk │ │ ├── genchk.cmake.in │ │ ├── genout.cmake.in │ │ ├── gensrc.cmake.in │ │ ├── intprefix.c │ │ ├── libpng-config-body.in │ │ ├── libpng-config-head.in │ │ ├── libpng.pc.in │ │ ├── libtool.m4 │ │ ├── ltoptions.m4 │ │ ├── ltsugar.m4 │ │ ├── ltversion.m4 │ │ ├── lt~obsolete.m4 │ │ ├── macro.lst │ │ ├── makefile.32sunu │ │ ├── makefile.64sunu │ │ ├── makefile.acorn │ │ ├── makefile.aix │ │ ├── makefile.amiga │ │ ├── makefile.atari │ │ ├── makefile.bc32 │ │ ├── makefile.beos │ │ ├── makefile.cegcc │ │ ├── makefile.clang │ │ ├── makefile.clang-asan │ │ ├── makefile.darwin │ │ ├── makefile.dec │ │ ├── makefile.dj2 │ │ ├── makefile.freebsd │ │ ├── makefile.gcc │ │ ├── makefile.gcc-asan │ │ ├── makefile.hp64 │ │ ├── makefile.hpgcc │ │ ├── makefile.hpux │ │ ├── makefile.ibmc │ │ ├── makefile.intel │ │ ├── makefile.linux │ │ ├── makefile.linux-opt │ │ ├── makefile.mips │ │ ├── makefile.msys │ │ ├── makefile.netbsd │ │ ├── makefile.openbsd │ │ ├── makefile.sco │ │ ├── makefile.sggcc │ │ ├── makefile.sgi │ │ ├── makefile.so9 │ │ ├── makefile.solaris │ │ ├── makefile.std │ │ ├── makefile.sunos │ │ ├── makefile.vcwin32 │ │ ├── makevms.com │ │ ├── options.awk │ │ ├── pnglibconf.dfa │ │ ├── pnglibconf.h.prebuilt │ │ ├── pnglibconf.mak │ │ ├── pngwin.rc │ │ ├── prefix.c │ │ ├── smakefile.ppc │ │ ├── sym.c │ │ ├── symbols.c │ │ ├── symbols.def │ │ ├── test.cmake.in │ │ └── vers.c │ ├── test-driver │ └── tests │ │ ├── pngimage-full │ │ ├── pngimage-quick │ │ ├── pngstest │ │ ├── pngstest-1.8 │ │ ├── pngstest-1.8-alpha │ │ ├── pngstest-linear │ │ ├── pngstest-linear-alpha │ │ ├── pngstest-none │ │ ├── pngstest-none-alpha │ │ ├── pngstest-sRGB │ │ ├── pngstest-sRGB-alpha │ │ ├── pngtest │ │ ├── pngtest-badpngs │ │ ├── pngunknown-IDAT │ │ ├── pngunknown-discard │ │ ├── pngunknown-if-safe │ │ ├── pngunknown-sAPI │ │ ├── pngunknown-sTER │ │ ├── pngunknown-save │ │ ├── pngunknown-vpAg │ │ ├── pngvalid-gamma-16-to-8 │ │ ├── pngvalid-gamma-alpha-mode │ │ ├── pngvalid-gamma-background │ │ ├── pngvalid-gamma-expand16-alpha-mode │ │ ├── pngvalid-gamma-expand16-background │ │ ├── pngvalid-gamma-expand16-transform │ │ ├── pngvalid-gamma-sbit │ │ ├── pngvalid-gamma-threshold │ │ ├── pngvalid-gamma-transform │ │ ├── pngvalid-progressive-interlace-standard │ │ ├── pngvalid-progressive-size │ │ ├── pngvalid-progressive-standard │ │ ├── pngvalid-standard │ │ └── pngvalid-transform │ ├── loguru │ ├── loguru.cpp │ └── loguru.hpp │ └── sophus │ ├── .clang-format │ ├── .gitignore │ ├── .travis.yml │ ├── CMakeLists.txt │ ├── LICENSE.txt │ ├── README.rst │ ├── SophusConfig.cmake.in │ ├── appveyor.yml │ ├── cmake_modules │ └── FindEigen3.cmake │ ├── run_format.sh │ ├── sophus │ ├── average.hpp │ ├── common.hpp │ ├── example_ensure_handler.cpp │ ├── geometry.hpp │ ├── interpolate.hpp │ ├── interpolate_details.hpp │ ├── rxso3.hpp │ ├── se2.hpp │ ├── se3.hpp │ ├── sim3.hpp │ ├── so2.hpp │ ├── so3.hpp │ ├── test_macros.hpp │ └── types.hpp │ └── test │ ├── CMakeLists.txt │ ├── ceres │ ├── CMakeLists.txt │ ├── local_parameterization_se3.hpp │ └── test_ceres_se3.cpp │ └── core │ ├── CMakeLists.txt │ ├── test_common.cpp │ ├── test_geometry.cpp │ ├── test_rxso3.cpp │ ├── test_se2.cpp │ ├── test_se3.cpp │ ├── test_sim3.cpp │ ├── test_so2.cpp │ ├── test_so3.cpp │ └── tests.hpp └── screenshot.jpg /LICENSE: -------------------------------------------------------------------------------- 1 | Copyright 2018 ETH Zürich, Thomas Schöps 2 | 3 | Redistribution and use in source and binary forms, with or without 4 | modification, are permitted provided that the following conditions are met: 5 | 6 | 1. Redistributions of source code must retain the above copyright notice, 7 | this list of conditions and the following disclaimer. 8 | 9 | 2. Redistributions in binary form must reproduce the above copyright notice, 10 | this list of conditions and the following disclaimer in the documentation 11 | and/or other materials provided with the distribution. 12 | 13 | 3. Neither the name of the copyright holder nor the names of its contributors 14 | may be used to endorse or promote products derived from this software 15 | without specific prior written permission. 16 | 17 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 18 | AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 19 | IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 20 | ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE 21 | LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 22 | CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 23 | SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 24 | INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 25 | CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 26 | ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 27 | POSSIBILITY OF SUCH DAMAGE. 28 | -------------------------------------------------------------------------------- /applications/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | add_subdirectory(surfel_meshing) 2 | -------------------------------------------------------------------------------- /applications/surfel_meshing/src/surfel_meshing/dummy.cu: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/puzzlepaint/surfelmeshing/bdee93ef81658ef26fe48e6dd75a985919a4c03f/applications/surfel_meshing/src/surfel_meshing/dummy.cu -------------------------------------------------------------------------------- /applications/surfel_meshing/src/surfel_meshing/test/main.cc: -------------------------------------------------------------------------------- 1 | // Copyright 2019 ETH Zürich, Thomas Schöps 2 | // 3 | // Redistribution and use in source and binary forms, with or without 4 | // modification, are permitted provided that the following conditions are met: 5 | // 6 | // 1. Redistributions of source code must retain the above copyright notice, 7 | // this list of conditions and the following disclaimer. 8 | // 9 | // 2. Redistributions in binary form must reproduce the above copyright notice, 10 | // this list of conditions and the following disclaimer in the documentation 11 | // and/or other materials provided with the distribution. 12 | // 13 | // 3. Neither the name of the copyright holder nor the names of its contributors 14 | // may be used to endorse or promote products derived from this software 15 | // without specific prior written permission. 16 | // 17 | // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 18 | // AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 19 | // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 20 | // ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE 21 | // LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 22 | // CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 23 | // SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 24 | // INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 25 | // CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 26 | // ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 27 | // POSSIBILITY OF SUCH DAMAGE. 28 | 29 | #include 30 | #include "libvis/libvis.h" 31 | #include "libvis/qt_thread.h" 32 | 33 | using namespace vis; 34 | 35 | int LIBVIS_MAIN(int argc, char** argv) { 36 | ::testing::InitGoogleTest(&argc, argv); 37 | return RUN_ALL_TESTS(); 38 | } 39 | -------------------------------------------------------------------------------- /applications/surfel_meshing/third_party/cub-1.7.4/.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | GIT_CUB 4 | 5 | 6 | 7 | 8 | 9 | org.eclipse.cdt.managedbuilder.core.genmakebuilder 10 | clean,full,incremental, 11 | 12 | 13 | 14 | 15 | org.eclipse.cdt.managedbuilder.core.ScannerConfigBuilder 16 | full,incremental, 17 | 18 | 19 | 20 | 21 | 22 | org.eclipse.cdt.core.cnature 23 | org.eclipse.cdt.managedbuilder.core.managedBuildNature 24 | org.eclipse.cdt.managedbuilder.core.ScannerConfigNature 25 | org.eclipse.cdt.core.ccnature 26 | 27 | 28 | -------------------------------------------------------------------------------- /applications/surfel_meshing/third_party/cub-1.7.4/.settings/.gitignore: -------------------------------------------------------------------------------- 1 | /language.settings.xml 2 | -------------------------------------------------------------------------------- /applications/surfel_meshing/third_party/cub-1.7.4/.settings/org.eclipse.cdt.ui.prefs: -------------------------------------------------------------------------------- 1 | eclipse.preferences.version=1 2 | formatter_profile=_B40C 3 | formatter_settings_version=1 4 | -------------------------------------------------------------------------------- /applications/surfel_meshing/third_party/cub-1.7.4/.settings/org.eclipse.core.runtime.prefs: -------------------------------------------------------------------------------- 1 | content-types/enabled=true 2 | content-types/org.eclipse.cdt.core.cxxHeader/file-extensions=cuh 3 | content-types/org.eclipse.cdt.core.cxxSource/file-extensions=cu 4 | eclipse.preferences.version=1 5 | -------------------------------------------------------------------------------- /applications/surfel_meshing/third_party/cub-1.7.4/LICENSE.TXT: -------------------------------------------------------------------------------- 1 | Copyright (c) 2010-2011, Duane Merrill. All rights reserved. 2 | Copyright (c) 2011-2017, NVIDIA CORPORATION. All rights reserved. 3 | 4 | Redistribution and use in source and binary forms, with or without 5 | modification, are permitted provided that the following conditions are met: 6 | * Redistributions of source code must retain the above copyright 7 | notice, this list of conditions and the following disclaimer. 8 | * Redistributions in binary form must reproduce the above copyright 9 | notice, this list of conditions and the following disclaimer in the 10 | documentation and/or other materials provided with the distribution. 11 | * Neither the name of the NVIDIA CORPORATION nor the 12 | names of its contributors may be used to endorse or promote products 13 | derived from this software without specific prior written permission. 14 | 15 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND 16 | ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 17 | WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 18 | DISCLAIMED. IN NO EVENT SHALL NVIDIA CORPORATION BE LIABLE FOR ANY 19 | DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 20 | (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 21 | LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 22 | ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 23 | (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 24 | SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -------------------------------------------------------------------------------- /applications/surfel_meshing/third_party/cub-1.7.4/examples/block/.gitignore: -------------------------------------------------------------------------------- 1 | /bin 2 | /Debug 3 | /Release 4 | /cuda55.sdf 5 | /cuda55.suo 6 | /cuda60.sdf 7 | /cuda60.suo 8 | -------------------------------------------------------------------------------- /applications/surfel_meshing/third_party/cub-1.7.4/examples/block/reduce_by_key.cu: -------------------------------------------------------------------------------- 1 | 2 | 3 | #include 4 | 5 | 6 | template < 7 | int BLOCK_THREADS, ///< Number of CTA threads 8 | typename KeyT, ///< Key type 9 | typename ValueT> ///< Value type 10 | __global__ void Kernel() 11 | { 12 | // Tuple type for scanning (pairs accumulated segment-value with segment-index) 13 | typedef cub::KeyValuePair OffsetValuePairT; 14 | 15 | // Reduce-value-by-segment scan operator 16 | typedef cub::ReduceBySegmentOp ReduceBySegmentOpT; 17 | 18 | // Parameterized BlockDiscontinuity type for setting head flags 19 | typedef cub::BlockDiscontinuity< 20 | KeyT, 21 | BLOCK_THREADS> 22 | BlockDiscontinuityKeysT; 23 | 24 | // Parameterized BlockScan type 25 | typedef cub::BlockScan< 26 | OffsetValuePairT, 27 | BLOCK_THREADS, 28 | cub::BLOCK_SCAN_WARP_SCANS> 29 | BlockScanT; 30 | 31 | // Shared memory 32 | __shared__ union TempStorage 33 | { 34 | typename BlockScanT::TempStorage scan; // Scan storage 35 | typename BlockDiscontinuityKeysT::TempStorage discontinuity; // Discontinuity storage 36 | } temp_storage; 37 | 38 | 39 | // Read data (each thread gets 3 items each, every 9 items is a segment) 40 | KeyT my_keys[3] = {threadIdx.x / 3, threadIdx.x / 3, threadIdx.x / 3}; 41 | ValueT my_values[3] = {1, 1, 1}; 42 | 43 | // Set head segment head flags 44 | int my_flags[3]; 45 | BlockDiscontinuityKeysT(temp_storage.discontinuity).FlagHeads( 46 | my_flags, 47 | my_keys, 48 | cub::Inequality()); 49 | 50 | __syncthreads(); 51 | 52 | 53 | 54 | 55 | 56 | 57 | } 58 | -------------------------------------------------------------------------------- /applications/surfel_meshing/third_party/cub-1.7.4/examples/device/.gitignore: -------------------------------------------------------------------------------- 1 | /bin 2 | /Debug 3 | /ipch 4 | /Release 5 | /cuda55.sdf 6 | /cuda55.suo 7 | /cuda60.sdf 8 | /cuda60.suo 9 | -------------------------------------------------------------------------------- /applications/surfel_meshing/third_party/cub-1.7.4/experimental/.gitignore: -------------------------------------------------------------------------------- 1 | /bin 2 | -------------------------------------------------------------------------------- /applications/surfel_meshing/third_party/cub-1.7.4/experimental/spmv_script.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | for i in 1 2 4 8 16 32 64 128 256 512 1024 2048 4096 8192 16384 32768 65536 131072 262144 524288 1048576 2097152 4194304 8388608 16777216 4 | do 5 | echo `date`, `$1 --dense=$i $2 $3 $4 $5 $6 $7` 6 | done 7 | 8 | echo 9 | echo 10 | 11 | for i in `ls /home/dumerrill/graphs/spmv/*.mtx` 12 | do 13 | if [[ ( "`head -n 50 $i | grep complex`" = "" ) && ( "`head -n 50 $i | grep array`" = "" ) ]] 14 | then 15 | echo `date`, `$1 --mtx=$i $2 $3 $4 $5 $6 $7 2>/dev/null` 16 | fi 17 | done 18 | 19 | echo 20 | echo 21 | 22 | for i in `ls /scratch/dumerrill/graphs/mtx/*.mtx` 23 | #for i in `ls /cygdrive/w/Dev/UFget/mtx/*.mtx` 24 | do 25 | if [[ ( "`head -n 50 $i | grep complex`" = "" ) && ( "`head -n 50 $i | grep array`" = "" ) ]] 26 | then 27 | echo `date`, `$1 --mtx=$i $2 $3 $4 $5 $6 $7 2>/dev/null` 28 | fi 29 | done 30 | 31 | -------------------------------------------------------------------------------- /applications/surfel_meshing/third_party/cub-1.7.4/test/.gitignore: -------------------------------------------------------------------------------- 1 | /bin 2 | /link_main.obj 3 | /dummy/ 4 | -------------------------------------------------------------------------------- /applications/surfel_meshing/third_party/cub-1.7.4/test/link_a.cu: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | void a() 4 | { 5 | printf("a() called\n"); 6 | 7 | cub::DoubleBuffer d_keys; 8 | cub::DoubleBuffer d_values; 9 | size_t temp_storage_bytes = 0; 10 | cub::DeviceRadixSort::SortPairs(NULL, temp_storage_bytes, d_keys, d_values, 1024); 11 | } 12 | -------------------------------------------------------------------------------- /applications/surfel_meshing/third_party/cub-1.7.4/test/link_b.cu: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | void b() 4 | { 5 | printf("b() called\n"); 6 | 7 | cub::DoubleBuffer d_keys; 8 | cub::DoubleBuffer d_values; 9 | size_t temp_storage_bytes = 0; 10 | cub::DeviceRadixSort::SortPairs(NULL, temp_storage_bytes, d_keys, d_values, 1024); 11 | } 12 | -------------------------------------------------------------------------------- /applications/surfel_meshing/third_party/cub-1.7.4/test/link_main.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | extern void a(); 4 | extern void b(); 5 | 6 | int main() 7 | { 8 | printf("hello world\n"); 9 | return 0; 10 | } 11 | -------------------------------------------------------------------------------- /applications/surfel_meshing/third_party/cub-1.7.4/tune/.gitignore: -------------------------------------------------------------------------------- 1 | /bin 2 | -------------------------------------------------------------------------------- /libvis/resources/copy.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/puzzlepaint/surfelmeshing/bdee93ef81658ef26fe48e6dd75a985919a4c03f/libvis/resources/copy.png -------------------------------------------------------------------------------- /libvis/resources/fit_contents.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/puzzlepaint/surfelmeshing/bdee93ef81658ef26fe48e6dd75a985919a4c03f/libvis/resources/fit_contents.png -------------------------------------------------------------------------------- /libvis/resources/resize_to_contents.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/puzzlepaint/surfelmeshing/bdee93ef81658ef26fe48e6dd75a985919a4c03f/libvis/resources/resize_to_contents.png -------------------------------------------------------------------------------- /libvis/resources/resources.qrc: -------------------------------------------------------------------------------- 1 | 2 | 3 | copy.png 4 | fit_contents.png 5 | save.png 6 | scale_1x.png 7 | resize_to_contents.png 8 | settings_sliders.png 9 | zoom_and_resize_to_contents.png 10 | 11 | 12 | -------------------------------------------------------------------------------- /libvis/resources/save.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/puzzlepaint/surfelmeshing/bdee93ef81658ef26fe48e6dd75a985919a4c03f/libvis/resources/save.png -------------------------------------------------------------------------------- /libvis/resources/scale_1x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/puzzlepaint/surfelmeshing/bdee93ef81658ef26fe48e6dd75a985919a4c03f/libvis/resources/scale_1x.png -------------------------------------------------------------------------------- /libvis/resources/settings_sliders.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/puzzlepaint/surfelmeshing/bdee93ef81658ef26fe48e6dd75a985919a4c03f/libvis/resources/settings_sliders.png -------------------------------------------------------------------------------- /libvis/resources/zoom_and_resize_to_contents.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/puzzlepaint/surfelmeshing/bdee93ef81658ef26fe48e6dd75a985919a4c03f/libvis/resources/zoom_and_resize_to_contents.png -------------------------------------------------------------------------------- /libvis/src/libvis/cuda/test/cholesky_solver.cuh: -------------------------------------------------------------------------------- 1 | // Copyright 2019 ETH Zürich, Thomas Schöps 2 | // 3 | // Redistribution and use in source and binary forms, with or without 4 | // modification, are permitted provided that the following conditions are met: 5 | // 6 | // 1. Redistributions of source code must retain the above copyright notice, 7 | // this list of conditions and the following disclaimer. 8 | // 9 | // 2. Redistributions in binary form must reproduce the above copyright notice, 10 | // this list of conditions and the following disclaimer in the documentation 11 | // and/or other materials provided with the distribution. 12 | // 13 | // 3. Neither the name of the copyright holder nor the names of its contributors 14 | // may be used to endorse or promote products derived from this software 15 | // without specific prior written permission. 16 | // 17 | // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 18 | // AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 19 | // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 20 | // ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE 21 | // LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 22 | // CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 23 | // SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 24 | // INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 25 | // CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 26 | // ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 27 | // POSSIBILITY OF SUCH DAMAGE. 28 | 29 | #pragma once 30 | 31 | #include 32 | 33 | namespace vis { 34 | 35 | void CallCholeskySolverKernelForNMax7(int N, float* H_cuda, float* b_cuda); 36 | 37 | void CallCholeskySolverKernel(int N, float* H_cuda, float* b_cuda); 38 | 39 | } 40 | -------------------------------------------------------------------------------- /libvis/src/libvis/cuda/test/main.cc: -------------------------------------------------------------------------------- 1 | // Copyright 2019 ETH Zürich, Thomas Schöps 2 | // 3 | // Redistribution and use in source and binary forms, with or without 4 | // modification, are permitted provided that the following conditions are met: 5 | // 6 | // 1. Redistributions of source code must retain the above copyright notice, 7 | // this list of conditions and the following disclaimer. 8 | // 9 | // 2. Redistributions in binary form must reproduce the above copyright notice, 10 | // this list of conditions and the following disclaimer in the documentation 11 | // and/or other materials provided with the distribution. 12 | // 13 | // 3. Neither the name of the copyright holder nor the names of its contributors 14 | // may be used to endorse or promote products derived from this software 15 | // without specific prior written permission. 16 | // 17 | // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 18 | // AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 19 | // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 20 | // ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE 21 | // LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 22 | // CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 23 | // SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 24 | // INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 25 | // CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 26 | // ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 27 | // POSSIBILITY OF SUCH DAMAGE. 28 | 29 | #include 30 | #include "libvis/libvis.h" 31 | #include "libvis/qt_thread.h" 32 | 33 | using namespace vis; 34 | 35 | int LIBVIS_MAIN(int argc, char** argv) { 36 | ::testing::InitGoogleTest(&argc, argv); 37 | return RUN_ALL_TESTS(); 38 | } 39 | -------------------------------------------------------------------------------- /libvis/src/libvis/glew.h: -------------------------------------------------------------------------------- 1 | // Copyright 2019 ETH Zürich, Thomas Schöps 2 | // 3 | // Redistribution and use in source and binary forms, with or without 4 | // modification, are permitted provided that the following conditions are met: 5 | // 6 | // 1. Redistributions of source code must retain the above copyright notice, 7 | // this list of conditions and the following disclaimer. 8 | // 9 | // 2. Redistributions in binary form must reproduce the above copyright notice, 10 | // this list of conditions and the following disclaimer in the documentation 11 | // and/or other materials provided with the distribution. 12 | // 13 | // 3. Neither the name of the copyright holder nor the names of its contributors 14 | // may be used to endorse or promote products derived from this software 15 | // without specific prior written permission. 16 | // 17 | // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 18 | // AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 19 | // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 20 | // ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE 21 | // LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 22 | // CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 23 | // SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 24 | // INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 25 | // CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 26 | // ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 27 | // POSSIBILITY OF SUCH DAMAGE. 28 | 29 | #pragma once 30 | 31 | namespace vis { 32 | 33 | /// Enables to initialize GLEW without including its header (which causes 34 | /// conflicts with Qt's OpenGL headers). Returns true if successful. 35 | bool InitializeGLEW(); 36 | 37 | } 38 | -------------------------------------------------------------------------------- /libvis/src/libvis/logging.h: -------------------------------------------------------------------------------- 1 | // Copyright 2019 ETH Zürich, Thomas Schöps 2 | // 3 | // Redistribution and use in source and binary forms, with or without 4 | // modification, are permitted provided that the following conditions are met: 5 | // 6 | // 1. Redistributions of source code must retain the above copyright notice, 7 | // this list of conditions and the following disclaimer. 8 | // 9 | // 2. Redistributions in binary form must reproduce the above copyright notice, 10 | // this list of conditions and the following disclaimer in the documentation 11 | // and/or other materials provided with the distribution. 12 | // 13 | // 3. Neither the name of the copyright holder nor the names of its contributors 14 | // may be used to endorse or promote products derived from this software 15 | // without specific prior written permission. 16 | // 17 | // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 18 | // AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 19 | // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 20 | // ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE 21 | // LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 22 | // CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 23 | // SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 24 | // INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 25 | // CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 26 | // ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 27 | // POSSIBILITY OF SUCH DAMAGE. 28 | 29 | 30 | // libvis uses loguru for logging ( https://github.com/emilk/loguru ). 31 | // This header ensures that it is always configured consistently when included. 32 | #pragma once 33 | 34 | // Use glog-like syntax: 35 | #define LOGURU_REPLACE_GLOG 1 36 | 37 | #include "loguru.hpp" 38 | -------------------------------------------------------------------------------- /libvis/src/libvis/shaders/compile.sh: -------------------------------------------------------------------------------- 1 | glslangValidator -V -S vert -o shader.vert.spv shader.vert 2 | glslangValidator -V -S frag -o shader.frag.spv shader.frag 3 | ../../../build_RelWithDebInfo/bin2c -n vis -H license_header.h shader.vert.spv 4 | ../../../build_RelWithDebInfo/bin2c -n vis -H license_header.h shader.frag.spv 5 | -------------------------------------------------------------------------------- /libvis/src/libvis/shaders/license_header.h: -------------------------------------------------------------------------------- 1 | // Copyright 2017, 2019 ETH Zürich, Thomas Schöps 2 | // 3 | // Redistribution and use in source and binary forms, with or without 4 | // modification, are permitted provided that the following conditions are met: 5 | // 6 | // 1. Redistributions of source code must retain the above copyright notice, 7 | // this list of conditions and the following disclaimer. 8 | // 9 | // 2. Redistributions in binary form must reproduce the above copyright notice, 10 | // this list of conditions and the following disclaimer in the documentation 11 | // and/or other materials provided with the distribution. 12 | // 13 | // 3. Neither the name of the copyright holder nor the names of its contributors 14 | // may be used to endorse or promote products derived from this software 15 | // without specific prior written permission. 16 | // 17 | // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 18 | // AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 19 | // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 20 | // ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE 21 | // LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 22 | // CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 23 | // SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 24 | // INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 25 | // CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 26 | // ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 27 | // POSSIBILITY OF SUCH DAMAGE. 28 | -------------------------------------------------------------------------------- /libvis/src/libvis/shaders/shader.frag: -------------------------------------------------------------------------------- 1 | // Copyright 2017 Thomas Schöps 2 | // 3 | // Redistribution and use in source and binary forms, with or without 4 | // modification, are permitted provided that the following conditions are met: 5 | // 6 | // 1. Redistributions of source code must retain the above copyright notice, 7 | // this list of conditions and the following disclaimer. 8 | // 9 | // 2. Redistributions in binary form must reproduce the above copyright notice, 10 | // this list of conditions and the following disclaimer in the documentation 11 | // and/or other materials provided with the distribution. 12 | // 13 | // 3. Neither the name of the copyright holder nor the names of its contributors 14 | // may be used to endorse or promote products derived from this software 15 | // without specific prior written permission. 16 | // 17 | // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 18 | // AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 19 | // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 20 | // ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE 21 | // LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 22 | // CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 23 | // SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 24 | // INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 25 | // CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 26 | // ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 27 | // POSSIBILITY OF SUCH DAMAGE. 28 | 29 | #version 450 30 | #extension GL_ARB_separate_shader_objects : enable 31 | 32 | layout(location = 0) in vec3 fragColor; 33 | 34 | layout(location = 0) out vec4 outColor; 35 | 36 | void main() { 37 | outColor = vec4(fragColor, 1.0); 38 | } 39 | -------------------------------------------------------------------------------- /libvis/src/libvis/test/main.cc: -------------------------------------------------------------------------------- 1 | // Copyright 2019 ETH Zürich, Thomas Schöps 2 | // 3 | // Redistribution and use in source and binary forms, with or without 4 | // modification, are permitted provided that the following conditions are met: 5 | // 6 | // 1. Redistributions of source code must retain the above copyright notice, 7 | // this list of conditions and the following disclaimer. 8 | // 9 | // 2. Redistributions in binary form must reproduce the above copyright notice, 10 | // this list of conditions and the following disclaimer in the documentation 11 | // and/or other materials provided with the distribution. 12 | // 13 | // 3. Neither the name of the copyright holder nor the names of its contributors 14 | // may be used to endorse or promote products derived from this software 15 | // without specific prior written permission. 16 | // 17 | // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 18 | // AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 19 | // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 20 | // ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE 21 | // LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 22 | // CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 23 | // SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 24 | // INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 25 | // CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 26 | // ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 27 | // POSSIBILITY OF SUCH DAMAGE. 28 | 29 | #include 30 | #include "libvis/libvis.h" 31 | #include "libvis/qt_thread.h" 32 | 33 | using namespace vis; 34 | 35 | int LIBVIS_MAIN(int argc, char** argv) { 36 | ::testing::InitGoogleTest(&argc, argv); 37 | return RUN_ALL_TESTS(); 38 | } 39 | -------------------------------------------------------------------------------- /libvis/third_party/gtest/CONTRIBUTORS: -------------------------------------------------------------------------------- 1 | # This file contains a list of people who've made non-trivial 2 | # contribution to the Google C++ Testing Framework project. People 3 | # who commit code to the project are encouraged to add their names 4 | # here. Please keep the list sorted by first names. 5 | 6 | Ajay Joshi 7 | Balázs Dán 8 | Bharat Mediratta 9 | Chandler Carruth 10 | Chris Prince 11 | Chris Taylor 12 | Dan Egnor 13 | Eric Roman 14 | Hady Zalek 15 | Jeffrey Yasskin 16 | Jói Sigurðsson 17 | Keir Mierle 18 | Keith Ray 19 | Kenton Varda 20 | Manuel Klimek 21 | Markus Heule 22 | Mika Raento 23 | Miklós Fazekas 24 | Pasi Valminen 25 | Patrick Hanna 26 | Patrick Riley 27 | Peter Kaminski 28 | Preston Jackson 29 | Rainer Klaffenboeck 30 | Russ Cox 31 | Russ Rufer 32 | Sean Mcafee 33 | Sigurður Ásgeirsson 34 | Tracy Bialik 35 | Vadim Berman 36 | Vlad Losev 37 | Zhanyong Wan 38 | -------------------------------------------------------------------------------- /libvis/third_party/gtest/LICENSE: -------------------------------------------------------------------------------- 1 | Copyright 2008, Google Inc. 2 | All rights reserved. 3 | 4 | Redistribution and use in source and binary forms, with or without 5 | modification, are permitted provided that the following conditions are 6 | met: 7 | 8 | * Redistributions of source code must retain the above copyright 9 | notice, this list of conditions and the following disclaimer. 10 | * Redistributions in binary form must reproduce the above 11 | copyright notice, this list of conditions and the following disclaimer 12 | in the documentation and/or other materials provided with the 13 | distribution. 14 | * Neither the name of Google Inc. nor the names of its 15 | contributors may be used to endorse or promote products derived from 16 | this software without specific prior written permission. 17 | 18 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 19 | "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 20 | LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 21 | A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 22 | OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 23 | SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 24 | LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 25 | DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 26 | THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 27 | (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 28 | OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 29 | -------------------------------------------------------------------------------- /libvis/third_party/gtest/codegear/gtest_all.cc: -------------------------------------------------------------------------------- 1 | // Copyright 2009, Google Inc. 2 | // All rights reserved. 3 | // 4 | // Redistribution and use in source and binary forms, with or without 5 | // modification, are permitted provided that the following conditions are 6 | // met: 7 | // 8 | // * Redistributions of source code must retain the above copyright 9 | // notice, this list of conditions and the following disclaimer. 10 | // * Redistributions in binary form must reproduce the above 11 | // copyright notice, this list of conditions and the following disclaimer 12 | // in the documentation and/or other materials provided with the 13 | // distribution. 14 | // * Neither the name of Google Inc. nor the names of its 15 | // contributors may be used to endorse or promote products derived from 16 | // this software without specific prior written permission. 17 | // 18 | // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 19 | // "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 20 | // LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 21 | // A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 22 | // OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 23 | // SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 24 | // LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 25 | // DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 26 | // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 27 | // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 28 | // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 29 | // 30 | // Author: Josh Kelley (joshkel@gmail.com) 31 | // 32 | // Google C++ Testing Framework (Google Test) 33 | // 34 | // C++Builder's IDE cannot build a static library from files with hyphens 35 | // in their name. See http://qc.codegear.com/wc/qcmain.aspx?d=70977 . 36 | // This file serves as a workaround. 37 | 38 | #include "src/gtest-all.cc" 39 | -------------------------------------------------------------------------------- /libvis/third_party/gtest/samples/sample4_unittest.cc: -------------------------------------------------------------------------------- 1 | // Copyright 2005, Google Inc. 2 | // All rights reserved. 3 | // 4 | // Redistribution and use in source and binary forms, with or without 5 | // modification, are permitted provided that the following conditions are 6 | // met: 7 | // 8 | // * Redistributions of source code must retain the above copyright 9 | // notice, this list of conditions and the following disclaimer. 10 | // * Redistributions in binary form must reproduce the above 11 | // copyright notice, this list of conditions and the following disclaimer 12 | // in the documentation and/or other materials provided with the 13 | // distribution. 14 | // * Neither the name of Google Inc. nor the names of its 15 | // contributors may be used to endorse or promote products derived from 16 | // this software without specific prior written permission. 17 | // 18 | // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 19 | // "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 20 | // LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 21 | // A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 22 | // OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 23 | // SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 24 | // LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 25 | // DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 26 | // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 27 | // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 28 | // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 29 | // 30 | // Author: wan@google.com (Zhanyong Wan) 31 | 32 | #include "gtest/gtest.h" 33 | #include "sample4.h" 34 | 35 | // Tests the Increment() method. 36 | TEST(Counter, Increment) { 37 | Counter c; 38 | 39 | // EXPECT_EQ() evaluates its arguments exactly once, so they 40 | // can have side effects. 41 | 42 | EXPECT_EQ(0, c.Increment()); 43 | EXPECT_EQ(1, c.Increment()); 44 | EXPECT_EQ(2, c.Increment()); 45 | } 46 | -------------------------------------------------------------------------------- /libvis/third_party/gtest/scripts/test/Makefile: -------------------------------------------------------------------------------- 1 | # A Makefile for fusing Google Test and building a sample test against it. 2 | # 3 | # SYNOPSIS: 4 | # 5 | # make [all] - makes everything. 6 | # make TARGET - makes the given target. 7 | # make check - makes everything and runs the built sample test. 8 | # make clean - removes all files generated by make. 9 | 10 | # Points to the root of fused Google Test, relative to where this file is. 11 | FUSED_GTEST_DIR = output 12 | 13 | # Paths to the fused gtest files. 14 | FUSED_GTEST_H = $(FUSED_GTEST_DIR)/gtest/gtest.h 15 | FUSED_GTEST_ALL_CC = $(FUSED_GTEST_DIR)/gtest/gtest-all.cc 16 | 17 | # Where to find the sample test. 18 | SAMPLE_DIR = ../../samples 19 | 20 | # Where to find gtest_main.cc. 21 | GTEST_MAIN_CC = ../../src/gtest_main.cc 22 | 23 | # Flags passed to the preprocessor. 24 | # We have no idea here whether pthreads is available in the system, so 25 | # disable its use. 26 | CPPFLAGS += -I$(FUSED_GTEST_DIR) -DGTEST_HAS_PTHREAD=0 27 | 28 | # Flags passed to the C++ compiler. 29 | CXXFLAGS += -g 30 | 31 | all : sample1_unittest 32 | 33 | check : all 34 | ./sample1_unittest 35 | 36 | clean : 37 | rm -rf $(FUSED_GTEST_DIR) sample1_unittest *.o 38 | 39 | $(FUSED_GTEST_H) : 40 | ../fuse_gtest_files.py $(FUSED_GTEST_DIR) 41 | 42 | $(FUSED_GTEST_ALL_CC) : 43 | ../fuse_gtest_files.py $(FUSED_GTEST_DIR) 44 | 45 | gtest-all.o : $(FUSED_GTEST_H) $(FUSED_GTEST_ALL_CC) 46 | $(CXX) $(CPPFLAGS) $(CXXFLAGS) -c $(FUSED_GTEST_DIR)/gtest/gtest-all.cc 47 | 48 | gtest_main.o : $(FUSED_GTEST_H) $(GTEST_MAIN_CC) 49 | $(CXX) $(CPPFLAGS) $(CXXFLAGS) -c $(GTEST_MAIN_CC) 50 | 51 | sample1.o : $(SAMPLE_DIR)/sample1.cc $(SAMPLE_DIR)/sample1.h 52 | $(CXX) $(CPPFLAGS) $(CXXFLAGS) -c $(SAMPLE_DIR)/sample1.cc 53 | 54 | sample1_unittest.o : $(SAMPLE_DIR)/sample1_unittest.cc \ 55 | $(SAMPLE_DIR)/sample1.h $(FUSED_GTEST_H) 56 | $(CXX) $(CPPFLAGS) $(CXXFLAGS) -c $(SAMPLE_DIR)/sample1_unittest.cc 57 | 58 | sample1_unittest : sample1.o sample1_unittest.o gtest-all.o gtest_main.o 59 | $(CXX) $(CPPFLAGS) $(CXXFLAGS) $^ -o $@ 60 | -------------------------------------------------------------------------------- /libvis/third_party/gtest/src/gtest_main.cc: -------------------------------------------------------------------------------- 1 | // Copyright 2006, Google Inc. 2 | // All rights reserved. 3 | // 4 | // Redistribution and use in source and binary forms, with or without 5 | // modification, are permitted provided that the following conditions are 6 | // met: 7 | // 8 | // * Redistributions of source code must retain the above copyright 9 | // notice, this list of conditions and the following disclaimer. 10 | // * Redistributions in binary form must reproduce the above 11 | // copyright notice, this list of conditions and the following disclaimer 12 | // in the documentation and/or other materials provided with the 13 | // distribution. 14 | // * Neither the name of Google Inc. nor the names of its 15 | // contributors may be used to endorse or promote products derived from 16 | // this software without specific prior written permission. 17 | // 18 | // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 19 | // "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 20 | // LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 21 | // A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 22 | // OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 23 | // SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 24 | // LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 25 | // DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 26 | // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 27 | // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 28 | // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 29 | 30 | #include 31 | 32 | #include "gtest/gtest.h" 33 | 34 | GTEST_API_ int main(int argc, char **argv) { 35 | printf("Running main() from gtest_main.cc\n"); 36 | testing::InitGoogleTest(&argc, argv); 37 | return RUN_ALL_TESTS(); 38 | } 39 | -------------------------------------------------------------------------------- /libvis/third_party/gtest/test/gtest_main_unittest.cc: -------------------------------------------------------------------------------- 1 | // Copyright 2006, Google Inc. 2 | // All rights reserved. 3 | // 4 | // Redistribution and use in source and binary forms, with or without 5 | // modification, are permitted provided that the following conditions are 6 | // met: 7 | // 8 | // * Redistributions of source code must retain the above copyright 9 | // notice, this list of conditions and the following disclaimer. 10 | // * Redistributions in binary form must reproduce the above 11 | // copyright notice, this list of conditions and the following disclaimer 12 | // in the documentation and/or other materials provided with the 13 | // distribution. 14 | // * Neither the name of Google Inc. nor the names of its 15 | // contributors may be used to endorse or promote products derived from 16 | // this software without specific prior written permission. 17 | // 18 | // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 19 | // "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 20 | // LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 21 | // A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 22 | // OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 23 | // SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 24 | // LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 25 | // DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 26 | // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 27 | // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 28 | // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 29 | // 30 | // Author: wan@google.com (Zhanyong Wan) 31 | 32 | #include "gtest/gtest.h" 33 | 34 | // Tests that we don't have to define main() when we link to 35 | // gtest_main instead of gtest. 36 | 37 | namespace { 38 | 39 | TEST(GTestMainTest, ShouldSucceed) { 40 | } 41 | 42 | } // namespace 43 | 44 | // We are using the main() function defined in src/gtest_main.cc, so 45 | // we don't define it here. 46 | -------------------------------------------------------------------------------- /libvis/third_party/gtest/test/production.cc: -------------------------------------------------------------------------------- 1 | // Copyright 2006, Google Inc. 2 | // All rights reserved. 3 | // 4 | // Redistribution and use in source and binary forms, with or without 5 | // modification, are permitted provided that the following conditions are 6 | // met: 7 | // 8 | // * Redistributions of source code must retain the above copyright 9 | // notice, this list of conditions and the following disclaimer. 10 | // * Redistributions in binary form must reproduce the above 11 | // copyright notice, this list of conditions and the following disclaimer 12 | // in the documentation and/or other materials provided with the 13 | // distribution. 14 | // * Neither the name of Google Inc. nor the names of its 15 | // contributors may be used to endorse or promote products derived from 16 | // this software without specific prior written permission. 17 | // 18 | // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 19 | // "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 20 | // LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 21 | // A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 22 | // OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 23 | // SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 24 | // LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 25 | // DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 26 | // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 27 | // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 28 | // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 29 | // 30 | // Author: wan@google.com (Zhanyong Wan) 31 | // 32 | // This is part of the unit test for include/gtest/gtest_prod.h. 33 | 34 | #include "production.h" 35 | 36 | PrivateCode::PrivateCode() : x_(0) {} 37 | -------------------------------------------------------------------------------- /libvis/third_party/gtest/xcode/Config/DebugProject.xcconfig: -------------------------------------------------------------------------------- 1 | // 2 | // DebugProject.xcconfig 3 | // 4 | // These are Debug Configuration project settings for the gtest framework and 5 | // examples. It is set in the "Based On:" dropdown in the "Project" info 6 | // dialog. 7 | // This file is based on the Xcode Configuration files in: 8 | // http://code.google.com/p/google-toolbox-for-mac/ 9 | // 10 | 11 | #include "General.xcconfig" 12 | 13 | // No optimization 14 | GCC_OPTIMIZATION_LEVEL = 0 15 | 16 | // Deployment postprocessing is what triggers Xcode to strip, turn it off 17 | DEPLOYMENT_POSTPROCESSING = NO 18 | 19 | // Dead code stripping off 20 | DEAD_CODE_STRIPPING = NO 21 | 22 | // Debug symbols should be on obviously 23 | GCC_GENERATE_DEBUGGING_SYMBOLS = YES 24 | 25 | // Define the DEBUG macro in all debug builds 26 | OTHER_CFLAGS = $(OTHER_CFLAGS) -DDEBUG=1 27 | 28 | // These are turned off to avoid STL incompatibilities with client code 29 | // // Turns on special C++ STL checks to "encourage" good STL use 30 | // GCC_PREPROCESSOR_DEFINITIONS = $(GCC_PREPROCESSOR_DEFINITIONS) _GLIBCXX_DEBUG_PEDANTIC _GLIBCXX_DEBUG _GLIBCPP_CONCEPT_CHECKS 31 | -------------------------------------------------------------------------------- /libvis/third_party/gtest/xcode/Config/FrameworkTarget.xcconfig: -------------------------------------------------------------------------------- 1 | // 2 | // FrameworkTarget.xcconfig 3 | // 4 | // These are Framework target settings for the gtest framework and examples. It 5 | // is set in the "Based On:" dropdown in the "Target" info dialog. 6 | // This file is based on the Xcode Configuration files in: 7 | // http://code.google.com/p/google-toolbox-for-mac/ 8 | // 9 | 10 | // Dynamic libs need to be position independent 11 | GCC_DYNAMIC_NO_PIC = NO 12 | 13 | // Dynamic libs should not have their external symbols stripped. 14 | STRIP_STYLE = non-global 15 | 16 | // Let the user install by specifying the $DSTROOT with xcodebuild 17 | SKIP_INSTALL = NO 18 | -------------------------------------------------------------------------------- /libvis/third_party/gtest/xcode/Config/General.xcconfig: -------------------------------------------------------------------------------- 1 | // 2 | // General.xcconfig 3 | // 4 | // These are General configuration settings for the gtest framework and 5 | // examples. 6 | // This file is based on the Xcode Configuration files in: 7 | // http://code.google.com/p/google-toolbox-for-mac/ 8 | // 9 | 10 | // Build for PPC and Intel, 32- and 64-bit 11 | ARCHS = i386 x86_64 ppc ppc64 12 | 13 | // Zerolink prevents link warnings so turn it off 14 | ZERO_LINK = NO 15 | 16 | // Prebinding considered unhelpful in 10.3 and later 17 | PREBINDING = NO 18 | 19 | // Strictest warning policy 20 | WARNING_CFLAGS = -Wall -Werror -Wendif-labels -Wnewline-eof -Wno-sign-compare -Wshadow 21 | 22 | // Work around Xcode bugs by using external strip. See: 23 | // http://lists.apple.com/archives/Xcode-users/2006/Feb/msg00050.html 24 | SEPARATE_STRIP = YES 25 | 26 | // Force C99 dialect 27 | GCC_C_LANGUAGE_STANDARD = c99 28 | 29 | // not sure why apple defaults this on, but it's pretty risky 30 | ALWAYS_SEARCH_USER_PATHS = NO 31 | 32 | // Turn on position dependent code for most cases (overridden where appropriate) 33 | GCC_DYNAMIC_NO_PIC = YES 34 | 35 | // Default SDK and minimum OS version is 10.4 36 | SDKROOT = $(DEVELOPER_SDK_DIR)/MacOSX10.4u.sdk 37 | MACOSX_DEPLOYMENT_TARGET = 10.4 38 | GCC_VERSION = 4.0 39 | 40 | // VERSIONING BUILD SETTINGS (used in Info.plist) 41 | GTEST_VERSIONINFO_ABOUT = © 2008 Google Inc. 42 | -------------------------------------------------------------------------------- /libvis/third_party/gtest/xcode/Config/ReleaseProject.xcconfig: -------------------------------------------------------------------------------- 1 | // 2 | // ReleaseProject.xcconfig 3 | // 4 | // These are Release Configuration project settings for the gtest framework 5 | // and examples. It is set in the "Based On:" dropdown in the "Project" info 6 | // dialog. 7 | // This file is based on the Xcode Configuration files in: 8 | // http://code.google.com/p/google-toolbox-for-mac/ 9 | // 10 | 11 | #include "General.xcconfig" 12 | 13 | // subconfig/Release.xcconfig 14 | 15 | // Optimize for space and size (Apple recommendation) 16 | GCC_OPTIMIZATION_LEVEL = s 17 | 18 | // Deploment postprocessing is what triggers Xcode to strip 19 | DEPLOYMENT_POSTPROCESSING = YES 20 | 21 | // No symbols 22 | GCC_GENERATE_DEBUGGING_SYMBOLS = NO 23 | 24 | // Dead code strip does not affect ObjC code but can help for C 25 | DEAD_CODE_STRIPPING = YES 26 | 27 | // NDEBUG is used by things like assert.h, so define it for general compat. 28 | // ASSERT going away in release tends to create unused vars. 29 | OTHER_CFLAGS = $(OTHER_CFLAGS) -DNDEBUG=1 -Wno-unused-variable 30 | 31 | // When we strip we want to strip all symbols in release, but save externals. 32 | STRIP_STYLE = all 33 | -------------------------------------------------------------------------------- /libvis/third_party/gtest/xcode/Config/StaticLibraryTarget.xcconfig: -------------------------------------------------------------------------------- 1 | // 2 | // StaticLibraryTarget.xcconfig 3 | // 4 | // These are static library target settings for libgtest.a. It 5 | // is set in the "Based On:" dropdown in the "Target" info dialog. 6 | // This file is based on the Xcode Configuration files in: 7 | // http://code.google.com/p/google-toolbox-for-mac/ 8 | // 9 | 10 | // Static libs can be included in bundles so make them position independent 11 | GCC_DYNAMIC_NO_PIC = NO 12 | 13 | // Static libs should not have their internal globals or external symbols 14 | // stripped. 15 | STRIP_STYLE = debugging 16 | 17 | // Let the user install by specifying the $DSTROOT with xcodebuild 18 | SKIP_INSTALL = NO 19 | -------------------------------------------------------------------------------- /libvis/third_party/gtest/xcode/Config/TestTarget.xcconfig: -------------------------------------------------------------------------------- 1 | // 2 | // TestTarget.xcconfig 3 | // 4 | // These are Test target settings for the gtest framework and examples. It 5 | // is set in the "Based On:" dropdown in the "Target" info dialog. 6 | 7 | PRODUCT_NAME = $(TARGET_NAME) 8 | HEADER_SEARCH_PATHS = ../include 9 | -------------------------------------------------------------------------------- /libvis/third_party/gtest/xcode/Resources/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | English 7 | CFBundleExecutable 8 | ${EXECUTABLE_NAME} 9 | CFBundleIconFile 10 | 11 | CFBundleIdentifier 12 | com.google.${PRODUCT_NAME} 13 | CFBundleInfoDictionaryVersion 14 | 6.0 15 | CFBundlePackageType 16 | FMWK 17 | CFBundleSignature 18 | ???? 19 | CFBundleVersion 20 | GTEST_VERSIONINFO_LONG 21 | CFBundleShortVersionString 22 | GTEST_VERSIONINFO_SHORT 23 | CFBundleGetInfoString 24 | ${PRODUCT_NAME} GTEST_VERSIONINFO_LONG, ${GTEST_VERSIONINFO_ABOUT} 25 | NSHumanReadableCopyright 26 | ${GTEST_VERSIONINFO_ABOUT} 27 | CSResourcesFileMapped 28 | 29 | 30 | 31 | -------------------------------------------------------------------------------- /libvis/third_party/gtest/xcode/Samples/FrameworkSample/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | English 7 | CFBundleExecutable 8 | ${EXECUTABLE_NAME} 9 | CFBundleIconFile 10 | 11 | CFBundleIdentifier 12 | com.google.gtest.${PRODUCT_NAME:identifier} 13 | CFBundleInfoDictionaryVersion 14 | 6.0 15 | CFBundleName 16 | ${PRODUCT_NAME} 17 | CFBundlePackageType 18 | FMWK 19 | CFBundleShortVersionString 20 | 1.0 21 | CFBundleSignature 22 | ???? 23 | CFBundleVersion 24 | 1.0 25 | CSResourcesFileMapped 26 | 27 | 28 | 29 | -------------------------------------------------------------------------------- /libvis/third_party/libpng/ANNOUNCE: -------------------------------------------------------------------------------- 1 | libpng 1.6.37 - April 14, 2019 2 | ============================== 3 | 4 | This is a public release of libpng, intended for use in production code. 5 | 6 | 7 | Files available for download 8 | ---------------------------- 9 | 10 | Source files with LF line endings (for Unix/Linux): 11 | 12 | * libpng-1.6.37.tar.xz (LZMA-compressed, recommended) 13 | * libpng-1.6.37.tar.gz 14 | 15 | Source files with CRLF line endings (for Windows): 16 | 17 | * lp1637.7z (LZMA-compressed, recommended) 18 | * lp1637.zip 19 | 20 | Other information: 21 | 22 | * README.md 23 | * LICENSE.md 24 | * AUTHORS.md 25 | * TRADEMARK.md 26 | 27 | 28 | Changes since the previous public release (version 1.6.36) 29 | ---------------------------------------------------------- 30 | 31 | * Fixed a use-after-free vulnerability (CVE-2019-7317) in png_image_free. 32 | * Fixed a memory leak in the ARM NEON implementation of png_do_expand_palette. 33 | * Fixed a memory leak in pngtest.c. 34 | * Fixed two vulnerabilities (CVE-2018-14048, CVE-2018-14550) in 35 | contrib/pngminus; refactor. 36 | * Changed the license of contrib/pngminus to MIT; refresh makefile and docs. 37 | (Contributed by Willem van Schaik) 38 | * Fixed a typo in the libpng license v2. 39 | (Contributed by Miguel Ojeda) 40 | * Added makefiles for AddressSanitizer-enabled builds. 41 | * Cleaned up various makefiles. 42 | 43 | 44 | Send comments/corrections/commendations to png-mng-implement at lists.sf.net. 45 | Subscription is required; visit 46 | https://lists.sourceforge.net/lists/listinfo/png-mng-implement 47 | to subscribe. 48 | -------------------------------------------------------------------------------- /libvis/third_party/libpng/AUTHORS: -------------------------------------------------------------------------------- 1 | PNG REFERENCE LIBRARY AUTHORS 2 | ============================= 3 | 4 | This is the list of PNG Reference Library ("libpng") Contributing 5 | Authors, for copyright and licensing purposes. 6 | 7 | * Andreas Dilger 8 | * Cosmin Truta 9 | * Dave Martindale 10 | * Eric S. Raymond 11 | * Gilles Vollant 12 | * Glenn Randers-Pehrson 13 | * Greg Roelofs 14 | * Guy Eric Schalnat 15 | * James Yu 16 | * John Bowler 17 | * Kevin Bracey 18 | * Magnus Holmgren 19 | * Mandar Sahastrabuddhe 20 | * Mans Rullgard 21 | * Matt Sarett 22 | * Mike Klein 23 | * Paul Schmidt 24 | * Sam Bushell 25 | * Samuel Williams 26 | * Simon-Pierre Cadieux 27 | * Tim Wegner 28 | * Tom Lane 29 | * Tom Tanner 30 | * Vadim Barkov 31 | * Willem van Schaik 32 | * Zhijie Liang 33 | * Arm Holdings 34 | - Richard Townsend 35 | * Google Inc. 36 | - Matt Sarett 37 | - Mike Klein 38 | 39 | The build projects, the build scripts, the test scripts, and other 40 | files in the "projects", "scripts" and "tests" directories, have other 41 | copyright owners, but are released under the libpng license. 42 | 43 | Some files in the "contrib" directory, and some tools-generated files 44 | that are distributed with libpng, have other copyright owners, and are 45 | released under other open source licenses. 46 | -------------------------------------------------------------------------------- /libvis/third_party/libpng/TODO: -------------------------------------------------------------------------------- 1 | TODO - list of things to do for libpng: 2 | 3 | * Fix all defects (duh!) 4 | * Better C++ wrapper / full C++ implementation (?) 5 | * Fix the problems with C++ and 'extern "C"'. 6 | * cHRM transformation. 7 | * Palette creation. 8 | * "grayscale->palette" transformation and "palette->grayscale" detection. 9 | * Improved dithering. 10 | * Multi-lingual error and warning message support. 11 | * Complete sRGB transformation. (Currently it simply uses gamma=0.45455.) 12 | * Man pages for function calls. 13 | * Better documentation. 14 | * Better filter selection 15 | (e.g., counting huffman bits/precompression; filter inertia; filter costs). 16 | * Histogram creation. 17 | * Text conversion between different code pages (e.g., Latin-1 -> Mac). 18 | * Avoid building gamma tables whenever possible. 19 | * Greater precision in changing to linear gamma for compositing against 20 | background, and in doing rgb-to-gray transformations. 21 | * Investigate pre-incremented loop counters and other loop constructions. 22 | * Interpolated method of handling interlacing. 23 | * More validations for libpng transformations. 24 | -------------------------------------------------------------------------------- /libvis/third_party/libpng/TRADEMARK: -------------------------------------------------------------------------------- 1 | TRADEMARK 2 | ========= 3 | 4 | The name "libpng" has not been registered by the Copyright owners 5 | as a trademark in any jurisdiction. However, because libpng has 6 | been distributed and maintained world-wide, continually since 1995, 7 | the Copyright owners claim "common-law trademark protection" in any 8 | jurisdiction where common-law trademark is recognized. 9 | -------------------------------------------------------------------------------- /libvis/third_party/libpng/contrib/README.txt: -------------------------------------------------------------------------------- 1 | 2 | This "contrib" directory contains contributions which are not necessarily under 3 | the libpng license, although all are open source. They are not part of 4 | libpng proper and are not used for building the library, although some are used 5 | for testing the library via "make check". 6 | -------------------------------------------------------------------------------- /libvis/third_party/libpng/contrib/arm-neon/android-ndk.c: -------------------------------------------------------------------------------- 1 | /* contrib/arm-neon/android-ndk.c 2 | * 3 | * Copyright (c) 2014 Glenn Randers-Pehrson 4 | * Written by John Bowler, 2014. 5 | * Last changed in libpng 1.6.10 [March 6, 2014] 6 | * 7 | * This code is released under the libpng license. 8 | * For conditions of distribution and use, see the disclaimer 9 | * and license in png.h 10 | * 11 | * SEE contrib/arm-neon/README before reporting bugs 12 | * 13 | * STATUS: COMPILED, UNTESTED 14 | * BUG REPORTS: png-mng-implement@sourceforge.net 15 | * 16 | * png_have_neon implemented for the Android NDK, see: 17 | * 18 | * Documentation: 19 | * http://www.kandroid.org/ndk/docs/CPU-ARM-NEON.html 20 | * https://code.google.com/p/android/issues/detail?id=49065 21 | * 22 | * NOTE: this requires that libpng is built against the Android NDK and linked 23 | * with an implementation of the Android ARM 'cpu-features' library. The code 24 | * has been compiled only, not linked: no version of the library has been found, 25 | * only the header files exist in the NDK. 26 | */ 27 | #include 28 | 29 | static int 30 | png_have_neon(png_structp png_ptr) 31 | { 32 | /* This is a whole lot easier than the linux code, however it is probably 33 | * implemented as below, therefore it is better to cache the result (these 34 | * function calls may be slow!) 35 | */ 36 | PNG_UNUSED(png_ptr) 37 | return android_getCpuFamily() == ANDROID_CPU_FAMILY_ARM && 38 | (android_getCpuFeatures() & ANDROID_CPU_ARM_FEATURE_NEON) != 0; 39 | } 40 | -------------------------------------------------------------------------------- /libvis/third_party/libpng/contrib/conftest/README: -------------------------------------------------------------------------------- 1 | This directory contains test configuration files, currently always '.dfa' files 2 | intended to be used in the build by setting the make macro DFA_XTRA to the name 3 | of the file. 4 | 5 | These files are used in release validation of the 'configure' builds of libpng 6 | by building 'make check', or 'make all-am' for cross-builds, with each .dfa 7 | file. 8 | 9 | The files in this directory may change between minor releases, however 10 | contributions describing specific builds of libpng are welcomed. There is no 11 | guarantee that libpng will continue to build with such configurations; support 12 | for given configurations can be, and has been, dropped between successive minor 13 | releases. However if a .dfa file describing a configuration is not in this 14 | directory it is very unlikely that it will be tested before a minor release! 15 | 16 | You can use these .dfa files as the basis of new configurations. Files in this 17 | directory should not have any use restrictions or restrictive licenses. 18 | 19 | This directory is not included in the .zip and .7z distributions, which do 20 | not contain 'configure' scripts. 21 | 22 | DOCUMENTATION 23 | ============= 24 | 25 | Examples: 26 | ${srcdir}/pngusr.dfa 27 | ${srcdir}/contrib/pngminim/*/pngusr.dfa 28 | 29 | Documentation of the options: 30 | ${srcdir}/scripts/pnglibconf.dfa 31 | 32 | Documentation of the file format: 33 | ${srcdir}/scripts/options.awk 34 | 35 | FILE NAMING 36 | =========== 37 | 38 | File names in this directory may NOT contain any of the five characters: 39 | 40 | - , + * ? 41 | 42 | Neither may they contain any space character. 43 | 44 | While other characters may be used it is strongly suggested that file names be 45 | limited to lower case Latiin alphabetic characters (a-z), digits (0-9) and, if 46 | necessary the underscore (_) character. File names should be about 8 characters 47 | long (excluding the .dfa extension). Submitted .dfa files should have names 48 | between 7 and 16 characters long, shorter names (6 characters or less) are 49 | reserved for standard tests. 50 | -------------------------------------------------------------------------------- /libvis/third_party/libpng/contrib/conftest/s_read.dfa: -------------------------------------------------------------------------------- 1 | # s_read.dfa 2 | # Build time configuration of libpng 3 | # 4 | # Author: John Bowler 5 | # Copyright: (c) John Bowler, 2013 6 | # Usage rights: 7 | # To the extent possible under law, the author has waived all copyright and 8 | # related or neighboring rights to this work. This work is published from: 9 | # United States. 10 | # 11 | # Build libpng with simplified read support (only). This builds a minimal 12 | # libpng able to read all PNG formats and convert them into a small number of 13 | # well understood memory formats. 14 | # 15 | 16 | everything = off 17 | 18 | option SIMPLIFIED_READ on 19 | 20 | # It isn't necessary to chose fixed or floating point for the APIs because the 21 | # simplified API doesn't need fixed or floating point numbers. It is necessary 22 | # to chose an internal math implementation. The default (because of 'everything 23 | # = off') is fixed point - turn the floating point implementation on if you have 24 | # hardware floating point or prefer your software floating point implementation. 25 | option FLOATING_ARITHMETIC on 26 | 27 | # This is not strictly necessary, but without it the message strings in the API 28 | # will not be filled in 29 | option ERROR_TEXT on 30 | 31 | # Switching these options on enables the 'AFIRST' and 'BGR' formats - you don't 32 | # need this if you don't use them, they just allow the in-memory layout to be 33 | # changed to match common hardware formats. 34 | option SIMPLIFIED_READ_AFIRST on 35 | option SIMPLIFIED_READ_BGR on 36 | -------------------------------------------------------------------------------- /libvis/third_party/libpng/contrib/conftest/s_write.dfa: -------------------------------------------------------------------------------- 1 | # s_write.dfa 2 | # Build time configuration of libpng 3 | # 4 | # Author: John Bowler 5 | # Copyright: (c) John Bowler, 2013 6 | # Usage rights: 7 | # To the extent possible under law, the author has waived all copyright and 8 | # related or neighboring rights to this work. This work is published from: 9 | # United States. 10 | # 11 | # Build libpng with (just) simplified write support 12 | # 13 | 14 | everything = off 15 | 16 | option SIMPLIFIED_WRITE on 17 | 18 | # It isn't necessary to chose fixed or floating point for the APIs because the 19 | # simplified API doesn't need fixed or floating point numbers. It is necessary 20 | # to chose an internal math implementation. The default (because of 'everything 21 | # = off') is fixed point - turn the floating point implementation on if you have 22 | # hardware floating point or prefer your software floating point implementation. 23 | option FLOATING_ARITHMETIC on 24 | 25 | # This is not strictly necessary, but without it the message strings in the API 26 | # will not be filled in 27 | option ERROR_TEXT on 28 | 29 | # Switching these options on enables the 'AFIRST' and 'BGR' formats - you don't 30 | # need this if you don't use them, they just allow the in-memory layout to be 31 | # changed to match common hardware formats. 32 | option SIMPLIFIED_WRITE_AFIRST on 33 | option SIMPLIFIED_WRITE_BGR on 34 | -------------------------------------------------------------------------------- /libvis/third_party/libpng/contrib/conftest/simple.dfa: -------------------------------------------------------------------------------- 1 | # simple.dfa 2 | # Build time configuration of libpng 3 | # 4 | # Author: John Bowler 5 | # Copyright: (c) John Bowler, 2013 6 | # Usage rights: 7 | # To the extent possible under law, the author has waived all copyright and 8 | # related or neighboring rights to this work. This work is published from: 9 | # United States. 10 | # 11 | # Build libpng with just the simplified APIs (read and write). 12 | # 13 | 14 | everything = off 15 | 16 | option SIMPLIFIED_WRITE on 17 | option SIMPLIFIED_READ on 18 | 19 | # It isn't necessary to chose fixed or floating point for the APIs because the 20 | # simplified API doesn't need fixed or floating point numbers. It is necessary 21 | # to chose an internal math implementation. The default (because of 'everything 22 | # = off') is fixed point - turn the floating point implementation on if you have 23 | # hardware floating point or prefer your software floating point implementation. 24 | option FLOATING_ARITHMETIC on 25 | 26 | # This is not strictly necessary, but without it the message strings in the API 27 | # will not be filled in 28 | option ERROR_TEXT on 29 | 30 | # Switching these options on enables the 'AFIRST' and 'BGR' formats - you don't 31 | # need this if you don't use them, they just allow the in-memory layout to be 32 | # changed to match common hardware formats. 33 | option SIMPLIFIED_READ_AFIRST on 34 | option SIMPLIFIED_READ_BGR on 35 | option SIMPLIFIED_WRITE_AFIRST on 36 | option SIMPLIFIED_WRITE_BGR on 37 | -------------------------------------------------------------------------------- /libvis/third_party/libpng/contrib/conftest/write.dfa: -------------------------------------------------------------------------------- 1 | # write.dfa 2 | # Build time configuration of libpng 3 | # 4 | # Author: John Bowler 5 | # Copyright: (c) John Bowler, 2013 6 | # Usage rights: 7 | # To the extent possible under law, the author has waived all copyright and 8 | # related or neighboring rights to this work. This work is published from: 9 | # United States. 10 | # 11 | # Build libpng with no read support and minimal write support. 12 | # 13 | 14 | everything = off 15 | 16 | # Switch on the write code - this makes a minimalist encoder 17 | 18 | option WRITE on 19 | 20 | # Choose fixed or floating point APIs and arithmetic. The choices are 21 | # independent but normally they will match. It is typically better to use the 22 | # floating point if you have floating point hardware. If you don't know, or 23 | # (perhaps) to make libpng smaller used fixed point throughout. 24 | 25 | #Fixed point: 26 | #option FIXED_POINT on 27 | #option FLOATING_ARITHMETIC off 28 | 29 | #Floating point: 30 | option FLOATING_POINT on 31 | option FLOATING_ARITHMETIC on 32 | 33 | # Basic error handling, IO and user memory support. The latter allows the 34 | # application program to provide its own implementations of 'malloc' and 'free'. 35 | option SETJMP on 36 | option STDIO on 37 | option USER_MEM on 38 | 39 | # Everything else is optional. Unlike the read code in libpng the write code 40 | # does not need to deal with arbitrary formats, so only add support for things 41 | # you really do write! For example you might only write sRGB images, sometimes 42 | # with transparency and never write 16 bit images, so: 43 | option WRITE_sRGB on 44 | option WRITE_tRNS on 45 | #option WRITE_16BIT off (this is the default with 'everything = off') 46 | -------------------------------------------------------------------------------- /libvis/third_party/libpng/contrib/examples/README.txt: -------------------------------------------------------------------------------- 1 | 2 | This directory (contrib/examples) contains examples of libpng usage. 3 | 4 | NO COPYRIGHT RIGHTS ARE CLAIMED TO ANY OF THE FILES IN THIS DIRECTORY. 5 | 6 | To the extent possible under law, the authors have waived all copyright and 7 | related or neighboring rights to this work. This work is published from: 8 | United States. 9 | 10 | The files may be used freely in any way. The intention is that appropriate 11 | parts of the files be used in other libpng-using programs without any need for 12 | the authors of the using code to seek copyright or license from the original 13 | authors. 14 | 15 | The source code and comments in this directory are the original work of the 16 | people named below. No other person or organization has made contributions to 17 | the work in this directory. 18 | 19 | ORIGINAL AUTHORS 20 | The following people have contributed to the code in this directory. None 21 | of the people below claim any rights with regard to the contents of this 22 | directory. 23 | 24 | John Bowler 25 | -------------------------------------------------------------------------------- /libvis/third_party/libpng/contrib/gregbook/rpng-x.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/puzzlepaint/surfelmeshing/bdee93ef81658ef26fe48e6dd75a985919a4c03f/libvis/third_party/libpng/contrib/gregbook/rpng-x.c -------------------------------------------------------------------------------- /libvis/third_party/libpng/contrib/gregbook/rpng2-x.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/puzzlepaint/surfelmeshing/bdee93ef81658ef26fe48e6dd75a985919a4c03f/libvis/third_party/libpng/contrib/gregbook/rpng2-x.c -------------------------------------------------------------------------------- /libvis/third_party/libpng/contrib/gregbook/toucan.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/puzzlepaint/surfelmeshing/bdee93ef81658ef26fe48e6dd75a985919a4c03f/libvis/third_party/libpng/contrib/gregbook/toucan.png -------------------------------------------------------------------------------- /libvis/third_party/libpng/contrib/libtests/fakepng.c: -------------------------------------------------------------------------------- 1 | /* Fake a PNG - just write it out directly. 2 | * 3 | * COPYRIGHT: Written by John Cunningham Bowler, 2014. 4 | * To the extent possible under law, the author has waived all copyright and 5 | * related or neighboring rights to this work. This work is published from: 6 | * United States. 7 | * 8 | */ 9 | 10 | #include 11 | #include /* for crc32 */ 12 | 13 | void 14 | put_uLong(uLong val) 15 | { 16 | putchar(val >> 24); 17 | putchar(val >> 16); 18 | putchar(val >> 8); 19 | putchar(val >> 0); 20 | } 21 | 22 | void 23 | put_chunk(const unsigned char *chunk, uInt length) 24 | { 25 | uLong crc; 26 | 27 | put_uLong(length-4); /* Exclude the tag */ 28 | 29 | fwrite(chunk, length, 1, stdout); 30 | 31 | crc = crc32(0, Z_NULL, 0); 32 | put_uLong(crc32(crc, chunk, length)); 33 | } 34 | 35 | const unsigned char signature[] = 36 | { 37 | 137, 80, 78, 71, 13, 10, 26, 10 38 | }; 39 | 40 | const unsigned char IHDR[] = 41 | { 42 | 73, 72, 68, 82, /* IHDR */ 43 | 0, 0, 0, 1, /* width */ 44 | 0, 0, 0, 1, /* height */ 45 | 1, /* bit depth */ 46 | 0, /* color type: greyscale */ 47 | 0, /* compression method */ 48 | 0, /* filter method */ 49 | 0 /* interlace method: none */ 50 | }; 51 | 52 | const unsigned char unknown[] = 53 | { 54 | 'u', 'n', 'K', 'n' /* "unKn" - private safe to copy */ 55 | }; 56 | 57 | int 58 | main(void) 59 | { 60 | fwrite(signature, sizeof signature, 1, stdout); 61 | put_chunk(IHDR, sizeof IHDR); 62 | 63 | for (;;) 64 | put_chunk(unknown, sizeof unknown); 65 | } 66 | -------------------------------------------------------------------------------- /libvis/third_party/libpng/contrib/mips-msa/linux.c: -------------------------------------------------------------------------------- 1 | /* contrib/mips-msa/linux.c 2 | * 3 | * Copyright (c) 2016 Glenn Randers-Pehrson 4 | * Written by Mandar Sahastrabuddhe, 2016. 5 | * Last changed in libpng 1.6.25beta03 [August 29, 2016] 6 | * 7 | * This code is released under the libpng license. 8 | * For conditions of distribution and use, see the disclaimer 9 | * and license in png.h 10 | * 11 | * SEE contrib/mips-msa/README before reporting bugs 12 | * 13 | * STATUS: SUPPORTED 14 | * BUG REPORTS: png-mng-implement@sourceforge.net 15 | * 16 | * png_have_msa implemented for Linux by reading the widely available 17 | * pseudo-file /proc/cpuinfo. 18 | * 19 | * This code is strict ANSI-C and is probably moderately portable; it does 20 | * however use and it assumes that /proc/cpuinfo is never localized. 21 | */ 22 | 23 | #include 24 | #include 25 | #include 26 | 27 | static int 28 | png_have_msa(png_structp png_ptr) 29 | { 30 | FILE *f = fopen("/proc/cpuinfo", "rb"); 31 | 32 | char *string = "msa"; 33 | char word[10]; 34 | 35 | if (f != NULL) 36 | { 37 | while(!feof(f)) 38 | { 39 | int ch = fgetc(f); 40 | static int i = 0; 41 | 42 | while(!(ch <= 32)) 43 | { 44 | word[i++] = ch; 45 | ch = fgetc(f); 46 | } 47 | 48 | int val = strcmp(string, word); 49 | 50 | if (val == 0) 51 | return 1; 52 | 53 | i = 0; 54 | memset(word, 0, 10); 55 | } 56 | 57 | fclose(f); 58 | } 59 | #ifdef PNG_WARNINGS_SUPPORTED 60 | else 61 | png_warning(png_ptr, "/proc/cpuinfo open failed"); 62 | #endif 63 | return 0; 64 | } 65 | -------------------------------------------------------------------------------- /libvis/third_party/libpng/contrib/oss-fuzz/Dockerfile: -------------------------------------------------------------------------------- 1 | # Copyright 2016 Google Inc. 2 | # 3 | # Licensed under the Apache License, Version 2.0 (the "License"); 4 | # you may not use this file except in compliance with the License. 5 | # You may obtain a copy of the License at 6 | # 7 | # http://www.apache.org/licenses/LICENSE-2.0 8 | # 9 | # Unless required by applicable law or agreed to in writing, software 10 | # distributed under the License is distributed on an "AS IS" BASIS, 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | # See the License for the specific language governing permissions and 13 | # limitations under the License. 14 | # 15 | ################################################################################ 16 | 17 | FROM gcr.io/oss-fuzz-base/base-builder 18 | MAINTAINER glennrp@gmail.com 19 | RUN apt-get update && \ 20 | apt-get install -y make autoconf automake libtool 21 | 22 | RUN git clone --depth 1 https://github.com/madler/zlib.git 23 | RUN git clone --depth 1 https://github.com/glennrp/libpng.git 24 | RUN cp libpng/contrib/oss-fuzz/build.sh $SRC 25 | WORKDIR libpng 26 | -------------------------------------------------------------------------------- /libvis/third_party/libpng/contrib/oss-fuzz/README.txt: -------------------------------------------------------------------------------- 1 | Last changed in libpng 1.6.33 [September 28, 2017] 2 | Copyright (c) 2017 Glenn Randers-Pehrson 3 | 4 | This code is released under the libpng license. 5 | For conditions of distribution and use, see the disclaimer 6 | and license in png.h 7 | 8 | Files in this directory are used by the oss-fuzz project 9 | (https://github.com/google/oss-fuzz/tree/master/projects/libpng). 10 | for "fuzzing" libpng. 11 | 12 | They were licensed by Google Inc, using the BSD-like Chromium license, 13 | which may be found at https://cs.chromium.org/chromium/src/LICENSE, or, if 14 | noted in the source, under the Apache-2.0 license, which may 15 | be found at http://www.apache.org/licenses/LICENSE-2.0 . 16 | If they have been modified, the derivatives are copyright Glenn Randers-Pehrson 17 | and are released under the same licenses as the originals. Several of 18 | the original files (libpng_read_fuzzer.options, png.dict, project.yaml) 19 | had no licensing information; we assumed that these were under the Chromium 20 | license. Any new files are released under the libpng license (see png.h). 21 | 22 | The files are 23 | Original 24 | Filename or derived Copyright License 25 | ========================= ========== ================ ========== 26 | Dockerfile* derived 2017, Glenn R-P Apache 2.0 27 | build.sh derived 2017, Glenn R-P Apache 2.0 28 | libpng_read_fuzzer.cc derived 2017, Glenn R-P Chromium 29 | libpng_read_fuzzer.options original 2015, Chrome Devs Chromium 30 | png.dict original 2015, Chrome Devs Chromium 31 | README.txt (this file) original 2017, Glenn R-P libpng 32 | 33 | * Dockerfile is a copy of the file used by oss-fuzz. build.sh, 34 | png.dict and libpng_read_fuzzer.* are the actual files used by oss-fuzz, 35 | which retrieves them from the libpng repository at Github. 36 | 37 | To do: exercise the progressive reader and the png encoder. 38 | -------------------------------------------------------------------------------- /libvis/third_party/libpng/contrib/oss-fuzz/libpng_read_fuzzer.options: -------------------------------------------------------------------------------- 1 | [libfuzzer] 2 | dict = png.dict 3 | -------------------------------------------------------------------------------- /libvis/third_party/libpng/contrib/oss-fuzz/png.dict: -------------------------------------------------------------------------------- 1 | # 2 | # AFL dictionary for PNG images 3 | # ----------------------------- 4 | # 5 | # Just the basic, standard-originating sections; does not include vendor 6 | # extensions. 7 | # 8 | # Created by Michal Zalewski 9 | # 10 | 11 | header_png="\x89PNG\x0d\x0a\x1a\x0a" 12 | 13 | section_IDAT="IDAT" 14 | section_IEND="IEND" 15 | section_IHDR="IHDR" 16 | section_PLTE="PLTE" 17 | section_bKGD="bKGD" 18 | section_cHRM="cHRM" 19 | section_eXIf="eXIf" 20 | section_fRAc="fRAc" 21 | section_gAMA="gAMA" 22 | section_gIFg="gIFg" 23 | section_gIFt="gIFt" 24 | section_gIFx="gIFx" 25 | section_hIST="hIST" 26 | section_iCCP="iCCP" 27 | section_iTXt="iTXt" 28 | section_oFFs="oFFs" 29 | section_pCAL="pCAL" 30 | section_pHYs="pHYs" 31 | section_sBIT="sBIT" 32 | section_sCAL="sCAL" 33 | section_sPLT="sPLT" 34 | section_sRGB="sRGB" 35 | section_sTER="sTER" 36 | section_tEXt="tEXt" 37 | section_tIME="tIME" 38 | section_tRNS="tRNS" 39 | section_zTXt="zTXt" 40 | -------------------------------------------------------------------------------- /libvis/third_party/libpng/contrib/pngminim/README: -------------------------------------------------------------------------------- 1 | 2 | This demonstrates the use of PNG_USER_CONFIG, pngusr.h and pngusr.dfa 3 | to build minimal decoder, encoder, and progressive reader applications. 4 | 5 | See the individual README and pngusr.dfa files for more explanation. 6 | -------------------------------------------------------------------------------- /libvis/third_party/libpng/contrib/pngminim/decoder/README: -------------------------------------------------------------------------------- 1 | This demonstrates the use of PNG_USER_CONFIG, pngusr.h and pngusr.dfa 2 | 3 | The makefile builds a minimal read-only decoder with embedded libpng 4 | and zlib. 5 | 6 | Specify the location of the zlib source (1.2.1 or later) as ZLIBSRC 7 | on the make command line. 8 | 9 | If you prefer to use the shared libraries, go to contrib/pngminus 10 | and build the png2pnm application there. 11 | -------------------------------------------------------------------------------- /libvis/third_party/libpng/contrib/pngminim/decoder/pngusr.dfa: -------------------------------------------------------------------------------- 1 | # pngminim/decoder/pngusr.dfa 2 | # 3 | # Copyright (c) 2010-2013 Glenn Randers-Pehrson 4 | # 5 | # This code is released under the libpng license. 6 | # For conditions of distribution and use, see the disclaimer 7 | # and license in png.h 8 | 9 | # First all the build options off: 10 | 11 | everything = off 12 | 13 | # All that is required is some read code. This example switches 14 | # on the sequential read code (see ../preader for a progressive 15 | # read example). 16 | 17 | option SEQUENTIAL_READ on 18 | 19 | # You must choose fixed or floating point arithmetic: 20 | # option FLOATING_POINT on 21 | 22 | option FIXED_POINT on 23 | 24 | # You must chose the internal fixed point implementation or to 25 | # use the system floating point. The latter is considerably 26 | # smaller (by about 1kbyte on an x86 system): 27 | # option FLOATING_ARITHMETIC on 28 | 29 | option FLOATING_ARITHMETIC off 30 | 31 | # Your program will probably need other options. The example 32 | # program here, pngm2pnm, requires the following. Take a look 33 | # at pnglibconf.h to find out the full set of what has to be 34 | # enabled to make the following work. 35 | 36 | option SETJMP on 37 | option STDIO on 38 | option READ_EXPAND on 39 | option READ_STRIP_16_TO_8 on 40 | option USER_LIMITS on 41 | -------------------------------------------------------------------------------- /libvis/third_party/libpng/contrib/pngminim/decoder/pngusr.h: -------------------------------------------------------------------------------- 1 | /* minrdpngconf.h: headers to make a minimal png-read-only library 2 | * 3 | * Copyright (c) 2007, 2010-2013 Glenn Randers-Pehrson 4 | * 5 | * This code is released under the libpng license. 6 | * For conditions of distribution and use, see the disclaimer 7 | * and license in png.h 8 | * 9 | * Derived from pngcrush.h, Copyright 1998-2007, Glenn Randers-Pehrson 10 | */ 11 | 12 | #ifndef MINRDPNGCONF_H 13 | #define MINRDPNGCONF_H 14 | 15 | /* To include pngusr.h set -DPNG_USER_CONFIG in CPPFLAGS */ 16 | 17 | /* List options to turn off features of the build that do not 18 | * affect the API (so are not recorded in pnglibconf.h) 19 | */ 20 | 21 | #define PNG_ALIGN_TYPE PNG_ALIGN_NONE 22 | 23 | #endif /* MINRDPNGCONF_H */ 24 | -------------------------------------------------------------------------------- /libvis/third_party/libpng/contrib/pngminim/encoder/README: -------------------------------------------------------------------------------- 1 | This demonstrates the use of PNG_USER_CONFIG and pngusr.h 2 | 3 | The makefile builds a minimal write-only encoder with embedded libpng 4 | and zlib. 5 | 6 | Specify the location of the zlib source (1.2.1 or later) as ZLIBSRC 7 | on the make command line. 8 | 9 | If you prefer to use the shared libraries, go to contrib/pngminus 10 | and build the pnm2png application there. 11 | -------------------------------------------------------------------------------- /libvis/third_party/libpng/contrib/pngminim/encoder/pngusr.dfa: -------------------------------------------------------------------------------- 1 | # pngminim/encoder/pngusr.dfa 2 | # 3 | # Copyright (c) 2010-2013 Glenn Randers-Pehrson 4 | # 5 | # This code is released under the libpng license. 6 | # For conditions of distribution and use, see the disclaimer 7 | # and license in png.h 8 | 9 | # First all the build options off: 10 | 11 | everything = off 12 | 13 | # Switch on the write code - this makes a minimalist encoder 14 | 15 | option WRITE on 16 | 17 | # These 2 options are required if you need to read PBM (P1 or P4) files. 18 | option WRITE_INVERT on 19 | option WRITE_PACK on 20 | 21 | # You must choose fixed or floating point arithmetic: 22 | # option FLOATING_POINT on 23 | 24 | option FIXED_POINT on 25 | 26 | # You must chose the internal fixed point implementation or to 27 | # use the system floating point. The latter is considerably 28 | # smaller (by about 1kbyte on an x86 system): 29 | # option FLOATING_ARITHMETIC on 30 | 31 | option FLOATING_ARITHMETIC off 32 | 33 | # Your program will probably need other options. The example 34 | # program here, pnm2pngm, requires the following. Take a look 35 | # at pnglibconf.h to find out the full set of what has to be 36 | # enabled to make the following work. 37 | 38 | option SETJMP on 39 | option STDIO on 40 | -------------------------------------------------------------------------------- /libvis/third_party/libpng/contrib/pngminim/encoder/pngusr.h: -------------------------------------------------------------------------------- 1 | /* minwrpngconf.h: headers to make a minimal png-write-only library 2 | * 3 | * Copyright (c) 2007, 2010-2013 Glenn Randers-Pehrson 4 | * 5 | * This code is released under the libpng license. 6 | * For conditions of distribution and use, see the disclaimer 7 | * and license in png.h 8 | * 9 | * Derived from pngcrush.h, Copyright 1998-2007, Glenn Randers-Pehrson 10 | */ 11 | 12 | #ifndef MINWRPNGCONF_H 13 | #define MINWRPNGCONF_H 14 | 15 | /* To include pngusr.h set -DPNG_USER_CONFIG in CPPFLAGS */ 16 | 17 | /* List options to turn off features of the build that do not 18 | * affect the API (so are not recorded in pnglibconf.h) 19 | */ 20 | 21 | #define PNG_ALIGN_TYPE PNG_ALIGN_NONE 22 | 23 | #endif /* MINWRPNGCONF_H */ 24 | -------------------------------------------------------------------------------- /libvis/third_party/libpng/contrib/pngminim/preader/README: -------------------------------------------------------------------------------- 1 | This demonstrates the use of PNG_USER_CONFIG and pngusr.h 2 | 3 | The makefile builds a minimal read-only progressive decoder with 4 | embedded libpng, zlib and your system's X library. 5 | 6 | Specify the location of the zlib source (1.2.1 or later) as ZLIBSRC 7 | on the make command line. 8 | 9 | Edit makefile if required, to find your X library and include files, 10 | then 11 | 12 | make ZLIBSRC=directory 13 | 14 | If you prefer to use the shared libraries, go to contrib/gregbook 15 | and build the rpng2-x application there. 16 | -------------------------------------------------------------------------------- /libvis/third_party/libpng/contrib/pngminim/preader/pngusr.dfa: -------------------------------------------------------------------------------- 1 | # pngminim/preader/pngusr.dfa 2 | # 3 | # Copyright (c) 2010-2013 Glenn Randers-Pehrson 4 | # 5 | # This code is released under the libpng license. 6 | # For conditions of distribution and use, see the disclaimer 7 | # and license in png.h 8 | 9 | # First all the build options off: 10 | 11 | everything = off 12 | 13 | # Just switch on the progressive read code 14 | 15 | option PROGRESSIVE_READ on 16 | 17 | # You may choose fixed or floating point APIs: 18 | # option FLOATING_POINT on 19 | 20 | option FIXED_POINT on 21 | 22 | # You must chose the internal fixed point implementation or to 23 | # use the system floating point. The latter is considerably 24 | # smaller (by about 1kbyte on an x86 system): 25 | 26 | option FLOATING_ARITHMETIC on 27 | # option FLOATING_ARITHMETIC off 28 | 29 | # Your program will probably need other options. The example 30 | # program here, rpng2-x, requires the following. Take a look 31 | # at pnglibconf.h to find out the full set of what has to be 32 | # enabled to make the following work. 33 | 34 | option SETJMP on 35 | option STDIO on 36 | option READ_bKGD on 37 | option READ_GAMMA on 38 | option READ_EXPAND on 39 | option READ_STRIP_16_TO_8 on 40 | option READ_GRAY_TO_RGB on 41 | -------------------------------------------------------------------------------- /libvis/third_party/libpng/contrib/pngminim/preader/pngusr.h: -------------------------------------------------------------------------------- 1 | /* minrdpngconf.h: headers to make a minimal png-read-only library 2 | * 3 | * Copyright (c) 2009, 2010-2013 Glenn Randers-Pehrson 4 | * 5 | * This code is released under the libpng license. 6 | * For conditions of distribution and use, see the disclaimer 7 | * and license in png.h 8 | * 9 | * Derived from pngcrush.h, Copyright 1998-2007, Glenn Randers-Pehrson 10 | */ 11 | 12 | #ifndef MINPRDPNGCONF_H 13 | #define MINPRDPNGCONF_H 14 | 15 | /* To include pngusr.h set -DPNG_USER_CONFIG in CPPFLAGS */ 16 | 17 | /* List options to turn off features of the build that do not 18 | * affect the API (so are not recorded in pnglibconf.h) 19 | */ 20 | 21 | #define PNG_ALIGN_TYPE PNG_ALIGN_NONE 22 | 23 | #endif /* MINPRDPNGCONF_H */ 24 | -------------------------------------------------------------------------------- /libvis/third_party/libpng/contrib/pngminus/CHANGES.txt: -------------------------------------------------------------------------------- 1 | 2 | pnm2png / png2pnm --- conversion from PBM/PGM/PPM-file to PNG-file 3 | copyright (C) 1999-2019 by Willem van Schaik 4 | 5 | version 1.0 - 1999.10.15 - First version. 6 | 1.1 - 2015.07.29 - Fixed leaks (Glenn Randers-Pehrson) 7 | 1.2 - 2017.04.22 - Add buffer-size check 8 | 1.3 - 2017.08.24 - Fix potential overflow in buffer-size check 9 | (Glenn Randers-Pehrson) 10 | 1.4 - 2017.08.28 - Add PNGMINUS_UNUSED (Christian Hesse) 11 | 1.5 - 2018.08.05 - Fix buffer overflow in tokenizer (Cosmin Truta) 12 | 1.6 - 2018.08.05 - Improve portability and fix style (Cosmin Truta) 13 | 1.7 - 2019.01.22 - Change license to MIT (Willem van Schaik) 14 | -------------------------------------------------------------------------------- /libvis/third_party/libpng/contrib/pngminus/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | cmake_minimum_required(VERSION 3.1) 2 | cmake_policy(VERSION 3.1) 3 | 4 | project(PNGMINUS C) 5 | 6 | option(PNGMINUS_USE_STATIC_LIBRARIES "Use the static library builds" ON) 7 | 8 | # libpng 9 | add_subdirectory(../.. libpng) 10 | include_directories(${CMAKE_CURRENT_SOURCE_DIR}/../..) 11 | include_directories(${CMAKE_CURRENT_BINARY_DIR}/libpng) 12 | if(PNGMINUS_USE_STATIC_LIBRARIES) 13 | set(PNGMINUS_PNG_LIBRARY png_static) 14 | else() 15 | set(PNGMINUS_PNG_LIBRARY png) 16 | endif() 17 | 18 | # png2pnm 19 | add_executable(png2pnm png2pnm.c) 20 | target_link_libraries(png2pnm ${PNGMINUS_PNG_LIBRARY}) 21 | 22 | # pnm2png 23 | add_executable(pnm2png pnm2png.c) 24 | target_link_libraries(pnm2png ${PNGMINUS_PNG_LIBRARY}) 25 | -------------------------------------------------------------------------------- /libvis/third_party/libpng/contrib/pngminus/LICENSE.txt: -------------------------------------------------------------------------------- 1 | 2 | pnm2png / png2pnm --- conversion from PBM/PGM/PPM-file to PNG-file 3 | 4 | copyright (C) 1999-2019 by Willem van Schaik 5 | 6 | Permission is hereby granted, free of charge, to any person obtaining a copy 7 | of this software and associated documentation files (the "Software"), to deal 8 | in the Software without restriction, including without limitation the rights 9 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 10 | copies of the Software, and to permit persons to whom the Software is 11 | furnished to do so, subject to the following conditions: 12 | 13 | The above copyright notice and this permission notice shall be included in all 14 | copies or substantial portions of the Software. 15 | 16 | The software is provided "as is", without warranty of any kind, express or 17 | implied, including but not limited to the warranties of merchantability, 18 | fitness for a particular purpose and noninfringement. In no event shall the 19 | authors or copyight holders be liable for any claim, damages or other 20 | liability, whether in an action of contract, tort or otherwise, arising from, 21 | out of or in connection with the software or the use or other dealings in the 22 | software. 23 | -------------------------------------------------------------------------------- /libvis/third_party/libpng/contrib/pngminus/Makefile: -------------------------------------------------------------------------------- 1 | # Makefile for PngMinus (png2pnm and pnm2png) 2 | # Linux / Unix 3 | 4 | #CC = cc 5 | CC = gcc 6 | LD = $(CC) 7 | 8 | RM = rm -f 9 | 10 | PNGINC = -I../.. 11 | PNGLIB_SHARED = -L../.. -lpng 12 | PNGLIB_STATIC = ../../libpng.a 13 | 14 | # Uncomment the following if you have a custom zlib build at ../../../zlib 15 | #ZINC = -I../../../zlib 16 | #ZLIB_SHARED = -L../../../zlib -lz 17 | #ZLIB_STATIC = ../../../zlib/libz.a 18 | 19 | # Use the system zlib otherwise 20 | ZLIB_SHARED = -lz 21 | ZLIB_STATIC = -lz 22 | 23 | CPPFLAGS = $(PNGINC) $(ZINC) 24 | CFLAGS = 25 | LDFLAGS = 26 | LIBS_SHARED = $(PNGLIB_SHARED) $(ZLIB_SHARED) 27 | LIBS_STATIC = $(PNGLIB_STATIC) $(ZLIB_STATIC) 28 | 29 | EXEEXT = 30 | #EXEEXT = .exe 31 | 32 | # dependencies 33 | 34 | all: png2pnm$(EXEEXT) pnm2png$(EXEEXT) png2pnm-static$(EXEEXT) pnm2png-static$(EXEEXT) 35 | 36 | png2pnm.o: png2pnm.c 37 | $(CC) -c $(CPPFLAGS) $(CFLAGS) png2pnm.c 38 | 39 | pnm2png.o: pnm2png.c 40 | $(CC) -c $(CPPFLAGS) $(CFLAGS) pnm2png.c 41 | 42 | png2pnm$(EXEEXT): png2pnm.o 43 | $(LD) $(LDFLAGS) -o png2pnm$(EXEEXT) png2pnm.o $(LIBS_SHARED) -lm 44 | 45 | pnm2png$(EXEEXT): pnm2png.o 46 | $(LD) $(LDFLAGS) -o pnm2png$(EXEEXT) pnm2png.o $(LIBS_SHARED) -lm 47 | 48 | png2pnm-static$(EXEEXT): png2pnm.o 49 | $(LD) $(LDFLAGS) -o png2pnm-static$(EXEEXT) png2pnm.o $(LIBS_STATIC) -lm 50 | 51 | pnm2png-static$(EXEEXT): pnm2png.o 52 | $(LD) $(LDFLAGS) -o pnm2png-static$(EXEEXT) pnm2png.o $(LIBS_STATIC) -lm 53 | 54 | clean: 55 | $(RM) png2pnm.o 56 | $(RM) pnm2png.o 57 | $(RM) png2pnm$(EXEEXT) 58 | $(RM) pnm2png$(EXEEXT) 59 | $(RM) png2pnm-static$(EXEEXT) 60 | $(RM) pnm2png-static$(EXEEXT) 61 | 62 | # End of makefile for png2pnm / pnm2png 63 | -------------------------------------------------------------------------------- /libvis/third_party/libpng/contrib/pngminus/png2pnm.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # -- grayscale 3 | ./png2pnm -noraw ../pngsuite/basn0g01.png basn0g01.pgm 4 | ./png2pnm -noraw ../pngsuite/basn0g02.png basn0g02.pgm 5 | ./png2pnm -noraw ../pngsuite/basn0g04.png basn0g04.pgm 6 | ./png2pnm -noraw ../pngsuite/basn0g08.png basn0g08.pgm 7 | ./png2pnm -noraw ../pngsuite/basn0g16.png basn0g16.pgm 8 | # -- full-color 9 | ./png2pnm -noraw ../pngsuite/basn2c08.png basn2c08.ppm 10 | ./png2pnm -noraw ../pngsuite/basn2c16.png basn2c16.ppm 11 | # -- paletted 12 | ./png2pnm -noraw ../pngsuite/basn3p01.png basn3p01.ppm 13 | ./png2pnm -noraw ../pngsuite/basn3p02.png basn3p02.ppm 14 | ./png2pnm -noraw ../pngsuite/basn3p04.png basn3p04.ppm 15 | ./png2pnm -noraw ../pngsuite/basn3p08.png basn3p08.ppm 16 | # -- gray with alpha-channel 17 | ./png2pnm -noraw ../pngsuite/basn4a08.png basn4a08.pgm 18 | ./png2pnm -noraw ../pngsuite/basn4a16.png basn4a16.pgm 19 | # -- color with alpha-channel 20 | ./png2pnm -noraw -alpha basn6a08.pgm ../pngsuite/basn6a08.png basn6a08.ppm 21 | ./png2pnm -noraw -alpha basn6a16.pgm ../pngsuite/basn6a16.png basn6a16.ppm 22 | # -- grayscale 23 | ./png2pnm -raw ../pngsuite/basn0g01.png rawn0g01.pgm 24 | ./png2pnm -raw ../pngsuite/basn0g02.png rawn0g02.pgm 25 | ./png2pnm -raw ../pngsuite/basn0g04.png rawn0g04.pgm 26 | ./png2pnm -raw ../pngsuite/basn0g08.png rawn0g08.pgm 27 | ./png2pnm -raw ../pngsuite/basn0g16.png rawn0g16.pgm 28 | # -- full-color 29 | ./png2pnm -raw ../pngsuite/basn2c08.png rawn2c08.ppm 30 | ./png2pnm -raw ../pngsuite/basn2c16.png rawn2c16.ppm 31 | # -- paletted 32 | ./png2pnm -raw ../pngsuite/basn3p01.png rawn3p01.ppm 33 | ./png2pnm -raw ../pngsuite/basn3p02.png rawn3p02.ppm 34 | ./png2pnm -raw ../pngsuite/basn3p04.png rawn3p04.ppm 35 | ./png2pnm -raw ../pngsuite/basn3p08.png rawn3p08.ppm 36 | # -- gray with alpha-channel 37 | ./png2pnm -raw ../pngsuite/basn4a08.png rawn4a08.pgm 38 | ./png2pnm -raw ../pngsuite/basn4a16.png rawn4a16.pgm 39 | # -- color with alpha-channel 40 | ./png2pnm -noraw -alpha rawn6a08.pgm ../pngsuite/basn6a08.png rawn6a08.ppm 41 | ./png2pnm -noraw -alpha rawn6a16.pgm ../pngsuite/basn6a16.png rawn6a16.ppm 42 | 43 | -------------------------------------------------------------------------------- /libvis/third_party/libpng/contrib/pngminus/pngminus.bat: -------------------------------------------------------------------------------- 1 | make 2 | call png2pnm.bat 3 | call pnm2png.bat 4 | 5 | -------------------------------------------------------------------------------- /libvis/third_party/libpng/contrib/pngminus/pngminus.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | make 3 | sh png2pnm.sh 4 | sh pnm2png.sh 5 | 6 | -------------------------------------------------------------------------------- /libvis/third_party/libpng/contrib/pngminus/pnm2png.bat: -------------------------------------------------------------------------------- 1 | REM -- grayscale 2 | pnm2png.exe basn0g01.pgm basn0g01.png 3 | pnm2png.exe basn0g02.pgm basn0g02.png 4 | pnm2png.exe basn0g04.pgm basn0g04.png 5 | pnm2png.exe basn0g08.pgm basn0g08.png 6 | pnm2png.exe basn0g16.pgm basn0g16.png 7 | REM -- full-color 8 | pnm2png.exe basn2c08.ppm basn2c08.png 9 | pnm2png.exe basn2c16.ppm basn2c16.png 10 | REM -- paletted 11 | pnm2png.exe basn3p01.ppm basn3p01.png 12 | pnm2png.exe basn3p02.ppm basn3p02.png 13 | pnm2png.exe basn3p04.ppm basn3p04.png 14 | pnm2png.exe basn3p08.ppm basn3p08.png 15 | REM -- gray with alpha-channel 16 | pnm2png.exe -alpha basn6a08.pgm basn4a08.pgm basn4a08.png 17 | pnm2png.exe -alpha basn6a16.pgm basn4a16.pgm basn4a16.png 18 | REM -- color with alpha-channel 19 | pnm2png.exe -alpha basn6a08.pgm basn6a08.ppm basn6a08.png 20 | pnm2png.exe -alpha basn6a16.pgm basn6a16.ppm basn6a16.png 21 | REM -- grayscale 22 | pnm2png.exe rawn0g01.pgm rawn0g01.png 23 | pnm2png.exe rawn0g02.pgm rawn0g02.png 24 | pnm2png.exe rawn0g04.pgm rawn0g04.png 25 | pnm2png.exe rawn0g08.pgm rawn0g08.png 26 | pnm2png.exe rawn0g16.pgm rawn0g16.png 27 | REM -- full-color 28 | pnm2png.exe rawn2c08.ppm rawn2c08.png 29 | pnm2png.exe rawn2c16.ppm rawn2c16.png 30 | REM -- paletted 31 | pnm2png.exe rawn3p01.ppm rawn3p01.png 32 | pnm2png.exe rawn3p02.ppm rawn3p02.png 33 | pnm2png.exe rawn3p04.ppm rawn3p04.png 34 | pnm2png.exe rawn3p08.ppm rawn3p08.png 35 | REM -- gray with alpha-channel 36 | pnm2png.exe -alpha rawn6a08.pgm rawn4a08.pgm rawn4a08.png 37 | pnm2png.exe -alpha rawn6a16.pgm rawn4a16.pgm rawn4a16.png 38 | REM -- color with alpha-channel 39 | pnm2png.exe -alpha rawn6a08.pgm rawn6a08.ppm rawn6a08.png 40 | pnm2png.exe -alpha rawn6a16.pgm rawn6a16.ppm rawn6a16.png 41 | 42 | -------------------------------------------------------------------------------- /libvis/third_party/libpng/contrib/pngminus/pnm2png.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # -- grayscale 3 | ./pnm2png basn0g01.pgm basn0g01.png 4 | ./pnm2png basn0g02.pgm basn0g02.png 5 | ./pnm2png basn0g04.pgm basn0g04.png 6 | ./pnm2png basn0g08.pgm basn0g08.png 7 | ./pnm2png basn0g16.pgm basn0g16.png 8 | # -- full-color 9 | ./pnm2png basn2c08.ppm basn2c08.png 10 | ./pnm2png basn2c16.ppm basn2c16.png 11 | # -- paletted 12 | ./pnm2png basn3p01.ppm basn3p01.png 13 | ./pnm2png basn3p02.ppm basn3p02.png 14 | ./pnm2png basn3p04.ppm basn3p04.png 15 | ./pnm2png basn3p08.ppm basn3p08.png 16 | # -- gray with alpha-channel 17 | ./pnm2png -alpha basn6a08.pgm basn4a08.pgm basn4a08.png 18 | ./pnm2png -alpha basn6a16.pgm basn4a16.pgm basn4a16.png 19 | # -- color with alpha-channel 20 | ./pnm2png -alpha basn6a08.pgm basn6a08.ppm basn6a08.png 21 | ./pnm2png -alpha basn6a16.pgm basn6a16.ppm basn6a16.png 22 | # -- grayscale 23 | ./pnm2png rawn0g01.pgm rawn0g01.png 24 | ./pnm2png rawn0g02.pgm rawn0g02.png 25 | ./pnm2png rawn0g04.pgm rawn0g04.png 26 | ./pnm2png rawn0g08.pgm rawn0g08.png 27 | ./pnm2png rawn0g16.pgm rawn0g16.png 28 | # -- full-color 29 | ./pnm2png rawn2c08.ppm rawn2c08.png 30 | ./pnm2png rawn2c16.ppm rawn2c16.png 31 | # -- paletted 32 | ./pnm2png rawn3p01.ppm rawn3p01.png 33 | ./pnm2png rawn3p02.ppm rawn3p02.png 34 | ./pnm2png rawn3p04.ppm rawn3p04.png 35 | ./pnm2png rawn3p08.ppm rawn3p08.png 36 | # -- gray with alpha-channel 37 | ./pnm2png -alpha rawn6a08.pgm rawn4a08.pgm rawn4a08.png 38 | ./pnm2png -alpha rawn6a16.pgm rawn4a16.pgm rawn4a16.png 39 | # -- color with alpha-channel 40 | ./pnm2png -alpha rawn6a08.pgm rawn6a08.ppm rawn6a08.png 41 | ./pnm2png -alpha rawn6a16.pgm rawn6a16.ppm rawn6a16.png 42 | 43 | -------------------------------------------------------------------------------- /libvis/third_party/libpng/contrib/pngsuite/bad_interlace_conversions.txt: -------------------------------------------------------------------------------- 1 | basn0g01.png 2 | basn0g02.png 3 | basn0g04.png 4 | basn3p01.png 5 | basn3p02.png 6 | basn3p04.png 7 | ftbbn0g01.png 8 | ftbbn0g02.png 9 | ftbbn0g04.png 10 | -------------------------------------------------------------------------------- /libvis/third_party/libpng/contrib/pngsuite/basn0g01.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/puzzlepaint/surfelmeshing/bdee93ef81658ef26fe48e6dd75a985919a4c03f/libvis/third_party/libpng/contrib/pngsuite/basn0g01.png -------------------------------------------------------------------------------- /libvis/third_party/libpng/contrib/pngsuite/basn0g02.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/puzzlepaint/surfelmeshing/bdee93ef81658ef26fe48e6dd75a985919a4c03f/libvis/third_party/libpng/contrib/pngsuite/basn0g02.png -------------------------------------------------------------------------------- /libvis/third_party/libpng/contrib/pngsuite/basn0g04.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/puzzlepaint/surfelmeshing/bdee93ef81658ef26fe48e6dd75a985919a4c03f/libvis/third_party/libpng/contrib/pngsuite/basn0g04.png -------------------------------------------------------------------------------- /libvis/third_party/libpng/contrib/pngsuite/basn0g08.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/puzzlepaint/surfelmeshing/bdee93ef81658ef26fe48e6dd75a985919a4c03f/libvis/third_party/libpng/contrib/pngsuite/basn0g08.png -------------------------------------------------------------------------------- /libvis/third_party/libpng/contrib/pngsuite/basn0g16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/puzzlepaint/surfelmeshing/bdee93ef81658ef26fe48e6dd75a985919a4c03f/libvis/third_party/libpng/contrib/pngsuite/basn0g16.png -------------------------------------------------------------------------------- /libvis/third_party/libpng/contrib/pngsuite/basn2c08.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/puzzlepaint/surfelmeshing/bdee93ef81658ef26fe48e6dd75a985919a4c03f/libvis/third_party/libpng/contrib/pngsuite/basn2c08.png -------------------------------------------------------------------------------- /libvis/third_party/libpng/contrib/pngsuite/basn2c16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/puzzlepaint/surfelmeshing/bdee93ef81658ef26fe48e6dd75a985919a4c03f/libvis/third_party/libpng/contrib/pngsuite/basn2c16.png -------------------------------------------------------------------------------- /libvis/third_party/libpng/contrib/pngsuite/basn3p01.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/puzzlepaint/surfelmeshing/bdee93ef81658ef26fe48e6dd75a985919a4c03f/libvis/third_party/libpng/contrib/pngsuite/basn3p01.png -------------------------------------------------------------------------------- /libvis/third_party/libpng/contrib/pngsuite/basn3p02.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/puzzlepaint/surfelmeshing/bdee93ef81658ef26fe48e6dd75a985919a4c03f/libvis/third_party/libpng/contrib/pngsuite/basn3p02.png -------------------------------------------------------------------------------- /libvis/third_party/libpng/contrib/pngsuite/basn3p04.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/puzzlepaint/surfelmeshing/bdee93ef81658ef26fe48e6dd75a985919a4c03f/libvis/third_party/libpng/contrib/pngsuite/basn3p04.png -------------------------------------------------------------------------------- /libvis/third_party/libpng/contrib/pngsuite/basn3p08.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/puzzlepaint/surfelmeshing/bdee93ef81658ef26fe48e6dd75a985919a4c03f/libvis/third_party/libpng/contrib/pngsuite/basn3p08.png -------------------------------------------------------------------------------- /libvis/third_party/libpng/contrib/pngsuite/basn4a08.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/puzzlepaint/surfelmeshing/bdee93ef81658ef26fe48e6dd75a985919a4c03f/libvis/third_party/libpng/contrib/pngsuite/basn4a08.png -------------------------------------------------------------------------------- /libvis/third_party/libpng/contrib/pngsuite/basn4a16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/puzzlepaint/surfelmeshing/bdee93ef81658ef26fe48e6dd75a985919a4c03f/libvis/third_party/libpng/contrib/pngsuite/basn4a16.png -------------------------------------------------------------------------------- /libvis/third_party/libpng/contrib/pngsuite/basn6a08.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/puzzlepaint/surfelmeshing/bdee93ef81658ef26fe48e6dd75a985919a4c03f/libvis/third_party/libpng/contrib/pngsuite/basn6a08.png -------------------------------------------------------------------------------- /libvis/third_party/libpng/contrib/pngsuite/basn6a16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/puzzlepaint/surfelmeshing/bdee93ef81658ef26fe48e6dd75a985919a4c03f/libvis/third_party/libpng/contrib/pngsuite/basn6a16.png -------------------------------------------------------------------------------- /libvis/third_party/libpng/contrib/pngsuite/ftbbn0g01.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/puzzlepaint/surfelmeshing/bdee93ef81658ef26fe48e6dd75a985919a4c03f/libvis/third_party/libpng/contrib/pngsuite/ftbbn0g01.png -------------------------------------------------------------------------------- /libvis/third_party/libpng/contrib/pngsuite/ftbbn0g02.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/puzzlepaint/surfelmeshing/bdee93ef81658ef26fe48e6dd75a985919a4c03f/libvis/third_party/libpng/contrib/pngsuite/ftbbn0g02.png -------------------------------------------------------------------------------- /libvis/third_party/libpng/contrib/pngsuite/ftbbn0g04.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/puzzlepaint/surfelmeshing/bdee93ef81658ef26fe48e6dd75a985919a4c03f/libvis/third_party/libpng/contrib/pngsuite/ftbbn0g04.png -------------------------------------------------------------------------------- /libvis/third_party/libpng/contrib/pngsuite/ftbbn2c16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/puzzlepaint/surfelmeshing/bdee93ef81658ef26fe48e6dd75a985919a4c03f/libvis/third_party/libpng/contrib/pngsuite/ftbbn2c16.png -------------------------------------------------------------------------------- /libvis/third_party/libpng/contrib/pngsuite/ftbbn3p08.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/puzzlepaint/surfelmeshing/bdee93ef81658ef26fe48e6dd75a985919a4c03f/libvis/third_party/libpng/contrib/pngsuite/ftbbn3p08.png -------------------------------------------------------------------------------- /libvis/third_party/libpng/contrib/pngsuite/ftbgn2c16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/puzzlepaint/surfelmeshing/bdee93ef81658ef26fe48e6dd75a985919a4c03f/libvis/third_party/libpng/contrib/pngsuite/ftbgn2c16.png -------------------------------------------------------------------------------- /libvis/third_party/libpng/contrib/pngsuite/ftbgn3p08.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/puzzlepaint/surfelmeshing/bdee93ef81658ef26fe48e6dd75a985919a4c03f/libvis/third_party/libpng/contrib/pngsuite/ftbgn3p08.png -------------------------------------------------------------------------------- /libvis/third_party/libpng/contrib/pngsuite/ftbrn2c08.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/puzzlepaint/surfelmeshing/bdee93ef81658ef26fe48e6dd75a985919a4c03f/libvis/third_party/libpng/contrib/pngsuite/ftbrn2c08.png -------------------------------------------------------------------------------- /libvis/third_party/libpng/contrib/pngsuite/ftbwn0g16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/puzzlepaint/surfelmeshing/bdee93ef81658ef26fe48e6dd75a985919a4c03f/libvis/third_party/libpng/contrib/pngsuite/ftbwn0g16.png -------------------------------------------------------------------------------- /libvis/third_party/libpng/contrib/pngsuite/ftbwn3p08.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/puzzlepaint/surfelmeshing/bdee93ef81658ef26fe48e6dd75a985919a4c03f/libvis/third_party/libpng/contrib/pngsuite/ftbwn3p08.png -------------------------------------------------------------------------------- /libvis/third_party/libpng/contrib/pngsuite/ftbyn3p08.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/puzzlepaint/surfelmeshing/bdee93ef81658ef26fe48e6dd75a985919a4c03f/libvis/third_party/libpng/contrib/pngsuite/ftbyn3p08.png -------------------------------------------------------------------------------- /libvis/third_party/libpng/contrib/pngsuite/ftp0n0g08.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/puzzlepaint/surfelmeshing/bdee93ef81658ef26fe48e6dd75a985919a4c03f/libvis/third_party/libpng/contrib/pngsuite/ftp0n0g08.png -------------------------------------------------------------------------------- /libvis/third_party/libpng/contrib/pngsuite/ftp0n2c08.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/puzzlepaint/surfelmeshing/bdee93ef81658ef26fe48e6dd75a985919a4c03f/libvis/third_party/libpng/contrib/pngsuite/ftp0n2c08.png -------------------------------------------------------------------------------- /libvis/third_party/libpng/contrib/pngsuite/ftp0n3p08.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/puzzlepaint/surfelmeshing/bdee93ef81658ef26fe48e6dd75a985919a4c03f/libvis/third_party/libpng/contrib/pngsuite/ftp0n3p08.png -------------------------------------------------------------------------------- /libvis/third_party/libpng/contrib/pngsuite/ftp1n3p08.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/puzzlepaint/surfelmeshing/bdee93ef81658ef26fe48e6dd75a985919a4c03f/libvis/third_party/libpng/contrib/pngsuite/ftp1n3p08.png -------------------------------------------------------------------------------- /libvis/third_party/libpng/contrib/pngsuite/ibasn0g08.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/puzzlepaint/surfelmeshing/bdee93ef81658ef26fe48e6dd75a985919a4c03f/libvis/third_party/libpng/contrib/pngsuite/ibasn0g08.png -------------------------------------------------------------------------------- /libvis/third_party/libpng/contrib/pngsuite/ibasn0g16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/puzzlepaint/surfelmeshing/bdee93ef81658ef26fe48e6dd75a985919a4c03f/libvis/third_party/libpng/contrib/pngsuite/ibasn0g16.png -------------------------------------------------------------------------------- /libvis/third_party/libpng/contrib/pngsuite/ibasn2c08.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/puzzlepaint/surfelmeshing/bdee93ef81658ef26fe48e6dd75a985919a4c03f/libvis/third_party/libpng/contrib/pngsuite/ibasn2c08.png -------------------------------------------------------------------------------- /libvis/third_party/libpng/contrib/pngsuite/ibasn2c16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/puzzlepaint/surfelmeshing/bdee93ef81658ef26fe48e6dd75a985919a4c03f/libvis/third_party/libpng/contrib/pngsuite/ibasn2c16.png -------------------------------------------------------------------------------- /libvis/third_party/libpng/contrib/pngsuite/ibasn3p08.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/puzzlepaint/surfelmeshing/bdee93ef81658ef26fe48e6dd75a985919a4c03f/libvis/third_party/libpng/contrib/pngsuite/ibasn3p08.png -------------------------------------------------------------------------------- /libvis/third_party/libpng/contrib/pngsuite/ibasn4a08.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/puzzlepaint/surfelmeshing/bdee93ef81658ef26fe48e6dd75a985919a4c03f/libvis/third_party/libpng/contrib/pngsuite/ibasn4a08.png -------------------------------------------------------------------------------- /libvis/third_party/libpng/contrib/pngsuite/ibasn4a16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/puzzlepaint/surfelmeshing/bdee93ef81658ef26fe48e6dd75a985919a4c03f/libvis/third_party/libpng/contrib/pngsuite/ibasn4a16.png -------------------------------------------------------------------------------- /libvis/third_party/libpng/contrib/pngsuite/ibasn6a08.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/puzzlepaint/surfelmeshing/bdee93ef81658ef26fe48e6dd75a985919a4c03f/libvis/third_party/libpng/contrib/pngsuite/ibasn6a08.png -------------------------------------------------------------------------------- /libvis/third_party/libpng/contrib/pngsuite/ibasn6a16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/puzzlepaint/surfelmeshing/bdee93ef81658ef26fe48e6dd75a985919a4c03f/libvis/third_party/libpng/contrib/pngsuite/ibasn6a16.png -------------------------------------------------------------------------------- /libvis/third_party/libpng/contrib/pngsuite/iftbbn2c16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/puzzlepaint/surfelmeshing/bdee93ef81658ef26fe48e6dd75a985919a4c03f/libvis/third_party/libpng/contrib/pngsuite/iftbbn2c16.png -------------------------------------------------------------------------------- /libvis/third_party/libpng/contrib/pngsuite/iftbbn3p08.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/puzzlepaint/surfelmeshing/bdee93ef81658ef26fe48e6dd75a985919a4c03f/libvis/third_party/libpng/contrib/pngsuite/iftbbn3p08.png -------------------------------------------------------------------------------- /libvis/third_party/libpng/contrib/pngsuite/iftbgn2c16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/puzzlepaint/surfelmeshing/bdee93ef81658ef26fe48e6dd75a985919a4c03f/libvis/third_party/libpng/contrib/pngsuite/iftbgn2c16.png -------------------------------------------------------------------------------- /libvis/third_party/libpng/contrib/pngsuite/iftbgn3p08.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/puzzlepaint/surfelmeshing/bdee93ef81658ef26fe48e6dd75a985919a4c03f/libvis/third_party/libpng/contrib/pngsuite/iftbgn3p08.png -------------------------------------------------------------------------------- /libvis/third_party/libpng/contrib/pngsuite/iftbrn2c08.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/puzzlepaint/surfelmeshing/bdee93ef81658ef26fe48e6dd75a985919a4c03f/libvis/third_party/libpng/contrib/pngsuite/iftbrn2c08.png -------------------------------------------------------------------------------- /libvis/third_party/libpng/contrib/pngsuite/iftbwn0g16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/puzzlepaint/surfelmeshing/bdee93ef81658ef26fe48e6dd75a985919a4c03f/libvis/third_party/libpng/contrib/pngsuite/iftbwn0g16.png -------------------------------------------------------------------------------- /libvis/third_party/libpng/contrib/pngsuite/iftbwn3p08.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/puzzlepaint/surfelmeshing/bdee93ef81658ef26fe48e6dd75a985919a4c03f/libvis/third_party/libpng/contrib/pngsuite/iftbwn3p08.png -------------------------------------------------------------------------------- /libvis/third_party/libpng/contrib/pngsuite/iftbyn3p08.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/puzzlepaint/surfelmeshing/bdee93ef81658ef26fe48e6dd75a985919a4c03f/libvis/third_party/libpng/contrib/pngsuite/iftbyn3p08.png -------------------------------------------------------------------------------- /libvis/third_party/libpng/contrib/pngsuite/iftp0n0g08.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/puzzlepaint/surfelmeshing/bdee93ef81658ef26fe48e6dd75a985919a4c03f/libvis/third_party/libpng/contrib/pngsuite/iftp0n0g08.png -------------------------------------------------------------------------------- /libvis/third_party/libpng/contrib/pngsuite/iftp0n2c08.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/puzzlepaint/surfelmeshing/bdee93ef81658ef26fe48e6dd75a985919a4c03f/libvis/third_party/libpng/contrib/pngsuite/iftp0n2c08.png -------------------------------------------------------------------------------- /libvis/third_party/libpng/contrib/pngsuite/iftp0n3p08.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/puzzlepaint/surfelmeshing/bdee93ef81658ef26fe48e6dd75a985919a4c03f/libvis/third_party/libpng/contrib/pngsuite/iftp0n3p08.png -------------------------------------------------------------------------------- /libvis/third_party/libpng/contrib/pngsuite/iftp1n3p08.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/puzzlepaint/surfelmeshing/bdee93ef81658ef26fe48e6dd75a985919a4c03f/libvis/third_party/libpng/contrib/pngsuite/iftp1n3p08.png -------------------------------------------------------------------------------- /libvis/third_party/libpng/contrib/pngsuite/interlaced/README: -------------------------------------------------------------------------------- 1 | 2 | These images fail the "pngimage-quick" and "pngimage-full" tests. 3 | -------------------------------------------------------------------------------- /libvis/third_party/libpng/contrib/pngsuite/interlaced/ibasn0g01.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/puzzlepaint/surfelmeshing/bdee93ef81658ef26fe48e6dd75a985919a4c03f/libvis/third_party/libpng/contrib/pngsuite/interlaced/ibasn0g01.png -------------------------------------------------------------------------------- /libvis/third_party/libpng/contrib/pngsuite/interlaced/ibasn0g02.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/puzzlepaint/surfelmeshing/bdee93ef81658ef26fe48e6dd75a985919a4c03f/libvis/third_party/libpng/contrib/pngsuite/interlaced/ibasn0g02.png -------------------------------------------------------------------------------- /libvis/third_party/libpng/contrib/pngsuite/interlaced/ibasn0g04.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/puzzlepaint/surfelmeshing/bdee93ef81658ef26fe48e6dd75a985919a4c03f/libvis/third_party/libpng/contrib/pngsuite/interlaced/ibasn0g04.png -------------------------------------------------------------------------------- /libvis/third_party/libpng/contrib/pngsuite/interlaced/ibasn3p01.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/puzzlepaint/surfelmeshing/bdee93ef81658ef26fe48e6dd75a985919a4c03f/libvis/third_party/libpng/contrib/pngsuite/interlaced/ibasn3p01.png -------------------------------------------------------------------------------- /libvis/third_party/libpng/contrib/pngsuite/interlaced/ibasn3p02.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/puzzlepaint/surfelmeshing/bdee93ef81658ef26fe48e6dd75a985919a4c03f/libvis/third_party/libpng/contrib/pngsuite/interlaced/ibasn3p02.png -------------------------------------------------------------------------------- /libvis/third_party/libpng/contrib/pngsuite/interlaced/ibasn3p04.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/puzzlepaint/surfelmeshing/bdee93ef81658ef26fe48e6dd75a985919a4c03f/libvis/third_party/libpng/contrib/pngsuite/interlaced/ibasn3p04.png -------------------------------------------------------------------------------- /libvis/third_party/libpng/contrib/pngsuite/interlaced/iftbbn0g01.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/puzzlepaint/surfelmeshing/bdee93ef81658ef26fe48e6dd75a985919a4c03f/libvis/third_party/libpng/contrib/pngsuite/interlaced/iftbbn0g01.png -------------------------------------------------------------------------------- /libvis/third_party/libpng/contrib/pngsuite/interlaced/iftbbn0g02.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/puzzlepaint/surfelmeshing/bdee93ef81658ef26fe48e6dd75a985919a4c03f/libvis/third_party/libpng/contrib/pngsuite/interlaced/iftbbn0g02.png -------------------------------------------------------------------------------- /libvis/third_party/libpng/contrib/pngsuite/interlaced/iftbbn0g04.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/puzzlepaint/surfelmeshing/bdee93ef81658ef26fe48e6dd75a985919a4c03f/libvis/third_party/libpng/contrib/pngsuite/interlaced/iftbbn0g04.png -------------------------------------------------------------------------------- /libvis/third_party/libpng/contrib/powerpc-vsx/linux.c: -------------------------------------------------------------------------------- 1 | /* contrib/powerpc-vsx/linux.c 2 | * 3 | * Copyright (c) 2017 Glenn Randers-Pehrson 4 | * Written by Vadim Barkov, 2017. 5 | * Last changed in libpng 1.6.29 [March 16, 2017] 6 | * 7 | * This code is released under the libpng license. 8 | * For conditions of distribution and use, see the disclaimer 9 | * and license in png.h 10 | * 11 | * STATUS: TESTED 12 | * BUG REPORTS: png-mng-implement@sourceforge.net 13 | * 14 | * png_have_vsx implemented for Linux by reading the widely available 15 | * pseudo-file /proc/cpuinfo. 16 | * 17 | * This code is strict ANSI-C and is probably moderately portable; it does 18 | * however use and it assumes that /proc/cpuinfo is never localized. 19 | */ 20 | 21 | #include 22 | #include 23 | #include 24 | #include "png.h" 25 | 26 | #ifndef MAXLINE 27 | # define MAXLINE 1024 28 | #endif 29 | 30 | static int 31 | png_have_vsx(png_structp png_ptr) 32 | { 33 | FILE *f; 34 | 35 | const char *string = "altivec supported"; 36 | char input[MAXLINE]; 37 | char *token = NULL; 38 | 39 | PNG_UNUSED(png_ptr) 40 | 41 | f = fopen("/proc/cpuinfo", "r"); 42 | if (f != NULL) 43 | { 44 | memset(input,0,MAXLINE); 45 | while(fgets(input,MAXLINE,f) != NULL) 46 | { 47 | token = strstr(input,string); 48 | if(token != NULL) 49 | return 1; 50 | } 51 | } 52 | #ifdef PNG_WARNINGS_SUPPORTED 53 | else 54 | png_warning(png_ptr, "/proc/cpuinfo open failed"); 55 | #endif 56 | return 0; 57 | } 58 | -------------------------------------------------------------------------------- /libvis/third_party/libpng/contrib/powerpc-vsx/linux_aux.c: -------------------------------------------------------------------------------- 1 | /* contrib/powerpc-vsx/linux_aux.c 2 | * 3 | * Copyright (c) 2017 Glenn Randers-Pehrson 4 | * Written by Vadim Barkov, 2017. 5 | * Last changed in libpng 1.6.29 [March 16, 2017] 6 | * 7 | * This code is released under the libpng license. 8 | * For conditions of distribution and use, see the disclaimer 9 | * and license in png.h 10 | * 11 | * STATUS: TESTED 12 | * BUG REPORTS: png-mng-implement@sourceforge.net 13 | * 14 | * png_have_vsx implemented for Linux by using the auxiliary vector mechanism. 15 | * 16 | * This code is strict ANSI-C and is probably moderately portable; it does 17 | * however use and it assumes that /proc/cpuinfo is never localized. 18 | */ 19 | 20 | #include "sys/auxv.h" 21 | #include "png.h" 22 | 23 | static int 24 | png_have_vsx(png_structp png_ptr) 25 | { 26 | unsigned long auxv = getauxval(AT_HWCAP); 27 | 28 | PNG_UNUSED(png_ptr) 29 | 30 | if(auxv & (PPC_FEATURE_HAS_ALTIVEC|PPC_FEATURE_HAS_VSX)) 31 | return 1; 32 | else 33 | return 0; 34 | } 35 | -------------------------------------------------------------------------------- /libvis/third_party/libpng/contrib/testpngs/crashers/bad_iCCP.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/puzzlepaint/surfelmeshing/bdee93ef81658ef26fe48e6dd75a985919a4c03f/libvis/third_party/libpng/contrib/testpngs/crashers/bad_iCCP.png -------------------------------------------------------------------------------- /libvis/third_party/libpng/contrib/testpngs/crashers/badadler.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/puzzlepaint/surfelmeshing/bdee93ef81658ef26fe48e6dd75a985919a4c03f/libvis/third_party/libpng/contrib/testpngs/crashers/badadler.png -------------------------------------------------------------------------------- /libvis/third_party/libpng/contrib/testpngs/crashers/badcrc.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/puzzlepaint/surfelmeshing/bdee93ef81658ef26fe48e6dd75a985919a4c03f/libvis/third_party/libpng/contrib/testpngs/crashers/badcrc.png -------------------------------------------------------------------------------- /libvis/third_party/libpng/contrib/testpngs/crashers/empty_ancillary_chunks.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/puzzlepaint/surfelmeshing/bdee93ef81658ef26fe48e6dd75a985919a4c03f/libvis/third_party/libpng/contrib/testpngs/crashers/empty_ancillary_chunks.png -------------------------------------------------------------------------------- /libvis/third_party/libpng/contrib/testpngs/crashers/huge_IDAT.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/puzzlepaint/surfelmeshing/bdee93ef81658ef26fe48e6dd75a985919a4c03f/libvis/third_party/libpng/contrib/testpngs/crashers/huge_IDAT.png -------------------------------------------------------------------------------- /libvis/third_party/libpng/contrib/testpngs/crashers/huge_bKGD_chunk.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/puzzlepaint/surfelmeshing/bdee93ef81658ef26fe48e6dd75a985919a4c03f/libvis/third_party/libpng/contrib/testpngs/crashers/huge_bKGD_chunk.png -------------------------------------------------------------------------------- /libvis/third_party/libpng/contrib/testpngs/crashers/huge_cHRM_chunk.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/puzzlepaint/surfelmeshing/bdee93ef81658ef26fe48e6dd75a985919a4c03f/libvis/third_party/libpng/contrib/testpngs/crashers/huge_cHRM_chunk.png -------------------------------------------------------------------------------- /libvis/third_party/libpng/contrib/testpngs/crashers/huge_eXIf_chunk.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/puzzlepaint/surfelmeshing/bdee93ef81658ef26fe48e6dd75a985919a4c03f/libvis/third_party/libpng/contrib/testpngs/crashers/huge_eXIf_chunk.png -------------------------------------------------------------------------------- /libvis/third_party/libpng/contrib/testpngs/crashers/huge_gAMA_chunk.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/puzzlepaint/surfelmeshing/bdee93ef81658ef26fe48e6dd75a985919a4c03f/libvis/third_party/libpng/contrib/testpngs/crashers/huge_gAMA_chunk.png -------------------------------------------------------------------------------- /libvis/third_party/libpng/contrib/testpngs/crashers/huge_hIST_chunk.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/puzzlepaint/surfelmeshing/bdee93ef81658ef26fe48e6dd75a985919a4c03f/libvis/third_party/libpng/contrib/testpngs/crashers/huge_hIST_chunk.png -------------------------------------------------------------------------------- /libvis/third_party/libpng/contrib/testpngs/crashers/huge_iCCP_chunk.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/puzzlepaint/surfelmeshing/bdee93ef81658ef26fe48e6dd75a985919a4c03f/libvis/third_party/libpng/contrib/testpngs/crashers/huge_iCCP_chunk.png -------------------------------------------------------------------------------- /libvis/third_party/libpng/contrib/testpngs/crashers/huge_iTXt_chunk.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/puzzlepaint/surfelmeshing/bdee93ef81658ef26fe48e6dd75a985919a4c03f/libvis/third_party/libpng/contrib/testpngs/crashers/huge_iTXt_chunk.png -------------------------------------------------------------------------------- /libvis/third_party/libpng/contrib/testpngs/crashers/huge_juNK_unsafe_to_copy.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/puzzlepaint/surfelmeshing/bdee93ef81658ef26fe48e6dd75a985919a4c03f/libvis/third_party/libpng/contrib/testpngs/crashers/huge_juNK_unsafe_to_copy.png -------------------------------------------------------------------------------- /libvis/third_party/libpng/contrib/testpngs/crashers/huge_juNk_safe_to_copy.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/puzzlepaint/surfelmeshing/bdee93ef81658ef26fe48e6dd75a985919a4c03f/libvis/third_party/libpng/contrib/testpngs/crashers/huge_juNk_safe_to_copy.png -------------------------------------------------------------------------------- /libvis/third_party/libpng/contrib/testpngs/crashers/huge_pCAL_chunk.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/puzzlepaint/surfelmeshing/bdee93ef81658ef26fe48e6dd75a985919a4c03f/libvis/third_party/libpng/contrib/testpngs/crashers/huge_pCAL_chunk.png -------------------------------------------------------------------------------- /libvis/third_party/libpng/contrib/testpngs/crashers/huge_pHYs_chunk.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/puzzlepaint/surfelmeshing/bdee93ef81658ef26fe48e6dd75a985919a4c03f/libvis/third_party/libpng/contrib/testpngs/crashers/huge_pHYs_chunk.png -------------------------------------------------------------------------------- /libvis/third_party/libpng/contrib/testpngs/crashers/huge_sCAL_chunk.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/puzzlepaint/surfelmeshing/bdee93ef81658ef26fe48e6dd75a985919a4c03f/libvis/third_party/libpng/contrib/testpngs/crashers/huge_sCAL_chunk.png -------------------------------------------------------------------------------- /libvis/third_party/libpng/contrib/testpngs/crashers/huge_sPLT_chunk.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/puzzlepaint/surfelmeshing/bdee93ef81658ef26fe48e6dd75a985919a4c03f/libvis/third_party/libpng/contrib/testpngs/crashers/huge_sPLT_chunk.png -------------------------------------------------------------------------------- /libvis/third_party/libpng/contrib/testpngs/crashers/huge_sRGB_chunk.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/puzzlepaint/surfelmeshing/bdee93ef81658ef26fe48e6dd75a985919a4c03f/libvis/third_party/libpng/contrib/testpngs/crashers/huge_sRGB_chunk.png -------------------------------------------------------------------------------- /libvis/third_party/libpng/contrib/testpngs/crashers/huge_sTER_chunk.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/puzzlepaint/surfelmeshing/bdee93ef81658ef26fe48e6dd75a985919a4c03f/libvis/third_party/libpng/contrib/testpngs/crashers/huge_sTER_chunk.png -------------------------------------------------------------------------------- /libvis/third_party/libpng/contrib/testpngs/crashers/huge_tEXt_chunk.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/puzzlepaint/surfelmeshing/bdee93ef81658ef26fe48e6dd75a985919a4c03f/libvis/third_party/libpng/contrib/testpngs/crashers/huge_tEXt_chunk.png -------------------------------------------------------------------------------- /libvis/third_party/libpng/contrib/testpngs/crashers/huge_tIME_chunk.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/puzzlepaint/surfelmeshing/bdee93ef81658ef26fe48e6dd75a985919a4c03f/libvis/third_party/libpng/contrib/testpngs/crashers/huge_tIME_chunk.png -------------------------------------------------------------------------------- /libvis/third_party/libpng/contrib/testpngs/crashers/huge_zTXt_chunk.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/puzzlepaint/surfelmeshing/bdee93ef81658ef26fe48e6dd75a985919a4c03f/libvis/third_party/libpng/contrib/testpngs/crashers/huge_zTXt_chunk.png -------------------------------------------------------------------------------- /libvis/third_party/libpng/contrib/testpngs/gray-1-1.8-tRNS.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/puzzlepaint/surfelmeshing/bdee93ef81658ef26fe48e6dd75a985919a4c03f/libvis/third_party/libpng/contrib/testpngs/gray-1-1.8-tRNS.png -------------------------------------------------------------------------------- /libvis/third_party/libpng/contrib/testpngs/gray-1-1.8.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/puzzlepaint/surfelmeshing/bdee93ef81658ef26fe48e6dd75a985919a4c03f/libvis/third_party/libpng/contrib/testpngs/gray-1-1.8.png -------------------------------------------------------------------------------- /libvis/third_party/libpng/contrib/testpngs/gray-1-linear-tRNS.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/puzzlepaint/surfelmeshing/bdee93ef81658ef26fe48e6dd75a985919a4c03f/libvis/third_party/libpng/contrib/testpngs/gray-1-linear-tRNS.png -------------------------------------------------------------------------------- /libvis/third_party/libpng/contrib/testpngs/gray-1-linear.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/puzzlepaint/surfelmeshing/bdee93ef81658ef26fe48e6dd75a985919a4c03f/libvis/third_party/libpng/contrib/testpngs/gray-1-linear.png -------------------------------------------------------------------------------- /libvis/third_party/libpng/contrib/testpngs/gray-1-sRGB-tRNS.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/puzzlepaint/surfelmeshing/bdee93ef81658ef26fe48e6dd75a985919a4c03f/libvis/third_party/libpng/contrib/testpngs/gray-1-sRGB-tRNS.png -------------------------------------------------------------------------------- /libvis/third_party/libpng/contrib/testpngs/gray-1-sRGB.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/puzzlepaint/surfelmeshing/bdee93ef81658ef26fe48e6dd75a985919a4c03f/libvis/third_party/libpng/contrib/testpngs/gray-1-sRGB.png -------------------------------------------------------------------------------- /libvis/third_party/libpng/contrib/testpngs/gray-1-tRNS.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/puzzlepaint/surfelmeshing/bdee93ef81658ef26fe48e6dd75a985919a4c03f/libvis/third_party/libpng/contrib/testpngs/gray-1-tRNS.png -------------------------------------------------------------------------------- /libvis/third_party/libpng/contrib/testpngs/gray-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/puzzlepaint/surfelmeshing/bdee93ef81658ef26fe48e6dd75a985919a4c03f/libvis/third_party/libpng/contrib/testpngs/gray-1.png -------------------------------------------------------------------------------- /libvis/third_party/libpng/contrib/testpngs/gray-16-1.8-tRNS.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/puzzlepaint/surfelmeshing/bdee93ef81658ef26fe48e6dd75a985919a4c03f/libvis/third_party/libpng/contrib/testpngs/gray-16-1.8-tRNS.png -------------------------------------------------------------------------------- /libvis/third_party/libpng/contrib/testpngs/gray-16-1.8.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/puzzlepaint/surfelmeshing/bdee93ef81658ef26fe48e6dd75a985919a4c03f/libvis/third_party/libpng/contrib/testpngs/gray-16-1.8.png -------------------------------------------------------------------------------- /libvis/third_party/libpng/contrib/testpngs/gray-16-linear-tRNS.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/puzzlepaint/surfelmeshing/bdee93ef81658ef26fe48e6dd75a985919a4c03f/libvis/third_party/libpng/contrib/testpngs/gray-16-linear-tRNS.png -------------------------------------------------------------------------------- /libvis/third_party/libpng/contrib/testpngs/gray-16-linear.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/puzzlepaint/surfelmeshing/bdee93ef81658ef26fe48e6dd75a985919a4c03f/libvis/third_party/libpng/contrib/testpngs/gray-16-linear.png -------------------------------------------------------------------------------- /libvis/third_party/libpng/contrib/testpngs/gray-16-sRGB-tRNS.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/puzzlepaint/surfelmeshing/bdee93ef81658ef26fe48e6dd75a985919a4c03f/libvis/third_party/libpng/contrib/testpngs/gray-16-sRGB-tRNS.png -------------------------------------------------------------------------------- /libvis/third_party/libpng/contrib/testpngs/gray-16-sRGB.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/puzzlepaint/surfelmeshing/bdee93ef81658ef26fe48e6dd75a985919a4c03f/libvis/third_party/libpng/contrib/testpngs/gray-16-sRGB.png -------------------------------------------------------------------------------- /libvis/third_party/libpng/contrib/testpngs/gray-16-tRNS.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/puzzlepaint/surfelmeshing/bdee93ef81658ef26fe48e6dd75a985919a4c03f/libvis/third_party/libpng/contrib/testpngs/gray-16-tRNS.png -------------------------------------------------------------------------------- /libvis/third_party/libpng/contrib/testpngs/gray-16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/puzzlepaint/surfelmeshing/bdee93ef81658ef26fe48e6dd75a985919a4c03f/libvis/third_party/libpng/contrib/testpngs/gray-16.png -------------------------------------------------------------------------------- /libvis/third_party/libpng/contrib/testpngs/gray-2-1.8-tRNS.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/puzzlepaint/surfelmeshing/bdee93ef81658ef26fe48e6dd75a985919a4c03f/libvis/third_party/libpng/contrib/testpngs/gray-2-1.8-tRNS.png -------------------------------------------------------------------------------- /libvis/third_party/libpng/contrib/testpngs/gray-2-1.8.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/puzzlepaint/surfelmeshing/bdee93ef81658ef26fe48e6dd75a985919a4c03f/libvis/third_party/libpng/contrib/testpngs/gray-2-1.8.png -------------------------------------------------------------------------------- /libvis/third_party/libpng/contrib/testpngs/gray-2-linear-tRNS.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/puzzlepaint/surfelmeshing/bdee93ef81658ef26fe48e6dd75a985919a4c03f/libvis/third_party/libpng/contrib/testpngs/gray-2-linear-tRNS.png -------------------------------------------------------------------------------- /libvis/third_party/libpng/contrib/testpngs/gray-2-linear.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/puzzlepaint/surfelmeshing/bdee93ef81658ef26fe48e6dd75a985919a4c03f/libvis/third_party/libpng/contrib/testpngs/gray-2-linear.png -------------------------------------------------------------------------------- /libvis/third_party/libpng/contrib/testpngs/gray-2-sRGB-tRNS.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/puzzlepaint/surfelmeshing/bdee93ef81658ef26fe48e6dd75a985919a4c03f/libvis/third_party/libpng/contrib/testpngs/gray-2-sRGB-tRNS.png -------------------------------------------------------------------------------- /libvis/third_party/libpng/contrib/testpngs/gray-2-sRGB.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/puzzlepaint/surfelmeshing/bdee93ef81658ef26fe48e6dd75a985919a4c03f/libvis/third_party/libpng/contrib/testpngs/gray-2-sRGB.png -------------------------------------------------------------------------------- /libvis/third_party/libpng/contrib/testpngs/gray-2-tRNS.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/puzzlepaint/surfelmeshing/bdee93ef81658ef26fe48e6dd75a985919a4c03f/libvis/third_party/libpng/contrib/testpngs/gray-2-tRNS.png -------------------------------------------------------------------------------- /libvis/third_party/libpng/contrib/testpngs/gray-2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/puzzlepaint/surfelmeshing/bdee93ef81658ef26fe48e6dd75a985919a4c03f/libvis/third_party/libpng/contrib/testpngs/gray-2.png -------------------------------------------------------------------------------- /libvis/third_party/libpng/contrib/testpngs/gray-4-1.8-tRNS.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/puzzlepaint/surfelmeshing/bdee93ef81658ef26fe48e6dd75a985919a4c03f/libvis/third_party/libpng/contrib/testpngs/gray-4-1.8-tRNS.png -------------------------------------------------------------------------------- /libvis/third_party/libpng/contrib/testpngs/gray-4-1.8.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/puzzlepaint/surfelmeshing/bdee93ef81658ef26fe48e6dd75a985919a4c03f/libvis/third_party/libpng/contrib/testpngs/gray-4-1.8.png -------------------------------------------------------------------------------- /libvis/third_party/libpng/contrib/testpngs/gray-4-linear-tRNS.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/puzzlepaint/surfelmeshing/bdee93ef81658ef26fe48e6dd75a985919a4c03f/libvis/third_party/libpng/contrib/testpngs/gray-4-linear-tRNS.png -------------------------------------------------------------------------------- /libvis/third_party/libpng/contrib/testpngs/gray-4-linear.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/puzzlepaint/surfelmeshing/bdee93ef81658ef26fe48e6dd75a985919a4c03f/libvis/third_party/libpng/contrib/testpngs/gray-4-linear.png -------------------------------------------------------------------------------- /libvis/third_party/libpng/contrib/testpngs/gray-4-sRGB-tRNS.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/puzzlepaint/surfelmeshing/bdee93ef81658ef26fe48e6dd75a985919a4c03f/libvis/third_party/libpng/contrib/testpngs/gray-4-sRGB-tRNS.png -------------------------------------------------------------------------------- /libvis/third_party/libpng/contrib/testpngs/gray-4-sRGB.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/puzzlepaint/surfelmeshing/bdee93ef81658ef26fe48e6dd75a985919a4c03f/libvis/third_party/libpng/contrib/testpngs/gray-4-sRGB.png -------------------------------------------------------------------------------- /libvis/third_party/libpng/contrib/testpngs/gray-4-tRNS.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/puzzlepaint/surfelmeshing/bdee93ef81658ef26fe48e6dd75a985919a4c03f/libvis/third_party/libpng/contrib/testpngs/gray-4-tRNS.png -------------------------------------------------------------------------------- /libvis/third_party/libpng/contrib/testpngs/gray-4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/puzzlepaint/surfelmeshing/bdee93ef81658ef26fe48e6dd75a985919a4c03f/libvis/third_party/libpng/contrib/testpngs/gray-4.png -------------------------------------------------------------------------------- /libvis/third_party/libpng/contrib/testpngs/gray-8-1.8-tRNS.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/puzzlepaint/surfelmeshing/bdee93ef81658ef26fe48e6dd75a985919a4c03f/libvis/third_party/libpng/contrib/testpngs/gray-8-1.8-tRNS.png -------------------------------------------------------------------------------- /libvis/third_party/libpng/contrib/testpngs/gray-8-1.8.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/puzzlepaint/surfelmeshing/bdee93ef81658ef26fe48e6dd75a985919a4c03f/libvis/third_party/libpng/contrib/testpngs/gray-8-1.8.png -------------------------------------------------------------------------------- /libvis/third_party/libpng/contrib/testpngs/gray-8-linear-tRNS.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/puzzlepaint/surfelmeshing/bdee93ef81658ef26fe48e6dd75a985919a4c03f/libvis/third_party/libpng/contrib/testpngs/gray-8-linear-tRNS.png -------------------------------------------------------------------------------- /libvis/third_party/libpng/contrib/testpngs/gray-8-linear.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/puzzlepaint/surfelmeshing/bdee93ef81658ef26fe48e6dd75a985919a4c03f/libvis/third_party/libpng/contrib/testpngs/gray-8-linear.png -------------------------------------------------------------------------------- /libvis/third_party/libpng/contrib/testpngs/gray-8-sRGB-tRNS.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/puzzlepaint/surfelmeshing/bdee93ef81658ef26fe48e6dd75a985919a4c03f/libvis/third_party/libpng/contrib/testpngs/gray-8-sRGB-tRNS.png -------------------------------------------------------------------------------- /libvis/third_party/libpng/contrib/testpngs/gray-8-sRGB.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/puzzlepaint/surfelmeshing/bdee93ef81658ef26fe48e6dd75a985919a4c03f/libvis/third_party/libpng/contrib/testpngs/gray-8-sRGB.png -------------------------------------------------------------------------------- /libvis/third_party/libpng/contrib/testpngs/gray-8-tRNS.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/puzzlepaint/surfelmeshing/bdee93ef81658ef26fe48e6dd75a985919a4c03f/libvis/third_party/libpng/contrib/testpngs/gray-8-tRNS.png -------------------------------------------------------------------------------- /libvis/third_party/libpng/contrib/testpngs/gray-8.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/puzzlepaint/surfelmeshing/bdee93ef81658ef26fe48e6dd75a985919a4c03f/libvis/third_party/libpng/contrib/testpngs/gray-8.png -------------------------------------------------------------------------------- /libvis/third_party/libpng/contrib/testpngs/gray-alpha-16-1.8.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/puzzlepaint/surfelmeshing/bdee93ef81658ef26fe48e6dd75a985919a4c03f/libvis/third_party/libpng/contrib/testpngs/gray-alpha-16-1.8.png -------------------------------------------------------------------------------- /libvis/third_party/libpng/contrib/testpngs/gray-alpha-16-linear.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/puzzlepaint/surfelmeshing/bdee93ef81658ef26fe48e6dd75a985919a4c03f/libvis/third_party/libpng/contrib/testpngs/gray-alpha-16-linear.png -------------------------------------------------------------------------------- /libvis/third_party/libpng/contrib/testpngs/gray-alpha-16-sRGB.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/puzzlepaint/surfelmeshing/bdee93ef81658ef26fe48e6dd75a985919a4c03f/libvis/third_party/libpng/contrib/testpngs/gray-alpha-16-sRGB.png -------------------------------------------------------------------------------- /libvis/third_party/libpng/contrib/testpngs/gray-alpha-16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/puzzlepaint/surfelmeshing/bdee93ef81658ef26fe48e6dd75a985919a4c03f/libvis/third_party/libpng/contrib/testpngs/gray-alpha-16.png -------------------------------------------------------------------------------- /libvis/third_party/libpng/contrib/testpngs/gray-alpha-8-1.8.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/puzzlepaint/surfelmeshing/bdee93ef81658ef26fe48e6dd75a985919a4c03f/libvis/third_party/libpng/contrib/testpngs/gray-alpha-8-1.8.png -------------------------------------------------------------------------------- /libvis/third_party/libpng/contrib/testpngs/gray-alpha-8-linear.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/puzzlepaint/surfelmeshing/bdee93ef81658ef26fe48e6dd75a985919a4c03f/libvis/third_party/libpng/contrib/testpngs/gray-alpha-8-linear.png -------------------------------------------------------------------------------- /libvis/third_party/libpng/contrib/testpngs/gray-alpha-8-sRGB.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/puzzlepaint/surfelmeshing/bdee93ef81658ef26fe48e6dd75a985919a4c03f/libvis/third_party/libpng/contrib/testpngs/gray-alpha-8-sRGB.png -------------------------------------------------------------------------------- /libvis/third_party/libpng/contrib/testpngs/gray-alpha-8.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/puzzlepaint/surfelmeshing/bdee93ef81658ef26fe48e6dd75a985919a4c03f/libvis/third_party/libpng/contrib/testpngs/gray-alpha-8.png -------------------------------------------------------------------------------- /libvis/third_party/libpng/contrib/testpngs/palette-1-1.8-tRNS.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/puzzlepaint/surfelmeshing/bdee93ef81658ef26fe48e6dd75a985919a4c03f/libvis/third_party/libpng/contrib/testpngs/palette-1-1.8-tRNS.png -------------------------------------------------------------------------------- /libvis/third_party/libpng/contrib/testpngs/palette-1-1.8.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/puzzlepaint/surfelmeshing/bdee93ef81658ef26fe48e6dd75a985919a4c03f/libvis/third_party/libpng/contrib/testpngs/palette-1-1.8.png -------------------------------------------------------------------------------- /libvis/third_party/libpng/contrib/testpngs/palette-1-linear-tRNS.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/puzzlepaint/surfelmeshing/bdee93ef81658ef26fe48e6dd75a985919a4c03f/libvis/third_party/libpng/contrib/testpngs/palette-1-linear-tRNS.png -------------------------------------------------------------------------------- /libvis/third_party/libpng/contrib/testpngs/palette-1-linear.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/puzzlepaint/surfelmeshing/bdee93ef81658ef26fe48e6dd75a985919a4c03f/libvis/third_party/libpng/contrib/testpngs/palette-1-linear.png -------------------------------------------------------------------------------- /libvis/third_party/libpng/contrib/testpngs/palette-1-sRGB-tRNS.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/puzzlepaint/surfelmeshing/bdee93ef81658ef26fe48e6dd75a985919a4c03f/libvis/third_party/libpng/contrib/testpngs/palette-1-sRGB-tRNS.png -------------------------------------------------------------------------------- /libvis/third_party/libpng/contrib/testpngs/palette-1-sRGB.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/puzzlepaint/surfelmeshing/bdee93ef81658ef26fe48e6dd75a985919a4c03f/libvis/third_party/libpng/contrib/testpngs/palette-1-sRGB.png -------------------------------------------------------------------------------- /libvis/third_party/libpng/contrib/testpngs/palette-1-tRNS.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/puzzlepaint/surfelmeshing/bdee93ef81658ef26fe48e6dd75a985919a4c03f/libvis/third_party/libpng/contrib/testpngs/palette-1-tRNS.png -------------------------------------------------------------------------------- /libvis/third_party/libpng/contrib/testpngs/palette-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/puzzlepaint/surfelmeshing/bdee93ef81658ef26fe48e6dd75a985919a4c03f/libvis/third_party/libpng/contrib/testpngs/palette-1.png -------------------------------------------------------------------------------- /libvis/third_party/libpng/contrib/testpngs/palette-2-1.8-tRNS.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/puzzlepaint/surfelmeshing/bdee93ef81658ef26fe48e6dd75a985919a4c03f/libvis/third_party/libpng/contrib/testpngs/palette-2-1.8-tRNS.png -------------------------------------------------------------------------------- /libvis/third_party/libpng/contrib/testpngs/palette-2-1.8.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/puzzlepaint/surfelmeshing/bdee93ef81658ef26fe48e6dd75a985919a4c03f/libvis/third_party/libpng/contrib/testpngs/palette-2-1.8.png -------------------------------------------------------------------------------- /libvis/third_party/libpng/contrib/testpngs/palette-2-linear-tRNS.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/puzzlepaint/surfelmeshing/bdee93ef81658ef26fe48e6dd75a985919a4c03f/libvis/third_party/libpng/contrib/testpngs/palette-2-linear-tRNS.png -------------------------------------------------------------------------------- /libvis/third_party/libpng/contrib/testpngs/palette-2-linear.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/puzzlepaint/surfelmeshing/bdee93ef81658ef26fe48e6dd75a985919a4c03f/libvis/third_party/libpng/contrib/testpngs/palette-2-linear.png -------------------------------------------------------------------------------- /libvis/third_party/libpng/contrib/testpngs/palette-2-sRGB-tRNS.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/puzzlepaint/surfelmeshing/bdee93ef81658ef26fe48e6dd75a985919a4c03f/libvis/third_party/libpng/contrib/testpngs/palette-2-sRGB-tRNS.png -------------------------------------------------------------------------------- /libvis/third_party/libpng/contrib/testpngs/palette-2-sRGB.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/puzzlepaint/surfelmeshing/bdee93ef81658ef26fe48e6dd75a985919a4c03f/libvis/third_party/libpng/contrib/testpngs/palette-2-sRGB.png -------------------------------------------------------------------------------- /libvis/third_party/libpng/contrib/testpngs/palette-2-tRNS.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/puzzlepaint/surfelmeshing/bdee93ef81658ef26fe48e6dd75a985919a4c03f/libvis/third_party/libpng/contrib/testpngs/palette-2-tRNS.png -------------------------------------------------------------------------------- /libvis/third_party/libpng/contrib/testpngs/palette-2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/puzzlepaint/surfelmeshing/bdee93ef81658ef26fe48e6dd75a985919a4c03f/libvis/third_party/libpng/contrib/testpngs/palette-2.png -------------------------------------------------------------------------------- /libvis/third_party/libpng/contrib/testpngs/palette-4-1.8-tRNS.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/puzzlepaint/surfelmeshing/bdee93ef81658ef26fe48e6dd75a985919a4c03f/libvis/third_party/libpng/contrib/testpngs/palette-4-1.8-tRNS.png -------------------------------------------------------------------------------- /libvis/third_party/libpng/contrib/testpngs/palette-4-1.8.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/puzzlepaint/surfelmeshing/bdee93ef81658ef26fe48e6dd75a985919a4c03f/libvis/third_party/libpng/contrib/testpngs/palette-4-1.8.png -------------------------------------------------------------------------------- /libvis/third_party/libpng/contrib/testpngs/palette-4-linear-tRNS.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/puzzlepaint/surfelmeshing/bdee93ef81658ef26fe48e6dd75a985919a4c03f/libvis/third_party/libpng/contrib/testpngs/palette-4-linear-tRNS.png -------------------------------------------------------------------------------- /libvis/third_party/libpng/contrib/testpngs/palette-4-linear.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/puzzlepaint/surfelmeshing/bdee93ef81658ef26fe48e6dd75a985919a4c03f/libvis/third_party/libpng/contrib/testpngs/palette-4-linear.png -------------------------------------------------------------------------------- /libvis/third_party/libpng/contrib/testpngs/palette-4-sRGB-tRNS.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/puzzlepaint/surfelmeshing/bdee93ef81658ef26fe48e6dd75a985919a4c03f/libvis/third_party/libpng/contrib/testpngs/palette-4-sRGB-tRNS.png -------------------------------------------------------------------------------- /libvis/third_party/libpng/contrib/testpngs/palette-4-sRGB.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/puzzlepaint/surfelmeshing/bdee93ef81658ef26fe48e6dd75a985919a4c03f/libvis/third_party/libpng/contrib/testpngs/palette-4-sRGB.png -------------------------------------------------------------------------------- /libvis/third_party/libpng/contrib/testpngs/palette-4-tRNS.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/puzzlepaint/surfelmeshing/bdee93ef81658ef26fe48e6dd75a985919a4c03f/libvis/third_party/libpng/contrib/testpngs/palette-4-tRNS.png -------------------------------------------------------------------------------- /libvis/third_party/libpng/contrib/testpngs/palette-4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/puzzlepaint/surfelmeshing/bdee93ef81658ef26fe48e6dd75a985919a4c03f/libvis/third_party/libpng/contrib/testpngs/palette-4.png -------------------------------------------------------------------------------- /libvis/third_party/libpng/contrib/testpngs/palette-8-1.8-tRNS.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/puzzlepaint/surfelmeshing/bdee93ef81658ef26fe48e6dd75a985919a4c03f/libvis/third_party/libpng/contrib/testpngs/palette-8-1.8-tRNS.png -------------------------------------------------------------------------------- /libvis/third_party/libpng/contrib/testpngs/palette-8-1.8.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/puzzlepaint/surfelmeshing/bdee93ef81658ef26fe48e6dd75a985919a4c03f/libvis/third_party/libpng/contrib/testpngs/palette-8-1.8.png -------------------------------------------------------------------------------- /libvis/third_party/libpng/contrib/testpngs/palette-8-linear-tRNS.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/puzzlepaint/surfelmeshing/bdee93ef81658ef26fe48e6dd75a985919a4c03f/libvis/third_party/libpng/contrib/testpngs/palette-8-linear-tRNS.png -------------------------------------------------------------------------------- /libvis/third_party/libpng/contrib/testpngs/palette-8-linear.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/puzzlepaint/surfelmeshing/bdee93ef81658ef26fe48e6dd75a985919a4c03f/libvis/third_party/libpng/contrib/testpngs/palette-8-linear.png -------------------------------------------------------------------------------- /libvis/third_party/libpng/contrib/testpngs/palette-8-sRGB-tRNS.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/puzzlepaint/surfelmeshing/bdee93ef81658ef26fe48e6dd75a985919a4c03f/libvis/third_party/libpng/contrib/testpngs/palette-8-sRGB-tRNS.png -------------------------------------------------------------------------------- /libvis/third_party/libpng/contrib/testpngs/palette-8-sRGB.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/puzzlepaint/surfelmeshing/bdee93ef81658ef26fe48e6dd75a985919a4c03f/libvis/third_party/libpng/contrib/testpngs/palette-8-sRGB.png -------------------------------------------------------------------------------- /libvis/third_party/libpng/contrib/testpngs/palette-8-tRNS.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/puzzlepaint/surfelmeshing/bdee93ef81658ef26fe48e6dd75a985919a4c03f/libvis/third_party/libpng/contrib/testpngs/palette-8-tRNS.png -------------------------------------------------------------------------------- /libvis/third_party/libpng/contrib/testpngs/palette-8.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/puzzlepaint/surfelmeshing/bdee93ef81658ef26fe48e6dd75a985919a4c03f/libvis/third_party/libpng/contrib/testpngs/palette-8.png -------------------------------------------------------------------------------- /libvis/third_party/libpng/contrib/testpngs/rgb-16-1.8-tRNS.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/puzzlepaint/surfelmeshing/bdee93ef81658ef26fe48e6dd75a985919a4c03f/libvis/third_party/libpng/contrib/testpngs/rgb-16-1.8-tRNS.png -------------------------------------------------------------------------------- /libvis/third_party/libpng/contrib/testpngs/rgb-16-1.8.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/puzzlepaint/surfelmeshing/bdee93ef81658ef26fe48e6dd75a985919a4c03f/libvis/third_party/libpng/contrib/testpngs/rgb-16-1.8.png -------------------------------------------------------------------------------- /libvis/third_party/libpng/contrib/testpngs/rgb-16-linear-tRNS.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/puzzlepaint/surfelmeshing/bdee93ef81658ef26fe48e6dd75a985919a4c03f/libvis/third_party/libpng/contrib/testpngs/rgb-16-linear-tRNS.png -------------------------------------------------------------------------------- /libvis/third_party/libpng/contrib/testpngs/rgb-16-linear.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/puzzlepaint/surfelmeshing/bdee93ef81658ef26fe48e6dd75a985919a4c03f/libvis/third_party/libpng/contrib/testpngs/rgb-16-linear.png -------------------------------------------------------------------------------- /libvis/third_party/libpng/contrib/testpngs/rgb-16-sRGB-tRNS.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/puzzlepaint/surfelmeshing/bdee93ef81658ef26fe48e6dd75a985919a4c03f/libvis/third_party/libpng/contrib/testpngs/rgb-16-sRGB-tRNS.png -------------------------------------------------------------------------------- /libvis/third_party/libpng/contrib/testpngs/rgb-16-sRGB.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/puzzlepaint/surfelmeshing/bdee93ef81658ef26fe48e6dd75a985919a4c03f/libvis/third_party/libpng/contrib/testpngs/rgb-16-sRGB.png -------------------------------------------------------------------------------- /libvis/third_party/libpng/contrib/testpngs/rgb-16-tRNS.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/puzzlepaint/surfelmeshing/bdee93ef81658ef26fe48e6dd75a985919a4c03f/libvis/third_party/libpng/contrib/testpngs/rgb-16-tRNS.png -------------------------------------------------------------------------------- /libvis/third_party/libpng/contrib/testpngs/rgb-16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/puzzlepaint/surfelmeshing/bdee93ef81658ef26fe48e6dd75a985919a4c03f/libvis/third_party/libpng/contrib/testpngs/rgb-16.png -------------------------------------------------------------------------------- /libvis/third_party/libpng/contrib/testpngs/rgb-8-1.8-tRNS.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/puzzlepaint/surfelmeshing/bdee93ef81658ef26fe48e6dd75a985919a4c03f/libvis/third_party/libpng/contrib/testpngs/rgb-8-1.8-tRNS.png -------------------------------------------------------------------------------- /libvis/third_party/libpng/contrib/testpngs/rgb-8-1.8.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/puzzlepaint/surfelmeshing/bdee93ef81658ef26fe48e6dd75a985919a4c03f/libvis/third_party/libpng/contrib/testpngs/rgb-8-1.8.png -------------------------------------------------------------------------------- /libvis/third_party/libpng/contrib/testpngs/rgb-8-linear-tRNS.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/puzzlepaint/surfelmeshing/bdee93ef81658ef26fe48e6dd75a985919a4c03f/libvis/third_party/libpng/contrib/testpngs/rgb-8-linear-tRNS.png -------------------------------------------------------------------------------- /libvis/third_party/libpng/contrib/testpngs/rgb-8-linear.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/puzzlepaint/surfelmeshing/bdee93ef81658ef26fe48e6dd75a985919a4c03f/libvis/third_party/libpng/contrib/testpngs/rgb-8-linear.png -------------------------------------------------------------------------------- /libvis/third_party/libpng/contrib/testpngs/rgb-8-sRGB-tRNS.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/puzzlepaint/surfelmeshing/bdee93ef81658ef26fe48e6dd75a985919a4c03f/libvis/third_party/libpng/contrib/testpngs/rgb-8-sRGB-tRNS.png -------------------------------------------------------------------------------- /libvis/third_party/libpng/contrib/testpngs/rgb-8-sRGB.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/puzzlepaint/surfelmeshing/bdee93ef81658ef26fe48e6dd75a985919a4c03f/libvis/third_party/libpng/contrib/testpngs/rgb-8-sRGB.png -------------------------------------------------------------------------------- /libvis/third_party/libpng/contrib/testpngs/rgb-8-tRNS.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/puzzlepaint/surfelmeshing/bdee93ef81658ef26fe48e6dd75a985919a4c03f/libvis/third_party/libpng/contrib/testpngs/rgb-8-tRNS.png -------------------------------------------------------------------------------- /libvis/third_party/libpng/contrib/testpngs/rgb-8.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/puzzlepaint/surfelmeshing/bdee93ef81658ef26fe48e6dd75a985919a4c03f/libvis/third_party/libpng/contrib/testpngs/rgb-8.png -------------------------------------------------------------------------------- /libvis/third_party/libpng/contrib/testpngs/rgb-alpha-16-1.8.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/puzzlepaint/surfelmeshing/bdee93ef81658ef26fe48e6dd75a985919a4c03f/libvis/third_party/libpng/contrib/testpngs/rgb-alpha-16-1.8.png -------------------------------------------------------------------------------- /libvis/third_party/libpng/contrib/testpngs/rgb-alpha-16-linear.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/puzzlepaint/surfelmeshing/bdee93ef81658ef26fe48e6dd75a985919a4c03f/libvis/third_party/libpng/contrib/testpngs/rgb-alpha-16-linear.png -------------------------------------------------------------------------------- /libvis/third_party/libpng/contrib/testpngs/rgb-alpha-16-sRGB.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/puzzlepaint/surfelmeshing/bdee93ef81658ef26fe48e6dd75a985919a4c03f/libvis/third_party/libpng/contrib/testpngs/rgb-alpha-16-sRGB.png -------------------------------------------------------------------------------- /libvis/third_party/libpng/contrib/testpngs/rgb-alpha-16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/puzzlepaint/surfelmeshing/bdee93ef81658ef26fe48e6dd75a985919a4c03f/libvis/third_party/libpng/contrib/testpngs/rgb-alpha-16.png -------------------------------------------------------------------------------- /libvis/third_party/libpng/contrib/testpngs/rgb-alpha-8-1.8.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/puzzlepaint/surfelmeshing/bdee93ef81658ef26fe48e6dd75a985919a4c03f/libvis/third_party/libpng/contrib/testpngs/rgb-alpha-8-1.8.png -------------------------------------------------------------------------------- /libvis/third_party/libpng/contrib/testpngs/rgb-alpha-8-linear.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/puzzlepaint/surfelmeshing/bdee93ef81658ef26fe48e6dd75a985919a4c03f/libvis/third_party/libpng/contrib/testpngs/rgb-alpha-8-linear.png -------------------------------------------------------------------------------- /libvis/third_party/libpng/contrib/testpngs/rgb-alpha-8-sRGB.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/puzzlepaint/surfelmeshing/bdee93ef81658ef26fe48e6dd75a985919a4c03f/libvis/third_party/libpng/contrib/testpngs/rgb-alpha-8-sRGB.png -------------------------------------------------------------------------------- /libvis/third_party/libpng/contrib/testpngs/rgb-alpha-8.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/puzzlepaint/surfelmeshing/bdee93ef81658ef26fe48e6dd75a985919a4c03f/libvis/third_party/libpng/contrib/testpngs/rgb-alpha-8.png -------------------------------------------------------------------------------- /libvis/third_party/libpng/contrib/tools/README.txt: -------------------------------------------------------------------------------- 1 | This directory (contrib/tools) contains tools used by the authors of libpng. 2 | 3 | Code and data placed in this directory is not required to build libpng, 4 | however the code in this directory has been used to generate data or code in 5 | the body of the libpng source. The source code identifies where this has 6 | been done. Code in this directory may not compile on all operating systems 7 | that libpng supports. 8 | 9 | NO COPYRIGHT RIGHTS ARE CLAIMED TO ANY OF THE FILES IN THIS DIRECTORY. 10 | 11 | To the extent possible under law, the authors have waived all copyright and 12 | related or neighboring rights to this work. This work is published from: 13 | United States. 14 | 15 | The files may be used freely in any way. 16 | 17 | The source code and comments in this directory are the original work of the 18 | people named below. No other person or organization has made contributions to 19 | the work in this directory. 20 | 21 | ORIGINAL AUTHORS 22 | The following people have contributed to the code in this directory. None 23 | of the people below claim any rights with regard to the contents of this 24 | directory. 25 | 26 | John Bowler 27 | Glenn Randers-Pehrson 28 | -------------------------------------------------------------------------------- /libvis/third_party/libpng/contrib/tools/reindent: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | # reindent a libpng C source 4 | 5 | # COPYRIGHT: Written by Glenn Randers-Pehrson, 2016. 6 | # To the extent possible under law, the author has waived all copyright and 7 | # related or neighboring rights to this work. This work is published from: 8 | # United States. 9 | 10 | # Usage: 11 | # reindent inputtabsize outputtabsize inputcontinuestring outputcontinuestring 12 | # 13 | # Assumes that continued lines begin with indentation plus one space, and 14 | # that continued comments begin with indentation plus " *". 15 | # 16 | # eg, to change libpng coding style from 3-space indentation with 4-space 17 | # continuations to 4-space indentation with 2-space continuations: 18 | # 19 | # reindent 3 4 "\t " " " < example.c > example.c_4_2 20 | # and to restore the file back to libpng coding style 21 | # reindent 4 3 " " " " < example.c_4_2 > example.c_3_4 22 | 23 | unexpand --first-only --t $1 | \ 24 | sed -e "/^ *$3[^\*]/{s/$3/$4/}" | \ 25 | expand -t $2 26 | -------------------------------------------------------------------------------- /libvis/third_party/libpng/contrib/tools/sRGB.h: -------------------------------------------------------------------------------- 1 | /*- 2 | * sRGB.h 3 | * 4 | * Last changed in libpng 1.6.0 [February 14, 2013] 5 | * 6 | * COPYRIGHT: Written by John Cunningham Bowler, 2013. 7 | * To the extent possible under law, the author has waived all copyright and 8 | * related or neighboring rights to this work. This work is published from: 9 | * United States. 10 | * 11 | * Utility file; not actually a header, this contains definitions of sRGB 12 | * calculation functions for inclusion in those test programs that need them. 13 | * 14 | * All routines take and return a floating point value in the range 15 | * 0 to 1.0, doing a calculation according to the sRGB specification 16 | * (in fact the source of the numbers is the wikipedia article at 17 | * https://en.wikipedia.org/wiki/SRGB). 18 | */ 19 | static double 20 | sRGB_from_linear(double l) 21 | { 22 | if (l <= 0.0031308) 23 | l *= 12.92; 24 | 25 | else 26 | l = 1.055 * pow(l, 1/2.4) - 0.055; 27 | 28 | return l; 29 | } 30 | 31 | static double 32 | linear_from_sRGB(double s) 33 | { 34 | if (s <= 0.04045) 35 | return s / 12.92; 36 | 37 | else 38 | return pow((s+0.055)/1.055, 2.4); 39 | } 40 | 41 | static double 42 | YfromRGB(double r, double g, double b) 43 | { 44 | /* Use the sRGB (rounded) coefficients for Rlinear, Glinear, Blinear to get 45 | * the CIE Y value (also linear). 46 | */ 47 | return 0.2126 * r + 0.7152 * g + 0.0722 * b; 48 | } 49 | -------------------------------------------------------------------------------- /libvis/third_party/libpng/contrib/visupng/PngFile.h: -------------------------------------------------------------------------------- 1 | /*------------------------------------------*/ 2 | /* PNGFILE.H -- Header File for pngfile.c*/ 3 | /*------------------------------------------*/ 4 | 5 | /* Copyright 2000, Willem van Schaik.*/ 6 | 7 | /* This code is released under the libpng license.*/ 8 | /* For conditions of distribution and use, see the disclaimer*/ 9 | /* and license in png.h*/ 10 | 11 | #include 12 | #include 13 | #include 14 | #include 15 | 16 | void PngFileInitialize (HWND hwnd) ; 17 | BOOL PngFileOpenDlg (HWND hwnd, PTSTR pstrFileName, PTSTR pstrTitleName) ; 18 | BOOL PngFileSaveDlg (HWND hwnd, PTSTR pstrFileName, PTSTR pstrTitleName) ; 19 | 20 | BOOL PngLoadImage (PTSTR pstrFileName, png_byte **ppbImageData, 21 | int *piWidth, int *piHeight, int *piChannels, png_color *pBkgColor); 22 | BOOL PngSaveImage (PTSTR pstrFileName, png_byte *pDiData, 23 | int iWidth, int iHeight, png_color BkgColor); 24 | 25 | #ifndef PNG_STDIO_SUPPORTED 26 | static void png_read_data(png_structp png_ptr, png_bytep data, size_t length); 27 | static void png_write_data(png_structp png_ptr, png_bytep data, size_t length); 28 | static void png_flush(png_structp png_ptr); 29 | #endif 30 | 31 | -------------------------------------------------------------------------------- /libvis/third_party/libpng/contrib/visupng/VisualPng.dsw: -------------------------------------------------------------------------------- 1 | Microsoft Developer Studio Workspace File, Format Version 6.00 2 | # WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! 3 | 4 | ############################################################################### 5 | 6 | Project: "VisualPng"=.\VisualPng.dsp - Package Owner=<4> 7 | 8 | Package=<5> 9 | {{{ 10 | }}} 11 | 12 | Package=<4> 13 | {{{ 14 | }}} 15 | 16 | ############################################################################### 17 | 18 | Global: 19 | 20 | Package=<5> 21 | {{{ 22 | }}} 23 | 24 | Package=<3> 25 | {{{ 26 | }}} 27 | 28 | ############################################################################### 29 | 30 | -------------------------------------------------------------------------------- /libvis/third_party/libpng/contrib/visupng/VisualPng.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/puzzlepaint/surfelmeshing/bdee93ef81658ef26fe48e6dd75a985919a4c03f/libvis/third_party/libpng/contrib/visupng/VisualPng.ico -------------------------------------------------------------------------------- /libvis/third_party/libpng/contrib/visupng/VisualPng.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/puzzlepaint/surfelmeshing/bdee93ef81658ef26fe48e6dd75a985919a4c03f/libvis/third_party/libpng/contrib/visupng/VisualPng.png -------------------------------------------------------------------------------- /libvis/third_party/libpng/contrib/visupng/resource.h: -------------------------------------------------------------------------------- 1 | //{{NO_DEPENDENCIES}} 2 | // Microsoft Developer Studio generated include file. 3 | // Used by VisualPng.rc 4 | // 5 | #define IDM_FILE_OPEN 40001 6 | #define IDM_FILE_SAVE 40002 7 | #define IDM_FILE_NEXT 40003 8 | #define IDM_FILE_PREVIOUS 40004 9 | #define IDM_FILE_EXIT 40005 10 | #define IDM_OPTIONS_BACKGROUND 40006 11 | #define IDM_OPTIONS_STRETCH 40007 12 | #define IDM_HELP_ABOUT 40008 13 | 14 | // Next default values for new objects 15 | // 16 | #ifdef APSTUDIO_INVOKED 17 | #ifndef APSTUDIO_READONLY_SYMBOLS 18 | #define _APS_NEXT_RESOURCE_VALUE 113 19 | #define _APS_NEXT_COMMAND_VALUE 40009 20 | #define _APS_NEXT_CONTROL_VALUE 1001 21 | #define _APS_NEXT_SYMED_VALUE 101 22 | #endif 23 | #endif 24 | -------------------------------------------------------------------------------- /libvis/third_party/libpng/intel/intel_init.c: -------------------------------------------------------------------------------- 1 | 2 | /* intel_init.c - SSE2 optimized filter functions 3 | * 4 | * Copyright (c) 2018 Cosmin Truta 5 | * Copyright (c) 2016-2017 Glenn Randers-Pehrson 6 | * Written by Mike Klein and Matt Sarett, Google, Inc. 7 | * Derived from arm/arm_init.c 8 | * 9 | * This code is released under the libpng license. 10 | * For conditions of distribution and use, see the disclaimer 11 | * and license in png.h 12 | */ 13 | 14 | #include "../pngpriv.h" 15 | 16 | #ifdef PNG_READ_SUPPORTED 17 | #if PNG_INTEL_SSE_IMPLEMENTATION > 0 18 | 19 | void 20 | png_init_filter_functions_sse2(png_structp pp, unsigned int bpp) 21 | { 22 | /* The techniques used to implement each of these filters in SSE operate on 23 | * one pixel at a time. 24 | * So they generally speed up 3bpp images about 3x, 4bpp images about 4x. 25 | * They can scale up to 6 and 8 bpp images and down to 2 bpp images, 26 | * but they'd not likely have any benefit for 1bpp images. 27 | * Most of these can be implemented using only MMX and 64-bit registers, 28 | * but they end up a bit slower than using the equally-ubiquitous SSE2. 29 | */ 30 | png_debug(1, "in png_init_filter_functions_sse2"); 31 | if (bpp == 3) 32 | { 33 | pp->read_filter[PNG_FILTER_VALUE_SUB-1] = png_read_filter_row_sub3_sse2; 34 | pp->read_filter[PNG_FILTER_VALUE_AVG-1] = png_read_filter_row_avg3_sse2; 35 | pp->read_filter[PNG_FILTER_VALUE_PAETH-1] = 36 | png_read_filter_row_paeth3_sse2; 37 | } 38 | else if (bpp == 4) 39 | { 40 | pp->read_filter[PNG_FILTER_VALUE_SUB-1] = png_read_filter_row_sub4_sse2; 41 | pp->read_filter[PNG_FILTER_VALUE_AVG-1] = png_read_filter_row_avg4_sse2; 42 | pp->read_filter[PNG_FILTER_VALUE_PAETH-1] = 43 | png_read_filter_row_paeth4_sse2; 44 | } 45 | 46 | /* No need optimize PNG_FILTER_VALUE_UP. The compiler should 47 | * autovectorize. 48 | */ 49 | } 50 | 51 | #endif /* PNG_INTEL_SSE_IMPLEMENTATION > 0 */ 52 | #endif /* PNG_READ_SUPPORTED */ 53 | -------------------------------------------------------------------------------- /libvis/third_party/libpng/libpng.pc.in: -------------------------------------------------------------------------------- 1 | prefix=@prefix@ 2 | exec_prefix=@exec_prefix@ 3 | libdir=@libdir@ 4 | includedir=@includedir@/libpng@PNGLIB_MAJOR@@PNGLIB_MINOR@ 5 | 6 | Name: libpng 7 | Description: Loads and saves PNG files 8 | Version: @PNGLIB_VERSION@ 9 | Requires: zlib 10 | Libs: -L${libdir} -lpng@PNGLIB_MAJOR@@PNGLIB_MINOR@ 11 | Libs.private: @LIBS@ 12 | Cflags: -I${includedir} 13 | -------------------------------------------------------------------------------- /libvis/third_party/libpng/libpngpf.3: -------------------------------------------------------------------------------- 1 | .TH LIBPNGPF 3 "April 14, 2019" 2 | .SH NAME 3 | libpng \- Portable Network Graphics (PNG) Reference Library 1.6.37 4 | (private functions) 5 | 6 | .SH SYNOPSIS 7 | \fB#include \fI"pngpriv.h" 8 | 9 | \fBAs of libpng version \fP\fI1.5.1\fP\fB, this section is no longer 10 | \fP\fImaintained\fP\fB, now that the private function prototypes are hidden in 11 | \fP\fIpngpriv.h\fP\fB and not accessible to applications. Look in 12 | \fP\fIpngpriv.h\fP\fB for the prototypes and a short description of each 13 | function. 14 | 15 | .SH DESCRIPTION 16 | The functions previously listed here are used privately by libpng and are not 17 | available for use by applications. They are not "exported" to applications 18 | using shared libraries. 19 | 20 | .SH "SEE ALSO" 21 | .BR "png"(5), " libpng"(3), " zlib"(3), " deflate"(5), " " and " zlib"(5) 22 | 23 | .SH AUTHORS 24 | Cosmin Truta, Glenn Randers-Pehrson 25 | -------------------------------------------------------------------------------- /libvis/third_party/libpng/pngbar.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/puzzlepaint/surfelmeshing/bdee93ef81658ef26fe48e6dd75a985919a4c03f/libvis/third_party/libpng/pngbar.jpg -------------------------------------------------------------------------------- /libvis/third_party/libpng/pngbar.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/puzzlepaint/surfelmeshing/bdee93ef81658ef26fe48e6dd75a985919a4c03f/libvis/third_party/libpng/pngbar.png -------------------------------------------------------------------------------- /libvis/third_party/libpng/pngnow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/puzzlepaint/surfelmeshing/bdee93ef81658ef26fe48e6dd75a985919a4c03f/libvis/third_party/libpng/pngnow.png -------------------------------------------------------------------------------- /libvis/third_party/libpng/pngtest.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/puzzlepaint/surfelmeshing/bdee93ef81658ef26fe48e6dd75a985919a4c03f/libvis/third_party/libpng/pngtest.png -------------------------------------------------------------------------------- /libvis/third_party/libpng/pngusr.dfa: -------------------------------------------------------------------------------- 1 | # pngusr.dfa 2 | # 3 | # Build time configuration of libpng 4 | # 5 | # Enter build configuration options in this file 6 | # 7 | # Security settings: by default these limits are unset, you can change them 8 | # here by entering the appropriate values as #defines preceded by '@' (to cause, 9 | # them to be passed through to the build of pnglibconf.h), for example: 10 | # 11 | # @# define PNG_USER_WIDTH_MAX 65535 12 | # @# define PNG_USER_HEIGHT_MAX 65535 13 | # @# define PNG_USER_CHUNK_CACHE_MAX 256 14 | # @# define PNG_USER_CHUNK_MALLOC_MAX 640000 15 | -------------------------------------------------------------------------------- /libvis/third_party/libpng/projects/owatcom/libpng.wpj: -------------------------------------------------------------------------------- 1 | 40 2 | projectIdent 3 | 0 4 | VpeMain 5 | 1 6 | WRect 7 | 256 8 | 0 9 | 8960 10 | 9294 11 | 2 12 | MProject 13 | 3 14 | MCommand 15 | 322 16 | # Locations of zlib and (if required) awk (change as required:) 17 | set zlib=..\..\..\zlib 18 | set awk= 19 | # 20 | @if not exist pngconfig.dfa $(MAKE) $(__MAKEOPTS__) -f pngconfig.mak defaults 21 | @if exist config.inf type config.inf 22 | @echo Checking for the libpng configuration file pnglibconf.h 23 | $(MAKE) $(__MAKEOPTS__) -f pngconfig.mak 24 | 4 25 | MCommand 26 | 19 27 | @type pngconfig.inf 28 | 4 29 | 5 30 | WFileName 31 | 10 32 | libpng.tgt 33 | 6 34 | WFileName 35 | 11 36 | pngtest.tgt 37 | 7 38 | WFileName 39 | 12 40 | pngvalid.tgt 41 | 8 42 | WFileName 43 | 12 44 | pngstest.tgt 45 | 9 46 | WVList 47 | 4 48 | 10 49 | VComponent 50 | 11 51 | WRect 52 | 0 53 | 0 54 | 5638 55 | 4174 56 | 0 57 | 0 58 | 12 59 | WFileName 60 | 10 61 | libpng.tgt 62 | 0 63 | 0 64 | 13 65 | VComponent 66 | 14 67 | WRect 68 | 1280 69 | 1550 70 | 5638 71 | 4174 72 | 0 73 | 0 74 | 15 75 | WFileName 76 | 11 77 | pngtest.tgt 78 | 0 79 | 1 80 | 16 81 | VComponent 82 | 17 83 | WRect 84 | 524 85 | 497 86 | 5638 87 | 4174 88 | 0 89 | 0 90 | 18 91 | WFileName 92 | 12 93 | pngvalid.tgt 94 | 0 95 | 1 96 | 19 97 | VComponent 98 | 20 99 | WRect 100 | 2054 101 | 2701 102 | 5674 103 | 4232 104 | 0 105 | 0 106 | 21 107 | WFileName 108 | 12 109 | pngstest.tgt 110 | 0 111 | 1 112 | 19 113 | -------------------------------------------------------------------------------- /libvis/third_party/libpng/projects/visualc71/PRJ0041.mak: -------------------------------------------------------------------------------- 1 | # Prevent "Cannot find missing dependency..." warnings while compiling 2 | # pngwin.rc (PRJ0041). 3 | 4 | all: $(IntDir)\alloc.h \ 5 | $(IntDir)\fp.h \ 6 | $(IntDir)\m68881.h \ 7 | $(IntDir)\mem.h \ 8 | $(IntDir)\pngusr.h \ 9 | $(IntDir)\strings.h \ 10 | $(IntDir)\unistd.h \ 11 | $(IntDir)\unixio.h 12 | 13 | $(IntDir)\alloc.h \ 14 | $(IntDir)\fp.h \ 15 | $(IntDir)\m68881.h \ 16 | $(IntDir)\mem.h \ 17 | $(IntDir)\pngusr.h \ 18 | $(IntDir)\strings.h \ 19 | $(IntDir)\unistd.h \ 20 | $(IntDir)\unixio.h: 21 | @!echo.>$@ 22 | -------------------------------------------------------------------------------- /libvis/third_party/libpng/projects/visualc71/README_zlib.txt: -------------------------------------------------------------------------------- 1 | /* WARNING: This file was put in the LibPNG distribution for convenience only. 2 | It is expected to be part of the next zlib release under 3 | "projects\visualc71\README.txt." */ 4 | 5 | Microsoft Developer Studio Project File, Format Version 7.10 for zlib. 6 | 7 | Copyright (C) 2004 Simon-Pierre Cadieux. 8 | Copyright (C) 2004 Cosmin Truta. 9 | 10 | This code is released under the libpng license. 11 | For conditions of distribution and use, see copyright notice in zlib.h. 12 | 13 | NOTE: This project will be removed from libpng-1.5.0. It has 14 | been replaced with the "vstudio" project. 15 | 16 | To use: 17 | 18 | 1) On the main menu, select "File | Open Solution". 19 | Open "zlib.sln". 20 | 21 | 2) Display the Solution Explorer view (Ctrl+Alt+L) 22 | 23 | 3) Set one of the project as the StartUp project. If you just want to build the 24 | binaries set "zlib" as the startup project (Select "zlib" tree view item + 25 | Project | Set as StartUp project). If you want to build and test the 26 | binaries set it to "example" (Select "example" tree view item + Project | 27 | Set as StartUp project), If you want to build the minigzip utility set it to 28 | "minigzip" (Select "minigzip" tree view item + Project | Set as StartUp 29 | project 30 | 31 | 4) Select "Build | Configuration Manager...". 32 | Choose the configuration you wish to build. 33 | 34 | 5) Select "Build | Clean Solution". 35 | 36 | 6) Select "Build | Build Solution (Ctrl-Shift-B)" 37 | 38 | This project builds the zlib binaries as follows: 39 | 40 | * Win32_DLL_Release\zlib1.dll DLL build 41 | * Win32_DLL_Debug\zlib1d.dll DLL build (debug version) 42 | * Win32_LIB_Release\zlib.lib static build 43 | * Win32_LIB_Debug\zlibd.lib static build (debug version) 44 | 45 | -------------------------------------------------------------------------------- /libvis/third_party/libpng/scripts/SCOPTIONS.ppc: -------------------------------------------------------------------------------- 1 | OPTIMIZE 2 | OPTPEEP 3 | OPTTIME 4 | OPTSCHED 5 | AUTOREGISTER 6 | PARMS=REGISTERS 7 | INCLUDEDIR=hlp:ppc/include 8 | -------------------------------------------------------------------------------- /libvis/third_party/libpng/scripts/genchk.cmake.in: -------------------------------------------------------------------------------- 1 | # genchk.cmake.in 2 | # Generate .chk from .out with awk (generic), based upon the automake logic. 3 | 4 | # Copyright (C) 2016 Glenn Randers-Pehrson 5 | # Written by Roger Leigh, 2016 6 | 7 | # This code is released under the libpng license. 8 | # For conditions of distribution and use, see the disclaimer 9 | # and license in png.h 10 | 11 | # Variables substituted from CMakeLists.txt 12 | set(SRCDIR "@CMAKE_CURRENT_SOURCE_DIR@") 13 | 14 | set(AWK "@AWK@") 15 | 16 | get_filename_component(INPUTEXT "${INPUT}" EXT) 17 | get_filename_component(OUTPUTEXT "${OUTPUT}" EXT) 18 | get_filename_component(INPUTBASE "${INPUT}" NAME_WE) 19 | get_filename_component(OUTPUTBASE "${OUTPUT}" NAME_WE) 20 | get_filename_component(INPUTDIR "${INPUT}" PATH) 21 | get_filename_component(OUTPUTDIR "${OUTPUT}" PATH) 22 | 23 | if("${INPUTEXT}" STREQUAL ".out" AND "${OUTPUTEXT}" STREQUAL ".chk") 24 | # Generate .chk from .out with awk (generic) 25 | file(REMOVE "${OUTPUT}" "${OUTPUTDIR}/${OUTPUTBASE}.new") 26 | execute_process(COMMAND "${AWK}" -f "${SRCDIR}/scripts/checksym.awk" 27 | "${SRCDIR}/scripts/${INPUTBASE}.def" 28 | "of=${OUTPUTDIR}/${OUTPUTBASE}.new" 29 | "${INPUT}" 30 | RESULT_VARIABLE AWK_FAIL) 31 | if(AWK_FAIL) 32 | message(FATAL_ERROR "Failed to generate ${OUTPUTDIR}/${OUTPUTBASE}.new") 33 | endif() 34 | file(RENAME "${OUTPUTDIR}/${OUTPUTBASE}.new" "${OUTPUT}") 35 | else() 36 | message(FATAL_ERROR "Unsupported conversion: ${INPUTEXT} to ${OUTPUTEXT}") 37 | endif() 38 | -------------------------------------------------------------------------------- /libvis/third_party/libpng/scripts/intprefix.c: -------------------------------------------------------------------------------- 1 | 2 | /* intprefix.c - generate an unprefixed internal symbol list 3 | * 4 | * Last changed in libpng version 1.6.16 [December 22, 2014] 5 | * Copyright (c) 2013-2014 Glenn Randers-Pehrson 6 | * 7 | * This code is released under the libpng license. 8 | * For conditions of distribution and use, see the disclaimer 9 | * and license in png.h 10 | */ 11 | 12 | #define PNG_INTERNAL_DATA(type, name, array)\ 13 | PNG_DFN "@" name "@" 14 | 15 | #define PNG_INTERNAL_FUNCTION(type, name, args, attributes)\ 16 | PNG_DFN "@" name "@" 17 | 18 | #define PNG_INTERNAL_CALLBACK(type, name, args, attributes)\ 19 | PNG_DFN "@" name "@" 20 | 21 | #define PNGPREFIX_H /* self generation */ 22 | #include "../pngpriv.h" 23 | -------------------------------------------------------------------------------- /libvis/third_party/libpng/scripts/libpng-config-head.in: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | 3 | # libpng-config 4 | # provides configuration info for libpng. 5 | 6 | # Copyright (C) 2002 Glenn Randers-Pehrson 7 | 8 | # This code is released under the libpng license. 9 | # For conditions of distribution and use, see the disclaimer 10 | # and license in png.h 11 | 12 | # Modeled after libxml-config. 13 | 14 | version=1.6.37 15 | prefix="" 16 | libdir="" 17 | libs="" 18 | I_opts="" 19 | L_opts="" 20 | R_opts="" 21 | cppflags="" 22 | ccopts="" 23 | ldopts="" 24 | 25 | -------------------------------------------------------------------------------- /libvis/third_party/libpng/scripts/libpng.pc.in: -------------------------------------------------------------------------------- 1 | prefix=@prefix@ 2 | exec_prefix=@exec_prefix@ 3 | libdir=@libdir@ 4 | includedir=@includedir@/libpng16 5 | 6 | Name: libpng 7 | Description: Loads and saves PNG files 8 | Version: 1.6.37 9 | Libs: -L${libdir} -lpng16 10 | Cflags: -I${includedir} 11 | -------------------------------------------------------------------------------- /libvis/third_party/libpng/scripts/ltversion.m4: -------------------------------------------------------------------------------- 1 | # ltversion.m4 -- version numbers -*- Autoconf -*- 2 | # 3 | # Copyright (C) 2004, 2011-2015 Free Software Foundation, Inc. 4 | # Written by Scott James Remnant, 2004 5 | # 6 | # This file is free software; the Free Software Foundation gives 7 | # unlimited permission to copy and/or distribute it, with or without 8 | # modifications, as long as this notice is preserved. 9 | 10 | # @configure_input@ 11 | 12 | # serial 4179 ltversion.m4 13 | # This file is part of GNU Libtool 14 | 15 | m4_define([LT_PACKAGE_VERSION], [2.4.6]) 16 | m4_define([LT_PACKAGE_REVISION], [2.4.6]) 17 | 18 | AC_DEFUN([LTVERSION_VERSION], 19 | [macro_version='2.4.6' 20 | macro_revision='2.4.6' 21 | _LT_DECL(, macro_version, 0, [Which release of libtool.m4 was used?]) 22 | _LT_DECL(, macro_revision, 0) 23 | ]) 24 | -------------------------------------------------------------------------------- /libvis/third_party/libpng/scripts/macro.lst: -------------------------------------------------------------------------------- 1 | get_uint_32(buf) 2 | get_uint_16(buf) 3 | get_int_32(buf) 4 | -------------------------------------------------------------------------------- /libvis/third_party/libpng/scripts/makefile.amiga: -------------------------------------------------------------------------------- 1 | # Commodore Amiga Makefile 2 | # makefile for libpng and SAS C V6.5x compiler 3 | # Copyright (C) 1995-2000 Wolf Faust 4 | # 5 | # This code is released under the libpng license. 6 | # For conditions of distribution and use, see the disclaimer 7 | # and license in png.h 8 | # 9 | # Location/path of zlib include files 10 | ZLIB=/zlib 11 | #compiler 12 | CC=sc 13 | #compiler flags 14 | # WARNING: a bug in V6.51 causes bad code with OPTGO 15 | # So use V6.55 or set NOOPTGO!!!!!!!!! 16 | CFLAGS= NOSTKCHK PARMS=REG OPTIMIZE OPTGO OPTPEEP OPTINLOCAL OPTINL\ 17 | OPTLOOP OPTRDEP=4 OPTDEP=4 OPTCOMP=4 INCLUDEDIR=$(ZLIB) \ 18 | DEFINE=PNG_INTERNAL 19 | #linker flags 20 | LDFLAGS= SD ND BATCH 21 | #link libs 22 | LDLIBS= libpng.lib libgz.lib LIB:scm.lib LIB:sc.lib Lib:amiga.lib 23 | # linker 24 | LN= slink 25 | # file deletion command 26 | RM= delete quiet 27 | # library (.lib) file creation command 28 | AR= oml 29 | # make directory command 30 | MKDIR= makedir 31 | 32 | # Pre-built configuration 33 | # See scripts/pnglibconf.mak for more options 34 | PNGLIBCONF_H_PREBUILT = scripts/pnglibconf.h.prebuilt 35 | 36 | OBJS = png.o pngset.o pngget.o pngrutil.o pngtrans.o pngwutil.o \ 37 | pngread.o pngrio.o pngwio.o pngwrite.o pngrtran.o \ 38 | pngwtran.o pngmem.o pngerror.o pngpread.o 39 | 40 | all: libpng.lib pngtest 41 | 42 | libpng.lib: $(OBJS) 43 | -$(RM) libpng.lib 44 | $(AR) libpng.lib r $(OBJS) 45 | 46 | $(OBJS): pngpriv.h png.h pngconf.h pnglibconf.h pnginfo.h pngstruct.h pngdebug.h 47 | 48 | pnglibconf.h: $(PNGLIBCONF_H_PREBUILT) 49 | COPY $(PNGLIBCONF_H_PREBUILT) TO pnglibconf.h 50 | 51 | pngtest: pngtest.o libpng.lib 52 | $(LN) 56 | -------------------------------------------------------------------------------- /libvis/third_party/libpng/scripts/prefix.c: -------------------------------------------------------------------------------- 1 | 2 | /* prefix.c - generate an unprefixed symbol list 3 | * 4 | * Last changed in libpng version 1.6.16 [December 22, 2014] 5 | * Copyright (c) 2013-2014 Glenn Randers-Pehrson 6 | * 7 | * This code is released under the libpng license. 8 | * For conditions of distribution and use, see the disclaimer 9 | * and license in png.h 10 | */ 11 | 12 | #define PNG_EXPORTA(ordinal, type, name, args, attributes)\ 13 | PNG_DFN "@" name "@" 14 | 15 | /* The configuration information *before* the additional of symbol renames, 16 | * the list is the C name list; no symbol prefix. 17 | */ 18 | #include "pnglibconf.out" 19 | 20 | PNG_DFN_START_SORT 1 21 | 22 | #include "../png.h" 23 | 24 | PNG_DFN_END_SORT 25 | -------------------------------------------------------------------------------- /libvis/third_party/libpng/scripts/smakefile.ppc: -------------------------------------------------------------------------------- 1 | # Amiga powerUP (TM) Makefile 2 | # makefile for libpng and SAS C V6.58/7.00 PPC compiler 3 | # Copyright (C) 1998 by Andreas R. Kleinert 4 | # 5 | # This code is released under the libpng license. 6 | # For conditions of distribution and use, see the disclaimer 7 | # and license in png.h 8 | 9 | CC = scppc 10 | CFLAGS = NOSTKCHK NOSINT OPTIMIZE OPTGO OPTPEEP OPTINLOCAL OPTINL IDIR /zlib \ 11 | OPTLOOP OPTRDEP=8 OPTDEP=8 OPTCOMP=8 12 | LIBNAME = libpng.a 13 | AR = ppc-amigaos-ar 14 | AR_FLAGS = cr 15 | RANLIB = ppc-amigaos-ranlib 16 | LDFLAGS = -r -o 17 | LDLIBS = ../zlib/libzip.a LIB:scppc.a 18 | LN = ppc-amigaos-ld 19 | RM = delete quiet 20 | MKDIR = makedir 21 | 22 | OBJS = png.o pngset.o pngget.o pngrutil.o pngtrans.o pngwutil.o pngread.o \ 23 | pngerror.o pngpread.o pngwrite.o pngrtran.o pngwtran.o pngrio.o \ 24 | pngwio.o pngmem.o 25 | 26 | all: $(LIBNAME) pngtest 27 | 28 | $(LIBNAME): $(OBJS) 29 | $(AR) $(AR_FLAGS) $@ $(OBJS) 30 | $(RANLIB) $@ 31 | 32 | pngtest: pngtest.o $(LIBNAME) 33 | $(LN) $(LDFLAGS) pngtest LIB:c_ppc.o pngtest.o $(LIBNAME) $(LDLIBS) \ 34 | LIB:end.o 35 | -------------------------------------------------------------------------------- /libvis/third_party/libpng/scripts/sym.c: -------------------------------------------------------------------------------- 1 | 2 | /* sym.c - define format of libpng.sym 3 | * 4 | * Last changed in libpng version 1.6.16 [December 22, 2014] 5 | * Copyright (c) 2011-2014 Glenn Randers-Pehrson 6 | * 7 | * This code is released under the libpng license. 8 | * For conditions of distribution and use, see the disclaimer 9 | * and license in png.h 10 | */ 11 | 12 | #define PNG_EXPORTA(ordinal, type, name, args, attributes)\ 13 | PNG_DFN "@" SYMBOL_PREFIX "@@" name "@" 14 | 15 | #include "../png.h" 16 | -------------------------------------------------------------------------------- /libvis/third_party/libpng/scripts/test.cmake.in: -------------------------------------------------------------------------------- 1 | # test.cmake.in 2 | 3 | # Copyright (C) 2016 Glenn Randers-Pehrson 4 | # Written by Roger Leigh, 2016 5 | 6 | # This code is released under the libpng license. 7 | # For conditions of distribution and use, see the disclaimer 8 | # and license in png.h 9 | 10 | set(TEST_OPTIONS "@TEST_OPTIONS@") 11 | set(TEST_FILES "@TEST_FILES@") 12 | 13 | foreach(file ${TEST_FILES}) 14 | file(TO_NATIVE_PATH "${file}" native_file) 15 | list(APPEND NATIVE_TEST_FILES "${native_file}") 16 | endforeach() 17 | 18 | # Add the directory containing libpng to the PATH (Windows only) 19 | if(WIN32) 20 | get_filename_component(LIBPNG_DIR "${LIBPNG}" PATH) 21 | file(TO_NATIVE_PATH "${LIBPNG_DIR}" LIBPNG_DIR) 22 | set(ENV{PATH} "${LIBPNG_DIR};$ENV{PATH}") 23 | endif() 24 | 25 | execute_process(COMMAND "${CMAKE_COMMAND}" -E echo "Running ${TEST_COMMAND}" ${TEST_OPTIONS} ${NATIVE_TEST_FILES}) 26 | 27 | execute_process(COMMAND "${TEST_COMMAND}" ${TEST_OPTIONS} ${NATIVE_TEST_FILES} 28 | RESULT_VARIABLE TEST_STATUS) 29 | if(TEST_STATUS) 30 | message(FATAL_ERROR "Returned failed status ${TEST_STATUS}!") 31 | endif() 32 | -------------------------------------------------------------------------------- /libvis/third_party/libpng/scripts/vers.c: -------------------------------------------------------------------------------- 1 | 2 | /* vers.c - define format of libpng.vers 3 | * 4 | * Last changed in libpng version 1.6.16 [December 22, 2014] 5 | * Copyright (c) 2011-2014 Glenn Randers-Pehrson 6 | * 7 | * This code is released under the libpng license. 8 | * For conditions of distribution and use, see the disclaimer 9 | * and license in png.h 10 | */ 11 | 12 | #define PNG_EXPORTA(ordinal, type, name, args, attributes)\ 13 | PNG_DFN " @" SYMBOL_PREFIX "@@" name "@;" 14 | 15 | PNG_DFN "@" PNGLIB_LIBNAME "@ {global:" 16 | 17 | #include "../png.h" 18 | 19 | PNG_DFN "local: *; };" 20 | -------------------------------------------------------------------------------- /libvis/third_party/libpng/tests/pngimage-full: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | exec ./pngimage --exhaustive --list-combos --log "${srcdir}/contrib/pngsuite/"*.png 3 | -------------------------------------------------------------------------------- /libvis/third_party/libpng/tests/pngimage-quick: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | exec ./pngimage --list-combos --log "${srcdir}/contrib/pngsuite/"*.png 3 | -------------------------------------------------------------------------------- /libvis/third_party/libpng/tests/pngstest: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # 3 | # Usage: 4 | # 5 | # tests/pngstest gamma alpha 6 | # 7 | # Run ./pngstest on the PNG files in $srcdir/contrib/testpngs which have the 8 | # given gamma and opacity: 9 | # 10 | # gamma: one of; linear, 1.8, sRGB, none. 11 | # alpha: one of; opaque, tRNS, alpha, none. 'none' is equivalent to !alpha 12 | # 13 | # NOTE: the temporary files pngstest generates have the base name gamma-alpha to 14 | # avoid issues with make -j 15 | # 16 | gamma="$1" 17 | shift 18 | alpha="$1" 19 | shift 20 | args= 21 | LC_ALL="C" # fix glob sort order to ASCII: 22 | for f in "${srcdir}/contrib/testpngs/"*.png 23 | do 24 | g= 25 | case "$f" in 26 | *-linear[.-]*) 27 | test "$gamma" = "linear" && g="$f";; 28 | 29 | *-sRGB[.-]*) 30 | test "$gamma" = "sRGB" && g="$f";; 31 | 32 | *-1.8[.-]*) 33 | test "$gamma" = "1.8" && g="$f";; 34 | 35 | *) 36 | test "$gamma" = "none" && g="$f";; 37 | esac 38 | 39 | case "$g" in 40 | "") 41 | :;; 42 | 43 | *-alpha[-.]*) 44 | test "$alpha" = "alpha" && args="$args $g";; 45 | 46 | *-tRNS[-.]*) 47 | test "$alpha" = "tRNS" -o "$alpha" = "none" && args="$args $g";; 48 | 49 | *) 50 | test "$alpha" = "opaque" -o "$alpha" = "none" && args="$args $g";; 51 | esac 52 | done 53 | # This only works if the arguments don't contain spaces; they don't. 54 | exec ./pngstest --tmpfile "${gamma}-${alpha}-" --log ${1+"$@"} $args 55 | -------------------------------------------------------------------------------- /libvis/third_party/libpng/tests/pngstest-1.8: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | exec "${srcdir}/tests/pngstest" 1.8 none 3 | -------------------------------------------------------------------------------- /libvis/third_party/libpng/tests/pngstest-1.8-alpha: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | exec "${srcdir}/tests/pngstest" 1.8 alpha 3 | -------------------------------------------------------------------------------- /libvis/third_party/libpng/tests/pngstest-linear: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | exec "${srcdir}/tests/pngstest" linear none 3 | -------------------------------------------------------------------------------- /libvis/third_party/libpng/tests/pngstest-linear-alpha: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | exec "${srcdir}/tests/pngstest" linear alpha 3 | -------------------------------------------------------------------------------- /libvis/third_party/libpng/tests/pngstest-none: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | exec "${srcdir}/tests/pngstest" none none 3 | -------------------------------------------------------------------------------- /libvis/third_party/libpng/tests/pngstest-none-alpha: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | exec "${srcdir}/tests/pngstest" none alpha 3 | -------------------------------------------------------------------------------- /libvis/third_party/libpng/tests/pngstest-sRGB: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | exec "${srcdir}/tests/pngstest" sRGB none 3 | -------------------------------------------------------------------------------- /libvis/third_party/libpng/tests/pngstest-sRGB-alpha: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | exec "${srcdir}/tests/pngstest" sRGB alpha 3 | -------------------------------------------------------------------------------- /libvis/third_party/libpng/tests/pngtest: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | exec ./pngtest --strict ${srcdir}/pngtest.png 3 | -------------------------------------------------------------------------------- /libvis/third_party/libpng/tests/pngtest-badpngs: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | # various crashers 4 | # using --relaxed because some come from fuzzers that don't maintain CRC's 5 | 6 | ./pngtest --relaxed ${srcdir}/contrib/testpngs/crashers/badcrc.png 7 | ./pngtest --relaxed ${srcdir}/contrib/testpngs/crashers/badadler.png 8 | ./pngtest --xfail ${srcdir}/contrib/testpngs/crashers/bad_iCCP.png 9 | ./pngtest --xfail ${srcdir}/contrib/testpngs/crashers/empty_ancillary_chunks.png 10 | ./pngtest --xfail ${srcdir}/contrib/testpngs/crashers/huge_*_chunk.png \ 11 | ${srcdir}/contrib/testpngs/crashers/huge_*safe_to_copy.png 12 | 13 | exec ./pngtest --xfail ${srcdir}/contrib/testpngs/crashers/huge_IDAT.png 14 | -------------------------------------------------------------------------------- /libvis/third_party/libpng/tests/pngunknown-IDAT: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | exec ./pngunknown --strict default=discard IDAT=save "${srcdir}/pngtest.png" 3 | -------------------------------------------------------------------------------- /libvis/third_party/libpng/tests/pngunknown-discard: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | exec ./pngunknown --strict default=discard "${srcdir}/pngtest.png" 3 | -------------------------------------------------------------------------------- /libvis/third_party/libpng/tests/pngunknown-if-safe: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | exec ./pngunknown --strict default=if-safe "${srcdir}/pngtest.png" 3 | -------------------------------------------------------------------------------- /libvis/third_party/libpng/tests/pngunknown-sAPI: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | exec ./pngunknown --strict bKGD=save cHRM=save gAMA=save all=discard iCCP=save sBIT=save sRGB=save eXIf=save "${srcdir}/pngtest.png" 3 | -------------------------------------------------------------------------------- /libvis/third_party/libpng/tests/pngunknown-sTER: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | exec ./pngunknown --strict sTER=if-safe "${srcdir}/pngtest.png" 3 | -------------------------------------------------------------------------------- /libvis/third_party/libpng/tests/pngunknown-save: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | exec ./pngunknown --strict default=save "${srcdir}/pngtest.png" 3 | -------------------------------------------------------------------------------- /libvis/third_party/libpng/tests/pngunknown-vpAg: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | exec ./pngunknown --strict vpAg=if-safe "${srcdir}/pngtest.png" 3 | -------------------------------------------------------------------------------- /libvis/third_party/libpng/tests/pngvalid-gamma-16-to-8: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | exec ./pngvalid --strict --gamma-16-to-8 3 | -------------------------------------------------------------------------------- /libvis/third_party/libpng/tests/pngvalid-gamma-alpha-mode: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | exec ./pngvalid --strict --gamma-alpha-mode 3 | -------------------------------------------------------------------------------- /libvis/third_party/libpng/tests/pngvalid-gamma-background: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | exec ./pngvalid --strict --gamma-background 3 | -------------------------------------------------------------------------------- /libvis/third_party/libpng/tests/pngvalid-gamma-expand16-alpha-mode: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | exec ./pngvalid --strict --gamma-alpha-mode --expand16 3 | -------------------------------------------------------------------------------- /libvis/third_party/libpng/tests/pngvalid-gamma-expand16-background: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | exec ./pngvalid --strict --gamma-background --expand16 3 | -------------------------------------------------------------------------------- /libvis/third_party/libpng/tests/pngvalid-gamma-expand16-transform: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | exec ./pngvalid --strict --gamma-transform --expand16 3 | -------------------------------------------------------------------------------- /libvis/third_party/libpng/tests/pngvalid-gamma-sbit: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | exec ./pngvalid --strict --gamma-sbit 3 | -------------------------------------------------------------------------------- /libvis/third_party/libpng/tests/pngvalid-gamma-threshold: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | exec ./pngvalid --strict --gamma-threshold 3 | -------------------------------------------------------------------------------- /libvis/third_party/libpng/tests/pngvalid-gamma-transform: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | exec ./pngvalid --strict --gamma-transform 3 | -------------------------------------------------------------------------------- /libvis/third_party/libpng/tests/pngvalid-progressive-interlace-standard: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | exec ./pngvalid --strict --standard --progressive-read --interlace 3 | -------------------------------------------------------------------------------- /libvis/third_party/libpng/tests/pngvalid-progressive-size: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | exec ./pngvalid --strict --size --progressive-read 3 | -------------------------------------------------------------------------------- /libvis/third_party/libpng/tests/pngvalid-progressive-standard: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | exec ./pngvalid --strict --standard --progressive-read 3 | -------------------------------------------------------------------------------- /libvis/third_party/libpng/tests/pngvalid-standard: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | exec ./pngvalid --strict --standard 3 | -------------------------------------------------------------------------------- /libvis/third_party/libpng/tests/pngvalid-transform: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | exec ./pngvalid --strict --transform 3 | -------------------------------------------------------------------------------- /libvis/third_party/sophus/.gitignore: -------------------------------------------------------------------------------- 1 | build 2 | CMakeLists.txt.user 3 | -------------------------------------------------------------------------------- /libvis/third_party/sophus/LICENSE.txt: -------------------------------------------------------------------------------- 1 | Copyright 2011-2017 Hauke Strasdat 2 | 2012-2017 Steven Lovegrove 3 | 4 | Permission is hereby granted, free of charge, to any person obtaining a copy 5 | of this software and associated documentation files (the "Software"), to 6 | deal in the Software without restriction, including without limitation the 7 | rights to use, copy, modify, merge, publish, distribute, sublicense, and/or 8 | sell copies of the Software, and to permit persons to whom the Software is 9 | furnished to do so, subject to the following conditions: 10 | 11 | The above copyright notice and this permission notice shall be included in 12 | all copies or substantial portions of the Software. 13 | 14 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 15 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 16 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 17 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 18 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 19 | FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS 20 | IN THE SOFTWARE. -------------------------------------------------------------------------------- /libvis/third_party/sophus/README.rst: -------------------------------------------------------------------------------- 1 | linux, os x: |TravisCI|_ windows: |AppVeyor|_ code coverage: |ci_cov|_ 2 | 3 | 4 | Sophus 5 | ====== 6 | 7 | Overview 8 | -------- 9 | 10 | This is a c++ implementation of Lie groups commonly used for 2d and 3d 11 | geometric problems (i.e. for Computer Vision or Robotics applications). 12 | Among others, this package includes the special orthogonal groups SO(2) and 13 | SO(3) to present rotations in 2d and 3d as well as the special Euclidean group 14 | SE(2) and SE(3) to represent rigid body transformations (i.e. rotations and 15 | translations) in 2d and 3d. 16 | 17 | Cross platform support 18 | ---------------------- 19 | 20 | Sophus compiles with clang and gcc on Linux and OS X as well as msvc on Windows. 21 | The specific compiler and operating system versions which are supported are 22 | the ones which are used in the Continuous Integration (CI): See TravisCI_ and 23 | AppVeyor_ for details. 24 | 25 | However, it should work (with no to minor modification) on many other 26 | modern configurations as long they support c++11, CMake, and Eigen 3.X. 27 | 28 | .. |TravisCI| image:: https://travis-ci.org/strasdat/Sophus.svg?branch=master 29 | .. _TravisCI: https://travis-ci.org/strasdat/Sophus 30 | 31 | .. |AppVeyor| image:: https://ci.appveyor.com/api/projects/status/um4285lwhs8ci7pt/branch/master?svg=true 32 | .. _AppVeyor: https://ci.appveyor.com/project/strasdat/sophus/branch/master 33 | 34 | .. |ci_cov| image:: https://coveralls.io/repos/github/strasdat/Sophus/badge.svg?branch=master 35 | .. _ci_cov: https://coveralls.io/github/strasdat/Sophus?branch=master 36 | -------------------------------------------------------------------------------- /libvis/third_party/sophus/SophusConfig.cmake.in: -------------------------------------------------------------------------------- 1 | ################################################################################ 2 | # Sophus source dir 3 | set( Sophus_SOURCE_DIR "@CONFIG_SOURCE_DIR@") 4 | 5 | ################################################################################ 6 | # Sophus build dir 7 | set( Sophus_DIR "@CONFIG_DIR@") 8 | 9 | ################################################################################ 10 | # Compute paths 11 | get_filename_component(Sophus_CMAKE_DIR "${CMAKE_CURRENT_LIST_FILE}" PATH) 12 | 13 | set( Sophus_INCLUDE_DIR "@Sophus_INCLUDE_DIR@" ) 14 | set( Sophus_INCLUDE_DIRS "@Sophus_INCLUDE_DIR@" ) -------------------------------------------------------------------------------- /libvis/third_party/sophus/appveyor.yml: -------------------------------------------------------------------------------- 1 | branches: 2 | only: 3 | - master 4 | 5 | os: Visual Studio 2015 6 | 7 | clone_folder: c:\projects\sophus 8 | 9 | platform: x64 10 | configuration: Release 11 | 12 | build: 13 | project: c:\projects\sophus\build\Sophus.sln 14 | 15 | install: 16 | - ps: wget http://bitbucket.org/eigen/eigen/get/3.2.10.zip -outfile eigen3.zip 17 | - cmd: 7z x eigen3.zip -o"C:\projects" -y > nul 18 | 19 | before_build: 20 | - cd c:\projects\sophus 21 | - mkdir build 22 | - cd build 23 | - cmake -G "Visual Studio 14 2015 Win64" -D EIGEN3_INCLUDE_DIR=C:\projects\eigen-eigen-b9cd8366d4e8 .. 24 | 25 | after_build: 26 | - ctest 27 | -------------------------------------------------------------------------------- /libvis/third_party/sophus/run_format.sh: -------------------------------------------------------------------------------- 1 | find . -iname *.hpp -o -iname *.cpp | xargs clang-format -i 2 | -------------------------------------------------------------------------------- /libvis/third_party/sophus/sophus/example_ensure_handler.cpp: -------------------------------------------------------------------------------- 1 | #include "common.hpp" 2 | 3 | #include 4 | #include 5 | 6 | namespace Sophus { 7 | void ensureFailed(char const* function, char const* file, int line, 8 | char const* description) { 9 | std::printf("Sophus ensure failed in function '%s', file '%s', line %d.\n", 10 | file, function, line); 11 | std::printf("Description: %s\n", description); 12 | std::abort(); 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /libvis/third_party/sophus/sophus/interpolate.hpp: -------------------------------------------------------------------------------- 1 | #ifndef SOPHUS_INTERPOLATE_HPP 2 | #define SOPHUS_INTERPOLATE_HPP 3 | 4 | #include 5 | 6 | #include "interpolate_details.hpp" 7 | 8 | namespace Sophus { 9 | 10 | // This function interpolates between two Lie group elements ``foo_T_bar`` 11 | // and ``foo_T_baz`` with an interpolation factor of ``alpha`` in [0, 1]. 12 | // 13 | // It returns a pose ``foo_T_quiz`` with ``quiz`` being a frame between ``bar`` 14 | // and ``baz``. If ``alpha=0`` it returns ``foo_T_bar``. If it is 1, it returns 15 | // ``foo_T_bar``. 16 | // 17 | // (Since interpolation on Lie groups is inverse-invariant, we can equivalently 18 | // think of the input arguments as being ``bar_T_foo``, ``baz_T_foo`` and the 19 | // return value being ``quiz_T_foo``.) 20 | // 21 | // Precondition: ``p`` must be in [0, 1]. 22 | // 23 | template 24 | enable_if_t::supported, G> interpolate( 25 | G const& foo_T_bar, G const& foo_T_baz, Scalar2 p = Scalar2(0.5f)) { 26 | using Scalar = typename G::Scalar; 27 | Scalar inter_p(p); 28 | SOPHUS_ENSURE(inter_p >= Scalar(0) && inter_p <= Scalar(1), 29 | "p (%) must in [0, 1]."); 30 | return foo_T_bar * G::exp(inter_p * (foo_T_bar.inverse() * foo_T_baz).log()); 31 | } 32 | 33 | } // namespace Sophus 34 | 35 | #endif // SOPHUS_INTERPOLATE_HPP 36 | -------------------------------------------------------------------------------- /libvis/third_party/sophus/test/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | ADD_SUBDIRECTORY(core) 2 | ADD_SUBDIRECTORY(ceres) 3 | -------------------------------------------------------------------------------- /libvis/third_party/sophus/test/ceres/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # Make sure Ceres knows where to find Eigen 2 | list(APPEND SEARCH_HEADERS ${EIGEN3_INCLUDE_DIR}) 3 | 4 | # git clone https://ceres-solver.googlesource.com/ceres-solver 5 | find_package( Ceres 1.6.0 QUIET ) 6 | 7 | if( Ceres_FOUND ) 8 | # Ensure that ${Sophus_INCLUDE_DIR} is first on search path 9 | INCLUDE_DIRECTORIES( BEFORE ${Sophus_INCLUDE_DIR} ${CERES_INCLUDES}) 10 | 11 | MESSAGE(STATUS "CERES found") 12 | 13 | # Tests to run 14 | SET( TEST_SOURCES test_ceres_se3 ) 15 | 16 | FOREACH(test_src ${TEST_SOURCES}) 17 | ADD_EXECUTABLE( ${test_src} ${test_src}.cpp local_parameterization_se3) 18 | TARGET_LINK_LIBRARIES( ${test_src} ${CERES_LIBRARIES} ) 19 | ADD_TEST( ${test_src} ${test_src} ) 20 | ENDFOREACH(test_src) 21 | 22 | endif( Ceres_FOUND ) 23 | -------------------------------------------------------------------------------- /libvis/third_party/sophus/test/ceres/local_parameterization_se3.hpp: -------------------------------------------------------------------------------- 1 | #ifndef SOPHUS_TEST_LOCAL_PARAMETERIZATION_SE3_HPP 2 | #define SOPHUS_TEST_LOCAL_PARAMETERIZATION_SE3_HPP 3 | 4 | #include 5 | #include 6 | 7 | namespace Sophus { 8 | namespace test { 9 | 10 | class LocalParameterizationSE3 : public ceres::LocalParameterization { 11 | public: 12 | virtual ~LocalParameterizationSE3() {} 13 | 14 | // SE3 plus operation for Ceres 15 | // 16 | // T * exp(x) 17 | // 18 | virtual bool Plus(double const* T_raw, double const* delta_raw, 19 | double* T_plus_delta_raw) const { 20 | Eigen::Map const T(T_raw); 21 | Eigen::Map const delta(delta_raw); 22 | Eigen::Map T_plus_delta(T_plus_delta_raw); 23 | T_plus_delta = T * SE3d::exp(delta); 24 | return true; 25 | } 26 | 27 | // Jacobian of SE3 plus operation for Ceres 28 | // 29 | // dx T * exp(x) with x=0 30 | // 31 | virtual bool ComputeJacobian(double const* T_raw, 32 | double* jacobian_raw) const { 33 | Eigen::Map T(T_raw); 34 | Eigen::Map > jacobian(jacobian_raw); 35 | jacobian = T.internalJacobian().transpose(); 36 | return true; 37 | } 38 | 39 | virtual int GlobalSize() const { return SE3d::num_parameters; } 40 | 41 | virtual int LocalSize() const { return SE3d::DoF; } 42 | }; 43 | } // namespace test 44 | } // namespace Sophus 45 | 46 | #endif 47 | -------------------------------------------------------------------------------- /libvis/third_party/sophus/test/core/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # Ensure that ${Sophus_INCLUDE_DIR} is first on search path 2 | INCLUDE_DIRECTORIES( BEFORE ${Sophus_INCLUDE_DIR} ) 3 | INCLUDE_DIRECTORIES( SYSTEM ${EIGEN3_INCLUDE_DIR} ) 4 | 5 | # Tests to run 6 | SET( TEST_SOURCES test_common test_so2 test_se2 test_so3 test_se3 test_rxso3 test_sim3 test_geometry) 7 | 8 | FOREACH(test_src ${TEST_SOURCES}) 9 | ADD_EXECUTABLE( ${test_src} ${test_src}.cpp tests.hpp ../../sophus/test_macros.hpp) 10 | ADD_TEST( ${test_src} ${test_src} ) 11 | ENDFOREACH(test_src) 12 | -------------------------------------------------------------------------------- /libvis/third_party/sophus/test/core/test_common.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | #include 4 | 5 | namespace Sophus { 6 | 7 | namespace { 8 | 9 | bool testFormatString() { 10 | bool passed = true; 11 | SOPHUS_TEST_EQUAL(passed, details::FormatString(), std::string()); 12 | std::string test_str = "Hello World!"; 13 | SOPHUS_TEST_EQUAL(passed, details::FormatString(test_str.c_str()), test_str); 14 | SOPHUS_TEST_EQUAL(passed, details::FormatString("Number: %", 5), 15 | std::string("Number: 5")); 16 | SOPHUS_TEST_EQUAL(passed, 17 | details::FormatString("Real: % msg %", 1.5, test_str), 18 | std::string("Real: 1.5 msg Hello World!")); 19 | SOPHUS_TEST_EQUAL(passed, 20 | details::FormatString( 21 | "vec: %", Eigen::Vector3f(0.f, 1.f, 1.5f).transpose()), 22 | std::string("vec: 0 1 1.5")); 23 | SOPHUS_TEST_EQUAL( 24 | passed, details::FormatString("Number: %", 1, 2), 25 | std::string("Number: 1\nFormat-Warning: There are 1 args unused.")); 26 | return passed; 27 | } 28 | 29 | void runAll() { 30 | std::cerr << "Common tests:" << std::endl; 31 | bool passed = testFormatString(); 32 | processTestResult(passed); 33 | } 34 | 35 | } // namespace 36 | } // namespace Sophus 37 | 38 | int main() { Sophus::runAll(); } 39 | -------------------------------------------------------------------------------- /screenshot.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/puzzlepaint/surfelmeshing/bdee93ef81658ef26fe48e6dd75a985919a4c03f/screenshot.jpg --------------------------------------------------------------------------------