This file is indexed.

/usr/include/ossim/imaging/ossimDiscreteNearestNeighbor.h is in libossim-dev 1.7.21-3ubuntu2.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
//*******************************************************************
//
// License:  See top level LICENSE.txt file.
// 
// Author:  Garrett Potts
//
// Description:
//
//*******************************************************************
//  $Id: ossimDiscreteNearestNeighbor.h 9968 2006-11-29 14:01:53Z gpotts $
#ifndef ossimDiscreteNearestNeighbor_HEADER
#define ossimDiscreteNearestNeighbor_HEADER
#include <ossim/imaging/ossimDiscreteConvolutionKernel.h>
class ossimDiscreteNearestNeighbor : public ossimDiscreteConvolutionKernel
{
public:
   ossimDiscreteNearestNeighbor()
      :ossimDiscreteConvolutionKernel(1, 1)
      {
         
      }

   /*!
    * We will override and optimize by unrolling the
    * loop
    */
   virtual void convolveFloat(const float* data,
                              double& result)const
      {
         result = *data;
      }

   /*!
    * We will override and optimize by unrolling the
    * loop
    */
   virtual void convolveSubImageFloat(const float* data,
                                      long dataWidth,
                                      double& result)const
      {
         result = *data;
      }
   
   virtual void convolveDouble(const double* data,
                               double& result)const
      {
         result = *data;
      }

   virtual void convolveSubImageDouble(const double* data,
                                      long dataWidth,
                                       double& result)const
      {
         result = *data;
      }
   /*!
    * We will override and optimize by unrolling the
    * loop
    */
   virtual void convolveUchar(const unsigned char* data,
                              double& result)const
      {
         result = *data;
      }
   /*!
    * We will override and optimize by unrolling the
    * loop
    */
   virtual void convolveSubImageUchar(const unsigned char* data,
                                      long dataWidth,
                                      double& result)const
      {
         result = *data;
      }
   
   virtual void convolveSshort(const short* data,
                              double& result)const
      {
         result = *data;        
      }

   virtual void convolveSubImageSshort(const short* data,
                                       long dataWidth,
                                       double& result)const

      {
         result = *data;
      }
   
   virtual void convolveUshort(const unsigned short* data,
                               double& result)const
      {
         result = *data;        
      }

   virtual void convolveSubImageUshort(const unsigned short* data,
                                      long dataWidth,
                                       double& result)const
      {
         result = *data;
      }
   
   virtual void buildConvolution(double widthPercent,
                                 double heightPercent)
      {
      }
};

#endif