Functions to render an image from the OpenGL window.
More...
#include "global.h"
#include "interface.h"
#include "project.h"
#include "glwindow.h"
#include "glview.h"
#include "movie.h"
#include <libavformat/avformat.h>
Go to the source code of this file.
Functions to render an image from the OpenGL window.
- Author
- Sébastien Le Roux sebas.nosp@m.tien.nosp@m..lero.nosp@m.ux@i.nosp@m.pcms..nosp@m.unis.nosp@m.tra.f.nosp@m.r
Definition in file image.c.
◆ close_frame_buffer()
void close_frame_buffer |
( |
| ) |
|
|
extern |
close the frame buffer
Definition at line 1206 of file movie.c.
◆ fill_image()
render an image from an OpenGL rendering
- Parameters
-
vs | the video stream |
width | image width |
height | image height |
view | the target glwin |
Definition at line 273 of file movie.c.
◆ init_frame_buffer()
void init_frame_buffer |
( |
int | x, |
|
|
int | y ) |
|
extern |
init a frame buffer
- Parameters
-
x | x size - image width |
y | y size - image height |
Definition at line 1178 of file movie.c.
◆ render_image()
render an image from the OpenGL window - prepare the dialog
- Parameters
-
view | the target glwin |
iopts | the rendering options |
Definition at line 164 of file image.c.
◆ run_render_image()
G_MODULE_EXPORT void run_render_image |
( |
GtkDialog * | info, |
|
|
gint | response_id, |
|
|
gpointer | data ) |
render an image from the OpenGL window - running the dialog
- Parameters
-
info | the GtkDialog sending the signal |
response_id | the response id |
data | the associated data pointer |
Definition at line 94 of file image.c.
◆ glcontext
◆ glpixmap
◆ image_list
Initial value:= {"png",
"jpeg",
"tiff",
"bmp"}
Definition at line 62 of file image.c.
◆ image_name
Initial value:= {"PNG",
"JPG/JPEG",
"TIFF",
"Bitmap"}
Definition at line 57 of file image.c.
◆ pixbuf
◆ pixmap
◆ xwin