|
Packit |
1244b8 |
/*
|
|
Packit |
1244b8 |
* Copyright (C) 2014 Intel Corporation. All rights reserved.
|
|
Packit |
1244b8 |
*
|
|
Packit |
1244b8 |
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
Packit |
1244b8 |
* you may not use this file except in compliance with the License.
|
|
Packit |
1244b8 |
* You may obtain a copy of the License at
|
|
Packit |
1244b8 |
*
|
|
Packit |
1244b8 |
* http://www.apache.org/licenses/LICENSE-2.0
|
|
Packit |
1244b8 |
*
|
|
Packit |
1244b8 |
* Unless required by applicable law or agreed to in writing, software
|
|
Packit |
1244b8 |
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
Packit |
1244b8 |
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
Packit |
1244b8 |
* See the License for the specific language governing permissions and
|
|
Packit |
1244b8 |
* limitations under the License.
|
|
Packit |
1244b8 |
*/
|
|
Packit |
1244b8 |
|
|
Packit |
1244b8 |
#ifndef __EGL_UTIL_H__
|
|
Packit |
1244b8 |
#define __EGL_UTIL_H__
|
|
Packit |
1244b8 |
#include <EGL/egl.h>
|
|
Packit |
1244b8 |
#include <EGL/eglext.h>
|
|
Packit |
1244b8 |
|
|
Packit |
1244b8 |
#include "VideoCommonDefs.h"
|
|
Packit |
1244b8 |
#ifdef __cplusplus
|
|
Packit |
1244b8 |
extern "C" {
|
|
Packit |
1244b8 |
#endif /* __cplusplus */
|
|
Packit |
1244b8 |
|
|
Packit |
1244b8 |
EGLImageKHR createImage(EGLDisplay, EGLContext, EGLenum, EGLClientBuffer, const EGLint *);
|
|
Packit |
1244b8 |
EGLBoolean destroyImage(EGLDisplay, EGLImageKHR);
|
|
Packit |
1244b8 |
EGLImageKHR createEglImageFromHandle(EGLDisplay eglDisplay, EGLContext eglContext, VideoDataMemoryType type, uint32_t dmaBuf, int width, int height, int pitch);
|
|
Packit |
1244b8 |
|
|
Packit |
1244b8 |
#ifdef __cplusplus
|
|
Packit |
1244b8 |
}
|
|
Packit |
1244b8 |
#endif /* __cplusplus */
|
|
Packit |
1244b8 |
|
|
Packit |
1244b8 |
#endif
|