21#ifndef VLC_GL_INTEROP_H
22#define VLC_GL_INTEROP_H 1
47 uint32_t textures[],
const int32_t tex_width[],
48 const int32_t tex_height[]);
76 uint32_t textures[],
const int32_t tex_width[],
77 const int32_t tex_height[],
picture_t *pic,
78 const size_t plane_offsets[]);
167 uint32_t format, int32_t internal, uint32_t type);
175 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:148
vlc_rational_t h
Definition vlc_opengl_interop.h:154
uint32_t format
Definition vlc_opengl_interop.h:157
vlc_rational_t w
Definition vlc_opengl_interop.h:153
uint32_t type
Definition vlc_opengl_interop.h:158
int32_t internal
Definition vlc_opengl_interop.h:156
Definition vlc_opengl_interop.h:32
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:76
void(* deallocate_textures)(const struct vlc_gl_interop *interop, uint32_t textures[])
Callback to deallocate data for bound texture.
Definition vlc_opengl_interop.h:59
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:47
void(* close)(struct vlc_gl_interop *interop)
Called before the interop is destroyed.
Definition vlc_opengl_interop.h:110
Definition vlc_opengl_interop.h:113
void * priv
Definition vlc_opengl_interop.h:162
struct vlc_gl_interop::vlc_gl_tex_cfg texs[(5)]
bool handle_texs_gen
Definition vlc_opengl_interop.h:145
video_format_t fmt_out
Definition vlc_opengl_interop.h:139
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:167
video_format_t fmt_in
Definition vlc_opengl_interop.h:127
vlc_object_t obj
Definition vlc_opengl_interop.h:114
const struct vlc_gl_interop_ops * ops
Definition vlc_opengl_interop.h:163
struct vlc_video_context * vctx
Definition vlc_opengl_interop.h:142
module_t *vlc_gl_t * gl
Definition vlc_opengl_interop.h:117
unsigned tex_count
Definition vlc_opengl_interop.h:160
uint32_t tex_target
Definition vlc_opengl_interop.h:118
Definition vlc_opengl.h:100
VLC object common members.
Definition vlc_objects.h:53
Definition fourcc_gen.c:34
Definition decoder_device.c:98
This file is a collection of common definitions and types.
This file defines the elementary streams format types.
int(* vlc_gl_interop_probe)(struct vlc_gl_interop *interop)
Definition vlc_opengl_interop.h:172
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:175
This file defines picture structures and functions in vlc.