Skip to content

Commit

Permalink
api: added several missing pack macro (#5753)
Browse files Browse the repository at this point in the history
  • Loading branch information
mgonchar authored Aug 31, 2023
1 parent 9e47a4b commit d4de440
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions api/vpl/mfxdefs.h
Original file line number Diff line number Diff line change
Expand Up @@ -254,19 +254,21 @@ typedef struct {
} mfxRange32U;
MFX_PACK_END()


MFX_PACK_BEGIN_USUAL_STRUCT()
/*! Represents a pair of numbers of type mfxI16. */
typedef struct {
mfxI16 x; /*!< First number. */
mfxI16 y; /*!< Second number. */
} mfxI16Pair;
MFX_PACK_END()

MFX_PACK_BEGIN_STRUCT_W_PTR()
/*! Represents pair of handles of type mfxHDL. */
typedef struct {
mfxHDL first; /*!< First handle. */
mfxHDL second; /*!< Second handle. */
} mfxHDLPair;

MFX_PACK_END()

/*********************************************************************************\
Error message
Expand Down

0 comments on commit d4de440

Please sign in to comment.