#include <ividenc1.h>
Collaboration diagram for IVIDENC1_OutArgs:
size
parameter.
The size
field must be correctly set by the caller.
Size of this structure in bytes. Because this structure can be extended, this field must be correctly set by the caller.
Extended error information.
The value of each enum is the bit which is set.
Bits 31-16 are reserved. Bits 7-0 are codec and implementation specific.
The algorithm can set multiple bits to 1 based on conditions. e.g. it will set bits XDM_FATALERROR (fatal) and XDM_UNSUPPORTEDPARAM (unsupported params) in case of unsupported run time parameters.
This enumeration data type should not be used for storage, but rather only for its constant values.
Number of bytes generated during the IVIDENC1_Fxns::process() call.
Video frame types.
IVIDEO_xy_FRAME
values, this frame type is interlaced where both top and bottom fields are provided in a single frame. The first field is an "x" frame, the second field is "y" field.This enumeration data type should not be used for storage, but rather only for its constant values.
This enumeration defines a base set of values. Algorithms which require proprietary enumeration values may define them - much like extended fields in base structures. These extended enums should be between XDM_CUSTOMENUMBASE and 0x7FFF.
Video frame skipping modes.
This enumeration defines a base set of values. Algorithms which require proprietary enumeration values may define them - much like extended fields in base structures. These extended enums should be between XDM_CUSTOMENUMBASE and 0x7FFF.
Output ID corresponding with the encoded buffer. This shall also be used to free up the corresponding image buffer for further use by client application code.
The encoder fills the buffer with the encoded bitstream. In case of sequences having I & P frames only, these values are identical to outBufs
passed in IVIDENC1_Fxns::process().
encodedbuf.bufSize
field returned corresponds to the actual valid bytes available in the buffer.The bitstream is in encoded order.
outputID
and encodedBuf
together provide info relating to the corresponding encoded image buffer.
Reconstruction frames.
outBufs->bufs
[1], outBufs->bufs
[2], and outBufs->bufs
[3].
reconBufs.bufDesc
[0].buf is equivalent to outBufs->bufs
[1], reconBufs.bufDesc
[1].buf is equivalent to outBufs->bufs
[2], and reconBufs.bufDesc
[2].buf is equivalent to outBufs->bufs
[3].