LSSTApplications  11.0-13-gbb96280,12.1.rc1,12.1.rc1+1,12.1.rc1+2,12.1.rc1+5,12.1.rc1+8,12.1.rc1-1-g06d7636+1,12.1.rc1-1-g253890b+5,12.1.rc1-1-g3d31b68+7,12.1.rc1-1-g3db6b75+1,12.1.rc1-1-g5c1385a+3,12.1.rc1-1-g83b2247,12.1.rc1-1-g90cb4cf+6,12.1.rc1-1-g91da24b+3,12.1.rc1-2-g3521f8a,12.1.rc1-2-g39433dd+4,12.1.rc1-2-g486411b+2,12.1.rc1-2-g4c2be76,12.1.rc1-2-gc9c0491,12.1.rc1-2-gda2cd4f+6,12.1.rc1-3-g3391c73+2,12.1.rc1-3-g8c1bd6c+1,12.1.rc1-3-gcf4b6cb+2,12.1.rc1-4-g057223e+1,12.1.rc1-4-g19ed13b+2,12.1.rc1-4-g30492a7
LSSTDataManagementBasePackage
Classes | Namespaces | Macros | Typedefs | Enumerations | Functions | Variables
CudaLanczos.h File Reference

Declaration of a GPU kernel for image warping and declarations of requred datatypes. More...

Go to the source code of this file.

Classes

struct  lsst::afw::math::detail::gpu::SPoint2
 Simple 2D point (suitable for use on a GPU) More...
 
struct  lsst::afw::math::detail::gpu::SVec2
 Simple 2D vector (suitable for use on a GPU) More...
 
struct  lsst::afw::math::detail::gpu::SBox2I
 defines a 2D range of integer values begX <= x < endX, begY <= y < endY More...
 
struct  lsst::afw::math::detail::gpu::LinearInterp
 
struct  lsst::afw::math::detail::gpu::BilinearInterp
 
struct  lsst::afw::math::detail::gpu::PixelIVM< T >
 defines a pixel having image, variance and mask planes More...
 
struct  lsst::afw::math::detail::gpu::ImageDataPtr< T >
 defines memory region containing image data More...
 

Namespaces

 lsst
 Remove all non-astronomical counts from the Chunk Exposure's pixels.
 
 lsst::afw
 
 lsst::afw::math
 
 lsst::afw::math::detail
 
 lsst::afw::math::detail::gpu
 

Macros

#define CPU_GPU
 

Typedefs

typedef
lsst::afw::image::VariancePixel 
lsst::afw::math::detail::gpu::VarPixel
 
typedef lsst::afw::image::MaskPixel lsst::afw::math::detail::gpu::MskPixel
 

Enumerations

enum  lsst::afw::math::detail::gpu::KernelType { lsst::afw::math::detail::gpu::KERNEL_TYPE_LANCZOS, lsst::afw::math::detail::gpu::KERNEL_TYPE_BILINEAR, lsst::afw::math::detail::gpu::KERNEL_TYPE_NEAREST_NEIGHBOR }
 

Functions

SVec2 lsst::afw::math::detail::gpu::VecAdd (SVec2 a, SVec2 b)
 
SVec2 lsst::afw::math::detail::gpu::VecSub (SVec2 a, SVec2 b)
 
SVec2 lsst::afw::math::detail::gpu::VecMul (SVec2 v, double m)
 
SPoint2 lsst::afw::math::detail::gpu::MovePoint (SPoint2 p, SVec2 v)
 
template<typename DestPixelT , typename SrcPixelT >
void lsst::afw::math::detail::gpu::WarpImageGpuCallKernel (bool isMaskedImage, ImageDataPtr< DestPixelT > destImageGpu, ImageDataPtr< SrcPixelT > srcImageGpu, int mainKernelSize, KernelType maskKernelType, int maskKernelSize, SBox2I srcGoodBox, PixelIVM< DestPixelT > edgePixel, BilinearInterp *srcPosInterp, int interpLength)
 Calls the GPU kernel for lanczos resampling. More...
 

Variables

int const lsst::afw::math::detail::gpu::SIZE_X_WARPING_BLOCK =16
 
int const lsst::afw::math::detail::gpu::SIZE_Y_WARPING_BLOCK =16
 
int const lsst::afw::math::detail::gpu::SIZE_MAX_WARPING_KERNEL =100
 

Detailed Description

Declaration of a GPU kernel for image warping and declarations of requred datatypes.

Author
Kresimir Cosic

Definition in file CudaLanczos.h.

Macro Definition Documentation

#define CPU_GPU

Definition at line 39 of file CudaLanczos.h.