GNU Radio 3.5.1 C++ API
video_sdl_sink_uc.h File Reference
#include <video_sdl_api.h>
#include <gr_sync_block.h>
#include <string>
#include <SDL.h>
Include dependency graph for video_sdl_sink_uc.h:

Go to the source code of this file.

Classes

class  video_sdl_sink_uc
 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_uc_sptr 
video_sdl_make_sink_uc (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_API video_sdl_sink_uc_sptr video_sdl_make_sink_uc ( double  framerate,
int  width = 640,
int  height = 480,
unsigned int  format = IMGFMT_YV12,
int  dst_width = -1,
int  dst_height = -1 
)