1RTF_GET_TYPE(3) rtfilter library RTF_GET_TYPE(3)
2
3
4
6 rtf_get_type - Gets the input or output data type of a filter
7
9 #include <rtfilter.h>
10
11 int rtf_get_type(hfilter filt, int in);
12
14 This function returns the data type of the input or output of the fil‐
15 ter filt depending on in. If in is zero, then the returned type is the
16 output data type. If in is non-zero, the function returns the input
17 data type of the filter.
18
19 In case of the success, the returned type will be one of the constants
20 (RTF_FLOAT, RTF_DOUBLE, RTF_CFLOAT or RTF_CDOUBLE) defined in the man
21 page of rtf_create_filter(3).
22
24 Returns the requested data type in case of success, -1 otherwise.
25
27 rtf_create_filter(3)
28
29
30
31
32EPFL 2010 RTF_GET_TYPE(3)