x
Yes
No
Do you want to visit DriveHQ English website?
首页
产品服务
价格
免费试用
下载客户端
关于我们
云文件服务
|
云备份服务
|
FTP服务
|
企业邮箱服务
|
网站托管
|
客户端软件
云文件服务
云备份服务
FTP服务
企业级邮箱服务
网站托管
客户端软件
device_n.hpp - Hosted on DriveHQ Cloud IT Platform
返回上层目录
上传
下载
共享
发布
新建文件夹
新建文件
复制
剪切
删除
粘贴
评论
升级服务
路径: \\game3dprogramming\materials\GameFactory\GameFactoryDemo\references\boost_1_35_0\boost\gil\device_n.hpp
旋转
特效
属性
历史版本
/* Copyright 2005-2007 Adobe Systems Incorporated Use, modification and distribution are subject to 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). See http://opensource.adobe.com/gil for most recent version including documentation. */ /*************************************************************************************************/ #ifndef GIL_DEVICE_N_H #define GIL_DEVICE_N_H //////////////////////////////////////////////////////////////////////////////////////// /// \file /// \brief Support for color space of N channels and variants /// \author Lubomir Bourdev and Hailin Jin \n /// Adobe Systems Incorporated /// \date 2005-2007 \n Last updated on October 10, 2007 //////////////////////////////////////////////////////////////////////////////////////// #include
#include "gil_config.hpp" #include
#include
#include
namespace boost { namespace gil { /// \brief unnamed color /// \ingroup ColorNameModel template
struct devicen_color_t {}; template
struct devicen_t; /// \brief unnamed color space of one channel /// \ingroup ColorSpaceModel template <> struct devicen_t<1> : public mpl::vector1
> {}; /// \brief unnamed color space of two channels /// \ingroup ColorSpaceModel template <> struct devicen_t<2> : public mpl::vector2
, devicen_color_t<1> > {}; /// \brief unnamed color space of three channels /// \ingroup ColorSpaceModel template <> struct devicen_t<3> : public mpl::vector3
, devicen_color_t<1>, devicen_color_t<2> > {}; /// \brief unnamed color space of four channels /// \ingroup ColorSpaceModel template <> struct devicen_t<4> : public mpl::vector4
, devicen_color_t<1>, devicen_color_t<2>, devicen_color_t<3> > {}; /// \brief unnamed color space of five channels /// \ingroup ColorSpaceModel template <> struct devicen_t<5> : public mpl::vector5
, devicen_color_t<1>, devicen_color_t<2>, devicen_color_t<3>, devicen_color_t<4> > {}; /// \brief unnamed color layout of up to five channels /// \ingroup LayoutModel template
struct devicen_layout_t : public layout
> {}; /// \ingroup ImageViewConstructors /// \brief from 2-channel planar data template
inline typename type_from_x_iterator
> >::view_t planar_devicen_view(std::size_t width, std::size_t height, IC c0, IC c1, std::ptrdiff_t rowsize_in_bytes) { return typename type_from_x_iterator
> >::view_t(width, height, planar_pixel_iterator
>(c0,c1), rowsize_in_bytes); } /// \ingroup ImageViewConstructors /// \brief from 3-channel planar data template
inline typename type_from_x_iterator
> >::view_t planar_devicen_view(std::size_t width, std::size_t height, IC c0, IC c1, IC c2, std::ptrdiff_t rowsize_in_bytes) { return typename type_from_x_iterator
> >::view_t(width, height, planar_pixel_iterator
>(c0,c1,c2), rowsize_in_bytes); } /// \ingroup ImageViewConstructors /// \brief from 4-channel planar data template
inline typename type_from_x_iterator
> >::view_t planar_devicen_view(std::size_t width, std::size_t height, IC c0, IC c1, IC c2, IC c3, std::ptrdiff_t rowsize_in_bytes) { return typename type_from_x_iterator
> >::view_t(width, height, planar_pixel_iterator
>(c0,c1,c2,c3), rowsize_in_bytes); } /// \ingroup ImageViewConstructors /// \brief from 5-channel planar data template
inline typename type_from_x_iterator
> >::view_t planar_devicen_view(std::size_t width, std::size_t height, IC c0, IC c1, IC c2, IC c3, IC c4, std::ptrdiff_t rowsize_in_bytes) { return typename type_from_x_iterator
> >::view_t(width, height, planar_pixel_iterator
>(c0,c1,c2,c3,c4), rowsize_in_bytes); } } } // namespace boost::gil #endif
device_n.hpp
网页地址
文件地址
上一页
11/34
下一页
下载
( 4 KB )
Comments
Total ratings:
0
Average rating:
无评论
of 10
Would you like to comment?
Join now
, or
Logon
if you are already a member.