MIL_ID SystemId, | //in |
MIL_INT64 SequenceType, | //in |
MIL_INT64 Operation, | //in |
MIL_UINT32 OutputFormat, | //in |
MIL_INT64 InitFlag, | //in |
MIL_ID *ContextSeqIdPtr | //out |
This function allocates a sequence context on the specified system. A sequence context establishes the sequence operation that should be performed when a sequence processing operation is started using MseqProcess() and contains all the information necessary to perform it. When the sequence context is no longer required, you should release its memory, using MseqFree().
Define the source of an input or the destination(s) of an output for a sequence operation using MseqDefine(). Specify the operation settings of the sequence operation and adjust the settings of the source(s) and destination(s) using MseqControl().
H.264 video encoding is optimized for Intel CPUs and can be subject to performance and stability issues when used with other CPUs.
Specifies the system on which to allocate the sequence context. This parameter should be set to one of the following values:
For specifying the system
|
|||||||||||||||||||||||||||||||||||||||
Value | Description
|
||||||||||||||||||||||||||||||||||||||
M_DEFAULT_HOST |
Specifies the default Host system of the current MIL application. |
||||||||||||||||||||||||||||||||||||||
MIL system identifier |
Specifies a valid system identifier, previously allocated using MsysAlloc(). |
Specifies the operation that the sequence processing session should perform.
For specifying the operation performed by
the sequence processing session
|
|||||||||||||||||||||||||||||||||||||||
Value | Description
|
||||||||||||||||||||||||||||||||||||||
M_SEQ_COMPRESS |
Specifies that the sequence processing operation will compress a sequence of images into an H.264 elementary video stream. |
||||||||||||||||||||||||||||||||||||||
M_SEQ_DECOMPRESS |
Specifies that the sequence processing operation will decompress an H.264 elementary video stream. |
Specifies the format to use to create the internal output buffer.
For specifying the output format to
use
|
|||||||||||||||||||||||||||||||||||||||
Value | Description
|
||||||||||||||||||||||||||||||||||||||
M_DEFAULT |
Specifies the default output format. (more details...) |
Specifies the underlying hardware or software used for the operation.
For specifying the underlying hardware or
software used for the operation.
|
|||||||||||||||||||||||||||||||||||||||
Value | Description
|
||||||||||||||||||||||||||||||||||||||
M_DEFAULT |
[For
essential MIL-Lite information, see remarks ]
Same as M_QSV. |
||||||||||||||||||||||||||||||||||||||
M_QSV + |
[For
essential MIL-Lite information, see remarks ]
Specifies to perform the operation using the Intel QSV engine. (more details...) |
You can use one of the following values on its own, or add it to the above-mentioned value, to set whether the operation will be performed in hardware or software.
For specifying whether the operation is
performed in hardware or software
|
|||||||||||||||||||||||||||||||||||||||
Value | Description
|
||||||||||||||||||||||||||||||||||||||
M_HARDWARE |
Specifies to perform the operation in hardware; MIL will select the first hardware accelerated device it detects. (more details...) |
||||||||||||||||||||||||||||||||||||||
M_SOFTWARE |
Specifies to perform the operation in software. |
Header | Include mil.h. |
Library | Use mil.lib. |
DLL | Requires mil.dll. |