xine-lib 1.2.13-20230125hg15249
Data Structures | Typedefs | Functions
DMO_Filter.h File Reference
#include "dmo_guids.h"
#include "dmo_interfaces.h"

Go to the source code of this file.

Data Structures

struct  _DMO_Filter
 

Typedefs

typedef struct _DMO_Filter DMO_Filter
 
typedef struct _CMediaBuffer CMediaBuffer
 

Functions

DMO_FilterDMO_FilterCreate (const char *dllname, const GUID *id, AM_MEDIA_TYPE *in_fmt, AM_MEDIA_TYPE *out_fmt)
 
void DMO_Filter_Destroy (DMO_Filter *This)
 
CMediaBufferCMediaBufferCreate (unsigned long maxlen, void *mem, unsigned long len, int copy)
 

Typedef Documentation

◆ CMediaBuffer

typedef struct _CMediaBuffer CMediaBuffer

◆ DMO_Filter

typedef struct _DMO_Filter DMO_Filter

Function Documentation

◆ CMediaBufferCreate()

CMediaBuffer * CMediaBufferCreate ( unsigned long maxlen,
void * mem,
unsigned long len,
int copy )

Create IMediaBuffer object - to pass/receive data from DMO_Filter

maxlen - maximum size for this buffer mem - initial memory 0 - creates memory len - initial size of used portion of the buffer copy - make a local copy of data

References CMediaBuffer_Destroy(), CMediaBuffer_GetBufferAndLength(), CMediaBuffer_GetMaxLength(), CMediaBuffer_SetLength(), _CMediaBuffer::freemem, IMediaBuffer_vt::GetBufferAndLength, IMediaBuffer_vt::GetMaxLength, IID_IMediaBuffer, _CMediaBuffer::interfaces, _CMediaBuffer::len, _CMediaBuffer::maxlen, _CMediaBuffer::mem, NULL, IMediaBuffer_vt::SetLength, and _CMediaBuffer::vt.

Referenced by DMO_AudioDecoder_Convert(), and DMO_VideoDecoder_DecodeInternal().

◆ DMO_Filter_Destroy()

void DMO_Filter_Destroy ( DMO_Filter * This)

◆ DMO_FilterCreate()

DMO_Filter * DMO_FilterCreate ( const char * dllname,
const GUID * id,
AM_MEDIA_TYPE * in_fmt,
AM_MEDIA_TYPE * out_fmt )