GNU Radio 3.4.0 C++ API
video_sdl_sink_s.h File Reference
#include <gr_sync_block.h>
#include <string>
#include <SDL.h>
Include dependency graph for video_sdl_sink_s.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_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,
 
)    (((unsigned)(a)<<0) | ((unsigned)(b)<<8) | ((unsigned)(c)<<16) | ((unsigned)(d)<<24))

Function Documentation

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 
)