MIL_ID ContextSeqId, | //in |
MIL_INT SequenceIndex, | //in |
MIL_INT64 SequenceType, | //in |
const void *Param1Ptr, | //in |
MIL_DOUBLE Param2 | //in |
This function defines, or redefines, the source of an input or a destination of an output of the sequence operation of the specified sequence context. The source of an input specifies from where to obtain the data to be operated on by the sequence processing operation, while the destinations of an output specify where to store data resulting from the sequence processing operation.
You can define multiple destinations for each output of the operation, but only one source for each input of the operation. The number of inputs and outputs are operation dependent. Both a sequence compression and a sequence decompression take only one input and have only one output.
If you specify an index that has already been defined, that index will be associated with the new information. If you do not want to use a destination at a specified index, redefine the destination as M_USER_HOOK. If you do not want to use a source at a specified index, redefine the source as M_USER_FEED.
Specifies the identifier of the sequence context. The sequence context must have been previously allocated using MseqAlloc().
Specifies whether to define, or redefine, the source of an input or one of the destinations of an output for the sequence operation of the specified sequence context.
Specifies the index of the input or the output whose source or destinations must be defined or redefined; respectively.
For specifying an input or output of the
sequence operation at a given index
|
|||||||||||||||||||||||||||||||||||||||
Value |
Description
|
||||||||||||||||||||||||||||||||||||||
Specifies an input of the sequence operation, whose source must be defined or redefined. (more details...) |
|||||||||||||||||||||||||||||||||||||||
Parameters | |||||||||||||||||||||||||||||||||||||||
Specifies the index of the input. The index must be 0. |
|||||||||||||||||||||||||||||||||||||||
Specifies an output of the sequence operation, whose destination must be defined or redefined. (more details...) |
|||||||||||||||||||||||||||||||||||||||
Parameters | |||||||||||||||||||||||||||||||||||||||
Specifies the index of the output. The index must be set to 0. |
You must add the following value to the above-mentioned value to specify the index of the destination of the output, to define or redefine.
For specifying the index of the
destination of the output to define or redefine
|
|||||||||||||||||||||||||||||||||||||||
Combination value |
Description
|
||||||||||||||||||||||||||||||||||||||
Specifies the destination of the output, to define or redefine. (more details...) |
|||||||||||||||||||||||||||||||||||||||
Parameters | |||||||||||||||||||||||||||||||||||||||
Specifies the index of the destination. The index must be between 0 and 31. |
Specifies the type of source or destination to define.
See the Parameter associations section for possible values that can be specified.
Specifies an attribute of the source or destination to define. Its definition is dependent on the sequence type chosen.
Set this parameter to M_NULL if not used.
See the Parameter associations section for possible values that can be specified.
Specifies an attribute of the source or destination to define. Its definition is dependent on the sequence type chosen.
Set this parameter to M_NULL if not used.
See the Parameter associations section for possible values that can be specified.
The table below lists possible values for the SequenceType, Param1Ptr, and Param2 parameters.
To specify the settings of the source or destination, set the Param1Ptr and Param2 parameters to the following values. Note that any unused parameters should be set to M_NULL.
For specifying the source or destination
settings
|
|||||||||||||||||||||||||||||||||||||||
SequenceType |
Description
|
||||||||||||||||||||||||||||||||||||||
Param1Ptr | |||||||||||||||||||||||||||||||||||||||
Param2 | |||||||||||||||||||||||||||||||||||||||
M_BUFFER_LIST |
Defines the source of the input, or destination of the output, of the sequence operation as a buffer list. (more details...) |
||||||||||||||||||||||||||||||||||||||
Param1Ptr |
Data
type info
Data type: array of type MIL_ID Specifies the address of the array containing the identifiers of the buffers on which to perform the operation. (more details...) |
||||||||||||||||||||||||||||||||||||||
Param2 |
Specifies the number of buffers in the buffer list. |
||||||||||||||||||||||||||||||||||||||
M_FILE |
Defines the source of the input, or destination of the output, of the sequence operation as a file. INQ (more details...) |
||||||||||||||||||||||||||||||||||||||
Param1Ptr | |||||||||||||||||||||||||||||||||||||||
MIL_TEXT("FileName") 1 |
Specifies the drive, directory, and name of the file (for example, "C:\mydirectory\myfile"). (more details...) |
||||||||||||||||||||||||||||||||||||||
Param2 |
Specifies the format of the file. (more details...) |
||||||||||||||||||||||||||||||||||||||
M_FILE_FORMAT_AVI |
Specifies that the file is in AVI format. |
||||||||||||||||||||||||||||||||||||||
M_FILE_FORMAT_H264 |
Specifies that the file is in H.264 elementary video data format. (more details...) |
||||||||||||||||||||||||||||||||||||||
M_FILE_FORMAT_MP4 |
Specifies that the file is in MP4 format. |
||||||||||||||||||||||||||||||||||||||
M_USER_FEED |
Defines the source of the input of the sequence operation as a manual image feed, where the images are passed individually to the sequence operation. (more details...) |
||||||||||||||||||||||||||||||||||||||
M_USER_HOOK |
Defines the destination of the output as the internal output buffer of the operation; if this is the only destination, you should use a user-defined hook function to retrieve the data before it is overwritten by the next frame of resulting data (MseqHookFunction() with M_FRAME_END). (more details...) |
1 If you are passing the value in a variable, don't enclose it in MIL_TEXT().
Header | Include mil.h. |
Library | Use mil.lib. |
DLL | Requires mil.dll. |