opencl/source/sharings/va/cl_va_api.h
raw| 1 | /* |
| 2 | * Copyright (C) 2019-2022 Intel Corporation |
| 3 | * |
| 4 | * SPDX-License-Identifier: MIT |
| 5 | * |
| 6 | */ |
| 7 | |
| 8 | #pragma once |
| 9 | |
| 10 | #include "CL/cl.h" |
| 11 | #include "CL/cl_va_api_media_sharing_intel.h" |
| 12 | |
| 13 | cl_int CL_API_CALL clGetSupportedVA_APIMediaSurfaceFormatsINTEL( // NOLINT(readability-identifier-naming) |
| 14 | cl_context context, |
| 15 | cl_mem_flags flags, |
| 16 | cl_mem_object_type imageType, |
| 17 | cl_uint plane, |
| 18 | cl_uint numEntries, |
| 19 | VAImageFormat *vaApiFormats, |
| 20 | cl_uint *numImageFormats); |