| 1 |
/* |
| 2 |
* Copyright (c) 2017-2022, Intel Corporation |
| 3 |
* |
| 4 |
* Permission is hereby granted, free of charge, to any person obtaining a |
| 5 |
* copy of this software and associated documentation files (the "Software"), |
| 6 |
* to deal in the Software without restriction, including without limitation |
| 7 |
* the rights to use, copy, modify, merge, publish, distribute, sublicense, |
| 8 |
* and/or sell copies of the Software, and to permit persons to whom the |
| 9 |
* Software is furnished to do so, subject to the following conditions: |
| 10 |
* |
| 11 |
* The above copyright notice and this permission notice shall be included |
| 12 |
* in all copies or substantial portions of the Software. |
| 13 |
* |
| 14 |
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS |
| 15 |
* OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, |
| 16 |
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL |
| 17 |
* THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR |
| 18 |
* OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, |
| 19 |
* ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR |
| 20 |
* OTHER DEALINGS IN THE SOFTWARE. |
| 21 |
*/ |
| 22 |
//! |
| 23 |
//! \file mos_solo_generic.h |
| 24 |
//! \brief Include Mediasolo toolset functions used for ddi and hal |
| 25 |
//! \details Include Mediasolo toolset functions used for ddi and hal |
| 26 |
//! |
| 27 |
|
| 28 |
#ifndef __MOS_SOLO_GENERIC_H__ |
| 29 |
#define __MOS_SOLO_GENERIC_H__ |
| 30 |
|
| 31 |
#include "mos_defs.h" |
| 32 |
|
| 33 |
#if MOS_MEDIASOLO_SUPPORTED |
| 34 |
|
| 35 |
#include "mos_os_solo.h" |
| 36 |
#include "mos_os_solo_next_specific.h" |
| 37 |
|
| 38 |
#include "mos_os_solo_next.h" |
| 39 |
|
| 40 |
#else |
| 41 |
|
| 42 |
#define Mos_Solo_DecodeMapGpuNodeToGpuContex(a, b, c, d) |
| 43 |
|
| 44 |
#define Mos_Solo_IsEnabled(a) false |
| 45 |
#define Mos_Solo_IsInUse(a) false |
| 46 |
#define Mos_Solo_Extension(a) false |
| 47 |
#define Mos_Solo_CreateExtension(a, b, c) MOS_STATUS_SUCCESS |
| 48 |
#define Mos_Solo_ReplaceSkuWaTable(a, b, c, d) |
| 49 |
#define Mos_Solo_ForceDumps(a, b) MOS_STATUS_SUCCESS |
| 50 |
#define Mos_Solo_PreProcessDecode(a, b) MOS_STATUS_SUCCESS |
| 51 |
#define Mos_Solo_PostProcessDecode(a, b) MOS_STATUS_SUCCESS |
| 52 |
#define Mos_Solo_PreProcessEncode(a, b, c) MOS_STATUS_SUCCESS |
| 53 |
#define Mos_Solo_PostProcessEncode(a, b, c) MOS_STATUS_SUCCESS |
| 54 |
#define Mos_Solo_CheckNodeLimitation(a, b) |
| 55 |
#define Mos_Solo_DisableAubcaptureOptimizations(a, b) MOS_STATUS_SUCCESS |
| 56 |
|
| 57 |
#define Mos_Solo_CalTileNum(a) |
| 58 |
#define Mos_Solo_DdiInitializeSkuWaTable(a, b, c, d) |
| 59 |
|
| 60 |
#define Mos_Solo_DdiInitializeDeviceId(a, b, c, d, e, f, g, h, i,l) MOS_STATUS_SUCCESS |
| 61 |
#define Mos_Solo_OverrideBufferSize(a, b) |
| 62 |
#define Mos_Solo_SetOsResource(a, b) |
| 63 |
#define Mos_Solo_SetGpuAppTaskEvent(a, b) MOS_STATUS_SUCCESS |
| 64 |
#define Mos_Solo_SetReadyToExecute(a, b) |
| 65 |
|
| 66 |
#define Mos_Solo_SetPlatform(a, b) |
| 67 |
#define Mos_Solo_SetSkuwaTable(a, b, c) |
| 68 |
#define Mos_Solo_SetSkuwaGtInfo(a, b, c, d, e, f) |
| 69 |
|
| 70 |
#endif // MOS_MEDIASOLO_SUPPORTED |
| 71 |
#endif |
| 72 |
|