org.rococoa.cocoa.quicktime
Class ICMPixelFormatInfo
java.lang.Object
com.sun.jna.Structure
com.ochafik.lang.jnaerator.runtime.Structure
org.rococoa.cocoa.quicktime.ICMPixelFormatInfo
- Direct Known Subclasses:
- ICMPixelFormatInfo.ByReference, ICMPixelFormatInfo.ByValue
public class ICMPixelFormatInfo
- extends com.ochafik.lang.jnaerator.runtime.Structure
This file was autogenerated by JNAerator,
a tool written by Olivier Chafik that uses a few opensource projects..
For help, please visit NativeLibs4Java, Rococoa, or JNA.
Methods inherited from class com.ochafik.lang.jnaerator.runtime.Structure |
setupClone |
Methods inherited from class com.sun.jna.Structure |
allocateMemory, allocateMemory, cacheTypeInfo, clear, ensureAllocated, equals, getAutoRead, getAutoWrite, getFieldOrder, getNativeAlignment, getPointer, getStructAlignment, hashCode, newInstance, read, readField, setAlignType, setAutoRead, setAutoSynch, setAutoWrite, setFieldOrder, setTypeMapper, size, sortFields, toArray, toArray, toString, useMemory, useMemory, write, writeField, writeField |
size
public NativeLong size
formatFlags
public NativeLong formatFlags
bitsPerPixel
public short[] bitsPerPixel
defaultGammaLevel
public int defaultGammaLevel
horizontalSubsampling
public short[] horizontalSubsampling
- new fields for QuickTime 6.0
per plane; use 1 if plane is not subsampled
verticalSubsampling
public short[] verticalSubsampling
cmpCount
public short cmpCount
- new fields for QuickTime 6.5
for use in PixMap.cmpCount
cmpSize
public short cmpSize
ICMPixelFormatInfo
public ICMPixelFormatInfo()
ICMPixelFormatInfo
public ICMPixelFormatInfo(NativeLong size,
NativeLong formatFlags,
short[] bitsPerPixel,
int defaultGammaLevel,
short[] horizontalSubsampling,
short[] verticalSubsampling,
short cmpCount,
short cmpSize)
- Parameters:
size
- caller MUST fill this in with sizeof(ICMPixelFormatInfo) before calling ICMGet/SetPixelFormatInfo
bitsPerPixel
- list each plane's bits per pixel separately if planar
defaultGammaLevel
- new field for QuickTime 4.1
horizontalSubsampling
- new fields for QuickTime 6.0
per plane; use 1 if plane is not subsampled
verticalSubsampling
- per plane; use 1 if plane is not subsampled
cmpCount
- new fields for QuickTime 6.5
for use in PixMap.cmpCount
cmpSize
- for use in PixMap.cmpSize
byReference
public ICMPixelFormatInfo.ByReference byReference()
byValue
public ICMPixelFormatInfo.ByValue byValue()
clone
public ICMPixelFormatInfo clone()
- Overrides:
clone
in class Object