21#ifndef VLC_GL_INTEROP_H
22#define VLC_GL_INTEROP_H 1
46 uint32_t textures[],
const int32_t tex_width[],
47 const int32_t tex_height[]);
65 uint32_t textures[],
const int32_t tex_width[],
66 const int32_t tex_height[],
picture_t *pic,
67 const size_t plane_offsets[]);
156 uint32_t format, int32_t internal, uint32_t type);
161 uint32_t format, int32_t internal,
#define PICTURE_PLANE_MAX
Maximum number of plane for a picture.
Definition: vlc_picture.h:69
Internal module descriptor.
Definition: modules.h:76
Video picture.
Definition: vlc_picture.h:130
Definition: vlc_opengl_interop.h:137
vlc_rational_t h
Definition: vlc_opengl_interop.h:143
uint32_t format
Definition: vlc_opengl_interop.h:146
vlc_rational_t w
Definition: vlc_opengl_interop.h:142
uint32_t type
Definition: vlc_opengl_interop.h:147
int32_t internal
Definition: vlc_opengl_interop.h:145
Definition: vlc_opengl_interop.h:31
int(* update_textures)(const struct vlc_gl_interop *interop, uint32_t textures[], const int32_t tex_width[], const int32_t tex_height[], picture_t *pic, const size_t plane_offsets[])
Callback to update a picture.
Definition: vlc_opengl_interop.h:65
int(* allocate_textures)(const struct vlc_gl_interop *interop, uint32_t textures[], const int32_t tex_width[], const int32_t tex_height[])
Callback to allocate data for bound textures.
Definition: vlc_opengl_interop.h:46
void(* close)(struct vlc_gl_interop *interop)
Called before the interop is destroyed.
Definition: vlc_opengl_interop.h:99
Definition: vlc_opengl_interop.h:102
void * priv
Definition: vlc_opengl_interop.h:151
struct vlc_gl_interop::vlc_gl_tex_cfg texs[(5)]
bool handle_texs_gen
Definition: vlc_opengl_interop.h:134
module_t * module
Definition: vlc_opengl_interop.h:104
video_format_t fmt_out
Definition: vlc_opengl_interop.h:128
int(* get_tex_format_size)(struct vlc_gl_interop *interop, uint32_t target, uint32_t format, int32_t internal, uint32_t type)
Definition: vlc_opengl_interop.h:156
video_format_t fmt_in
Definition: vlc_opengl_interop.h:116
vlc_object_t obj
Definition: vlc_opengl_interop.h:103
const struct vlc_gl_interop_ops * ops
Definition: vlc_opengl_interop.h:152
struct vlc_video_context * vctx
Definition: vlc_opengl_interop.h:131
unsigned tex_count
Definition: vlc_opengl_interop.h:149
vlc_gl_t * gl
Definition: vlc_opengl_interop.h:106
uint32_t tex_target
Definition: vlc_opengl_interop.h:107
Definition: vlc_opengl.h:98
VLC object common members.
Definition: vlc_objects.h:45
Definition: fourcc_gen.c:34
Definition: decoder_device.c:97
This file is a collection of common definitions and types.
This file defines the elementary streams format types.
static int vlc_gl_interop_GetTexFormatSize(struct vlc_gl_interop *interop, uint32_t target, uint32_t format, int32_t internal, uint32_t type)
Definition: vlc_opengl_interop.h:161
This file defines picture structures and functions in vlc.