1#ifndef CNSDK_LEIA_CORE_INTERLACER_OPENGL_H
2#define CNSDK_LEIA_CORE_INTERLACER_OPENGL_H
6#if defined(LEIA_USE_OPENGL)
BEGIN_CAPI_DECL typedef int32_t leia_bool
Definition types.h:10
#define LEIASDK_API
Definition api.h:9
#define LEIA_NODISCARD
Definition defines.h:86
#define END_CAPI_DECL
Definition defines.h:74
#define BEGIN_CAPI_DECL
Definition defines.h:73
LEIASDK_API void leia_interlacer_opengl_do_post_process(struct leia_interlacer *, int32_t width, int32_t height, leia_bool blendedInterlace)
Perform OpenGL graphics rendering.
LEIA_NODISCARD LEIASDK_API struct leia_interlacer * leia_interlacer_opengl_initialize(struct leia_core *core, struct leia_interlacer_init_configuration const *config, void *context)
Initialize interlacer for usage with OpenGL.
LEIASDK_API void leia_interlacer_opengl_set_source_views(struct leia_interlacer *, uint32_t glTextureId, uint32_t glTextureTarget, int32_t viewIndex, int layer)
Set the OpenGL view texture.
LEIASDK_API void leia_interlacer_opengl_set_output_render_target(struct leia_interlacer *, uint32_t renderTarget)
Set the OpenGL output texture.
The main entry point into CNSDK C API.
Definition core.h:63
leia_interlacer's initial configuration.
Definition interlacer.h:46
The main entity used for performing interlacing on Leia devices.
Definition interlacer.h:41