]> git.proxmox.com Git - ceph.git/blob - ceph/src/boost/libs/gil/test/extension/io/paths.hpp
import new upstream nautilus stable release 14.2.8
[ceph.git] / ceph / src / boost / libs / gil / test / extension / io / paths.hpp
1 //
2 // Copyright 2013 Christian Henning
3 //
4 // Distributed under the Boost Software License, Version 1.0
5 // See accompanying file LICENSE_1_0.txt or copy at
6 // http://www.boost.org/LICENSE_1_0.txt
7 //
8 #ifndef BOOST_GIL_IO_TEST_PATHS_HPP
9 #define BOOST_GIL_IO_TEST_PATHS_HPP
10
11 // Disable warning: conversion to 'std::atomic<int>::__integral_type {aka int}' from 'long int' may alter its value
12 #if defined(BOOST_CLANG)
13 #pragma clang diagnostic push
14 #pragma clang diagnostic ignored "-Wshorten-64-to-32"
15 #endif
16
17 #if defined(BOOST_GCC) && (BOOST_GCC >= 40900)
18 #pragma GCC diagnostic push
19 #pragma GCC diagnostic ignored "-Wconversion"
20 #endif
21
22 #define BOOST_FILESYSTEM_VERSION 3
23 #include <boost/filesystem.hpp>
24
25 #if defined(BOOST_CLANG)
26 #pragma clang diagnostic pop
27 #endif
28
29 #if defined(BOOST_GCC) && (BOOST_GCC >= 40900)
30 #pragma GCC diagnostic pop
31 #endif
32
33 // `base` holds the path to ../.., i.e. the directory containing `images`
34 static const std::string base = (boost::filesystem::absolute(boost::filesystem::path(__FILE__)).parent_path().string()) + "/";
35
36 static const std::string bmp_in = base + "images/bmp/";
37 static const std::string bmp_out = base + "output/";
38
39 static const std::string jpeg_in = base + "images/jpeg/";
40 static const std::string jpeg_out = base + "output/";
41
42 static const std::string png_base_in = base + "images/png/";
43 static const std::string png_in = png_base_in + "PngSuite/";
44 static const std::string png_out = base + "output/";
45
46 static const std::string pnm_in = base + "images/pnm/";
47 static const std::string pnm_out = base + "output/";
48
49 static const std::string raw_in = base + "images/raw/";
50
51 static const std::string targa_in = base + "images/targa/";
52 static const std::string targa_out = base + "output/";
53
54 static const std::string tiff_in = base + "images/tiff/";
55 static const std::string tiff_out = base + "output/";
56 static const std::string tiff_in_GM = tiff_in + "graphicmagick/";
57
58 static const std::string bmp_filename ( bmp_in + "test.bmp" );
59 static const std::string jpeg_filename ( jpeg_in + "test.jpg" );
60 static const std::string png_filename ( png_base_in + "test.png" );
61 static const std::string pnm_filename ( pnm_in + "rgb.pnm" );
62 static const std::string raw_filename ( raw_in + "RAW_CANON_D30_SRGB.CRW" );
63 static const std::string targa_filename( targa_in + "24BPP_compressed.tga" );
64 static const std::string tiff_filename ( tiff_in + "test.tif" );
65
66 #endif // BOOST_GIL_IO_TEST_PATHS_HPP