Codec Engine Application Programming Interface (API)
ce-w08
|
Detailed buffer descriptor for video buffers. More...
#include <ivideo.h>
Data Fields | |
XDAS_Int32 | numPlanes |
XDAS_Int32 | numMetaPlanes |
XDAS_Int32 | dataLayout |
XDM2_SingleBufDesc | planeDesc [3] |
XDM2_SingleBufDesc | metadataPlaneDesc [3] |
XDAS_Int32 | secondFieldOffsetWidth [3] |
XDAS_Int32 | secondFieldOffsetHeight [3] |
XDAS_Int32 | imagePitch [3] |
XDM_Rect | imageRegion |
XDM_Rect | activeFrameRegion |
XDAS_Int32 | extendedError |
Extended error information. | |
XDAS_Int32 | frameType |
Video frame types. | |
XDAS_Int32 | topFieldFirstFlag |
XDAS_Int32 | repeatFirstFieldFlag |
XDAS_Int32 | frameStatus |
Video output buffer status. | |
XDAS_Int32 | repeatFrame |
XDAS_Int32 | contentType |
XDAS_Int32 | chromaFormat |
Chroma formats. | |
XDAS_Int32 | scalingWidth |
XDAS_Int32 | scalingHeight |
XDAS_Int32 | rangeMappingLuma |
XDAS_Int32 | rangeMappingChroma |
XDAS_Int32 | enableRangeReductionFlag |
Detailed buffer descriptor for video buffers.
XDAS_Int32 IVIDEO2_BufDesc::numPlanes |
Number of video planes.
@remarks This must be in the range 0 - #IVIDEO_MAX_NUM_PLANES. \xrefitem todo 17.
XDAS_Int32 IVIDEO2_BufDesc::numMetaPlanes |
Number of meta data planes.
@remarks This must be in the range 0 - #IVIDEO_MAX_NUM_METADATA_PLANES. \xrefitem todo 18.
XDAS_Int32 IVIDEO2_BufDesc::dataLayout |
Field interleaved, field separated.
\xrefitem todo 19.
XDM2_SingleBufDesc IVIDEO2_BufDesc::planeDesc[3] |
Picture buffers.
XDM2_SingleBufDesc IVIDEO2_BufDesc::metadataPlaneDesc[3] |
Meta planes.
@remarks For MB Info & alpha blending \xrefitem todo 20.
XDAS_Int32 IVIDEO2_BufDesc::secondFieldOffsetWidth[3] |
Offset for second field (width in pixels).
XDAS_Int32 IVIDEO2_BufDesc::secondFieldOffsetHeight[3] |
Offset for second field (height in lines).
XDAS_Int32 IVIDEO2_BufDesc::imagePitch[3] |
Image pitch for each plane.
XDM_Rect IVIDEO2_BufDesc::imageRegion |
Image region (top left and bottom right).
XDM_Rect IVIDEO2_BufDesc::activeFrameRegion |
Active frame region (top left and bottom right).
XDAS_Int32 IVIDEO2_BufDesc::extendedError |
Extended error information.
@remarks This field is not required for encoders.
XDAS_Int32 IVIDEO2_BufDesc::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.
@remarks This field is not required for encoder input buffer. @sa IVIDEO_FrameType
XDAS_Int32 IVIDEO2_BufDesc::topFieldFirstFlag |
Flag to indicate when the application should display the top field first.
XDAS_Int32 IVIDEO2_BufDesc::repeatFirstFieldFlag |
Flag to indicate when the first field should be repeated.
XDAS_Int32 IVIDEO2_BufDesc::frameStatus |
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.
@sa IVIDEO_OutputFrameStatus @remarks This field does not apply to encoder recon bufs.
XDAS_Int32 IVIDEO2_BufDesc::repeatFrame |
Number of times the display process needs to repeat the displayed progressive frame.
XDAS_Int32 IVIDEO2_BufDesc::contentType |
Content type of the buffer.
@remarks This is useful when the content is both interlaced and progressive. The display process can use this field to determine how to render the display buffer. @sa IVIDEO_ContentType
XDAS_Int32 IVIDEO2_BufDesc::chromaFormat |
Chroma formats.
@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.
@sa XDM_ColorFormat
XDAS_Int32 IVIDEO2_BufDesc::scalingWidth |
XDAS_Int32 IVIDEO2_BufDesc::scalingHeight |
Scaled image width for post processing.
@remarks This field is not required for encoders. \xrefitem todo 25.
XDAS_Int32 IVIDEO2_BufDesc::rangeMappingLuma |
Range Mapping Luma
\xrefitem todo 26. \xrefitem todo 27.
XDAS_Int32 IVIDEO2_BufDesc::rangeMappingChroma |
Range Mapping Chroma
\xrefitem todo 28. \xrefitem todo 29.
XDAS_Int32 IVIDEO2_BufDesc::enableRangeReductionFlag |
Flag indicating whether or not to enable range reduction.