GNU Radio Manual and C++ API Reference 3.10.5.1
The Free & Open Software Radio Ecosystem
sink_uc.h
Go to the documentation of this file.
1/* -*- c++ -*- */
2/*
3 * Copyright 2006,2012 Free Software Foundation, Inc.
4 *
5 * This file is part of GNU Radio
6 *
7 * SPDX-License-Identifier: GPL-3.0-or-later
8 *
9 */
10
11#ifndef INCLUDED_VIDEO_SDL_SINK_UC_H
12#define INCLUDED_VIDEO_SDL_SINK_UC_H
13
14#include <gnuradio/sync_block.h>
16
17namespace gr {
18namespace video_sdl {
19
20/*!
21 * \brief video sink using SDL
22 *
23 * input signature is one, two or three streams of uchar.
24 * One stream: stream is grey (Y)
25 * two streams: first is grey (Y), second is alternating U and V
26 * Three streams: first is grey (Y), second is U, third is V
27 * Input samples must be in the range [0,255].
28 */
29class VIDEO_SDL_API sink_uc : virtual public sync_block
30{
31public:
32 // gr::video_sdl::sink_uc::sptr
33 typedef std::shared_ptr<sink_uc> sptr;
34
35 static sptr
36 make(double framerate, int width, int height, int dst_width, int dst_height);
37};
38
39} /* namespace video_sdl */
40} /* namespace gr */
41
42#endif /* INCLUDED_VIDEO_SDL_SINK_UC_H */
synchronous 1:1 input to output with history
Definition: sync_block.h:26
video sink using SDL
Definition: sink_uc.h:30
std::shared_ptr< sink_uc > sptr
Definition: sink_uc.h:33
static sptr make(double framerate, int width, int height, int dst_width, int dst_height)
#define VIDEO_SDL_API
Definition: gr-video-sdl/include/gnuradio/video_sdl/api.h:18
GNU Radio logging wrapper.
Definition: basic_block.h:29