4 #ifndef __STDC_CONSTANT_MACROS 5 #define __STDC_CONSTANT_MACROS 10 #include "libavcodec/avcodec.h" 11 #include "libswscale/swscale.h" 12 #include "libavformat/avformat.h" 19 #include "asynDriver.h" 26 #define NEUTRAL_FRAME_SIZE 4000 * 3000 / 2 31 struct SwsContext **pCtx, AVCodecContext *c, AVFrame *scPicture);
int formatArray(NDArray *pArray, asynUser *pasynUser, AVFrame *inPicture, struct SwsContext **pCtx, AVCodecContext *c, AVFrame *scPicture)
Format an NDArray as an AVFrame using the codec context c.
Definition: ffmpegCommon.cpp:30
void ffmpegInitialise()
Initialise the ffmpeg library.
Definition: ffmpegCommon.cpp:7
N-dimensional array class; each array has a set of dimensions, a data type, pointer to data,...
Definition: NDArray.h:92