28 #ifndef INCLUDED_BAZ_UNPACKED_TO_PACKED_BB_H 29 #define INCLUDED_BAZ_UNPACKED_TO_PACKED_BB_H 31 #include <gnuradio/block.h> 32 #include <gnuradio/endianness.h> 35 typedef boost::shared_ptr<baz_unpacked_to_packed_bb> baz_unpacked_to_packed_bb_sptr;
37 BAZ_API baz_unpacked_to_packed_bb_sptr
65 friend BAZ_API baz_unpacked_to_packed_bb_sptr
70 unsigned int d_bits_per_chunk, d_bits_into_output;
71 gr::endianness_t d_endianness;
75 void forecast(
int noutput_items, gr_vector_int &ninput_items_required);
76 int general_work (
int noutput_items,
77 gr_vector_int &ninput_items,
78 gr_vector_const_void_star &input_items,
79 gr_vector_void_star &output_items);
81 bool check_topology(
int ninputs,
int noutputs) {
return ninputs == noutputs; }
Convert a stream of unpacked bytes or shorts into a stream of packed bytes or shorts.input: stream of unsigned char; output: stream of unsigned char.
Definition: baz_unpacked_to_packed_bb.h:63
bool check_topology(int ninputs, int noutputs)
Definition: baz_unpacked_to_packed_bb.h:81
BAZ_API baz_unpacked_to_packed_bb_sptr baz_make_unpacked_to_packed_bb(unsigned int bits_per_chunk, unsigned int bits_into_output, int endianness=gr::GR_MSB_FIRST)
#define BAZ_API
Definition: config.h:8
class BAZ_API baz_unpacked_to_packed_bb
Definition: baz_unpacked_to_packed_bb.h:34