#include "ffmpegCommon.h"#include "ffmpegFile.h"#include <epicsExport.h>#include <iocsh.h>Go to the source code of this file.
Defines | |
| #define | MAX_ATTRIBUTE_STRING_SIZE 256 |
Functions | |
| int | ffmpegFileConfigure (const char *portName, int queueSize, int blockingCallbacks, const char *NDArrayPort, int NDArrayAddr, int priority, int stackSize) |
| void | ffmpegFileRegister (void) |
| epicsExportRegistrar (ffmpegFileRegister) | |
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/.
Definition in file ffmpegFile.cpp.
| #define MAX_ATTRIBUTE_STRING_SIZE 256 |
Definition at line 9 of file ffmpegFile.cpp.
| epicsExportRegistrar | ( | ffmpegFileRegister | ) |
| 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.
| [in] | portName | The name of the asyn port driver to be created. |
| [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. |
| [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. |
| [in] | NDArrayPort | Name of asyn port driver for initial source of NDArray callbacks. |
| [in] | NDArrayAddr | asyn port driver address for initial source of NDArray callbacks. |
| [in] | priority | The thread priority for the asyn port driver thread if ASYN_CANBLOCK is set in asynFlags. |
| [in] | stackSize | The stack size for the asyn port driver thread if ASYN_CANBLOCK is set in asynFlags. |
Definition at line 401 of file ffmpegFile.cpp.
| void ffmpegFileRegister | ( | void | ) |
Definition at line 433 of file ffmpegFile.cpp.
1.7.1