Remove log.cpp

This commit is contained in:
dijunkun
2024-07-17 14:44:18 +08:00
parent 28fb35faf5
commit 792a286899
4 changed files with 5 additions and 23 deletions

View File

@@ -1,6 +0,0 @@
#include "log.h"
int LogDummy()
{
return 0;
}

View File

@@ -18,20 +18,7 @@ using namespace std::chrono;
#define SPDLOG_ACTIVE_LEVEL SPDLOG_LEVEL_INFO
// SPDLOG_TRACE(...)
// SPDLOG_DEBUG(...)
// SPDLOG_INFO(...)
// SPDLOG_WARN(...)
// SPDLOG_ERROR(...)
// SPDLOG_CRITICAL(...)
#ifdef SIGNAL_LOGGER
constexpr auto LOGGER_NAME = "siganl";
#else
constexpr auto LOGGER_NAME = "rtc";
#endif
int LogDummy();
constexpr auto LOGGER_NAME = "rt";
#define LOG_INFO(...) \
if (nullptr == spdlog::get(LOGGER_NAME)) { \

View File

@@ -29,7 +29,7 @@ void nv12ToI420(unsigned char *Src_data, int src_width, int src_height,
int src_stride_y = src_width;
int src_stride_uv = src_width;
// dst: buffer address of Y channel<EFBFBD><EFBFBD>U channel and V channel
// dst: buffer address of Y channelU channel and V channel
unsigned char *Y_data_Dst = Dst_data;
unsigned char *U_data_Dst = Dst_data + I420_Y_Size;
unsigned char *V_data_Dst = Dst_data + I420_Y_Size + I420_U_Size;