jcuda.jnpp.utilnpp
Class ImagesNPP.ImageNPP_32s_C1

java.lang.Object
  extended by jcuda.jnpp.utilnpp.AbstractImage
      extended by jcuda.jnpp.utilnpp.AbstractImagePacked<T>
          extended by jcuda.jnpp.utilnpp.ImagesNPP.ImageNPP<jcuda.jnpp.types.Npp32s>
              extended by jcuda.jnpp.utilnpp.ImagesNPP.ImageNPP_32s_C1
All Implemented Interfaces:
Image, ImagePacked<jcuda.jnpp.types.Npp32s>
Enclosing class:
ImagesNPP

public static class ImagesNPP.ImageNPP_32s_C1
extends ImagesNPP.ImageNPP<jcuda.jnpp.types.Npp32s>

Implementation of an image


Nested Class Summary
 
Nested classes/interfaces inherited from interface jcuda.jnpp.utilnpp.ImagePacked
ImagePacked.Pixel
 
Nested classes/interfaces inherited from interface jcuda.jnpp.utilnpp.Image
Image.Size
 
Field Summary
 
Fields inherited from class jcuda.jnpp.utilnpp.AbstractImagePacked
aPixels_, nPitch_
 
Constructor Summary
ImagesNPP.ImageNPP_32s_C1()
          Creates a new Image
ImagesNPP.ImageNPP_32s_C1(Image.Size rSize)
          Creates a new Image with the given size
ImagesNPP.ImageNPP_32s_C1(ImagesCPU.ImageCPU<jcuda.jnpp.types.Npp32s> rImage)
          Copy-constructor from host images
ImagesNPP.ImageNPP_32s_C1(ImagesNPP.ImageNPP<jcuda.jnpp.types.Npp32s> rImage)
          Copy-constructor
ImagesNPP.ImageNPP_32s_C1(int width, int height)
          Creates a new Image with the given size
 
Method Summary
protected  Allocator<jcuda.jnpp.types.Npp32s> allocator()
          Returns the allocator that performs all memory operations for this image.
 
Methods inherited from class jcuda.jnpp.utilnpp.ImagesNPP.ImageNPP
copyFrom, copyTo
 
Methods inherited from class jcuda.jnpp.utilnpp.AbstractImagePacked
data, destroy, pitch, pixels, set
 
Methods inherited from class jcuda.jnpp.utilnpp.AbstractImage
equals, hashCode, height, set, size, swap, width
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface jcuda.jnpp.utilnpp.ImagePacked
data, pitch, pixels, set
 
Methods inherited from interface jcuda.jnpp.utilnpp.Image
height, set, size, swap, width
 

Constructor Detail

ImagesNPP.ImageNPP_32s_C1

public ImagesNPP.ImageNPP_32s_C1()
Creates a new Image


ImagesNPP.ImageNPP_32s_C1

public ImagesNPP.ImageNPP_32s_C1(int width,
                                 int height)
Creates a new Image with the given size

Parameters:
width - The width
height - The height

ImagesNPP.ImageNPP_32s_C1

public ImagesNPP.ImageNPP_32s_C1(Image.Size rSize)
Creates a new Image with the given size

Parameters:
rSize - The size

ImagesNPP.ImageNPP_32s_C1

public ImagesNPP.ImageNPP_32s_C1(ImagesNPP.ImageNPP<jcuda.jnpp.types.Npp32s> rImage)
Copy-constructor

Parameters:
rImage - The other image

ImagesNPP.ImageNPP_32s_C1

public ImagesNPP.ImageNPP_32s_C1(ImagesCPU.ImageCPU<jcuda.jnpp.types.Npp32s> rImage)
Copy-constructor from host images

Parameters:
rImage - The other image
Method Detail

allocator

protected Allocator<jcuda.jnpp.types.Npp32s> allocator()
Description copied from class: AbstractImagePacked
Returns the allocator that performs all memory operations for this image.

Specified by:
allocator in class AbstractImagePacked<jcuda.jnpp.types.Npp32s>
Returns:
The allocator.