com.c3d.image
Class ImageTransfer

java.lang.Object
  |
  +--com.c3d.image.ImageTransfer

public class ImageTransfer
extends java.lang.Object

TeX The ImageTransfer class is designed to provide a means of passing one plane of data to the intel image processing library for treatment with the MMX hardware.


Field Summary
 byte[] bdata
          TeX The number of shorts in a single scan line of the image data.
 short[] data
           
 int datatype
           
 float[] fdata
          TeX The data is stored as linear array of shorts for each plane
 int height
           
 int Line
          TeX The position in the data at which the image origin ( top left ) occurs
 int Start
          TeX 1= byte datatype 2 = short, 4 = float
 int width
           
 
Constructor Summary
ImageTransfer(int dx, int dy, byte[] d, int start, int linelen)
           
ImageTransfer(int dx, int dy, float[] d, int start, int linelen)
           
ImageTransfer(int dx, int dy, short[] d, int start, int linelen)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

height

public int height

width

public int width

data

public short[] data

fdata

public float[] fdata
TeX The data is stored as linear array of shorts for each plane

datatype

public int datatype

Start

public int Start
TeX 1= byte datatype 2 = short, 4 = float

Line

public int Line
TeX The position in the data at which the image origin ( top left ) occurs

bdata

public byte[] bdata
TeX The number of shorts in a single scan line of the image data.
Constructor Detail

ImageTransfer

public ImageTransfer(int dx,
                     int dy,
                     float[] d,
                     int start,
                     int linelen)

ImageTransfer

public ImageTransfer(int dx,
                     int dy,
                     byte[] d,
                     int start,
                     int linelen)

ImageTransfer

public ImageTransfer(int dx,
                     int dy,
                     short[] d,
                     int start,
                     int linelen)