mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-17 05:46:36 +00:00
81d63948d1
Copied from oneVPL project (https://github.com/oneapi-src/oneVPL) v2022.0.3 tag at the commit of efc259f8b7ee5c334bca1a904a503186038bbbdd This is corresponding to MFX API version 2.6 Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1408>
26 lines
776 B
C++
26 lines
776 B
C++
/*############################################################################
|
|
# Copyright (C) 2017-2020 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_
|