Go to the documentation of this file.00001 #ifndef ffmpegCommon_H
00002 #define ffmpegCommon_H
00003
00004 #ifndef __STDC_CONSTANT_MACROS
00005 #define __STDC_CONSTANT_MACROS
00006 #endif
00007
00008
00009 extern "C" {
00010 #include "libavcodec/avcodec.h"
00011 #include "libswscale/swscale.h"
00012 #include "libavformat/avformat.h"
00013 }
00014
00015
00016 #include "NDArray.h"
00017
00018
00019 #include "asynDriver.h"
00020
00021
00022 void ffmpegInitialise();
00023
00024
00025
00026 #define NEUTRAL_FRAME_SIZE 4000 * 3000 / 2
00027
00028
00029
00030 int formatArray(NDArray *pArray, asynUser *pasynUser, AVFrame *inPicture,
00031 struct SwsContext **pCtx, AVCodecContext *c, AVFrame *scPicture);
00032
00033 #endif
00034