MIL_FPGA_CONTEXT FpgaCommandContext, | //in |
MIL_BUFFER_INFO SrcBuf, | //in |
MIL_INT StreamInputNumber, | //in |
MIL_INT64 ControlFlag | //in |
This function specifies a source buffer for the FPGA processing operation. Data from the specified buffer is routed to the specified stream input port of the PU associated with the specified FPGA command context. To obtain the data from another PU, refer to MfpgaSetLink().
All PUs have documented limitations on the types of buffers from which their stream input port(s) can receive data. You must keep these limitations in mind when allocating your source MIL buffer(s). This function will not automatically convert the buffers so that they are appropriate for the operation. For more information, refer to the PU documentation available in the Matrox FPGA Component Reference help file.
Note that in general, child buffers are not supported; only color-band child buffers are supported.
When allocating source buffers on Matrox Solios, special care should be taken regarding the buffer width. The width of buffers allocated in acquisition memory must be a multiple of 64 bytes.
Specifies the handle of the source buffer. Use MfuncInquire() with M_BUFFER_INFO to get the handle. The source buffer can only reside in on-board memory. If allocated on-board, the source buffer must be allocated in on-board, Processing FPGA accessible memory (using MbufAlloc...() with M_FPGA_ACCESSIBLE).
Header | Include mil.h; milfpga.h. |
Library | Use mil.lib; milfpga.lib. |
DLL | Requires mil.dll; milfpga.dll. |