de.humatic.dsj
Class DSFilterInfo.DSMediaFormat

java.lang.Object
  extended by de.humatic.dsj.DSMediaType
      extended by de.humatic.dsj.DSFilterInfo.DSMediaFormat
Enclosing class:
DSFilterInfo

public class DSFilterInfo.DSMediaFormat
extends DSMediaType

DSMediaFormat represents a mediaformat a specific pin can deliver. This class was the first representation of DirectShow MediaType structures in dsj. As of 0_8_46 it subclasses the more general DSMediaType and is used only to describe a capture device's output formats. As such it adds some capture specific methods to DSMediaType. The class is set up internally during device queries and can not be constructed by application code.


Field Summary
 
Fields inherited from class de.humatic.dsj.DSMediaType
AST_AAC, AST_AC3, AST_AMR, AST_ASF, AST_DOLBY_AC3, AST_DOLBY_AC3_SPDIF, AST_DRM_Audio, AST_DVD_LPCM_AUDIO, AST_GSM, AST_IEEE_FLOAT, AST_MP2A, AST_MP3, AST_MP4A, AST_MPEG1, AST_MPEG1_AUDIO_PAYLOAD, AST_MPEG1Packet, AST_MPEG1Payload, AST_MPEG2, AST_MPEG2_AUDIO, AST_PCM, AST_RAW_SPORT, AST_REAL, AST_SPDIF_TAG_241h, AST_VORBIS, AST_VORBIS_ENC, AST_VORBIS_LEAD, AST_WF_MPEG1, ATSC_SI, AX_BLOCK_ALIGN, AX_CH_MASK, AX_FORMAT_TAG, AX_SPB, AX_SUBFORMAT, AX_VBPS, DVB_SI, GUID_NULL, MPEG_VIDEO_INFO, MPEG1Audio, MPEG1AudioPayload, MPEG1Payload, MPEG1Video, MPEG1WAVEFORMAT, MPEG2_VIDEO_INFO, MT_ANALOG_AUDIO, MT_ANALOG_VIDEO, MT_AUDIO, MT_INTERLEAVED, MT_LINE21, MT_MIDI, MT_STREAM, MT_TEXT, MT_TIMECODE, MT_VIDEO, NONE, QTA, QTV, SST_ASF, SST_AVI, SST_DV, SST_FLV, SST_MKV, SST_MP4, SST_MPEG_PS, SST_MPEG_TS, SST_MPEG1_SYSTEM, SST_WAVE, SST_WEBM, VIDEO_INFO, VIDEO_INFO2, VORBISFORMAT, VST_3IVX, VST_ARGB32, VST_ASF, VST_AYUV, VST_DV25, VST_DV50, VST_DVH1, VST_DVHD, VST_DVSD, VST_DVSL, VST_FLV, VST_FORMAT_MPEG2Video, VST_I420, VST_IMP2, VST_MP4V, VST_MPEG1, VST_MPEG1Packet, VST_MPEG1System, VST_MPEG1VideoCD, VST_MPEG2, VST_MPEG2_PES, VST_MPEG2_PROGRAM, VST_MPEG2_SECTIONS, VST_MPEG2_TRANSPORT, VST_MPEG2_VIDEO, VST_OGG, VST_RGB24, VST_RGB32, VST_RGB4, VST_RGB555, VST_RGB565, VST_RGB8, VST_RV40, VST_THEORA, VST_UYVY, VST_VP8, VST_XVIDMKV, VST_Y211, VST_Y411, VST_Y41P, VST_YUY2, VST_YUYV, VST_YVYU, VX_ASPECT_X, VX_ASPECT_Y, VX_BIT_ERROR_RATE, VX_COPY_PROTECT, VX_CTRL, VX_FLAGS, VX_INTERLACE, VX_LEVEL, VX_PROFILE, WAVEFORMAT, WMFORMAT_MPEG2Video, WMFORMAT_Script, WMFORMAT_VideoInfo, WMFORMAT_WaveFormatEx, WMFORMAT_WebStream, WMMEDIASUBTYPE_ACELPnet, WMMEDIASUBTYPE_Base, WMMEDIASUBTYPE_DRM, WMMEDIASUBTYPE_M4S2, WMMEDIASUBTYPE_MP3, WMMEDIASUBTYPE_MP43, WMMEDIASUBTYPE_MP4S, WMMEDIASUBTYPE_MPEG2_VIDEO, WMMEDIASUBTYPE_MSS1, WMMEDIASUBTYPE_MSS2, WMMEDIASUBTYPE_P422, WMMEDIASUBTYPE_PCM, WMMEDIASUBTYPE_WebStream, WMMEDIASUBTYPE_WMAudio_Lossless, WMMEDIASUBTYPE_WMAudioV2, WMMEDIASUBTYPE_WMAudioV7, WMMEDIASUBTYPE_WMAudioV8, WMMEDIASUBTYPE_WMAudioV9, WMMEDIASUBTYPE_WMSP1, WMMEDIASUBTYPE_WMV1, WMMEDIASUBTYPE_WMV2, WMMEDIASUBTYPE_WMV3, WMMEDIASUBTYPE_WMVA, WMMEDIASUBTYPE_WMVP, WMMEDIASUBTYPE_WVP2, WMMEDIATYPE_Audio, WMMEDIATYPE_FileTransfer, WMMEDIATYPE_Image, WMMEDIATYPE_Script, WMMEDIATYPE_Text, WMMEDIATYPE_Video, WMSCRIPTTYPE_TwoStrings
 
Method Summary
 java.lang.String getDisplayString()
          Returns a shortend version of the info string returned by toString()
 float[] getFrameRateRange()
          Returns the minimal and maximal framerates this format can work with or null if this is not a video format.
 boolean isDefaultFormat()
           
 
Methods inherited from class de.humatic.dsj.DSMediaType
compare, configureAudioType, configureVideoType, copy, dump, dumpFormatBlock, getBitDepth, getBitRate, getDataSize, getExtendedField, getFlags, getFormatBlock, getFormatBlockSize, getFormatType, getFrameRate, getFrameTime, getHeight, getMajorType, getMajorTypeString, getNumChannels, getSampleRate, getSampleSize, getSubType, getSubTypeString, getWidth, setBitDepth, setBitRate, setDataSize, setExtendedField, setFlags, setFormatBlock, setFormatType, setFrameRate, setFrameTime, setHeight, setMajorType, setNumChannels, setSampleRate, setSampleSize, setSubType, setWidth, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

isDefaultFormat

public boolean isDefaultFormat()

getFrameRateRange

public float[] getFrameRateRange()
Returns the minimal and maximal framerates this format can work with or null if this is not a video format.


getDisplayString

public java.lang.String getDisplayString()
Description copied from class: DSMediaType
Returns a shortend version of the info string returned by toString()

Overrides:
getDisplayString in class DSMediaType