You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: source/elements/oneVPL/include/vpl/mfxstructures.h
+72-19Lines changed: 72 additions & 19 deletions
Original file line number
Diff line number
Diff line change
@@ -128,7 +128,7 @@ enum {
128
128
MFX_FOURCC_RGB565=MFX_MAKEFOURCC('R','G','B','2'), /*!< 2 bytes per pixel, uint16 in little-endian format, where 0-4 bits are blue, bits 5-10 are green and bits 11-15 are red. */
129
129
/*! RGB 24 bit planar layout (3 separate channels, 8-bits per sample each). This format should be mapped to D3DFMT_R8G8B8 or VA_FOURCC_RGBP. */
MFX_FOURCC_RGB4=MFX_MAKEFOURCC('R','G','B','4'), /*!< RGB4 (RGB32) color planes. BGRA is the order, ‘B’ is 8 MSBs, then 8 bits for ‘G’ channel, then ‘R’ and ‘A’ channels. */
133
133
/*!
134
134
Internal color format. The application should use the following functions to create a surface that corresponds to the Direct3D* version in use.
@@ -353,6 +353,9 @@ typedef enum {
353
353
MFX_HANDLE_VA_CONTEXT_ID=7, /*!< Pointer to VAContextID interface. It represents external VA context for Common Encryption usage model. */
354
354
MFX_HANDLE_CM_DEVICE=8, /*!< Pointer to CmDevice interface ( Intel(r) C for Metal Runtime ). */
355
355
MFX_HANDLE_HDDLUNITE_WORKLOADCONTEXT=9, /*!< Pointer to HddlUnite::WorkloadContext interface. */
356
+
#ifdefONEVPL_EXPERIMENTAL
357
+
MFX_HANDLE_PXP_CONTEXT=10, /*!< Pointer to PXP context for protected content support. */
358
+
#endif
356
359
} mfxHandleType;
357
360
358
361
/*! The mfxMemoryFlags enumerator specifies memory access mode. */
@@ -616,7 +619,7 @@ MFX_PACK_BEGIN_USUAL_STRUCT()
616
619
typedefstruct {
617
620
mfxU32reserved[7]; /*!< Reserved for future use. */
618
621
619
-
/*! For encoders, set this flag to ON to reduce power consumption and GPU usage. See the CodingOptionValue enumerator for values
622
+
/*! Hint to enable low power consumption mode for encoders. See the CodingOptionValue enumerator for values
620
623
of this option. Use the Query API function to check if this feature is supported. */
621
624
mfxU16LowPower;
622
625
/*! Specifies a multiplier for bitrate control parameters. Affects the following variables: InitialDelayInKB, BufferSizeInKB,
@@ -1166,7 +1169,7 @@ typedef struct {
1166
1169
mfxU16MECostType; /*!< Motion estimation cost type. This value is reserved and must be zero. */
1167
1170
mfxU16MESearchType; /*!< Motion estimation search algorithm. This value is reserved and must be zero. */
1168
1171
mfxI16PairMVSearchWindow; /*!< Rectangular size of the search window for motion estimation. This parameter is reserved and must be (0, 0). */
mfxU16FramePicture; /*!< Set this flag to encode interlaced fields as interlaced frames. This flag does not affect progressive input frames. See the CodingOptionValue enumerator for values of this option. */
1171
1174
1172
1175
mfxU16CAVLC; /*!< If set, CAVLC is used; if unset, CABAC is used for encoding. See the CodingOptionValue enumerator for values of this option. */
@@ -1228,7 +1231,7 @@ typedef struct {
1228
1231
mfxU16MaxDecFrameBuffering; /*!< Specifies the maximum number of frames buffered in a DPB. A value of zero means unspecified. */
1229
1232
1230
1233
mfxU16AUDelimiter; /*!< Set this flag to insert the Access Unit Delimiter NAL. See the CodingOptionValue enumerator for values of this option. */
1231
-
mfxU16EndOfStream; /* Deprecated */
1234
+
MFX_DEPRECATEDmfxU16EndOfStream; /* Deprecated */
1232
1235
/*!
1233
1236
Set this flag to insert the picture timing SEI with pic_struct syntax element. See sub-clauses D.1.2 and D.2.2 of the ISO/IEC 14496-10
1234
1237
specification for the definition of this syntax element. See the CodingOptionValue enumerator for values of this option.
0 commit comments