Commit 6fabaa9d authored by Ghislain MARY's avatar Ghislain MARY

Fix compilation.

parent b25b9d8c
......@@ -66,6 +66,27 @@ struct _MSFilterMethod{
};
/**
* Interface IDs, used to generate method names (see MS_FILTER_METHOD macro).
* The purpose of these interfaces is to allow different filter implementations to share the same methods, by implementing the method definitions for these interfaces.
* For example every video encoder implementation would need a method to request the generation of a key frame. Instead of having each implementation defining its own method to do this,
* each implementation can just implement the MS_VIDEO_ENCODER_REQ_VFU method of the MSFilterVideoEncoderInterface.
**/
enum _MSFilterInterfaceId{
MSFilterInterfaceBegin=16384,
MSFilterPlayerInterface, /**<Player interface, used to control playing of files.*/
MSFilterRecorderInterface,/**<Recorder interface, used to control recording of stream into files.*/
MSFilterVideoDisplayInterface,/**<Video display interface, used to control the rendering of raw pictures onscreen.*/
MSFilterEchoCancellerInterface,/**Echo canceller interface, used to control echo canceller implementations.*/
MSFilterVideoDecoderInterface,/**<Video decoder interface*/
MSFilterVideoCaptureInterface,/**<Video capture interface*/
MSFilterAudioDecoderInterface,/**<Audio Decoder interface*/
MSFilterVideoEncoderInterface,/**<Video encoder interface*/
MSFilterAudioCaptureInterface,/**<Interface for audio capture filters*/
MSFilterAudioPlaybackInterface,/**Interface for audio playback filters.*/
MSFilterAudioEncoderInterface,/**<Video encoder interface*/
};
/**
* Interface IDs, used to generate method names (see MS_FILTER_METHOD macro).
*
......@@ -602,27 +623,6 @@ the method index (_cnt_) and the argument size */
/**Filters can return their latency in milliseconds (if known) using this method:*/
#define MS_FILTER_GET_LATENCY MS_FILTER_BASE_METHOD(11,int)
/**
* Interface IDs, used to generate method names (see MS_FILTER_METHOD macro).
* The purpose of these interfaces is to allow different filter implementations to share the same methods, by implementing the method definitions for these interfaces.
* For example every video encoder implementation would need a method to request the generation of a key frame. Instead of having each implementation defining its own method to do this,
* each implementation can just implement the MS_VIDEO_ENCODER_REQ_VFU method of the MSFilterVideoEncoderInterface.
**/
enum _MSFilterInterfaceId{
MSFilterInterfaceBegin=16384,
MSFilterPlayerInterface, /**<Player interface, used to control playing of files.*/
MSFilterRecorderInterface,/**<Recorder interface, used to control recording of stream into files.*/
MSFilterVideoDisplayInterface,/**<Video display interface, used to control the rendering of raw pictures onscreen.*/
MSFilterEchoCancellerInterface,/**Echo canceller interface, used to control echo canceller implementations.*/
MSFilterVideoDecoderInterface,/**<Video decoder interface*/
MSFilterVideoCaptureInterface,/**<Video capture interface*/
MSFilterAudioDecoderInterface,/**<Audio Decoder interface*/
MSFilterVideoEncoderInterface,/**<Video encoder interface*/
MSFilterAudioCaptureInterface,/**<Interface for audio capture filters*/
MSFilterAudioPlaybackInterface,/**Interface for audio playback filters.*/
MSFilterAudioEncoderInterface,/**<Video encoder interface*/
};
/* more specific methods: to be moved into implementation specific header files*/
#define MS_FILTER_SET_FILTERLENGTH MS_FILTER_BASE_METHOD(12,int)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment