mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-04 15:36:35 +00:00
2b3f690355
See release note https://github.com/oneapi-src/oneVPL/releases/tag/v2022.2.0 Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2738>
26 lines
766 B
C++
26 lines
766 B
C++
/*############################################################################
|
|
# Copyright (C) Intel Corporation
|
|
#
|
|
# SPDX-License-Identifier: MIT
|
|
############################################################################*/
|
|
|
|
#ifndef DISPATCHER_LINUX_MFXLOADER_H_
|
|
#define DISPATCHER_LINUX_MFXLOADER_H_
|
|
|
|
#include <limits.h>
|
|
|
|
#include <list>
|
|
#include <sstream>
|
|
#include <string>
|
|
|
|
#include "vpl/mfxdefs.h"
|
|
|
|
inline bool operator<(const mfxVersion &lhs, const mfxVersion &rhs) {
|
|
return (lhs.Major < rhs.Major || (lhs.Major == rhs.Major && lhs.Minor < rhs.Minor));
|
|
}
|
|
|
|
inline bool operator<=(const mfxVersion &lhs, const mfxVersion &rhs) {
|
|
return (lhs < rhs || (lhs.Major == rhs.Major && lhs.Minor == rhs.Minor));
|
|
}
|
|
|
|
#endif // DISPATCHER_LINUX_MFXLOADER_H_
|