jcuda.jnpp.utilnpp
Class ImagesCPU.ImageCPU_16s_C4

java.lang.Object
  extended by jcuda.jnpp.utilnpp.AbstractImage
      extended by jcuda.jnpp.utilnpp.AbstractImagePacked<T>
          extended by jcuda.jnpp.utilnpp.ImagesCPU.ImageCPU<jcuda.jnpp.types.Npp16s>
              extended by jcuda.jnpp.utilnpp.ImagesCPU.ImageCPU_16s_C4
All Implemented Interfaces:
Image, ImagePacked<jcuda.jnpp.types.Npp16s>
Enclosing class:
ImagesCPU

public static class ImagesCPU.ImageCPU_16s_C4
extends ImagesCPU.ImageCPU<jcuda.jnpp.types.Npp16s>

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
ImagesCPU.ImageCPU_16s_C4()
          Creates a new Image
ImagesCPU.ImageCPU_16s_C4(Image.Size rSize)
          Creates a new Image with the given size
ImagesCPU.ImageCPU_16s_C4(ImagesCPU.ImageCPU<jcuda.jnpp.types.Npp16s> rImage)
          Copy-constructor
ImagesCPU.ImageCPU_16s_C4(int width, int height)
          Creates a new Image with the given size
 
Method Summary
protected  Allocator<jcuda.jnpp.types.Npp16s> allocator()
          Returns the allocator that performs all memory operations for this image.
 
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

ImagesCPU.ImageCPU_16s_C4

public ImagesCPU.ImageCPU_16s_C4()
Creates a new Image


ImagesCPU.ImageCPU_16s_C4

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

Parameters:
width - The width
height - The height

ImagesCPU.ImageCPU_16s_C4

public ImagesCPU.ImageCPU_16s_C4(Image.Size rSize)
Creates a new Image with the given size

Parameters:
rSize - The size

ImagesCPU.ImageCPU_16s_C4

public ImagesCPU.ImageCPU_16s_C4(ImagesCPU.ImageCPU<jcuda.jnpp.types.Npp16s> rImage)
Copy-constructor

Parameters:
rImage - The other image
Method Detail

allocator

protected Allocator<jcuda.jnpp.types.Npp16s> 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.Npp16s>
Returns:
The allocator.