gr-baz Package

baz_sdl_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 * GNU Radio is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by
9 * the Free Software Foundation; either version 3, or (at your option)
10 * any later version.
11 *
12 * GNU Radio is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 * GNU General Public License for more details.
16 *
17 * You should have received a copy of the GNU General Public License
18 * along with GNU Radio; see the file COPYING. If not, write to
19 * the Free Software Foundation, Inc., 51 Franklin Street,
20 * Boston, MA 02110-1301, USA.
21 */
22
23#ifndef INCLUDED_BAZ_SDL_SINK_UC_H
24#define INCLUDED_BAZ_SDL_SINK_UC_H
25
26#include <gnuradio/sync_block.h>
27
28 namespace gr {
29 namespace baz {
30
31 /*!
32 * \brief video sink using SDL
33 *
34 * input signature is one, two or three streams of uchar.
35 * One stream: stream is grey (Y)
36 * two streems: first is grey (Y), second is alternating U and V
37 * Three streams: first is grey (Y), second is U, third is V
38 * Input samples must be in the range [0,255].
39 */
40 class BAZ_API sdl_sink_uc : virtual public sync_block
41 {
42 public:
43 // gr::baz::sdl_sink_uc::sptr
44 typedef boost::shared_ptr<sdl_sink_uc> sptr;
45
46 static sptr make(double framerate,
47 int width, int height,
48 unsigned int format,
49 int dst_width, int dst_height, const std::string filename = "", bool manual_flip = false, const std::string font_path = "");
50
51 virtual void flip(void)=0;
52 };
53
54 } /* namespace baz */
55} /* namespace gr */
56
57#endif /* INCLUDED_BAZ_SDL_SINK_UC_H */
BAZ_API
#define BAZ_API
Definition api.h:19
gr::baz::sdl_sink_uc
video sink using SDL
Definition baz_sdl_sink_uc.h:41
gr::baz::sdl_sink_uc::make
static sptr make(double framerate, int width, int height, unsigned int format, int dst_width, int dst_height, const std::string filename="", bool manual_flip=false, const std::string font_path="")
gr::baz::sdl_sink_uc::flip
virtual void flip(void)=0
gr::baz::sdl_sink_uc::sptr
boost::shared_ptr< sdl_sink_uc > sptr
Definition baz_sdl_sink_uc.h:44
gr::baz
Definition baz_additive_scrambler_bb.h:29
gr
Definition baz_additive_scrambler_bb.h:28