#include <stdio.h>
#include <stdarg.h>
#include <libusb/libusb.h>
#include <vector>
#include <map>
#include <string>
Go to the source code of this file.
◆ CHECK_LIBUSB_NEG_RESULT
| #define CHECK_LIBUSB_NEG_RESULT |
( |
| r | ) |
|
Value:
#define CURRENT_FUNCTION
Definition rtl2832.h:43
◆ CHECK_LIBUSB_NEG_RESULT_RETURN
| #define CHECK_LIBUSB_NEG_RESULT_RETURN |
( |
| d, |
|
|
| r ) |
Value:
#define CHECK_LIBUSB_NEG_RESULT_RETURN_EX(d, r)
Definition rtl2832.h:299
◆ CHECK_LIBUSB_NEG_RESULT_RETURN_EX
| #define CHECK_LIBUSB_NEG_RESULT_RETURN_EX |
( |
| d, |
|
|
| r ) |
Value: { int res = d->CHECK_LIBUSB_NEG_RESULT(r); \
if (res < 0) return res; }
◆ CHECK_LIBUSB_RESULT
| #define CHECK_LIBUSB_RESULT |
( |
| r | ) |
|
◆ CHECK_LIBUSB_RESULT_EX
| #define CHECK_LIBUSB_RESULT_EX |
( |
| r, |
|
|
| f, |
|
|
| l, |
|
|
| s ) |
Value:check_libusb_result(r, false, f, l, s)
◆ CHECK_LIBUSB_RESULT_RETURN
| #define CHECK_LIBUSB_RESULT_RETURN |
( |
| r | ) |
|
Value:
#define CHECK_LIBUSB_RESULT_RETURN_EX(d, r)
Definition rtl2832.h:295
◆ CHECK_LIBUSB_RESULT_RETURN_EX
| #define CHECK_LIBUSB_RESULT_RETURN_EX |
( |
| d, |
|
|
| r ) |
Value: { int res = d->CHECK_LIBUSB_RESULT(r); \
if (res <= 0) return res; }
◆ CURRENT_FUNCTION
| #define CURRENT_FUNCTION __PRETTY_FUNCTION__ |
◆ DEBUG_TUNER_I2C
| #define DEBUG_TUNER_I2C |
( |
| t, |
|
|
| r ) |
Value: if (t->params().message_output && function && (line_number >= 0) && (line)) \
t->params().message_output->on_log_message_ex(RTL2832_NAMESPACE::log_sink::LOG_LEVEL_ERROR,
"%s: %s [%i] @ %s:%i \"%s\"\n", __FUNCTION__,
libusb_result_to_string(r), r, function, line_number, line);
RTL2832_API const char * libusb_result_to_string(int res)
◆ DECLARE_TUNER_FACTORY
| #define DECLARE_TUNER_FACTORY |
( |
| ) |
|
Value: public: \
#define TUNER_FACTORY_FN_NAME
Definition rtl2832.h:68
#define TUNER_PROBE_FN_NAME
Definition rtl2832.h:69
◆ I2C_REPEATER_SCOPE
| #define I2C_REPEATER_SCOPE |
( |
| p | ) |
|
Value:i2c_repeater_scope _i2c_repeater_scope(p,
CURRENT_FUNCTION, __LINE__, p->name())
◆ IMPLEMENT_INLINE_TUNER_FACTORY
| #define IMPLEMENT_INLINE_TUNER_FACTORY |
( |
| class_name | ) |
|
Value: public: \
{ return new class_name(p); } \
◆ IMPLEMENT_TUNER_FACTORY
| #define IMPLEMENT_TUNER_FACTORY |
( |
| class_name | ) |
|
Value: tuner* class_name::TUNER_FACTORY_FN_NAME(demod* p) \
{ return new class_name(p); }
◆ RTL2832_API
◆ RTL2832_FIR_COEFF_COUNT
| #define RTL2832_FIR_COEFF_COUNT 20 |
◆ RTL2832_NAMESPACE
| #define RTL2832_NAMESPACE rtl2832 |
◆ RTL2832_TEMPLATE
◆ RTL2832_TUNER_NAME_LEN
| #define RTL2832_TUNER_NAME_LEN (32+1) |
◆ THIS_I2C_REPEATER_SCOPE
| #define THIS_I2C_REPEATER_SCOPE |
( |
| ) |
|
Value:
#define I2C_REPEATER_SCOPE(p)
Definition rtl2832.h:277
◆ TUNER_FACTORY_FN_NAME
| #define TUNER_FACTORY_FN_NAME Factory |
◆ TUNER_PROBE_FN_NAME
| #define TUNER_PROBE_FN_NAME Probe |
◆ TUNERS_NAMESPACE
| #define TUNERS_NAMESPACE tuners |
◆ get_map_index()
| RTL2832_API int get_map_index |
( |
int | value, |
|
|
const int * | map, |
|
|
int | pair_count ) |
|
extern |
◆ libusb_result_to_string()
| RTL2832_API const char * libusb_result_to_string |
( |
int | res | ) |
|
|
extern |