MWCapture SDK Mac 3.4.62314

- Home
- Development Library
- Release Notes

Typedefs | Enumerations
Hardware Encoder Module Enumeration

## Typedefs
typedef enum mw_venc_frame_type | mw_venc_frame_type_t
| mw_venc_frame_type_t
typedef enum mw_venc_code_type | mw_venc_code_type_t
| mw_venc_code_type_t
typedef enum mw_venc_targetusage | mw_venc_targetusage_t
| mw_venc_targetusage_t
typedef enum mw_venc_rate_control_mode | mw_venc_rate_control_mode_t
| mw_venc_rate_control_mode_t
typedef enum mw_venc_profile | mw_venc_profile_t
| mw_venc_profile_t
typedef enum mw_venc_level | mw_venc_level_t
| mw_venc_level_t
typedef enum mw_venc_fourcc | mw_venc_fourcc_t
| mw_venc_fourcc_t
typedef enum mw_venc_property | mw_venc_property_t
| mw_venc_property_t
typedef enum mw_venc_status | mw_venc_status_t
| mw_venc_status_t
typedef enum mw_venc_color_primaries | mw_venc_color_primaries_t
| mw_venc_color_primaries_t Chromaticity coordinates of the source primaries. These values match the ones defined by ISO/IEC 23001-8_2013 7.1.
typedef enum mw_venc_color_transfer_characteristic | mw_venc_color_transfer_characteristic_t
| mw_venc_color_transfer_characteristic_t Color Transfer Characteristic. These values match the ones defined by ISO/IEC 23001-8_2013 7.2.
typedef enum mw_venc_color_space | mw_venc_color_space_t
| mw_venc_color_space_t YUV colorspace type. These values match the ones defined by ISO/IEC 23001-8_2013 7.3.

## Enumerations
enum | mw_venc_frame_type { MW_VENC_FRAME_TYPE_UNKNOWN , MW_VENC_FRAME_TYPE_IDR , MW_VENC_FRAME_TYPE_I , MW_VENC_FRAME_TYPE_P , MW_VENC_FRAME_TYPE_B , MW_VENC_FRAME_TYPE_COUNT }
| mw_venc_frame_type_t More...
enum | mw_venc_code_type { MW_VENC_CODE_TYPE_UNKNOWN , MW_VENC_CODE_TYPE_AVC , MW_VENC_CODE_TYPE_HEVC , MW_VENC_CODE_TYPE_H264 = MW_VENC_CODE_TYPE_AVC , MW_VENC_CODE_TYPE_H265 = MW_VENC_CODE_TYPE_HEVC , MW_VENC_CODE_TYPE_COUNT }
| mw_venc_code_type_t More...
enum | mw_venc_targetusage { MW_VENC_TARGETUSAGE_UNKNOWN , MW_VENC_TARGETUSAGE_BEST_QUALITY , MW_VENC_TARGETUSAGE_BALANCED , MW_VENC_TARGETUSAGE_BEST_SPEED , MW_VENC_TARGETUSAGE_COUNT }
| mw_venc_targetusage_t More...
enum | mw_venc_rate_control_mode { MW_VENC_RATECONTROL_UNKNOWN , MW_VENC_RATECONTROL_CBR , MW_VENC_RATECONTROL_VBR , MW_VENC_RATECONTROL_CQP , MW_VENC_RATECONTROL_COUNT }
| mw_venc_rate_control_mode_t More...
enum | mw_venc_profile { MW_VENC_PROFILE_UNKNOWN , MW_VENC_PROFILE_H264_BASELINE , MW_VENC_PROFILE_H264_MAIN , MW_VENC_PROFILE_H264_HIGH , MW_VENC_PROFILE_H265_MAIN , MW_VENC_PROFILE_COUNT }
| mw_venc_profile_t More...
enum | mw_venc_level { MW_VENC_LEVEL_UNKNOWN , MW_VENC_LEVEL_2_1 , MW_VENC_LEVEL_3_1 , MW_VENC_LEVEL_4_1 , MW_VENC_LEVEL_5_1 , MW_VENC_LEVEL_5_2 , MW_VENC_LEVEL_6_1 , MW_VENC_LEVEL_6_2 , MW_VENC_LEVEL_COUNT }
| mw_venc_level_t More...
enum | mw_venc_fourcc { MW_VENC_FOURCC_UNKNOWN , MW_VENC_FOURCC_NV12 , MW_VENC_FOURCC_NV21 , MW_VENC_FOURCC_YV12 , MW_VENC_FOURCC_I420 , MW_VENC_FOURCC_YUY2 , MW_VENC_FOURCC_P010 , MW_VENC_FOURCC_BGRA , MW_VENC_FOURCC_RGBA , MW_VENC_FOURCC_ARGB , MW_VENC_FOURCC_ABGR , MW_VENC_FOURCC_COUNT }
| mw_venc_fourcc_t More...
enum | mw_venc_property { MW_VENC_PROPERTY_UNKNOWN , MW_VENC_PROPERTY_RATE_CONTROL , MW_VENC_PROPERTY_FPS , MW_VENC_PROPERTY_GOP_SIZE , MW_VENC_PROPERTY_SLICE_NUM , MW_VENC_PROPERTY_GOP_REF_SIZE , MW_VENC_PROPERTY_EXTDATA , MW_VENC_PROPERTY_FORCE_IDR , MW_VENC_PROPERTY_COUNT }
| mw_venc_property_t More...
enum | mw_venc_status { MW_VENC_STATUS_SUCCESS , MW_VENC_STATUS_FAIL , MW_VENC_STATUS_UNSUPPORT , MW_VENC_STATUS_BUSY , MW_VENC_STATUS_INVALID_PARAM , MW_VENC_STATUS_UNKNOWN_ERROR , MW_VENC_STATUS_COUNT }
| mw_venc_status_t More...
enum | mw_venc_color_primaries { MW_VENC_COLOR_PRI_RESERVED0 = 0 , MW_VENC_COLOR_PRI_BT709 = 1 , MW_VENC_COLOR_PRI_UNSPECIFIED = 2 , MW_VENC_COLOR_PRI_RESERVED = 3 , MW_VENC_COLOR_PRI_BT470M = 4 , MW_VENC_COLOR_PRI_BT470BG = 5 , MW_VENC_COLOR_PRI_SMPTE170M = 6 , MW_VENC_COLOR_PRI_SMPTE240M = 7 , MW_VENC_COLOR_PRI_FILM = 8 , MW_VENC_COLOR_PRI_BT2020 = 9 , MW_VENC_COLOR_PRI_SMPTE428 = 10 , MW_VENC_COLOR_PRI_SMPTEST428_1 = MW_VENC_COLOR_PRI_SMPTE428 , MW_VENC_COLOR_PRI_SMPTE431 = 11 , MW_VENC_COLOR_PRI_SMPTE432 = 12 , MW_VENC_COLOR_PRI_JEDEC_P22 = 22 , MW_VENC_COLOR_PRI_COUNT }
| mw_venc_color_primaries_t Chromaticity coordinates of the source primaries. These values match the ones defined by ISO/IEC 23001-8_2013 7.1. More...
enum | mw_venc_color_transfer_characteristic { MW_VENC_COLOR_TRC_RESERVED0 = 0 , MW_VENC_COLOR_TRC_BT709 = 1 , MW_VENC_COLOR_TRC_UNSPECIFIED = 2 , MW_VENC_COLOR_TRC_RESERVED = 3 , MW_VENC_COLOR_TRC_GAMMA22 = 4 , MW_VENC_COLOR_TRC_GAMMA28 = 5 , MW_VENC_COLOR_TRC_SMPTE170M = 6 , MW_VENC_COLOR_TRC_SMPTE240M = 7 , MW_VENC_COLOR_TRC_LINEAR = 8 , MW_VENC_COLOR_TRC_LOG = 9 , MW_VENC_COLOR_TRC_LOG_SQRT = 10 , MW_VENC_COLOR_TRC_IEC61966_2_4 = 11 , MW_VENC_COLOR_TRC_BT1361_ECG = 12 , MW_VENC_COLOR_TRC_IEC61966_2_1 = 13 , MW_VENC_COLOR_TRC_BT2020_10 = 14 , MW_VENC_COLOR_TRC_BT2020_12 = 15 , MW_VENC_COLOR_TRC_SMPTE2084 = 16 , MW_VENC_COLOR_TRC_SMPTEST2084 = MW_VENC_COLOR_TRC_SMPTE2084 , MW_VENC_COLOR_TRC_SMPTE428 = 17 , MW_VENC_COLOR_TRC_SMPTEST428_1 = MW_VENC_COLOR_TRC_SMPTE428 , MW_VENC_COLOR_TRC_ARIB_STD_B67 = 18 , MW_VENC_COLOR_TRC_COUNT }
| mw_venc_color_transfer_characteristic_t Color Transfer Characteristic. These values match the ones defined by ISO/IEC 23001-8_2013 7.2. More...
enum | mw_venc_color_space { MW_VENC_COLOR_SPACE_RGB = 0 , MW_VENC_COLOR_SPACE_BT709 = 1 , MW_VENC_COLOR_SPACE_UNSPECIFIED = 2 , MW_VENC_COLOR_SPACE_RESERVED = 3 , MW_VENC_COLOR_SPACE_FCC = 4 , MW_VENC_COLOR_SPACE_BT470BG = 5 , MW_VENC_COLOR_SPACE_SMPTE170M = 6 , MW_VENC_COLOR_SPACE_SMPTE240M = 7 , MW_VENC_COLOR_SPACE_YCGCO = 8 , MW_VENC_COLOR_SPACE_YCOCG = MW_VENC_COLOR_SPACE_YCGCO , MW_VENC_COLOR_SPACE_BT2020_NCL = 9 , MW_VENC_COLOR_SPACE_BT2020_CL = 10 , MW_VENC_COLOR_SPACE_SMPTE2085 = 11 , MW_VENC_COLOR_SPACE_CHROMA_DERIVED_NCL = 12 , MW_VENC_COLOR_SPACE_CHROMA_DERIVED_CL = 13 , MW_VENC_COLOR_SPACE_ICTCP = 14 , MW_VENC_COLOR_SPACE_COUNT }
| mw_venc_color_space_t YUV colorspace type. These values match the ones defined by ISO/IEC 23001-8_2013 7.3. More...

## Detailed Description

## Typedef Documentation

## ◆ mw_venc_code_type_t

typedef enum mw_venc_code_type mw_venc_code_type_t

mw_venc_code_type_t

Defines code types.
Related type(s):
mw_venc_param
Related function(s):
mw_venc_create
mw_venc_create_ex
mw_venc_get_default_param

## ◆ mw_venc_fourcc_t

typedef enum mw_venc_fourcc mw_venc_fourcc_t

mw_venc_fourcc_t

Defines the color format.
Related type(s):
mw_venc_param
Related function(s):
mw_venc_create
mw_venc_create_ex
mw_venc_get_default_param

## ◆ mw_venc_frame_type_t

typedef enum mw_venc_frame_type mw_venc_frame_type_t

mw_venc_frame_type_t

Defines the frame types to be encoded.
Related type(s):
mw_venc_frame_info_t
Related function(s):
mw_venc_create
mw_venc_create_ex
MW_ENCODER_CALLBACK

## ◆ mw_venc_level_t

typedef enum mw_venc_level mw_venc_level_t

mw_venc_level_t

Defines the video encoding level. The higher the level is, the higher the bitrate, resolution, frame rate are being supported.
Related type(s):
mw_venc_param
Related function(s):
mw_venc_create
mw_venc_create_ex
mw_venc_get_default_param

## ◆ mw_venc_profile_t

typedef enum mw_venc_profile mw_venc_profile_t

mw_venc_profile_t

Defines the profile type.
Related type(s):
mw_venc_param
Related function(s):
mw_venc_create
mw_venc_create_ex
mw_venc_get_default_param

## ◆ mw_venc_property_t

typedef enum mw_venc_property mw_venc_property_t

mw_venc_property_t

Defines the encoder properties.
Related function(s):
mw_venc_get_property mw_venc_set_property

## ◆ mw_venc_rate_control_mode_t

typedef enum mw_venc_rate_control_mode mw_venc_rate_control_mode_t

mw_venc_rate_control_mode_t

Defines the bitrate controlling types.
Related type(s):
mw_venc_param
mw_venc_rate_control
MW_VENC_PROPERTY_RATE_CONTROL
Related function(s):
mw_venc_create
mw_venc_create_ex
mw_venc_get_default_param

## ◆ mw_venc_status_t

typedef enum mw_venc_status mw_venc_status_t

mw_venc_status_t

Return status of coding APIs

## ◆ mw_venc_targetusage_t

typedef enum mw_venc_targetusage mw_venc_targetusage_t

mw_venc_targetusage_t

Defines the preset of quality and speed mode for your encoder.
Related type(s):
mw_venc_param
Related function(s):
mw_venc_create
mw_venc_create_ex
mw_venc_get_default_param

## Enumeration Type Documentation

## ◆ mw_venc_code_type

enum mw_venc_code_type

mw_venc_code_type_t

Defines code types.
Related type(s):
mw_venc_param
Related function(s):
mw_venc_create
mw_venc_create_ex
mw_venc_get_default_param

Enumerator
MW_VENC_CODE_TYPE_UNKNOWN | Unknown.
MW_VENC_CODE_TYPE_AVC | AVC/H264.
MW_VENC_CODE_TYPE_HEVC | HEVC/H265.
MW_VENC_CODE_TYPE_H264 | H264.
MW_VENC_CODE_TYPE_H265 | H265.
MW_VENC_CODE_TYPE_COUNT | The maximum input value.

## ◆ mw_venc_color_primaries

enum mw_venc_color_primaries

mw_venc_color_primaries_t Chromaticity coordinates of the source primaries. These values match the ones defined by ISO/IEC 23001-8_2013 7.1.

Enumerator
MW_VENC_COLOR_PRI_BT709 | also ITU-R BT1361 / IEC 61966-2-4 / SMPTE RP177 Annex B
MW_VENC_COLOR_PRI_BT470M | also FCC Title 47 Code of Federal Regulations 73.682 (a)(20)
MW_VENC_COLOR_PRI_BT470BG | also ITU-R BT601-6 625 / ITU-R BT1358 625 / ITU-R BT1700 625 PAL & SECAM
MW_VENC_COLOR_PRI_SMPTE170M | also ITU-R BT601-6 525 / ITU-R BT1358 525 / ITU-R BT1700 NTSC
MW_VENC_COLOR_PRI_SMPTE240M | functionally identical to above
MW_VENC_COLOR_PRI_FILM | colour filters using Illuminant C
MW_VENC_COLOR_PRI_BT2020 | ITU-R BT2020.
MW_VENC_COLOR_PRI_SMPTE428 | SMPTE ST 428-1 (CIE 1931 XYZ)
MW_VENC_COLOR_PRI_SMPTE431 | SMPTE ST 431-2 (2011) / DCI P3.
MW_VENC_COLOR_PRI_SMPTE432 | SMPTE ST 432-1 (2010) / P3 D65 / Display P3.
MW_VENC_COLOR_PRI_JEDEC_P22 | JEDEC P22 phosphors.
MW_VENC_COLOR_PRI_COUNT | Not part of ABI.

## ◆ mw_venc_color_space

enum mw_venc_color_space

mw_venc_color_space_t YUV colorspace type. These values match the ones defined by ISO/IEC 23001-8_2013 7.3.

Enumerator
MW_VENC_COLOR_SPACE_RGB | order of coefficients is actually GBR, also IEC 61966-2-1 (sRGB)
MW_VENC_COLOR_SPACE_BT709 | also ITU-R BT1361 / IEC 61966-2-4 xvYCC709 / SMPTE RP177 Annex B
MW_VENC_COLOR_SPACE_FCC | FCC Title 47 Code of Federal Regulations 73.682 (a)(20)
MW_VENC_COLOR_SPACE_BT470BG | also ITU-R BT601-6 625 / ITU-R BT1358 625 / ITU-R BT1700 625 PAL & SECAM / IEC 61966-2-4 xvYCC601
MW_VENC_COLOR_SPACE_SMPTE170M | also ITU-R BT601-6 525 / ITU-R BT1358 525 / ITU-R BT1700 NTSC
MW_VENC_COLOR_SPACE_SMPTE240M | functionally identical to above
MW_VENC_COLOR_SPACE_YCGCO | Used by Dirac / VC-2 and H.264 FRext, see ITU-T SG16.
MW_VENC_COLOR_SPACE_BT2020_NCL | ITU-R BT2020 non-constant luminance system.
MW_VENC_COLOR_SPACE_BT2020_CL | ITU-R BT2020 constant luminance system.
MW_VENC_COLOR_SPACE_SMPTE2085 | SMPTE 2085, Y'D'zD'x.
MW_VENC_COLOR_SPACE_CHROMA_DERIVED_NCL | Chromaticity-derived non-constant luminance system.
MW_VENC_COLOR_SPACE_CHROMA_DERIVED_CL | Chromaticity-derived constant luminance system.
MW_VENC_COLOR_SPACE_ICTCP | ITU-R BT.2100-0, ICtCp.
MW_VENC_COLOR_SPACE_COUNT | Not part of ABI.

## ◆ mw_venc_color_transfer_characteristic

enum mw_venc_color_transfer_characteristic

mw_venc_color_transfer_characteristic_t Color Transfer Characteristic. These values match the ones defined by ISO/IEC 23001-8_2013 7.2.

Enumerator
MW_VENC_COLOR_TRC_BT709 | also ITU-R BT1361
MW_VENC_COLOR_TRC_GAMMA22 | also ITU-R BT470M / ITU-R BT1700 625 PAL & SECAM
MW_VENC_COLOR_TRC_GAMMA28 | also ITU-R BT470BG
MW_VENC_COLOR_TRC_SMPTE170M | also ITU-R BT601-6 525 or 625 / ITU-R BT1358 525 or 625 / ITU-R BT1700 NTSC
MW_VENC_COLOR_TRC_LINEAR | "Linear transfer characteristics"
MW_VENC_COLOR_TRC_LOG | "Logarithmic transfer characteristic (100:1 range)"
MW_VENC_COLOR_TRC_LOG_SQRT | "Logarithmic transfer characteristic (100 * Sqrt(10) : 1 range)"
MW_VENC_COLOR_TRC_IEC61966_2_4 | IEC 61966-2-4.
MW_VENC_COLOR_TRC_BT1361_ECG | ITU-R BT1361 Extended Colour Gamut.
MW_VENC_COLOR_TRC_IEC61966_2_1 | IEC 61966-2-1 (sRGB or sYCC)
MW_VENC_COLOR_TRC_BT2020_10 | ITU-R BT2020 for 10-bit system.
MW_VENC_COLOR_TRC_BT2020_12 | ITU-R BT2020 for 12-bit system.
MW_VENC_COLOR_TRC_SMPTE2084 | SMPTE ST 2084 for 10-, 12-, 14- and 16-bit systems.
MW_VENC_COLOR_TRC_SMPTE428 | SMPTE ST 428-1.
MW_VENC_COLOR_TRC_ARIB_STD_B67 | ARIB STD-B67, known as "Hybrid log-gamma".
MW_VENC_COLOR_TRC_COUNT | Not part of ABI.

## ◆ mw_venc_fourcc

enum mw_venc_fourcc

mw_venc_fourcc_t

Defines the color format.
Related type(s):
mw_venc_param
Related function(s):
mw_venc_create
mw_venc_create_ex
mw_venc_get_default_param

Enumerator
MW_VENC_FOURCC_UNKNOWN | Unknown.
MW_VENC_FOURCC_NV12 | NV12 equals MWFOURCC_NV12.
MW_VENC_FOURCC_NV21 | NV21 equals MWFOURCC_NV21.
MW_VENC_FOURCC_YV12 | YV12 equals MWFOURCC_YV12.
MW_VENC_FOURCC_I420 | I420 equals MWFOURCC_I420.
MW_VENC_FOURCC_YUY2 | YUY2 equals MWFOURCC_YUY2.
MW_VENC_FOURCC_P010 | P010 equals MWFOURCC_P010.
MW_VENC_FOURCC_BGRA | BGRA equals MWFOURCC_BGRA.
MW_VENC_FOURCC_RGBA | RGBA equals MWFOURCC_RGBA.
MW_VENC_FOURCC_ARGB | ARGB equals MWFOURCC_ARGB.
MW_VENC_FOURCC_ABGR | ABGR equals MWFOURCC_ABGR.
MW_VENC_FOURCC_COUNT | The maximum input value.

## ◆ mw_venc_frame_type

enum mw_venc_frame_type

mw_venc_frame_type_t

Defines the frame types to be encoded.
Related type(s):
mw_venc_frame_info_t
Related function(s):
mw_venc_create
mw_venc_create_ex
MW_ENCODER_CALLBACK

Enumerator
MW_VENC_FRAME_TYPE_UNKNOWN | Unknown frame.
MW_VENC_FRAME_TYPE_IDR | IDR frame.
MW_VENC_FRAME_TYPE_I | I-frame.
MW_VENC_FRAME_TYPE_P | P-frame.
MW_VENC_FRAME_TYPE_B | B-frame.
MW_VENC_FRAME_TYPE_COUNT | Number of frame types enumerated.

## ◆ mw_venc_level

enum mw_venc_level

mw_venc_level_t

Defines the video encoding level. The higher the level is, the higher the bitrate, resolution, frame rate are being supported.
Related type(s):
mw_venc_param
Related function(s):
mw_venc_create
mw_venc_create_ex
mw_venc_get_default_param

Enumerator
MW_VENC_LEVEL_UNKNOWN | Unknown.
MW_VENC_LEVEL_2_1 | Level 2.1.
MW_VENC_LEVEL_3_1 | Level 3.1.
MW_VENC_LEVEL_4_1 | Level 4.1.
MW_VENC_LEVEL_5_1 | Level 5.1.
MW_VENC_LEVEL_5_2 | Level 5.2.
MW_VENC_LEVEL_6_1 | Level 6.1.
MW_VENC_LEVEL_6_2 | Level 6.2.
MW_VENC_LEVEL_COUNT | The maximum input value.

## ◆ mw_venc_profile

enum mw_venc_profile

mw_venc_profile_t

Defines the profile type.
Related type(s):
mw_venc_param
Related function(s):
mw_venc_create
mw_venc_create_ex
mw_venc_get_default_param

Enumerator
MW_VENC_PROFILE_UNKNOWN | Unknown.
MW_VENC_PROFILE_H264_BASELINE | H264 baseline.
MW_VENC_PROFILE_H264_MAIN | H264 main.
MW_VENC_PROFILE_H264_HIGH | H264 high.
MW_VENC_PROFILE_H265_MAIN | H265 main.
MW_VENC_PROFILE_COUNT | The maximum input value.

## ◆ mw_venc_property

enum mw_venc_property

mw_venc_property_t

Defines the encoder properties.
Related function(s):
mw_venc_get_property mw_venc_set_property

Enumerator
MW_VENC_PROPERTY_UNKNOWN | Unknown.
MW_VENC_PROPERTY_RATE_CONTROL | Rate: mw_venc_rate_control_t default MW_VENC_RATECONTROL_CBR 4096k.
MW_VENC_PROPERTY_FPS | Frame rate: mw_venc_fps_t default 60/1.
MW_VENC_PROPERTY_GOP_SIZE | GOP: int32_t default 60.
MW_VENC_PROPERTY_SLICE_NUM | Number of slices: int32_t default 1.
MW_VENC_PROPERTY_GOP_REF_SIZE | GOP reference size: int32_t defalut 0, if = 1 -> no b-frame.
MW_VENC_PROPERTY_EXTDATA | Extened data: mw_venc_extdata_t just get vps sps pps.
MW_VENC_PROPERTY_FORCE_IDR | Force IDR.
MW_VENC_PROPERTY_COUNT | The maximum input value.

## ◆ mw_venc_rate_control_mode

enum mw_venc_rate_control_mode

mw_venc_rate_control_mode_t

Defines the bitrate controlling types.
Related type(s):
mw_venc_param
mw_venc_rate_control
MW_VENC_PROPERTY_RATE_CONTROL
Related function(s):
mw_venc_create
mw_venc_create_ex
mw_venc_get_default_param

Enumerator
MW_VENC_RATECONTROL_UNKNOWN | Unknown.
MW_VENC_RATECONTROL_CBR | Constant Bit Rate.
MW_VENC_RATECONTROL_VBR | Variable Bit Rate.
MW_VENC_RATECONTROL_CQP | Constant Quantization Parameter.
MW_VENC_RATECONTROL_COUNT | The maximum input value.

## ◆ mw_venc_status

enum mw_venc_status

mw_venc_status_t

Return status of coding APIs

Enumerator
MW_VENC_STATUS_SUCCESS | Success.
MW_VENC_STATUS_FAIL | Fail.
MW_VENC_STATUS_UNSUPPORT | Not supported.
MW_VENC_STATUS_BUSY | Busy.
MW_VENC_STATUS_INVALID_PARAM | Invalid parameter.
MW_VENC_STATUS_UNKNOWN_ERROR | Unknown error.
MW_VENC_STATUS_COUNT | The maximum input value.

## ◆ mw_venc_targetusage

enum mw_venc_targetusage

mw_venc_targetusage_t

Defines the preset of quality and speed mode for your encoder.
Related type(s):
mw_venc_param
Related function(s):
mw_venc_create
mw_venc_create_ex
mw_venc_get_default_param

Enumerator
MW_VENC_TARGETUSAGE_UNKNOWN | Unknown.
MW_VENC_TARGETUSAGE_BEST_QUALITY | Quality first.
MW_VENC_TARGETUSAGE_BALANCED | Balance the coding quality and speed.
MW_VENC_TARGETUSAGE_BEST_SPEED | Speed first.
MW_VENC_TARGETUSAGE_COUNT | The maximum input value.