#include <video_sdl_api.h>
#include <gr_sync_block.h>
#include <string>
#include <SDL.h>
Go to the source code of this file.
Classes |
class | video_sdl_sink_s |
| video sink using SDL More...
|
Defines |
#define | vid_fourcc(a, b, c, d) (((unsigned)(a)<<0) | ((unsigned)(b)<<8) | ((unsigned)(c)<<16) | ((unsigned)(d)<<24)) |
#define | IMGFMT_YV12 vid_fourcc('Y','V','1','2') |
Functions |
VIDEO_SDL_API video_sdl_sink_s_sptr | video_sdl_make_sink_s (double framerate, int width=640, int height=480, unsigned int format=IMGFMT_YV12, int dst_width=-1, int dst_height=-1) |
Define Documentation
#define IMGFMT_YV12 vid_fourcc('Y','V','1','2') |
#define vid_fourcc |
( |
|
a, |
|
|
|
b, |
|
|
|
c, |
|
|
|
d |
|
) |
| (((unsigned)(a)<<0) | ((unsigned)(b)<<8) | ((unsigned)(c)<<16) | ((unsigned)(d)<<24)) |
Function Documentation
VIDEO_SDL_API video_sdl_sink_s_sptr video_sdl_make_sink_s |
( |
double |
framerate, |
|
|
int |
width = 640 , |
|
|
int |
height = 480 , |
|
|
unsigned int |
format = IMGFMT_YV12 , |
|
|
int |
dst_width = -1 , |
|
|
int |
dst_height = -1 |
|
) |
| |