Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r84090 - trunk/boost/gil/extension/toolbox/image_types
From: chhenning_at_[hidden]
Date: 2013-04-30 08:01:49


Author: chhenning
Date: 2013-04-30 08:01:49 EDT (Tue, 30 Apr 2013)
New Revision: 84090
URL: http://svn.boost.org/trac/boost/changeset/84090

Log:
Some small corrections.
Text files modified:
   trunk/boost/gil/extension/toolbox/image_types/subchroma_image.hpp | 30 +++++++++++++++---------------
   1 files changed, 15 insertions(+), 15 deletions(-)

Modified: trunk/boost/gil/extension/toolbox/image_types/subchroma_image.hpp
==============================================================================
--- trunk/boost/gil/extension/toolbox/image_types/subchroma_image.hpp (original)
+++ trunk/boost/gil/extension/toolbox/image_types/subchroma_image.hpp 2013-04-30 08:01:49 EDT (Tue, 30 Apr 2013)
@@ -7,12 +7,12 @@
 
 /*************************************************************************************************/
 
-#ifndef BOOST_GIL_EXTENSION_TOOLBOX_IMAGE_TYPES_SUBSAMPLED_IMAGE_HPP
-#define BOOST_GIL_EXTENSION_TOOLBOX_IMAGE_TYPES_SUBSAMPLED_IMAGE_HPP
+#ifndef BOOST_GIL_EXTENSION_TOOLBOX_IMAGE_TYPES_SUBCHROMA_IMAGE_HPP
+#define BOOST_GIL_EXTENSION_TOOLBOX_IMAGE_TYPES_SUBCHROMA_IMAGE_HPP
 
 ////////////////////////////////////////////////////////////////////////////////////////
 /// \file subchroma_image.hpp
-/// \brief Subsampled Image extension
+/// \brief Subchroma Image extension
 /// \author Christian Henning \n
 ///
 /// \date 2013 \n
@@ -120,7 +120,7 @@
 ////////////////////////////////////////////////////////////////////////////////////////
 /// \class subchroma_image_view
 /// \ingroup ImageViewModel PixelBasedModel
-/// \brief A lightweight object that interprets a subsampled image.Models ImageViewConcept,PixelBasedConcept,HasDynamicXStepTypeConcept,HasDynamicYStepTypeConcept,HasTransposedTypeConcept
+/// \brief A lightweight object that interprets a subchroma image.
 ///
 ////////////////////////////////////////////////////////////////////////////////////////
 template< typename Locator
@@ -157,8 +157,8 @@
     {}
     
     /// copy constructor
- template< typename Subsampled_View >
- subchroma_image_view( const Subsampled_View& v )
+ template< typename Subchroma_View >
+ subchroma_image_view( const Subchroma_View& v )
     : image_view< locator_t >( v )
     {}
 
@@ -236,7 +236,7 @@
 /// \ingroup ImageModel PixelBasedModel
 /// \brief container interface over image view. Models ImageConcept, PixelBasedConcept
 ///
-/// A subsampled image holds a bunch of planes which don't need to have the same resolution.
+/// A subchroma image holds a bunch of planes which don't need to have the same resolution.
 ///
 ////////////////////////////////////////////////////////////////////////////////////////
 template< typename Pixel
@@ -368,21 +368,21 @@
 
 /////////////////////////////////////////////////////////////////////////////////////////
 /// \ingroup ImageViewConstructors
-/// \brief Creates a subsampled view from a raw memory
+/// \brief Creates a subchroma view from a raw memory
 /////////////////////////////////////////////////////////////////////////////////////////
 template< typename Pixel
         , typename Factors
>
 typename subchroma_image< Pixel
                         , Factors
- >::view_t subsampled_view( std::size_t y_width
- , std::size_t y_height
- , unsigned char* y_base
- )
+ >::view_t subchroma_view( std::size_t y_width
+ , std::size_t y_height
+ , unsigned char* y_base
+ )
 {
     typedef Scaling_Factors< mpl::at_c< Factors, 0 >::type::value
- , mpl::at_c< Factors, 0 >::type::value
- , mpl::at_c< Factors, 0 >::type::value
+ , mpl::at_c< Factors, 1 >::type::value
+ , mpl::at_c< Factors, 2 >::type::value
> scaling_factors_t;
 
     std::size_t y_channel_size = 1;
@@ -448,4 +448,4 @@
 } // namespace gil
 } // namespace boost
 
-#endif // BOOST_GIL_EXTENSION_TOOLBOX_IMAGE_TYPES_SUBSAMPLED_IMAGE_HPP
+#endif // BOOST_GIL_EXTENSION_TOOLBOX_IMAGE_TYPES_SUBCHROMA_IMAGE_HPP


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk