areaDetector  3-14
EPICS areaDetector framework
Functions
ffmpegFile.cpp File Reference

section License Author: Diamond Light Source, Copyright 2010 More...

#include "ffmpegCommon.h"
#include "ffmpegFile.h"
#include <epicsExport.h>
#include <iocsh.h>

Functions

int ffmpegFileConfigure (const char *portName, int queueSize, int blockingCallbacks, const char *NDArrayPort, int NDArrayAddr, int priority, int stackSize)
 Configuration routine. More...
 
void ffmpegFileRegister (void)
 
 epicsExportRegistrar (ffmpegFileRegister)
 

Detailed Description

section License Author: Diamond Light Source, Copyright 2010

'ffmpegServer' is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

'ffmpegServer' is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along with 'ffmpegServer'. If not, see http://www.gnu.org/licenses/.

Function Documentation

◆ epicsExportRegistrar()

epicsExportRegistrar ( ffmpegFileRegister  )

◆ ffmpegFileConfigure()

int ffmpegFileConfigure ( const char *  portName,
int  queueSize,
int  blockingCallbacks,
const char *  NDArrayPort,
int  NDArrayAddr,
int  priority,
int  stackSize 
)

Configuration routine.

Called directly, or from the iocsh function, calls ffmpegFile constructor:

Constructor for ffmpegFile; all parameters are simply passed to NDPluginFile::NDPluginFile. ffmpegFileConfigure() should be used to create an instance in the iocsh. See ffmpegStream.template for more details of usage.

\param[in] portName The name of the asyn port driver to be created.
\param[in] queueSize The number of NDArrays that the input queue for this plugin can hold when 
           NDPluginDriverBlockingCallbacks=0.  Larger queues can decrease the number of dropped arrays,
           at the expense of more NDArray buffers being allocated from the underlying driver's NDArrayPool.
\param[in] blockingCallbacks Initial setting for the NDPluginDriverBlockingCallbacks flag.
           0=callbacks are queued and executed by the callback thread; 1 callbacks execute in the thread
           of the driver doing the callbacks.
\param[in] NDArrayPort Name of asyn port driver for initial source of NDArray callbacks.
\param[in] NDArrayAddr asyn port driver address for initial source of NDArray callbacks.
\param[in] priority The thread priority for the asyn port driver thread if ASYN_CANBLOCK is set in asynFlags.
\param[in] stackSize The stack size for the asyn port driver thread if ASYN_CANBLOCK is set in asynFlags.

◆ ffmpegFileRegister()

void ffmpegFileRegister ( void  )