Loading...
Searching...
No Matches
sink_uc.h
Go to the documentation of this file.
/* -*- c++ -*- */
/*
* Copyright 2006,2012 Free Software Foundation, Inc.
*
* This file is part of GNU Radio
*
* SPDX-License-Identifier: GPL-3.0-or-later
*
*/
#ifndef INCLUDED_VIDEO_SDL_SINK_UC_H
#define INCLUDED_VIDEO_SDL_SINK_UC_H
#include <gnuradio/sync_block.h>
#include <gnuradio/video_sdl/api.h>
namespace gr {
namespace video_sdl {
/*!
* \brief video sink using SDL
*
* input signature is one, two or three streams of uchar.
* One stream: stream is grey (Y)
* two streams: first is grey (Y), second is alternating U and V
* Three streams: first is grey (Y), second is U, third is V
* Input samples must be in the range [0,255].
*/
class VIDEO_SDL_API sink_uc : virtual public sync_block
{
public:
// gr::video_sdl::sink_uc::sptr
typedef std::shared_ptr<sink_uc> sptr;
static sptr
make(double framerate, int width, int height, int dst_width, int dst_height);
};
} /* namespace video_sdl */
} /* namespace gr */
#endif /* INCLUDED_VIDEO_SDL_SINK_UC_H */
gr::sync_block
synchronous 1:1 input to output with history
Definition sync_block.h:26
gr::video_sdl::sink_uc
video sink using SDL
Definition sink_uc.h:30
gr::video_sdl::sink_uc::sptr
std::shared_ptr< sink_uc > sptr
Definition sink_uc.h:33
gr::video_sdl::sink_uc::make
static sptr make(double framerate, int width, int height, int dst_width, int dst_height)
api.h
VIDEO_SDL_API
#define VIDEO_SDL_API
Definition gr-video-sdl/include/gnuradio/video_sdl/api.h:18
gr
GNU Radio logging wrapper.
Definition basic_block.h:29
sync_block.h