XAQNXBufferQueueSinkItf constants

Updated: April 19, 2023

Constants representing audio and video settings supported by the QNX extensions

Synopsis:

#include <OMXAL/OpenMAXAL_QNX.h>

QNX interfaces used by OpenMAX AL objects:

XA_API const XAInterfaceID XA_IID_QNXBUFFERQUEUESINK

Media Recorder output interface.

XA_API const XAInterfaceID XA_IID_QNXAUDIOBUFFERQUEUESINK

Media Player audio output interface.

XA_API const XAInterfaceID XA_IID_QNXVIDEOBUFFERQUEUESINK

Media Player video output interface.

File container types:

These constants define QNX-specific file container types that can be specified in the containerType field of an XADataFormat_QNXEncoded structure.

#define XA_CONTAINERTYPE_QNX_MKV ((XAuint32) 0x80000001)
#define XA_CONTAINERTYPE_QNX_QCP ((XAuint32) 0x80000002)
#define XA_CONTAINERTYPE_QNX_FLAC ((XAuint32) 0x80000003)

Audio codecs:

These constants define the audio codecs that can be specified in the codecId field of an XAAudioStreamInformation_QNX structure.

#define XA_AUDIOCODEC_QNX_OPUS ((XAuint32) 0x80000001)
#define XA_AUDIOCODEC_QNX_TETRA ((XAuint32) 0x80000002)
#define XA_AUDIOCODEC_QNX_QCP ((XAuint32) 0x80000003)
#define XA_AUDIOCODEC_QNX_FLAC ((XAuint32) 0x80000004)
#define XA_AUDIOCODEC_QNX_CELT ((XAuint32) 0x80000005)
#define XA_AUDIOCODEC_QNX_AC3 ((XAuint32) 0x80000006)
#define XA_AUDIOCODEC_QNX_G711 ((XAuint32) 0x80000007)
#define XA_AUDIOCODEC_QNX_G722 ((XAuint32) 0x80000008)
#define XA_AUDIOCODEC_QNX_G729 ((XAuint32) 0x80000009)
#define XA_AUDIOCODEC_QNX_GSM610 ((XAuint32) 0x8000000A)
#define XA_AUDIOCODEC_QNX_SPEEX ((XAuint32) 0x8000000B)

Video codecs:

These constants define the video codecs that can be specified in the codecId field of an XAVideoStreamInformation_QNX structure.

#define XA_VIDEOCODEC_QNX_MJPEG ((XAuint32) 0x80000001)
#define XA_VIDEOCODEC_QNX_VP6 ((XAuint32) 0x80000002)
#define XA_VIDEOCODEC_QNX_H264 ((XAuint32) 0x80000003)
#define XA_VIDEOCODEC_QNX_RAW ((XAuint32) 0x80000004)
#define XA_VIDEOCODEC_QNX_HEVC ((XAuint32) 0x80000005)
#define XA_VIDEOCODEC_QNX_VP9 ((XAuint32) 0x80000006)

Audio modes:

These constants define the audio modes that can be specified in the modeSetting field of an XAAudioStreamInformation_QNX structure.

#define XA_AUDIOMODE_QNX_OPUS_AUTO ((XAuint32) 0x80000001)
#define XA_AUDIOMODE_QNX_OPUS_SILK ((XAuint32) 0x80000002)
#define XA_AUDIOMODE_QNX_OPUS_HYBRID ((XAuint32) 0x80000003)
#define XA_AUDIOMODE_QNX_OPUS_CELT ((XAuint32) 0x80000004)
#define XA_AUDIOMODE_QNX_AAC_ERELD ((XAuint32) 0x80000001)

Video profiles:

These constants define the video profiles that can be specified in the profileSetting field of an XAVideoStreamInformation_QNX structure.

#define XA_VIDEOPROFILE_QNX_H264_BASELINE XA_VIDEOPROFILE_AVC_BASELINE
#define XA_VIDEOPROFILE_QNX_H264_MAIN XA_VIDEOPROFILE_AVC_MAIN
#define XA_VIDEOPROFILE_QNX_H264_EXTENDED XA_VIDEOPROFILE_AVC_EXTENDED
#define XA_VIDEOPROFILE_QNX_H264_HIGH XA_VIDEOPROFILE_AVC_HIGH
#define XA_VIDEOPROFILE_QNX_H264_HIGH10 XA_VIDEOPROFILE_AVC_HIGH10
#define XA_VIDEOPROFILE_QNX_H264_HIGH422 XA_VIDEOPROFILE_AVC_HIGH422
#define XA_VIDEOPROFILE_QNX_H264_HIGH444 XA_VIDEOPROFILE_AVC_HIGH444
#define XA_VIDEOPROFILE_QNX_HEVC_MAIN ((XAuint32) 0x00000001)
#define XA_VIDEOPROFILE_QNX_HEVC_MAIN10 ((XAuint32) 0x00000002)
#define XA_VIDEOPROFILE_QNX_HEVC_MAIN12 ((XAuint32) 0x00000003)
#define XA_VIDEOPROFILE_QNX_HEVC_MAIN422_10 ((XAuint32) 0x00000004)
#define XA_VIDEOPROFILE_QNX_HEVC_MAIN422_12 ((XAuint32) 0x00000005)
#define XA_VIDEOPROFILE_QNX_HEVC_MAIN444 ((XAuint32) 0x00000006)
#define XA_VIDEOPROFILE_QNX_HEVC_MAIN444_10 ((XAuint32) 0x00000007)
#define XA_VIDEOPROFILE_QNX_HEVC_MAIN444_12 ((XAuint32) 0x00000008)
#define XA_VIDEOPROFILE_QNX_HEVC_MAIN444_16 ((XAuint32) 0x00000009)

Video levels:

These constants define the video levels that can be specified in the levelSetting field of an XAVideoStreamInformation_QNX structure.

#define XA_VIDEOLEVEL_QNX_H264_1 XA_VIDEOLEVEL_AVC_1
#define XA_VIDEOLEVEL_QNX_H264_1B XA_VIDEOLEVEL_AVC_1B
#define XA_VIDEOLEVEL_QNX_H264_11 XA_VIDEOLEVEL_AVC_11
#define XA_VIDEOLEVEL_QNX_H264_12 XA_VIDEOLEVEL_AVC_12
#define XA_VIDEOLEVEL_QNX_H264_13 XA_VIDEOLEVEL_AVC_13
#define XA_VIDEOLEVEL_QNX_H264_2 XA_VIDEOLEVEL_AVC_2
#define XA_VIDEOLEVEL_QNX_H264_21 XA_VIDEOLEVEL_AVC_21
#define XA_VIDEOLEVEL_QNX_H264_22 XA_VIDEOLEVEL_AVC_22
#define XA_VIDEOLEVEL_QNX_H264_3 XA_VIDEOLEVEL_AVC_3
#define XA_VIDEOLEVEL_QNX_H264_31 XA_VIDEOLEVEL_AVC_31
#define XA_VIDEOLEVEL_QNX_H264_32 XA_VIDEOLEVEL_AVC_32
#define XA_VIDEOLEVEL_QNX_H264_4 XA_VIDEOLEVEL_AVC_4
#define XA_VIDEOLEVEL_QNX_H264_41 XA_VIDEOLEVEL_AVC_41
#define XA_VIDEOLEVEL_QNX_H264_42 XA_VIDEOLEVEL_AVC_42
#define XA_VIDEOLEVEL_QNX_H264_5 XA_VIDEOLEVEL_AVC_5
#define XA_VIDEOLEVEL_QNX_H264_51 XA_VIDEOLEVEL_AVC_51
#define XA_VIDEOLEVEL_QNX_HEVC_1 ((XAuint32) 0x00000001)
#define XA_VIDEOLEVEL_QNX_HEVC_2 ((XAuint32) 0x00000002)
#define XA_VIDEOLEVEL_QNX_HEVC_21 ((XAuint32) 0x00000003)
#define XA_VIDEOLEVEL_QNX_HEVC_3 ((XAuint32) 0x00000004)
#define XA_VIDEOLEVEL_QNX_HEVC_31 ((XAuint32) 0x00000005)
#define XA_VIDEOLEVEL_QNX_HEVC_4 ((XAuint32) 0x00000006)
#define XA_VIDEOLEVEL_QNX_HEVC_41 ((XAuint32) 0x00000007)
#define XA_VIDEOLEVEL_QNX_HEVC_5 ((XAuint32) 0x00000008)
#define XA_VIDEOLEVEL_QNX_HEVC_51 ((XAuint32) 0x00000009)
#define XA_VIDEOLEVEL_QNX_HEVC_52 ((XAuint32) 0x0000000A)
#define XA_VIDEOLEVEL_QNX_HEVC_6 ((XAuint32) 0x0000000B)
#define XA_VIDEOLEVEL_QNX_HEVC_61 ((XAuint32) 0x0000000C)
#define XA_VIDEOLEVEL_QNX_HEVC_62 ((XAuint32) 0x0000000D)

Data format:

This constant defines the data format that can be specified in the formatType field of an XADataFormat_QNXEncoded structure.

#define XAQ_DATAFORMAT_ENCODED ((XAuint32)0x80000005)

Color formats:

These constants define the color formats that can be specified in the colorFormat field of an XAVideoStreamInformation_QNX structure. Note that this field is valid only when codecId (in the same structure) is XA_VIDEOCODEC_QNX_RAW.

#define XAQ_COLORFORMAT_NV12 ((XAuint32)0x80000000)
#define XAQ_COLORFORMAT_UYVY ((XAuint32)0x80000001)

Data locator type:

This constant defines the data locator type that can be specified in the locatorType field of an XADataLocator_QNXScreenBufferQueue structure.

#define XAQ_DATALOCATOR_SCREENBUFFERQUEUE ((XAuint32) 0x80000800)