You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
39 lines
768 B
C++
39 lines
768 B
C++
2 years ago
|
//
|
||
|
// Copyright 2010 Christian Henning
|
||
|
//
|
||
|
// Distributed under the Boost Software License, Version 1.0
|
||
|
// See accompanying file LICENSE_1_0.txt or copy at
|
||
|
// http://www.boost.org/LICENSE_1_0.txt
|
||
|
//
|
||
|
#ifndef BOOST_GIL_EXTENSION_IO_JPEG_DETAIL_BASE_HPP
|
||
|
#define BOOST_GIL_EXTENSION_IO_JPEG_DETAIL_BASE_HPP
|
||
|
|
||
|
#include <boost/gil/extension/io/jpeg/tags.hpp>
|
||
|
|
||
|
#include <csetjmp>
|
||
|
|
||
|
namespace boost { namespace gil {
|
||
|
|
||
|
#if BOOST_WORKAROUND(BOOST_MSVC, >= 1400)
|
||
|
#pragma warning(push)
|
||
|
#pragma warning(disable:4324) //structure was padded due to __declspec(align())
|
||
|
#endif
|
||
|
|
||
|
class jpeg_io_base
|
||
|
{
|
||
|
|
||
|
protected:
|
||
|
|
||
|
jpeg_error_mgr _jerr;
|
||
|
jmp_buf _mark;
|
||
|
};
|
||
|
|
||
|
#if BOOST_WORKAROUND(BOOST_MSVC, >= 1400)
|
||
|
#pragma warning(pop)
|
||
|
#endif
|
||
|
|
||
|
} // namespace gil
|
||
|
} // namespace boost
|
||
|
|
||
|
#endif
|