GNU Radio Manual and C++ API Reference
3.9.1.0
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
>
15
#include <
gnuradio/video_sdl/api.h
>
16
17
namespace
gr
{
18
namespace
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
*/
29
class
VIDEO_SDL_API
sink_uc
:
virtual
public
sync_block
30
{
31
public
:
32
// gr::video_sdl::sink_uc::sptr
33
typedef
std::shared_ptr<sink_uc>
sptr
;
34
35
static
sptr
make(
double
framerate,
36
int
width,
37
int
height,
38
unsigned
int
format,
39
int
dst_width,
40
int
dst_height);
41
};
42
43
}
/* namespace video_sdl */
44
}
/* namespace gr */
45
46
#endif
/* INCLUDED_VIDEO_SDL_SINK_UC_H */
gr::video_sdl::sink_uc::sptr
std::shared_ptr< sink_uc > sptr
Definition:
sink_uc.h:33
VIDEO_SDL_API
#define VIDEO_SDL_API
Definition:
gr-video-sdl/include/gnuradio/video_sdl/api.h:18
gr::sync_block
synchronous 1:1 input to output with history
Definition:
sync_block.h:25
api.h
gr::video_sdl::sink_uc
video sink using SDL
Definition:
sink_uc.h:29
sync_block.h
gr
GNU Radio logging wrapper for log4cpp library (C++ port of log4j)
Definition:
basic_block.h:29
gr-video-sdl
include
gnuradio
video_sdl
sink_uc.h
Generated by
1.8.17