2009-04-06 21:14:55 +02:00
|
|
|
// Copyright (c) 2007-2009 Fredrik Mellbin
|
2008-09-01 23:16:13 +02:00
|
|
|
//
|
|
|
|
// Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
|
|
// of this software and associated documentation files (the "Software"), to deal
|
|
|
|
// in the Software without restriction, including without limitation the rights
|
|
|
|
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
|
|
// copies of the Software, and to permit persons to whom the Software is
|
|
|
|
// furnished to do so, subject to the following conditions:
|
|
|
|
//
|
|
|
|
// The above copyright notice and this permission notice shall be included in
|
|
|
|
// all copies or substantial portions of the Software.
|
|
|
|
//
|
|
|
|
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
|
|
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
|
|
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
|
|
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
|
|
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
|
|
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
|
|
// THE SOFTWARE.
|
|
|
|
|
|
|
|
#ifndef FFMS_H
|
|
|
|
#define FFMS_H
|
|
|
|
|
2009-09-26 23:56:15 +02:00
|
|
|
// Version format: major - minor - micro - bump
|
2011-01-08 21:32:18 +01:00
|
|
|
#define FFMS_VERSION ((2 << 24) | (14 << 16) | (1 << 8) | 1)
|
2009-09-26 23:56:15 +02:00
|
|
|
|
2008-09-01 23:16:13 +02:00
|
|
|
#include <stdint.h>
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
2011-01-08 21:32:18 +01:00
|
|
|
# define FFMS_EXTERN_C extern "C"
|
2009-05-21 12:39:14 +02:00
|
|
|
# define FFMS_CLASS_TYPE class
|
2008-09-01 23:16:13 +02:00
|
|
|
#else
|
2011-01-08 21:32:18 +01:00
|
|
|
# define FFMS_EXTERN_C
|
2009-05-21 12:39:14 +02:00
|
|
|
# define FFMS_CLASS_TYPE struct
|
2008-09-01 23:16:13 +02:00
|
|
|
#endif
|
|
|
|
|
2008-09-23 16:58:39 +02:00
|
|
|
#ifdef _WIN32
|
2008-09-12 22:41:29 +02:00
|
|
|
# define FFMS_CC __stdcall
|
2010-06-12 16:51:33 +02:00
|
|
|
# ifdef _MSC_VER
|
|
|
|
# ifdef FFMS_EXPORTS
|
2011-01-08 21:32:18 +01:00
|
|
|
# define FFMS_API(ret) FFMS_EXTERN_C __declspec(dllexport) ret FFMS_CC
|
2010-06-12 16:51:33 +02:00
|
|
|
# else
|
2011-01-08 21:32:18 +01:00
|
|
|
# define FFMS_API(ret) FFMS_EXTERN_C __declspec(dllimport) ret FFMS_CC
|
2010-06-12 16:51:33 +02:00
|
|
|
# endif
|
2008-09-12 22:41:29 +02:00
|
|
|
# else
|
2011-01-08 21:32:18 +01:00
|
|
|
# define FFMS_API(ret) FFMS_EXTERN_C ret FFMS_CC
|
2008-09-12 22:41:29 +02:00
|
|
|
# endif
|
2008-09-01 23:16:13 +02:00
|
|
|
#else
|
2008-09-23 16:58:39 +02:00
|
|
|
# define FFMS_CC
|
2011-01-08 21:32:18 +01:00
|
|
|
# define FFMS_API(ret) FFMS_EXTERN_C ret FFMS_CC
|
2008-09-01 23:16:13 +02:00
|
|
|
#endif
|
|
|
|
|
2009-11-21 22:11:41 +01:00
|
|
|
typedef struct {
|
2009-09-26 23:56:15 +02:00
|
|
|
int ErrorType;
|
|
|
|
int SubType;
|
|
|
|
int BufferSize;
|
|
|
|
char *Buffer;
|
2009-11-21 22:11:41 +01:00
|
|
|
} FFMS_ErrorInfo;
|
2009-09-26 23:56:15 +02:00
|
|
|
|
2009-11-21 22:11:41 +01:00
|
|
|
typedef FFMS_CLASS_TYPE FFMS_VideoSource FFMS_VideoSource;
|
|
|
|
typedef FFMS_CLASS_TYPE FFMS_AudioSource FFMS_AudioSource;
|
|
|
|
typedef FFMS_CLASS_TYPE FFMS_Indexer FFMS_Indexer;
|
|
|
|
typedef FFMS_CLASS_TYPE FFMS_Index FFMS_Index;
|
|
|
|
typedef FFMS_CLASS_TYPE FFMS_Track FFMS_Track;
|
2009-09-26 23:56:15 +02:00
|
|
|
|
|
|
|
enum FFMS_Errors {
|
|
|
|
// No error
|
|
|
|
FFMS_ERROR_SUCCESS = 0,
|
|
|
|
|
|
|
|
// Main types - where the error occurred
|
|
|
|
FFMS_ERROR_INDEX = 1,
|
|
|
|
FFMS_ERROR_INDEXING,
|
|
|
|
FFMS_ERROR_POSTPROCESSING,
|
|
|
|
FFMS_ERROR_SCALING,
|
|
|
|
FFMS_ERROR_DECODING,
|
|
|
|
FFMS_ERROR_SEEKING,
|
|
|
|
FFMS_ERROR_PARSER,
|
|
|
|
FFMS_ERROR_TRACK,
|
|
|
|
FFMS_ERROR_WAVE_WRITER,
|
|
|
|
FFMS_ERROR_CANCELLED,
|
|
|
|
|
|
|
|
// Subtypes - what caused the error
|
|
|
|
FFMS_ERROR_UNKNOWN = 20,
|
|
|
|
FFMS_ERROR_UNSUPPORTED,
|
|
|
|
FFMS_ERROR_FILE_READ,
|
|
|
|
FFMS_ERROR_FILE_WRITE,
|
|
|
|
FFMS_ERROR_NO_FILE,
|
|
|
|
FFMS_ERROR_VERSION,
|
|
|
|
FFMS_ERROR_ALLOCATION_FAILED,
|
|
|
|
FFMS_ERROR_INVALID_ARGUMENT,
|
|
|
|
FFMS_ERROR_CODEC,
|
|
|
|
FFMS_ERROR_NOT_AVAILABLE,
|
|
|
|
FFMS_ERROR_FILE_MISMATCH,
|
|
|
|
FFMS_ERROR_USER
|
|
|
|
};
|
|
|
|
|
|
|
|
enum FFMS_Sources {
|
|
|
|
FFMS_SOURCE_LAVF = 0x01,
|
|
|
|
FFMS_SOURCE_MATROSKA = 0x02,
|
|
|
|
FFMS_SOURCE_HAALIMPEG = 0x04,
|
|
|
|
FFMS_SOURCE_HAALIOGG = 0x08
|
|
|
|
};
|
2008-09-02 21:48:22 +02:00
|
|
|
|
2009-07-14 00:27:40 +02:00
|
|
|
enum FFMS_CPUFeatures {
|
|
|
|
FFMS_CPU_CAPS_MMX = 0x01,
|
|
|
|
FFMS_CPU_CAPS_MMX2 = 0x02,
|
|
|
|
FFMS_CPU_CAPS_3DNOW = 0x04,
|
|
|
|
FFMS_CPU_CAPS_ALTIVEC = 0x08,
|
2011-01-08 21:32:18 +01:00
|
|
|
FFMS_CPU_CAPS_BFIN = 0x10,
|
|
|
|
FFMS_CPU_CAPS_SSE2 = 0x20
|
2009-07-14 00:27:40 +02:00
|
|
|
};
|
|
|
|
|
2009-04-11 20:45:40 +02:00
|
|
|
enum FFMS_SeekMode {
|
2009-07-14 00:27:40 +02:00
|
|
|
FFMS_SEEK_LINEAR_NO_RW = -1,
|
|
|
|
FFMS_SEEK_LINEAR = 0,
|
|
|
|
FFMS_SEEK_NORMAL = 1,
|
|
|
|
FFMS_SEEK_UNSAFE = 2,
|
|
|
|
FFMS_SEEK_AGGRESSIVE = 3
|
2009-04-11 20:45:40 +02:00
|
|
|
};
|
|
|
|
|
2009-09-26 23:56:15 +02:00
|
|
|
enum FFMS_IndexErrorHandling {
|
|
|
|
FFMS_IEH_ABORT = 0,
|
|
|
|
FFMS_IEH_CLEAR_TRACK = 1,
|
|
|
|
FFMS_IEH_STOP_TRACK = 2,
|
|
|
|
FFMS_IEH_IGNORE = 3
|
|
|
|
};
|
|
|
|
|
2009-04-11 20:45:40 +02:00
|
|
|
enum FFMS_TrackType {
|
2009-05-20 20:57:03 +02:00
|
|
|
FFMS_TYPE_UNKNOWN = -1,
|
|
|
|
FFMS_TYPE_VIDEO,
|
|
|
|
FFMS_TYPE_AUDIO,
|
|
|
|
FFMS_TYPE_DATA,
|
|
|
|
FFMS_TYPE_SUBTITLE,
|
2009-05-21 12:39:14 +02:00
|
|
|
FFMS_TYPE_ATTACHMENT
|
2008-09-23 23:56:30 +02:00
|
|
|
};
|
|
|
|
|
2009-07-14 00:27:40 +02:00
|
|
|
enum FFMS_SampleFormat {
|
|
|
|
FFMS_FMT_U8 = 0,
|
|
|
|
FFMS_FMT_S16,
|
|
|
|
FFMS_FMT_S32,
|
|
|
|
FFMS_FMT_FLT,
|
|
|
|
FFMS_FMT_DBL
|
|
|
|
};
|
|
|
|
|
|
|
|
enum FFMS_AudioChannel {
|
|
|
|
FFMS_CH_FRONT_LEFT = 0x00000001,
|
|
|
|
FFMS_CH_FRONT_RIGHT = 0x00000002,
|
|
|
|
FFMS_CH_FRONT_CENTER = 0x00000004,
|
|
|
|
FFMS_CH_LOW_FREQUENCY = 0x00000008,
|
|
|
|
FFMS_CH_BACK_LEFT = 0x00000010,
|
|
|
|
FFMS_CH_BACK_RIGHT = 0x00000020,
|
|
|
|
FFMS_CH_FRONT_LEFT_OF_CENTER = 0x00000040,
|
|
|
|
FFMS_CH_FRONT_RIGHT_OF_CENTER = 0x00000080,
|
|
|
|
FFMS_CH_BACK_CENTER = 0x00000100,
|
|
|
|
FFMS_CH_SIDE_LEFT = 0x00000200,
|
|
|
|
FFMS_CH_SIDE_RIGHT = 0x00000400,
|
|
|
|
FFMS_CH_TOP_CENTER = 0x00000800,
|
|
|
|
FFMS_CH_TOP_FRONT_LEFT = 0x00001000,
|
|
|
|
FFMS_CH_TOP_FRONT_CENTER = 0x00002000,
|
|
|
|
FFMS_CH_TOP_FRONT_RIGHT = 0x00004000,
|
|
|
|
FFMS_CH_TOP_BACK_LEFT = 0x00008000,
|
|
|
|
FFMS_CH_TOP_BACK_CENTER = 0x00010000,
|
|
|
|
FFMS_CH_TOP_BACK_RIGHT = 0x00020000,
|
|
|
|
FFMS_CH_STEREO_LEFT = 0x20000000,
|
|
|
|
FFMS_CH_STEREO_RIGHT = 0x40000000
|
|
|
|
};
|
|
|
|
|
|
|
|
enum FFMS_Resizers {
|
2009-09-26 23:56:15 +02:00
|
|
|
FFMS_RESIZER_FAST_BILINEAR = 0x0001,
|
|
|
|
FFMS_RESIZER_BILINEAR = 0x0002,
|
|
|
|
FFMS_RESIZER_BICUBIC = 0x0004,
|
|
|
|
FFMS_RESIZER_X = 0x0008,
|
|
|
|
FFMS_RESIZER_POINT = 0x0010,
|
|
|
|
FFMS_RESIZER_AREA = 0x0020,
|
|
|
|
FFMS_RESIZER_BICUBLIN = 0x0040,
|
|
|
|
FFMS_RESIZER_GAUSS = 0x0080,
|
|
|
|
FFMS_RESIZER_SINC = 0x0100,
|
|
|
|
FFMS_RESIZER_LANCZOS = 0x0200,
|
|
|
|
FFMS_RESIZER_SPLINE = 0x0400
|
2009-07-14 00:27:40 +02:00
|
|
|
};
|
|
|
|
|
2011-01-08 21:32:18 +01:00
|
|
|
enum FFMS_AudioDelayModes {
|
|
|
|
FFMS_DELAY_NO_SHIFT = -3,
|
|
|
|
FFMS_DELAY_TIME_ZERO = -2,
|
|
|
|
FFMS_DELAY_FIRST_VIDEO_TRACK = -1
|
|
|
|
};
|
|
|
|
|
2009-11-21 22:11:41 +01:00
|
|
|
typedef struct {
|
2009-07-14 00:27:40 +02:00
|
|
|
uint8_t *Data[4];
|
|
|
|
int Linesize[4];
|
|
|
|
int EncodedWidth;
|
|
|
|
int EncodedHeight;
|
|
|
|
int EncodedPixelFormat;
|
|
|
|
int ScaledWidth;
|
|
|
|
int ScaledHeight;
|
|
|
|
int ConvertedPixelFormat;
|
|
|
|
int KeyFrame;
|
|
|
|
int RepeatPict;
|
|
|
|
int InterlacedFrame;
|
|
|
|
int TopFieldFirst;
|
|
|
|
char PictType;
|
2009-11-21 22:11:41 +01:00
|
|
|
} FFMS_Frame;
|
2008-09-01 23:16:13 +02:00
|
|
|
|
2009-11-21 22:11:41 +01:00
|
|
|
typedef struct {
|
2009-04-06 21:14:55 +02:00
|
|
|
int64_t Num;
|
|
|
|
int64_t Den;
|
2009-11-21 22:11:41 +01:00
|
|
|
} FFMS_TrackTimeBase;
|
2008-09-01 23:16:13 +02:00
|
|
|
|
2009-11-21 22:11:41 +01:00
|
|
|
#define FFMS_FRAMEINFO_COMMON int64_t PTS; int RepeatPict; int KeyFrame;
|
2009-05-20 20:57:03 +02:00
|
|
|
|
2009-11-21 22:11:41 +01:00
|
|
|
typedef struct {
|
2009-05-20 20:57:03 +02:00
|
|
|
FFMS_FRAMEINFO_COMMON
|
2009-11-21 22:11:41 +01:00
|
|
|
} FFMS_FrameInfo;
|
2008-09-01 23:16:13 +02:00
|
|
|
|
2009-11-21 22:11:41 +01:00
|
|
|
typedef struct {
|
2008-09-01 23:16:13 +02:00
|
|
|
int FPSDenominator;
|
|
|
|
int FPSNumerator;
|
2009-07-14 00:27:40 +02:00
|
|
|
int RFFDenominator;
|
|
|
|
int RFFNumerator;
|
2008-09-01 23:16:13 +02:00
|
|
|
int NumFrames;
|
|
|
|
int SARNum;
|
|
|
|
int SARDen;
|
|
|
|
int CropTop;
|
|
|
|
int CropBottom;
|
|
|
|
int CropLeft;
|
|
|
|
int CropRight;
|
2009-09-26 23:56:15 +02:00
|
|
|
int TopFieldFirst;
|
|
|
|
int ColorSpace; // same as in the MPEG-2 specs, see AVColorSpace in avcodec.h
|
|
|
|
int ColorRange; // 0=unspecified, 1=16-235, 2=0-255
|
2008-09-27 21:05:10 +02:00
|
|
|
double FirstTime;
|
|
|
|
double LastTime;
|
2009-11-21 22:11:41 +01:00
|
|
|
} FFMS_VideoProperties;
|
2008-09-01 23:16:13 +02:00
|
|
|
|
2009-11-21 22:11:41 +01:00
|
|
|
typedef struct {
|
2009-07-14 00:27:40 +02:00
|
|
|
int SampleFormat;
|
2008-09-19 23:35:46 +02:00
|
|
|
int SampleRate;
|
|
|
|
int BitsPerSample;
|
2009-07-14 00:27:40 +02:00
|
|
|
int Channels;
|
|
|
|
int64_t ChannelLayout;
|
2008-09-19 23:35:46 +02:00
|
|
|
int64_t NumSamples;
|
2009-05-16 01:11:18 +02:00
|
|
|
double FirstTime;
|
2009-05-18 00:02:43 +02:00
|
|
|
double LastTime;
|
2009-11-21 22:11:41 +01:00
|
|
|
} FFMS_AudioProperties;
|
2008-09-19 23:35:46 +02:00
|
|
|
|
2009-05-22 23:28:02 +02:00
|
|
|
typedef int (FFMS_CC *TIndexCallback)(int64_t Current, int64_t Total, void *ICPrivate);
|
2009-09-26 23:56:15 +02:00
|
|
|
typedef int (FFMS_CC *TAudioNameCallback)(const char *SourceFile, int Track, const FFMS_AudioProperties *AP, char *FileName, int FNSize, void *Private);
|
2009-05-16 01:11:18 +02:00
|
|
|
|
2008-10-01 20:13:12 +02:00
|
|
|
// Most functions return 0 on success
|
2009-07-14 00:27:40 +02:00
|
|
|
// Functions without error message output can be assumed to never fail in a graceful way
|
2010-11-09 20:55:23 +01:00
|
|
|
FFMS_API(void) FFMS_Init(int CPUFeatures, int UseUTF8Paths);
|
2009-05-12 22:50:40 +02:00
|
|
|
FFMS_API(int) FFMS_GetLogLevel();
|
|
|
|
FFMS_API(void) FFMS_SetLogLevel(int Level);
|
2009-09-26 23:56:15 +02:00
|
|
|
FFMS_API(FFMS_VideoSource *) FFMS_CreateVideoSource(const char *SourceFile, int Track, FFMS_Index *Index, int Threads, int SeekMode, FFMS_ErrorInfo *ErrorInfo);
|
2011-01-08 21:32:18 +01:00
|
|
|
FFMS_API(FFMS_AudioSource *) FFMS_CreateAudioSource(const char *SourceFile, int Track, FFMS_Index *Index, int DelayMode, FFMS_ErrorInfo *ErrorInfo);
|
2009-09-26 23:56:15 +02:00
|
|
|
FFMS_API(void) FFMS_DestroyVideoSource(FFMS_VideoSource *V);
|
|
|
|
FFMS_API(void) FFMS_DestroyAudioSource(FFMS_AudioSource *A);
|
|
|
|
FFMS_API(const FFMS_VideoProperties *) FFMS_GetVideoProperties(FFMS_VideoSource *V);
|
|
|
|
FFMS_API(const FFMS_AudioProperties *) FFMS_GetAudioProperties(FFMS_AudioSource *A);
|
|
|
|
FFMS_API(const FFMS_Frame *) FFMS_GetFrame(FFMS_VideoSource *V, int n, FFMS_ErrorInfo *ErrorInfo);
|
|
|
|
FFMS_API(const FFMS_Frame *) FFMS_GetFrameByTime(FFMS_VideoSource *V, double Time, FFMS_ErrorInfo *ErrorInfo);
|
|
|
|
FFMS_API(int) FFMS_GetAudio(FFMS_AudioSource *A, void *Buf, int64_t Start, int64_t Count, FFMS_ErrorInfo *ErrorInfo);
|
|
|
|
FFMS_API(int) FFMS_SetOutputFormatV(FFMS_VideoSource *V, int64_t TargetFormats, int Width, int Height, int Resizer, FFMS_ErrorInfo *ErrorInfo);
|
|
|
|
FFMS_API(void) FFMS_ResetOutputFormatV(FFMS_VideoSource *V);
|
|
|
|
FFMS_API(int) FFMS_SetPP(FFMS_VideoSource *V, const char *PP, FFMS_ErrorInfo *ErrorInfo);
|
|
|
|
FFMS_API(void) FFMS_ResetPP(FFMS_VideoSource *V);
|
|
|
|
FFMS_API(void) FFMS_DestroyIndex(FFMS_Index *Index);
|
2010-06-12 16:51:33 +02:00
|
|
|
FFMS_API(int) FFMS_GetSourceType(FFMS_Index *Index);
|
2009-09-26 23:56:15 +02:00
|
|
|
FFMS_API(int) FFMS_GetFirstTrackOfType(FFMS_Index *Index, int TrackType, FFMS_ErrorInfo *ErrorInfo);
|
|
|
|
FFMS_API(int) FFMS_GetFirstIndexedTrackOfType(FFMS_Index *Index, int TrackType, FFMS_ErrorInfo *ErrorInfo);
|
|
|
|
FFMS_API(int) FFMS_GetNumTracks(FFMS_Index *Index);
|
|
|
|
FFMS_API(int) FFMS_GetNumTracksI(FFMS_Indexer *Indexer);
|
|
|
|
FFMS_API(int) FFMS_GetTrackType(FFMS_Track *T);
|
|
|
|
FFMS_API(int) FFMS_GetTrackTypeI(FFMS_Indexer *Indexer, int Track);
|
2011-01-08 21:32:18 +01:00
|
|
|
FFMS_API(const char *) FFMS_GetCodecNameI(FFMS_Indexer *Indexer, int Track);
|
2009-09-26 23:56:15 +02:00
|
|
|
FFMS_API(int) FFMS_GetNumFrames(FFMS_Track *T);
|
|
|
|
FFMS_API(const FFMS_FrameInfo *) FFMS_GetFrameInfo(FFMS_Track *T, int Frame);
|
|
|
|
FFMS_API(FFMS_Track *) FFMS_GetTrackFromIndex(FFMS_Index *Index, int Track);
|
|
|
|
FFMS_API(FFMS_Track *) FFMS_GetTrackFromVideo(FFMS_VideoSource *V);
|
|
|
|
FFMS_API(FFMS_Track *) FFMS_GetTrackFromAudio(FFMS_AudioSource *A);
|
|
|
|
FFMS_API(const FFMS_TrackTimeBase *) FFMS_GetTimeBase(FFMS_Track *T);
|
|
|
|
FFMS_API(int) FFMS_WriteTimecodes(FFMS_Track *T, const char *TimecodeFile, FFMS_ErrorInfo *ErrorInfo);
|
|
|
|
FFMS_API(FFMS_Index *) FFMS_MakeIndex(const char *SourceFile, int IndexMask, int DumpMask, TAudioNameCallback ANC, void *ANCPrivate, int ErrorHandling, TIndexCallback IC, void *ICPrivate, FFMS_ErrorInfo *ErrorInfo);
|
|
|
|
FFMS_API(int) FFMS_DefaultAudioFilename(const char *SourceFile, int Track, const FFMS_AudioProperties *AP, char *FileName, int FNSize, void *Private);
|
|
|
|
FFMS_API(FFMS_Indexer *) FFMS_CreateIndexer(const char *SourceFile, FFMS_ErrorInfo *ErrorInfo);
|
|
|
|
FFMS_API(FFMS_Index *) FFMS_DoIndexing(FFMS_Indexer *Indexer, int IndexMask, int DumpMask, TAudioNameCallback ANC, void *ANCPrivate, int ErrorHandling, TIndexCallback IC, void *ICPrivate, FFMS_ErrorInfo *ErrorInfo);
|
|
|
|
FFMS_API(void) FFMS_CancelIndexing(FFMS_Indexer *Indexer);
|
|
|
|
FFMS_API(FFMS_Index *) FFMS_ReadIndex(const char *IndexFile, FFMS_ErrorInfo *ErrorInfo);
|
|
|
|
FFMS_API(int) FFMS_IndexBelongsToFile(FFMS_Index *Index, const char *SourceFile, FFMS_ErrorInfo *ErrorInfo);
|
|
|
|
FFMS_API(int) FFMS_WriteIndex(const char *IndexFile, FFMS_Index *Index, FFMS_ErrorInfo *ErrorInfo);
|
2009-04-25 10:55:14 +02:00
|
|
|
FFMS_API(int) FFMS_GetPixFmt(const char *Name);
|
2009-09-26 23:56:15 +02:00
|
|
|
FFMS_API(int) FFMS_GetPresentSources();
|
|
|
|
FFMS_API(int) FFMS_GetEnabledSources();
|
2009-05-20 20:57:03 +02:00
|
|
|
|
2008-09-01 23:16:13 +02:00
|
|
|
#endif
|