public class MediaType
extends com.jniwrapper.Structure
AM_MEDIA_TYPE
COM type.Modifier and Type | Field and Description |
---|---|
static int[] |
bits555 |
static int[] |
bits565 |
static int[] |
bits888 |
static java.lang.String |
MEDIASUBTYPE_RGB1 |
static java.lang.String |
MEDIASUBTYPE_RGB24 |
static java.lang.String |
MEDIASUBTYPE_RGB32 |
static java.lang.String |
MEDIASUBTYPE_RGB4 |
static java.lang.String |
MEDIASUBTYPE_RGB555 |
static java.lang.String |
MEDIASUBTYPE_RGB565 |
static java.lang.String |
MEDIASUBTYPE_RGB8 |
Constructor and Description |
---|
MediaType() |
MediaType(com.teamdev.jxdesktop.win32.ole.GUID majorType) |
MediaType(com.teamdev.jxdesktop.win32.ole.GUID majorType,
com.teamdev.jxdesktop.win32.ole.GUID subtype) |
MediaType(com.teamdev.jxdesktop.win32.ole.GUID majorType,
com.teamdev.jxdesktop.win32.ole.GUID subtype,
com.teamdev.jxdesktop.win32.ole.GUID formatType) |
MediaType(MediaType that) |
Modifier and Type | Method and Description |
---|---|
com.jniwrapper.Pointer.Void |
allocFormatBuffer(long length) |
VideoInfo |
allocFormatBufferAsVideoInfo(long length) |
java.lang.Object |
clone() |
static int |
copyMediaType(MediaType target,
MediaType source) |
void |
deleteMediaType() |
int |
getBFixedSizeSamples() |
static long |
getBitmapSize(com.teamdev.jxdesktop.win32.gdi.BitmapInfoHeader header) |
static com.teamdev.jxdesktop.win32.ole.GUID |
getBitmapSubtype(com.teamdev.jxdesktop.win32.gdi.BitmapInfoHeader header,
TrueColorInfo info) |
int |
getBTemporalCompression() |
long |
getCbFormat() |
com.teamdev.jxdesktop.win32.ole.GUID |
getFormattype() |
long |
getLSampleSize() |
com.teamdev.jxdesktop.win32.ole.GUID |
getMajortype() |
com.jniwrapper.Pointer.Void |
getPbFormat() |
com.teamdev.jxdesktop.win32.com.IUnknown |
getPunk() |
com.teamdev.jxdesktop.win32.ole.GUID |
getSubtype() |
static com.teamdev.jxdesktop.win32.ole.GUID |
getTrueColorType(com.teamdev.jxdesktop.win32.gdi.BitmapInfoHeader header,
TrueColorInfo info) |
com.teamdev.jxdesktop.win32.ole.GUID |
getType() |
VideoInfo |
getVideoInfo() |
VideoInfoHeader |
getVideoInfoHeader() |
boolean |
isFixedSize() |
boolean |
isPartiallySpecified() |
boolean |
matchesPartial(MediaType partial) |
void |
set(MediaType mediaType) |
void |
setBFixedSizeSamples(int value) |
void |
setBTemporalCompression(int value) |
void |
setCbFormat(long value) |
void |
setFormatType(com.teamdev.jxdesktop.win32.ole.GUID type) |
void |
setLSampleSize(long value) |
void |
setSubtype(com.teamdev.jxdesktop.win32.ole.GUID type) |
void |
setType(com.teamdev.jxdesktop.win32.ole.GUID type) |
java.lang.String |
toString() |
acceptIOPerformer, addMembers, computeLength, equals, getAlignmentRequirement, getDebugInfo, getFirstMemberSize, getLength, getMember, getMembers, getOffsets, init, init, initFrom, pop, push, read, setDataBuffer, write
public static int[] bits555
public static int[] bits565
public static int[] bits888
public static final java.lang.String MEDIASUBTYPE_RGB1
public static final java.lang.String MEDIASUBTYPE_RGB4
public static final java.lang.String MEDIASUBTYPE_RGB8
public static final java.lang.String MEDIASUBTYPE_RGB565
public static final java.lang.String MEDIASUBTYPE_RGB555
public static final java.lang.String MEDIASUBTYPE_RGB24
public static final java.lang.String MEDIASUBTYPE_RGB32
public MediaType()
public MediaType(com.teamdev.jxdesktop.win32.ole.GUID majorType, com.teamdev.jxdesktop.win32.ole.GUID subtype)
public MediaType(com.teamdev.jxdesktop.win32.ole.GUID majorType, com.teamdev.jxdesktop.win32.ole.GUID subtype, com.teamdev.jxdesktop.win32.ole.GUID formatType)
public MediaType(com.teamdev.jxdesktop.win32.ole.GUID majorType)
public MediaType(MediaType that)
public com.teamdev.jxdesktop.win32.ole.GUID getMajortype()
public com.teamdev.jxdesktop.win32.ole.GUID getSubtype()
public int getBFixedSizeSamples()
public void setBFixedSizeSamples(int value)
public int getBTemporalCompression()
public void setBTemporalCompression(int value)
public long getLSampleSize()
public void setLSampleSize(long value)
public com.teamdev.jxdesktop.win32.ole.GUID getFormattype()
public com.teamdev.jxdesktop.win32.com.IUnknown getPunk()
public long getCbFormat()
public void setCbFormat(long value)
public com.jniwrapper.Pointer.Void getPbFormat()
public VideoInfo getVideoInfo()
public VideoInfoHeader getVideoInfoHeader()
public boolean isPartiallySpecified()
public boolean matchesPartial(MediaType partial)
public com.teamdev.jxdesktop.win32.ole.GUID getType()
public boolean isFixedSize()
public void deleteMediaType()
public void set(MediaType mediaType)
public com.jniwrapper.Pointer.Void allocFormatBuffer(long length)
public VideoInfo allocFormatBufferAsVideoInfo(long length)
public void setType(com.teamdev.jxdesktop.win32.ole.GUID type)
public void setFormatType(com.teamdev.jxdesktop.win32.ole.GUID type)
public void setSubtype(com.teamdev.jxdesktop.win32.ole.GUID type)
public static long getBitmapSize(com.teamdev.jxdesktop.win32.gdi.BitmapInfoHeader header)
public static com.teamdev.jxdesktop.win32.ole.GUID getTrueColorType(com.teamdev.jxdesktop.win32.gdi.BitmapInfoHeader header, TrueColorInfo info)
public static com.teamdev.jxdesktop.win32.ole.GUID getBitmapSubtype(com.teamdev.jxdesktop.win32.gdi.BitmapInfoHeader header, TrueColorInfo info)
public java.lang.Object clone()
clone
in class com.jniwrapper.Structure
public java.lang.String toString()
toString
in class java.lang.Object