Name | Unit | Description |
---|---|---|
AddGraphToRot | DSUtil | Enable Graphedit to connect with a filter graph. The application must register the filter graph instance in the Running Object Table (ROT). The ROT is a globally accessible look-up table that keeps track of running objects. Objects are registered in the ROT by moniker. To connect to the graph, GraphEdit searches the ROT for monikers whose display name matches a particular format: !FilterGraph X pid Y. Graph: a graph interface (IGraphBuilder, IFilterGraph, IFilterGraph2). ID: return the ROT identifier. |
CheckDSError | DSUtil | raise EDirectShowException exception if failed. |
CopyMediaType | DSUtil | The CopyMediaType function copies an AM_MEDIA_TYPE structure into another structure, including the format block. This function allocates the memory for the format block. If the pmtTarget parameter already contains an allocated format block, a memory leak will occur. To avoid a memory leak, call FreeMediaType before calling this function. |
CreateAudioMediaType | DSUtil | The CreateAudioMediaType function initializes a media type from a TWAVEFORMATEX structure. If the bSetFormat parameter is TRUE, the method allocates the memory for the format block. If the pmt parameter already contains an allocated format block, a memory leak will occur. To avoid a memory leak, call FreeMediaType before calling this function. After the method returns, call FreeMediaType again to free the format block. |
CreateMediaType | DSUtil | The CreateMediaType function allocates a new AM_MEDIA_TYPE structure, including the format block. This also comes in useful when using the IEnumMediaTypes interface so that you can copy a media type, you can do nearly the same by creating a TMediaType class but as soon as it goes out of scope the destructor will delete the memory it allocated (this takes a copy of the memory). |
DeleteMediaType | DSUtil | General purpose function to delete a heap allocated TAM_MEDIA_TYPE structure which is useful when calling IEnumMediaTypes.Next as the interface implementation allocates the structures which you must later delete the format block may also be a pointer to an interface to release. |
FCC | DSUtil | Convert a FCC (Four Char Codes) to Cardinal. A FCC identifie a media type. |
FOURCCMap | DSUtil | The FOURCCMap function provides conversion between GUID media subtypes and old-style FOURCC 32-bit media tags. In the original Microsoft® Windows® multimedia APIs, media types were tagged with 32-bit values created from four 8-bit characters and were known as FOURCCs. Microsoft DirectShow® media types have GUIDs for the subtype, partly because these are simpler to create (creation of a new FOURCC requires its registration with Microsoft). Because FOURCCs are unique, a one-to-one mapping has been made possible by allocating a range of 4,000 million GUIDs representing FOURCCs. This range is all GUIDs of the form: XXXXXXXX-0000-0010-8000-00AA00389B71. |
FreeAndNil | DSUtil | Frees an object reference and replaces the reference with Nil. (Delphi4 compatibility) |
FreeMediaType | DSUtil | The FreeMediaType function frees the format block in an AM_MEDIA_TYPE structure. Use this function to free just the format block. To delete the AM_MEDIA_TYPE structure, call DeleteMediaType. |
GetBitmapFormatSize | DSUtil | The mechanism for describing a bitmap format is with the BITMAPINFOHEADER This is really messy to deal with because it invariably has fields that follow it holding bit fields, palettes and the rest. This function gives the number of bytes required to hold a VIDEOINFO that represents it. This count includes the prefix information (like the rcSource rectangle) the BITMAPINFOHEADER field, and any other colour information on the end. WARNING If you want to copy a BITMAPINFOHEADER into a VIDEOINFO always make sure that you use the HEADER macro because the BITMAPINFOHEADER field isn't right at the start of the VIDEOINFO (there are a number of other fields), CopyMemory(HEADER(pVideoInfo),pbmi,sizeof(BITMAPINFOHEADER)); |
GetBitmapSize | DSUtil | Retrieve the Size needed to store a bitmat |
GetErrorString | DSUtil | The GetErrorString function retrieves the error message for a given return code, using the current language setting. |
GetEventCodeDef | DSUtil | Return a string explaining a filter graph event. |
GetFOURCC | DSUtil | Find the four-character codes wich identifi a codec. |
GetMediaTypeDescription | DSUtil | This function examine a media type and return a short description like GraphEdit. |
GetSourceRectFromMediaType | DSUtil | Retrieve original source rectangle from a TAM_Media_type record. |
HaveFilterPropertyPage | DSUtil | Return true if the specified property page is provided by the Filter. |
IntToTimeCode | DSUtil | deprecated, convert a Time code event to TDVD_TimeCode record. |
MAKEFOURCC | DSUtil | Create the four-character codes from a Cardinal value. |
MiliSecToRefTime | DSUtil | Convert milisecondes to 100 nano sec unit |
ProfileFromGUID | DSUtil | |
RefTimeToMiliSec | DSUtil | Convert 100 nano sec unit to milisecondes. |
RemoveGraphFromRot | DSUtil | Disable Graphedit to connect with your filter graph. ID: identifier provided by the AddGraphToRot method. |
ShowFilterPropertyPage | DSUtil | Show the property page associated with the Filter. A property page is one way for a filter to support properties that the user can set. Many of the filters provided with DirectShow support property pages, they are intended for debugging purposes, and are not recommended for application use. In most cases the equivalent functionality is provided through a custom interface on the filter. An application should control these filters programatically, rather than expose their property pages to users. |
ShowPinPropertyPage | DSUtil | Show the property page associated with the Pin. See also: ShowFilterPropertyPage . |
StretchRect | DSUtil | TODO -oMichael Andersen: make documentation |