MFORMATSLib Namespace : MFFrameClass Class |
The following tables list the members exposed by MFFrameClass.
Name | Description | |
---|---|---|
![]() | MFAddToStream | Add a frame to a stream |
![]() | MFAllGet | Gets all frame's properties |
![]() | MFAudioAlloc | Allocates frame's audio data |
![]() | MFAudioChannelGetBytes | Gets audio channel's data pointer. Warning: For 20, 24, 32 integer this method returns 32 bit float data. The changes are applied only after a call of MFAudioChannelsUpdate() method |
![]() | MFAudioChannelsUpdate | Update frame's audio channel's data or number of channels. Call this method after modification of memory that is returned by MFAudioChannelGetBytes() method. |
![]() | MFAudioCopyTo | Copies audio channels, the bits conversion can be also performed |
![]() | MFAudioGain | Gets audio gain in dB. |
![]() | MFAudioGetBytes | Gets audio data pointer and data size |
![]() | MFAudioLoadFromFile | Loads audio data from a WAV file |
![]() | MFAudioMix | Mixes audio data |
![]() | MFAudioMixDirect | Directly mixes audio data (audio data of source frame and of the mixed frame should have equal frequency) |
![]() | MFAudioSaveToFile | Save audio to file (WAV format is used). If the file is exist and have WAV format then audio will be added to the end of the file. Note: format is not checked. |
![]() | MFAudioSet | Sets frame's audio data |
![]() | MFAVPropsGet | Gets media properties of the frame |
![]() | MFAVPropsSet | Sets media properties for the frame. Note that width, height, row-bytes can't be changed with this method. To change them you should convert a frame. |
![]() | MFClone | Gets a clone of the frame. See eMFrameClone for more information about clone types. |
![]() | MFConvert | Converts the frame's format (include frame rate conversion) or just scale the video frame. |
![]() | MFCut | Cuts out part of video frame without memory copy. nFeild <= 0->both, nField=1 -> first field, nField=2 -> second field |
![]() | MFDataGet | Gets ancillary data by four char code e.g. 'C608'. |
![]() | MFDataGetByIndex | Gets ancillary data by its index |
![]() | MFDataSet | Sets ancillary data by four char code e.g. 'C608'. |
![]() | MFFlagCheck | Checks a frame's flag |
![]() | MFGetProcessID | Gets frame's process ID |
![]() | MFLoad | Loads a full copy of all data (used internally for transfer data between process) |
![]() | MFLoadFromStream | Loads a frame from a stream |
![]() | MFObjGet | Gets an attached object by its ID |
![]() | MFObjGetByIndex | Gets an attached object by its index. |
![]() | MFObjSet | Sets an attached object by its ID |
![]() | MFOverlay | Mixes frames: overlays _pFrameOverlay frame over this frame. By default audio gain is calculated based on overlay size and transparency or can be specified via 'audio_gain' property. |
![]() | MFOverlayRect | Mixes frames - overlays _pFrameOverlay frame over this frame, the position is from top-left corner, for 4:2:2 images (e.g. UYVY) horizontal position is aligned by two (e.g. 21->20). By default audio gain is calculated based on overlay size and transparency or can be specified via 'audio_gain' props. |
![]() | MFPrint | Prints text over the frame. More details are here. |
![]() | MFResize | Resizes the frame (just scale video frame). |
![]() | MFSave | Saves a full copy of all data (used internally for transfer data between process) |
![]() | MFSaveToStream | Saves a frame to a stream |
![]() | MFStrGet | Gets a string by its ID |
![]() | MFStrGetByIndex | Gets a string by its index. |
![]() | MFStrSet | Sets a string by its ID. |
![]() | MFTimeGet | Gets a frame's time |
![]() | MFTimeSet | Sets a frame's time |
![]() | MFTransition | Makes a transition between frames |
![]() | MFVideoGetBytes | Gets frame's video data pointer |
![]() | MFVideoGetBytesEx | Extended method to get video bytes of a frame |
![]() | MFVideoGetHbitmap | Gets a HBitmap for a frame |
![]() | MFVideoSaveToFile | Saves frame's video to a file. Supported formats are: PNG, JPG, BMP, TGA, TIFF |
![]() | MFWaitAsync | Waits until asynchronous procedure is finished |