<?xml version='1.0' encoding='UTF-8' standalone='no'?>
<doxygen xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="compound.xsd" version="1.9.3" xml:lang="en-US">
  <compounddef id="classbaz__unpacked__to__packed__bb" kind="class" language="C++" prot="public">
    <compoundname>baz_unpacked_to_packed_bb</compoundname>
    <basecompoundref prot="public" virt="non-virtual">gr::block</basecompoundref>
    <includes refid="baz__unpacked__to__packed__bb_8h" local="no">baz_unpacked_to_packed_bb.h</includes>
      <sectiondef kind="private-attrib">
      <memberdef kind="variable" id="classbaz__unpacked__to__packed__bb_1a240f9ca4907f0ce0be1ec6521d967294" prot="private" static="no" mutable="no">
        <type>unsigned int</type>
        <definition>unsigned int baz_unpacked_to_packed_bb::d_bits_per_chunk</definition>
        <argsstring></argsstring>
        <name>d_bits_per_chunk</name>
        <qualifiedname>baz_unpacked_to_packed_bb::d_bits_per_chunk</qualifiedname>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_science_gr-baz/gr-baz/work/balint256-gr-baz-937834c/lib/baz_unpacked_to_packed_bb.h" line="70" column="19" bodyfile="/opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_science_gr-baz/gr-baz/work/balint256-gr-baz-937834c/lib/baz_unpacked_to_packed_bb.h" bodystart="70" bodyend="-1"/>
      </memberdef>
      <memberdef kind="variable" id="classbaz__unpacked__to__packed__bb_1a9a23527d508b85d676ed961794b4a8e3" prot="private" static="no" mutable="no">
        <type>unsigned int</type>
        <definition>unsigned int baz_unpacked_to_packed_bb::d_bits_into_output</definition>
        <argsstring></argsstring>
        <name>d_bits_into_output</name>
        <qualifiedname>baz_unpacked_to_packed_bb::d_bits_into_output</qualifiedname>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_science_gr-baz/gr-baz/work/balint256-gr-baz-937834c/lib/baz_unpacked_to_packed_bb.h" line="70" column="36" bodyfile="/opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_science_gr-baz/gr-baz/work/balint256-gr-baz-937834c/lib/baz_unpacked_to_packed_bb.h" bodystart="70" bodyend="-1"/>
      </memberdef>
      <memberdef kind="variable" id="classbaz__unpacked__to__packed__bb_1a7efadee507fecb942f0b17f953a70f36" prot="private" static="no" mutable="no">
        <type>gr::endianness_t</type>
        <definition>gr::endianness_t baz_unpacked_to_packed_bb::d_endianness</definition>
        <argsstring></argsstring>
        <name>d_endianness</name>
        <qualifiedname>baz_unpacked_to_packed_bb::d_endianness</qualifiedname>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_science_gr-baz/gr-baz/work/balint256-gr-baz-937834c/lib/baz_unpacked_to_packed_bb.h" line="71" column="20" bodyfile="/opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_science_gr-baz/gr-baz/work/balint256-gr-baz-937834c/lib/baz_unpacked_to_packed_bb.h" bodystart="71" bodyend="-1"/>
      </memberdef>
      <memberdef kind="variable" id="classbaz__unpacked__to__packed__bb_1a4a444fdf6b5e5b8ceeb46bae60d1a6a4" prot="private" static="no" mutable="no">
        <type>unsigned int</type>
        <definition>unsigned int baz_unpacked_to_packed_bb::d_index</definition>
        <argsstring></argsstring>
        <name>d_index</name>
        <qualifiedname>baz_unpacked_to_packed_bb::d_index</qualifiedname>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_science_gr-baz/gr-baz/work/balint256-gr-baz-937834c/lib/baz_unpacked_to_packed_bb.h" line="72" column="19" bodyfile="/opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_science_gr-baz/gr-baz/work/balint256-gr-baz-937834c/lib/baz_unpacked_to_packed_bb.h" bodystart="72" bodyend="-1"/>
      </memberdef>
      </sectiondef>
      <sectiondef kind="friend">
      <memberdef kind="friend" id="classbaz__unpacked__to__packed__bb_1a5902515fe1c9a83c7eb1155aafb1a020" prot="private" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type><ref refid="api_8h_1a8042157abaf31717b3b48a906cb73a8c" kindref="member">BAZ_API</ref> baz_unpacked_to_packed_bb_sptr</type>
        <definition>BAZ_API baz_unpacked_to_packed_bb_sptr baz_make_unpacked_to_packed_bb</definition>
        <argsstring>(unsigned int bits_per_chunk, unsigned int bits_into_output, int endianness)</argsstring>
        <name>baz_make_unpacked_to_packed_bb</name>
        <qualifiedname>baz_unpacked_to_packed_bb::baz_make_unpacked_to_packed_bb</qualifiedname>
        <param>
          <type>unsigned int</type>
          <declname>bits_per_chunk</declname>
        </param>
        <param>
          <type>unsigned int</type>
          <declname>bits_into_output</declname>
        </param>
        <param>
          <type>int</type>
          <declname>endianness</declname>
        </param>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_science_gr-baz/gr-baz/work/balint256-gr-baz-937834c/lib/baz_unpacked_to_packed_bb.h" line="66" column="3"/>
      </memberdef>
      </sectiondef>
      <sectiondef kind="private-func">
      <memberdef kind="function" id="classbaz__unpacked__to__packed__bb_1a253af022e89d3895c416a2f624fa97ca" prot="private" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type></type>
        <definition>baz_unpacked_to_packed_bb::baz_unpacked_to_packed_bb</definition>
        <argsstring>(unsigned int bits_per_chunk, unsigned int bits_into_output, int endianness)</argsstring>
        <name>baz_unpacked_to_packed_bb</name>
        <qualifiedname>baz_unpacked_to_packed_bb::baz_unpacked_to_packed_bb</qualifiedname>
        <param>
          <type>unsigned int</type>
          <declname>bits_per_chunk</declname>
        </param>
        <param>
          <type>unsigned int</type>
          <declname>bits_into_output</declname>
        </param>
        <param>
          <type>int</type>
          <declname>endianness</declname>
        </param>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_science_gr-baz/gr-baz/work/balint256-gr-baz-937834c/lib/baz_unpacked_to_packed_bb.h" line="68" column="3"/>
      </memberdef>
      </sectiondef>
      <sectiondef kind="public-func">
      <memberdef kind="function" id="classbaz__unpacked__to__packed__bb_1a51704042cd3fbcc926cb98670117a439" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type>void</type>
        <definition>void baz_unpacked_to_packed_bb::forecast</definition>
        <argsstring>(int noutput_items, gr_vector_int &amp;ninput_items_required)</argsstring>
        <name>forecast</name>
        <qualifiedname>baz_unpacked_to_packed_bb::forecast</qualifiedname>
        <param>
          <type>int</type>
          <declname>noutput_items</declname>
        </param>
        <param>
          <type>gr_vector_int &amp;</type>
          <declname>ninput_items_required</declname>
        </param>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_science_gr-baz/gr-baz/work/balint256-gr-baz-937834c/lib/baz_unpacked_to_packed_bb.h" line="75" column="8"/>
      </memberdef>
      <memberdef kind="function" id="classbaz__unpacked__to__packed__bb_1a7e26f0f5ddaaf42c6fc53d7145b11408" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
        <type>int</type>
        <definition>int baz_unpacked_to_packed_bb::general_work</definition>
        <argsstring>(int noutput_items, gr_vector_int &amp;ninput_items, gr_vector_const_void_star &amp;input_items, gr_vector_void_star &amp;output_items)</argsstring>
        <name>general_work</name>
        <qualifiedname>baz_unpacked_to_packed_bb::general_work</qualifiedname>
        <param>
          <type>int</type>
          <declname>noutput_items</declname>
        </param>
        <param>
          <type>gr_vector_int &amp;</type>
          <declname>ninput_items</declname>
        </param>
        <param>
          <type>gr_vector_const_void_star &amp;</type>
          <declname>input_items</declname>
        </param>
        <param>
          <type>gr_vector_void_star &amp;</type>
          <declname>output_items</declname>
        </param>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_science_gr-baz/gr-baz/work/balint256-gr-baz-937834c/lib/baz_unpacked_to_packed_bb.h" line="76" column="7"/>
      </memberdef>
      <memberdef kind="function" id="classbaz__unpacked__to__packed__bb_1a400321f5633b2165b8e232da07b898dc" prot="public" static="no" const="no" explicit="no" inline="yes" virt="non-virtual">
        <type>bool</type>
        <definition>bool baz_unpacked_to_packed_bb::check_topology</definition>
        <argsstring>(int ninputs, int noutputs)</argsstring>
        <name>check_topology</name>
        <qualifiedname>baz_unpacked_to_packed_bb::check_topology</qualifiedname>
        <param>
          <type>int</type>
          <declname>ninputs</declname>
        </param>
        <param>
          <type>int</type>
          <declname>noutputs</declname>
        </param>
        <briefdescription>
        </briefdescription>
        <detaileddescription>
        </detaileddescription>
        <inbodydescription>
        </inbodydescription>
        <location file="/opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_science_gr-baz/gr-baz/work/balint256-gr-baz-937834c/lib/baz_unpacked_to_packed_bb.h" line="81" column="8" bodyfile="/opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_science_gr-baz/gr-baz/work/balint256-gr-baz-937834c/lib/baz_unpacked_to_packed_bb.h" bodystart="81" bodyend="81"/>
      </memberdef>
      </sectiondef>
    <briefdescription>
<para>Convert a stream of unpacked bytes or shorts into a stream of packed bytes or shorts. </para>
    </briefdescription>
    <detaileddescription>
<para>input: stream of unsigned char; output: stream of unsigned char</para>
<para>This is the inverse of gr_packed_to_unpacked_XX.</para>
<para>The low <computeroutput>bits_per_chunk</computeroutput> bits are extracted from each input byte or short. These bits are then packed densely into the output bytes or shorts, such that all 8 or 16 bits of the output bytes or shorts are filled with valid input bits. The right thing is done if bits_per_chunk is not a power of two.</para>
<para>The combination of gr_packed_to_unpacked_XX followed by gr_chunks_to_symbols_Xf or gr_chunks_to_symbols_Xc handles the general case of mapping from a stream of bytes or shorts into arbitrary float or complex symbols.</para>
<para><simplesect kind="see"><para>gr_packed_to_unpacked_bb, gr_unpacked_to_packed_bb, </para>
</simplesect>
<simplesect kind="see"><para>gr_packed_to_unpacked_ss, gr_unpacked_to_packed_ss, </para>
</simplesect>
<simplesect kind="see"><para>gr_chunks_to_symbols_bf, gr_chunks_to_symbols_bc. </para>
</simplesect>
<simplesect kind="see"><para>gr_chunks_to_symbols_sf, gr_chunks_to_symbols_sc. </para>
</simplesect>
</para>
    </detaileddescription>
    <inheritancegraph>
      <node id="1">
        <label>baz_unpacked_to_packed_bb</label>
        <link refid="classbaz__unpacked__to__packed__bb"/>
        <childnode refid="2" relation="public-inheritance">
        </childnode>
      </node>
      <node id="2">
        <label>gr::block</label>
      </node>
    </inheritancegraph>
    <collaborationgraph>
      <node id="1">
        <label>baz_unpacked_to_packed_bb</label>
        <link refid="classbaz__unpacked__to__packed__bb"/>
        <childnode refid="2" relation="public-inheritance">
        </childnode>
      </node>
      <node id="2">
        <label>gr::block</label>
      </node>
    </collaborationgraph>
    <location file="/opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_science_gr-baz/gr-baz/work/balint256-gr-baz-937834c/lib/baz_unpacked_to_packed_bb.h" line="63" column="1" bodyfile="/opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_science_gr-baz/gr-baz/work/balint256-gr-baz-937834c/lib/baz_unpacked_to_packed_bb.h" bodystart="64" bodyend="82"/>
    <listofallmembers>
      <member refid="classbaz__unpacked__to__packed__bb_1a5902515fe1c9a83c7eb1155aafb1a020" prot="private" virt="non-virtual"><scope>baz_unpacked_to_packed_bb</scope><name>baz_make_unpacked_to_packed_bb</name></member>
      <member refid="classbaz__unpacked__to__packed__bb_1a253af022e89d3895c416a2f624fa97ca" prot="private" virt="non-virtual"><scope>baz_unpacked_to_packed_bb</scope><name>baz_unpacked_to_packed_bb</name></member>
      <member refid="classbaz__unpacked__to__packed__bb_1a400321f5633b2165b8e232da07b898dc" prot="public" virt="non-virtual"><scope>baz_unpacked_to_packed_bb</scope><name>check_topology</name></member>
      <member refid="classbaz__unpacked__to__packed__bb_1a9a23527d508b85d676ed961794b4a8e3" prot="private" virt="non-virtual"><scope>baz_unpacked_to_packed_bb</scope><name>d_bits_into_output</name></member>
      <member refid="classbaz__unpacked__to__packed__bb_1a240f9ca4907f0ce0be1ec6521d967294" prot="private" virt="non-virtual"><scope>baz_unpacked_to_packed_bb</scope><name>d_bits_per_chunk</name></member>
      <member refid="classbaz__unpacked__to__packed__bb_1a7efadee507fecb942f0b17f953a70f36" prot="private" virt="non-virtual"><scope>baz_unpacked_to_packed_bb</scope><name>d_endianness</name></member>
      <member refid="classbaz__unpacked__to__packed__bb_1a4a444fdf6b5e5b8ceeb46bae60d1a6a4" prot="private" virt="non-virtual"><scope>baz_unpacked_to_packed_bb</scope><name>d_index</name></member>
      <member refid="classbaz__unpacked__to__packed__bb_1a51704042cd3fbcc926cb98670117a439" prot="public" virt="non-virtual"><scope>baz_unpacked_to_packed_bb</scope><name>forecast</name></member>
      <member refid="classbaz__unpacked__to__packed__bb_1a7e26f0f5ddaaf42c6fc53d7145b11408" prot="public" virt="non-virtual"><scope>baz_unpacked_to_packed_bb</scope><name>general_work</name></member>
    </listofallmembers>
  </compounddef>
</doxygen>
