mirror of
https://github.com/gnss-sdr/gnss-sdr
synced 2025-01-18 21:23:02 +00:00
Make clang-format happy
This commit is contained in:
parent
0db9c2c442
commit
a8e7392f4a
@ -187,7 +187,7 @@
|
||||
|
||||
#if !defined(CL_CALLBACK)
|
||||
#define CL_CALLBACK
|
||||
#endif //CL_CALLBACK
|
||||
#endif // CL_CALLBACK
|
||||
|
||||
#include <iterator>
|
||||
#include <limits>
|
||||
@ -4703,19 +4703,19 @@ public:
|
||||
#endif // #if defined(CL_VERSION_1_2)
|
||||
|
||||
/*! \brief Class interface for GL Render Buffer Memory Objects.
|
||||
*
|
||||
* This is provided to facilitate interoperability with OpenGL.
|
||||
*
|
||||
* See Memory for details about copy semantics, etc.
|
||||
*
|
||||
* \see Memory
|
||||
*/
|
||||
*
|
||||
* This is provided to facilitate interoperability with OpenGL.
|
||||
*
|
||||
* See Memory for details about copy semantics, etc.
|
||||
*
|
||||
* \see Memory
|
||||
*/
|
||||
class BufferRenderGL :
|
||||
#if defined(CL_VERSION_1_2)
|
||||
public ImageGL
|
||||
#else // #if defined(CL_VERSION_1_2)
|
||||
public Image2DGL
|
||||
#endif //#if defined(CL_VERSION_1_2)
|
||||
#endif // #if defined(CL_VERSION_1_2)
|
||||
{
|
||||
public:
|
||||
/*! \brief Constructs a BufferRenderGL in a specified context, from a given
|
||||
@ -4748,7 +4748,7 @@ public:
|
||||
BufferRenderGL() : ImageGL(){};
|
||||
#else // #if defined(CL_VERSION_1_2)
|
||||
BufferRenderGL() : Image2DGL(){};
|
||||
#endif //#if defined(CL_VERSION_1_2)
|
||||
#endif // #if defined(CL_VERSION_1_2)
|
||||
|
||||
/*! \brief Constructor from cl_mem - takes ownership.
|
||||
*
|
||||
@ -4762,7 +4762,7 @@ public:
|
||||
__CL_EXPLICIT_CONSTRUCTORS BufferRenderGL(const cl_mem& buffer) : Image2DGL(buffer)
|
||||
{
|
||||
}
|
||||
#endif //#if defined(CL_VERSION_1_2)
|
||||
#endif // #if defined(CL_VERSION_1_2)
|
||||
|
||||
|
||||
/*! \brief Assignment from cl_mem - performs shallow copy.
|
||||
@ -4775,7 +4775,7 @@ public:
|
||||
ImageGL::operator=(rhs);
|
||||
#else // #if defined(CL_VERSION_1_2)
|
||||
Image2DGL::operator=(rhs);
|
||||
#endif //#if defined(CL_VERSION_1_2)
|
||||
#endif // #if defined(CL_VERSION_1_2)
|
||||
|
||||
return *this;
|
||||
}
|
||||
@ -4791,7 +4791,7 @@ public:
|
||||
BufferRenderGL(const BufferRenderGL& buf) : Image2DGL(buf)
|
||||
{
|
||||
}
|
||||
#endif //#if defined(CL_VERSION_1_2)
|
||||
#endif // #if defined(CL_VERSION_1_2)
|
||||
|
||||
/*! \brief Copy assignment to forward copy to the superclass correctly.
|
||||
* Required for MSVC.
|
||||
@ -4802,7 +4802,7 @@ public:
|
||||
ImageGL::operator=(rhs);
|
||||
#else // #if defined(CL_VERSION_1_2)
|
||||
Image2DGL::operator=(rhs);
|
||||
#endif //#if defined(CL_VERSION_1_2)
|
||||
#endif // #if defined(CL_VERSION_1_2)
|
||||
return *this;
|
||||
}
|
||||
|
||||
@ -4818,7 +4818,7 @@ public:
|
||||
BufferRenderGL(BufferRenderGL&& buf) CL_HPP_NOEXCEPT : Image2DGL(std::move(buf))
|
||||
{
|
||||
}
|
||||
#endif //#if defined(CL_VERSION_1_2)
|
||||
#endif // #if defined(CL_VERSION_1_2)
|
||||
|
||||
|
||||
/*! \brief Move assignment to forward move to the superclass correctly.
|
||||
@ -4830,7 +4830,7 @@ public:
|
||||
ImageGL::operator=(std::move(buf));
|
||||
#else // #if defined(CL_VERSION_1_2)
|
||||
Image2DGL::operator=(std::move(buf));
|
||||
#endif //#if defined(CL_VERSION_1_2)
|
||||
#endif // #if defined(CL_VERSION_1_2)
|
||||
|
||||
return *this;
|
||||
}
|
||||
@ -5066,7 +5066,7 @@ Local(::size_t size)
|
||||
return ret;
|
||||
}
|
||||
|
||||
//class KernelFunctor;
|
||||
// class KernelFunctor;
|
||||
|
||||
/*! \brief Class interface for cl_kernel.
|
||||
*
|
||||
|
@ -713,7 +713,7 @@ int glonass_l2_ca_dll_pll_c_aid_tracking_cc::general_work(int noutput_items __at
|
||||
d_correlation_length_samples = K_prn_samples + d_rem_code_phase_integer_samples;
|
||||
d_rem_code_phase_samples = d_rem_code_phase_samples - d_rem_code_phase_integer_samples;
|
||||
|
||||
//################### PLL COMMANDS #################################################
|
||||
// ################### PLL COMMANDS #################################################
|
||||
// carrier phase step (NCO phase increment per sample) [rads/sample]
|
||||
d_carrier_phase_step_rad = TWO_PI * d_carrier_frequency_hz / static_cast<double>(d_fs_in);
|
||||
d_acc_carrier_phase_cycles -= d_carrier_phase_step_rad * d_correlation_length_samples / TWO_PI;
|
||||
@ -722,7 +722,7 @@ int glonass_l2_ca_dll_pll_c_aid_tracking_cc::general_work(int noutput_items __at
|
||||
// remnant carrier phase [rad]
|
||||
d_rem_carrier_phase_rad = fmod(d_rem_carrier_phase_rad + TWO_PI * d_carrier_frequency_hz * CORRECTED_INTEGRATION_TIME_S, TWO_PI);
|
||||
|
||||
//################### DLL COMMANDS #################################################
|
||||
// ################### DLL COMMANDS #################################################
|
||||
// code phase step (Code resampler phase increment per sample) [chips/sample]
|
||||
d_code_phase_step_chips = d_code_freq_chips / static_cast<double>(d_fs_in);
|
||||
// remnant code phase [chips]
|
||||
|
@ -728,13 +728,13 @@ int Gps_L1_Ca_Gaussian_Tracking_cc::general_work(int noutput_items __attribute__
|
||||
double K_blk_samples = T_prn_samples + d_rem_code_phase_samples + code_error_filt_secs * static_cast<double>(d_fs_in);
|
||||
d_current_prn_length_samples = static_cast<int>(round(K_blk_samples)); // round to a discrete number of samples
|
||||
|
||||
//################### NCO COMMANDS #################################################
|
||||
// ################### NCO COMMANDS #################################################
|
||||
// carrier phase step (NCO phase increment per sample) [rads/sample]
|
||||
d_carrier_phase_step_rad = TWO_PI * d_carrier_doppler_hz / static_cast<double>(d_fs_in);
|
||||
// carrier phase accumulator
|
||||
d_acc_carrier_phase_rad -= d_carrier_phase_step_rad * static_cast<double>(d_current_prn_length_samples);
|
||||
|
||||
//################### DLL COMMANDS #################################################
|
||||
// ################### DLL COMMANDS #################################################
|
||||
// code phase step (Code resampler phase increment per sample) [chips/sample]
|
||||
d_code_phase_step_chips = d_code_freq_chips / static_cast<double>(d_fs_in);
|
||||
// remnant code phase [chips]
|
||||
|
@ -69,7 +69,7 @@ bool FrontEndCal::read_assistance_from_XML()
|
||||
|
||||
int FrontEndCal::Get_SUPL_Assist()
|
||||
{
|
||||
//######### GNSS Assistance #################################
|
||||
// ######### GNSS Assistance #################################
|
||||
Gnss_Sdr_Supl_Client supl_client_acquisition_;
|
||||
Gnss_Sdr_Supl_Client supl_client_ephemeris_;
|
||||
int supl_mcc; // Current network MCC (Mobile country code), 3 digits.
|
||||
|
Loading…
Reference in New Issue
Block a user