overlap_cc_impl.h
Go to the documentation of this file.
/* -*- c++ -*- */
/*
* Copyright 2013-2021 Sylvain Munaut <tnt@246tNt.com>
*
* This file is part of gr-fosphor
*
* SPDX-License-Identifier: GPL-3.0-or-later
*/
#pragma once
#include <gnuradio/fosphor/overlap_cc.h>
struct fosphor;
struct fosphor_render;
namespace gr {
namespace fosphor {
/*!
* \brief Block preparing an overlapped version of the stream
* \ingroup fosphor
*/
class overlap_cc_impl : public overlap_cc
{
private:
int d_wlen;
int d_overlap;
public:
overlap_cc_impl(int wlen, int overlap);
virtual ~overlap_cc_impl();
void set_overlap_ratio(const int overlap);
/* gr::sync_interpolator implementation */
int work (int noutput_items,
gr_vector_const_void_star &input_items,
gr_vector_void_star &output_items);
};
} // namespace fosphor
} // namespace gr
gr::fosphor::overlap_cc_impl::~overlap_cc_impl
virtual ~overlap_cc_impl()
gr::fosphor::overlap_cc_impl::work
int work(int noutput_items, gr_vector_const_void_star &input_items, gr_vector_void_star &output_items)
gr::fosphor::overlap_cc_impl::overlap_cc_impl
overlap_cc_impl(int wlen, int overlap)
gr::fosphor::overlap_cc_impl::set_overlap_ratio
void set_overlap_ratio(const int overlap)
gr::fosphor::overlap_cc
Block preparing an overlapped version of the stream.
Definition overlap_cc.h:25
gr::fosphor
Definition base_sink_c.h:18
gr
Definition base_sink_c.h:17
overlap_cc.h
fosphor_render
fosphor render options
Definition fosphor.h:63
fosphor
Definition private.h:31