![]() |
![]() |
Codec Engine Application Programming Interface (API)
ce-w08
|
Data Structures | |
struct | IVIDEO_BufDesc |
Buffer descriptor for video buffers. More... | |
struct | IVIDEO1_BufDescIn |
Buffer descriptor for input video buffers. More... | |
struct | IVIDEO1_BufDesc |
Detailed buffer descriptor for video buffers. More... | |
struct | IVIDEO2_BufDesc |
Detailed buffer descriptor for video buffers. More... |
Macros | |
#define | IVIDEO2_MAX_IO_BUFFERS 20 |
Maximum I/O Buffers. | |
#define | IVIDEO_MAX_YUV_BUFFERS 3 |
Max YUV buffers - one each for 'Y', 'U', and 'V'. | |
#define | IVIDEO_MAX_NUM_PLANES 3 |
Max YUV buffers - one each for 'Y', 'U', and 'V'. | |
#define | IVIDEO_MAX_NUM_METADATA_PLANES 3 |
Typedefs | |
typedef struct IVIDEO_BufDesc | IVIDEO_BufDesc |
Buffer descriptor for video buffers. | |
typedef struct IVIDEO1_BufDescIn | IVIDEO1_BufDescIn |
Buffer descriptor for input video buffers. | |
typedef struct IVIDEO1_BufDesc | IVIDEO1_BufDesc |
Detailed buffer descriptor for video buffers. | |
typedef struct IVIDEO2_BufDesc | IVIDEO2_BufDesc |
Detailed buffer descriptor for video buffers. |
This is the XDM video interface shared between the various codecs.
#define IVIDEO2_MAX_IO_BUFFERS 20 |
Maximum I/O Buffers.
#define IVIDEO_MAX_YUV_BUFFERS 3 |
Max YUV buffers - one each for 'Y', 'U', and 'V'.
#define IVIDEO_MAX_NUM_PLANES 3 |
Max YUV buffers - one each for 'Y', 'U', and 'V'.
Luma followed by chroma.
#define IVIDEO_MAX_NUM_METADATA_PLANES 3 |
MBINFO , packet error info and alpha planes.
typedef struct IVIDEO_BufDesc IVIDEO_BufDesc |
Buffer descriptor for video buffers.
typedef struct IVIDEO1_BufDescIn IVIDEO1_BufDescIn |
Buffer descriptor for input video buffers.
typedef struct IVIDEO1_BufDesc IVIDEO1_BufDesc |
Detailed buffer descriptor for video buffers.
typedef struct IVIDEO2_BufDesc IVIDEO2_BufDesc |
Detailed buffer descriptor for video buffers.
enum IVIDEO_FrameSkip |
Video frame skip features for video decoder.
@remarks This enumeration data type should not be used for storage, but rather only for its constant values. @remarks 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.
IVIDEO_NO_SKIP |
Do not skip any frame types. |
IVIDEO_SKIP_P |
Decode the P frame/skip frames internally, but do not copy the decoded output to the output buffers. This should be indicated by setting the output buffers to NULL.
|
IVIDEO_SKIP_B |
Skip B, BI frames. For B frames, the decoder will decode the frame bitstream, and return as soon as the frame type is decisively decoded. Internally, the algorithm will modify its state, so that subsequent decoding of other frames is possible. |
IVIDEO_SKIP_I |
Skip intra coded frame. |
IVIDEO_SKIP_IP |
Skip I and P frame/field(s). |
IVIDEO_SKIP_IB |
Skip I and B frame/field(s). |
IVIDEO_SKIP_PB |
Skip P and B frame/field(s). |
IVIDEO_SKIP_IPB |
Skip I/P/B/BI frames. |
IVIDEO_SKIP_IDR |
Skip IDR Frame. |
IVIDEO_SKIP_NONREFERENCE |
|
IVIDEO_SKIP_DEFAULT |
Default settings. |
enum IVIDEO_FrameType |
Video frame types.
@remarks For the various @c 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. @remarks This enumeration data type should not be used for storage, but rather only for its constant values. @remarks 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.
enum IVIDEO_ContentType |
Video content types.
@remarks This enumeration data type should not be used for storage, but rather only for its constant values. @remarks 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 rate control presets.
@remarks This enumeration data type should not be used for storage, but rather only for its constant values. @remarks 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.
enum IVIDEO_SkipMode |
Video frame skipping modes.
@remarks This enumeration data type should not be used for storage, but rather only for its constant values. @remarks 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 output buffer status.
@remarks Ownership of the buffers, either by application or algorithm, is conveyed via these values. @remarks This reflects the status of ALL output buffers. For example, if video decoded output is in 4:2:0 format, all the 3 output buffers' status is described by this value. Similarly, for 4:2:2 formatted buffers, this value describes the single buffer's status. @remarks This enumeration data type should not be used for storage, but rather only for its constant values. @remarks 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.
enum IVIDEO_PictureType |
Video Picture types.
@remarks This enumeration data type should not be used for storage, but rather only for its constant values. @remarks 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.
enum IVIDEO_Format |
Video Format types.
@remarks This enumeration data type should not be used for storage, but rather only for its constant values. @remarks 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.
enum IVIDEO_VideoLayout |
Video buffer layout.
\xrefitem todo 10. @remarks This enumeration data type should not be used for storage, but rather only for its constant values. @remarks 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.
enum IVIDEO_OperatingMode |
Video coding mode of operation.
\xrefitem todo 11. \xrefitem todo 12. @remarks This enumeration data type should not be used for storage, but rather only for its constant values. @remarks 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.
enum IVIDEO_BitRange |
Video bit range.
@remarks This enumeration data type should not be used for storage, but rather only for its constant values. @remarks 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.
\xrefitem todo 13.
enum IVIDEO_DataMode |
input/output data mode
@remarks This enumeration data type should not be used for storage, but rather only for its constant values. @remarks 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.
\xrefitem todo 14. \xrefitem todo 15.
enum IVIDEO_ErrorInfoMode |
Configuration for providing/receiving packet error information.
enum IVIDEO_MetadataType |
IVIDEO_METADATAPLANE_NONE |
Used to indicate no metadata is requested or available. |
IVIDEO_METADATAPLANE_MBINFO |
Offset into IVIDEO_MAX_NUM_METADATA_PLANES array for MB Info.
|
IVIDEO_METADATAPLANE_EINFO |
Offset into IVIDEO_MAX_NUM_METADATA_PLANES array for Error Info.
|
IVIDEO_METADATAPLANE_ALPHA |
Offset into IVIDEO_MAX_NUM_METADATA_PLANES array for Alpha Data.
|