108
109
# define IPECAMERA_DEBUG_FRAME_HEADERS_BUFFER(function, ...)
109
110
#endif /* IPECAMERA_DEBUG_RAW_FRAMES */
113
# define IPECAMERA_DEBUG_API_MESSAGE(function, ...) if (ipecamera_getenv(function##_ENV, #function)) { pcilib_debug_message (#function, __FILE__, __LINE__, __VA_ARGS__); }
114
# define IPECAMERA_DEBUG_API_BUFFER(function, ...) if (ipecamera_getenv(function##_ENV, #function)) { pcilib_debug_data_buffer (#function, __VA_ARGS__); }
112
121
#define ipecamera_debug(function, ...) \
113
122
IPECAMERA_DEBUG_##function##_MESSAGE(IPECAMERA_DEBUG_##function, PCILIB_LOG_DEFAULT, __VA_ARGS__)