com.teamdev.jxcapture.video.win.directshow.wrappers
Class MediaType
java.lang.Object
com.jniwrapper.Parameter
com.jniwrapper.Structure
com.teamdev.jxcapture.video.win.directshow.wrappers.MediaType
- All Implemented Interfaces:
- com.jniwrapper.AlignmentAwareParameter, com.jniwrapper.CompositeParameter
public class MediaType
- extends com.jniwrapper.Structure
Represents AM_MEDIA_TYPE
COM type.
Fields inherited from class com.jniwrapper.Structure |
i |
Fields inherited from class com.jniwrapper.Parameter |
LICENSE_TYPE, V |
Constructor Summary |
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)
|
Methods inherited from class com.jniwrapper.Structure |
a, a, acceptIOPerformer, addMembers, computeLength, equals, getAlignmentRequirement, getDebugInfo, getFirstMemberSize, getLength, getMember, getMembers, getOffsets, init, init, initFrom, pop, push, read, setDataBuffer, write |
Methods inherited from class com.jniwrapper.Parameter |
, a, asReturnValue, b, dataBufferAssigned, getAlignedLength, getDataBuffer, getDataBufferOffset, hashCode, indent, read, read, toByteArray, write |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
bits555
public static int[] bits555
bits565
public static int[] bits565
bits888
public static int[] bits888
MEDIASUBTYPE_RGB1
public static final java.lang.String MEDIASUBTYPE_RGB1
- See Also:
- Constant Field Values
MEDIASUBTYPE_RGB4
public static final java.lang.String MEDIASUBTYPE_RGB4
- See Also:
- Constant Field Values
MEDIASUBTYPE_RGB8
public static final java.lang.String MEDIASUBTYPE_RGB8
- See Also:
- Constant Field Values
MEDIASUBTYPE_RGB565
public static final java.lang.String MEDIASUBTYPE_RGB565
- See Also:
- Constant Field Values
MEDIASUBTYPE_RGB555
public static final java.lang.String MEDIASUBTYPE_RGB555
- See Also:
- Constant Field Values
MEDIASUBTYPE_RGB24
public static final java.lang.String MEDIASUBTYPE_RGB24
- See Also:
- Constant Field Values
MEDIASUBTYPE_RGB32
public static final java.lang.String MEDIASUBTYPE_RGB32
- See Also:
- Constant Field Values
MediaType
public MediaType()
MediaType
public MediaType(com.teamdev.jxdesktop.win32.ole.GUID majorType,
com.teamdev.jxdesktop.win32.ole.GUID subtype)
MediaType
public MediaType(com.teamdev.jxdesktop.win32.ole.GUID majorType,
com.teamdev.jxdesktop.win32.ole.GUID subtype,
com.teamdev.jxdesktop.win32.ole.GUID formatType)
MediaType
public MediaType(com.teamdev.jxdesktop.win32.ole.GUID majorType)
MediaType
public MediaType(MediaType that)
getMajortype
public com.teamdev.jxdesktop.win32.ole.GUID getMajortype()
getSubtype
public com.teamdev.jxdesktop.win32.ole.GUID getSubtype()
getBFixedSizeSamples
public int getBFixedSizeSamples()
setBFixedSizeSamples
public void setBFixedSizeSamples(int value)
getBTemporalCompression
public int getBTemporalCompression()
setBTemporalCompression
public void setBTemporalCompression(int value)
getLSampleSize
public long getLSampleSize()
setLSampleSize
public void setLSampleSize(long value)
getFormattype
public com.teamdev.jxdesktop.win32.ole.GUID getFormattype()
getPunk
public com.teamdev.jxdesktop.win32.com.IUnknown getPunk()
getCbFormat
public long getCbFormat()
setCbFormat
public void setCbFormat(long value)
getPbFormat
public com.jniwrapper.Pointer.Void getPbFormat()
getVideoInfo
public VideoInfo getVideoInfo()
getVideoInfoHeader
public VideoInfoHeader getVideoInfoHeader()
isPartiallySpecified
public boolean isPartiallySpecified()
matchesPartial
public boolean matchesPartial(MediaType partial)
getType
public com.teamdev.jxdesktop.win32.ole.GUID getType()
isFixedSize
public boolean isFixedSize()
deleteMediaType
public void deleteMediaType()
copyMediaType
public static int copyMediaType(MediaType target,
MediaType source)
set
public void set(MediaType mediaType)
allocFormatBuffer
public com.jniwrapper.Pointer.Void allocFormatBuffer(long length)
allocFormatBufferAsVideoInfo
public VideoInfo allocFormatBufferAsVideoInfo(long length)
setType
public void setType(com.teamdev.jxdesktop.win32.ole.GUID type)
setFormatType
public void setFormatType(com.teamdev.jxdesktop.win32.ole.GUID type)
setSubtype
public void setSubtype(com.teamdev.jxdesktop.win32.ole.GUID type)
getBitmapSize
public static long getBitmapSize(com.teamdev.jxdesktop.win32.gdi.BitmapInfoHeader header)
getTrueColorType
public static com.teamdev.jxdesktop.win32.ole.GUID getTrueColorType(com.teamdev.jxdesktop.win32.gdi.BitmapInfoHeader header,
TrueColorInfo info)
getBitmapSubtype
public static com.teamdev.jxdesktop.win32.ole.GUID getBitmapSubtype(com.teamdev.jxdesktop.win32.gdi.BitmapInfoHeader header,
TrueColorInfo info)
clone
public java.lang.Object clone()
- Overrides:
clone
in class com.jniwrapper.Structure
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object