Revision 99494305 host/include/uhd/transport/convert_types.hpp

b/host/include/uhd/transport/convert_types.hpp
21 21
#include <uhd/config.hpp>
22 22
#include <uhd/types/io_type.hpp>
23 23
#include <uhd/types/otw_type.hpp>
24
#include <vector>
24 25

  
25 26
namespace uhd{ namespace transport{
26 27

  
......
40 41
);
41 42

  
42 43
/*!
44
 * Convert IO samples to OWT samples + interleave.
45
 *
46
 * \param io_buffs buffers containing samples
47
 * \param io_type the type of these samples
48
 * \param otw_buff memory to write converted samples
49
 * \param otw_type the type of these samples
50
 * \param nsamps_per_io_buff samples per io_buff
51
 */
52
UHD_API void convert_io_type_to_otw_type(
53
    const std::vector<const void *> &io_buffs,
54
    const io_type_t &io_type,
55
    void *otw_buff,
56
    const otw_type_t &otw_type,
57
    size_t nsamps_per_io_buff
58
);
59

  
60
/*!
43 61
 * Convert OTW samples to IO samples.
44 62
 *
45 63
 * \param otw_buff memory containing samples
......
54 72
    size_t num_samps
55 73
);
56 74

  
75
/*!
76
 * Convert OTW samples to IO samples + de-interleave.
77
 *
78
 * \param otw_buff memory containing samples
79
 * \param otw_type the type of these samples
80
 * \param io_buffs buffers to write converted samples
81
 * \param io_type the type of these samples
82
 * \param nsamps_per_io_buff samples per io_buff
83
 */
84
UHD_API void convert_otw_type_to_io_type(
85
    const void *otw_buff,
86
    const otw_type_t &otw_type,
87
    std::vector<void *> &io_buffs,
88
    const io_type_t &io_type,
89
    size_t nsamps_per_io_buff
90
);
91

  
57 92
}} //namespace
58 93

  
94
#include <uhd/transport/convert_types.ipp>
95

  
59 96
#endif /* INCLUDED_UHD_TRANSPORT_CONVERT_TYPES_HPP */

Also available in: Unified diff