Defines | Variables
core/vil/vil_blocked_image_facade.cxx File Reference
#include "vil_blocked_image_facade.h"
#include <vcl_cstring.h>
#include <vcl_cassert.h>
#include <vil/vil_property.h>
#include <vil/vil_image_view.h>
#include <vil/vil_crop.h>
#include <vil/vil_copy.h>

Go to the source code of this file.

Defines

#define FILL_BLOCK_CASE(FORMAT, T)
#define TRIM_BLOCK_CASE(FORMAT, T)

Variables

static const unsigned vil_size_block_j = 256

Define Documentation

#define FILL_BLOCK_CASE (   FORMAT,
 
)
Value:
case FORMAT: { \
    vil_image_view<T>* dest = new vil_image_view<T>(sbi_, sbj_, nplanes()); \
    vil_image_view_base_sptr ptr = dest; \
    vil_image_view<T>* src = reinterpret_cast<vil_image_view<T>* >(view.ptr()); \
    vil_copy_to_window<T>(*src, *dest, 0, 0); \
    return dest; \
   } break
#define TRIM_BLOCK_CASE (   FORMAT,
 
)
Value:
case FORMAT: { \
      const vil_image_view<T>& curr_view = \
        static_cast<const vil_image_view< T >& >(view); \
      vil_image_view< T > cview = \
        vil_crop(curr_view, 0, icrop, 0, jcrop); \
      return src_->put_view(cview, i0, j0); \
     } break

Variable Documentation

const unsigned vil_size_block_j = 256

Definition at line 16 of file vil_blocked_image_facade.cxx.