From 87e0c61416b9ce0fcdc37662c6276667de465478 Mon Sep 17 00:00:00 2001 From: Martin Pulec Date: Wed, 27 Sep 2023 13:33:17 +0200 Subject: [PATCH] renamed video_rxtx hdrs from .h to .hpp clang-tidy doesn't like naming C++ headers with .h --- src/hd-rum-translator/hd-rum-decompress.cpp | 2 +- src/hd-rum-translator/hd-rum-recompress.cpp | 2 +- src/main.cpp | 2 +- src/video_capture/ug_input.cpp | 4 ++-- src/video_rxtx.cpp | 2 +- src/{video_rxtx.h => video_rxtx.hpp} | 2 +- src/video_rxtx/h264_rtp.cpp | 4 ++-- src/video_rxtx/{h264_rtp.h => h264_rtp.hpp} | 6 +++--- src/video_rxtx/h264_sdp.cpp | 2 +- src/video_rxtx/h264_sdp.hpp | 4 ++-- src/video_rxtx/ihdtv.cpp | 4 ++-- src/video_rxtx/{ihdtv.h => ihdtv.hpp} | 4 ++-- src/video_rxtx/loopback.hpp | 2 +- src/video_rxtx/rtp.cpp | 5 ++--- src/video_rxtx/{rtp.h => rtp.hpp} | 4 ++-- src/video_rxtx/sage.cpp | 4 ++-- src/video_rxtx/{sage.h => sage.hpp} | 4 ++-- src/video_rxtx/ultragrid_rtp.cpp | 4 ++-- src/video_rxtx/{ultragrid_rtp.h => ultragrid_rtp.hpp} | 6 +++--- 19 files changed, 33 insertions(+), 34 deletions(-) rename src/{video_rxtx.h => video_rxtx.hpp} (99%) rename src/video_rxtx/{h264_rtp.h => h264_rtp.hpp} (96%) rename src/video_rxtx/{ihdtv.h => ihdtv.hpp} (98%) rename src/video_rxtx/{rtp.h => rtp.hpp} (98%) rename src/video_rxtx/{sage.h => sage.hpp} (97%) rename src/video_rxtx/{ultragrid_rtp.h => ultragrid_rtp.hpp} (97%) diff --git a/src/hd-rum-translator/hd-rum-decompress.cpp b/src/hd-rum-translator/hd-rum-decompress.cpp index 164bd339a..0bbdca280 100644 --- a/src/hd-rum-translator/hd-rum-decompress.cpp +++ b/src/hd-rum-translator/hd-rum-decompress.cpp @@ -65,7 +65,7 @@ #include "video.h" #include "video_display.h" #include "video_display/pipe.hpp" -#include "video_rxtx/ultragrid_rtp.h" +#include "video_rxtx/ultragrid_rtp.hpp" #include "utils/profile_timer.hpp" diff --git a/src/hd-rum-translator/hd-rum-recompress.cpp b/src/hd-rum-translator/hd-rum-recompress.cpp index d0d46f508..a55cd86df 100644 --- a/src/hd-rum-translator/hd-rum-recompress.cpp +++ b/src/hd-rum-translator/hd-rum-recompress.cpp @@ -61,7 +61,7 @@ #include "tv.h" #include "video_compress.h" -#include "video_rxtx/ultragrid_rtp.h" +#include "video_rxtx/ultragrid_rtp.hpp" #include "utils/profile_timer.hpp" namespace { diff --git a/src/main.cpp b/src/main.cpp index a8b6fdb34..175b12146 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -109,7 +109,7 @@ #include "video_display.h" #include "video_compress.h" #include "export.h" -#include "video_rxtx.h" +#include "video_rxtx.hpp" #include "audio/audio.h" #include "audio/audio_capture.h" #include "audio/audio_playback.h" diff --git a/src/video_capture/ug_input.cpp b/src/video_capture/ug_input.cpp index beddd9b4e..155c1bce3 100644 --- a/src/video_capture/ug_input.cpp +++ b/src/video_capture/ug_input.cpp @@ -49,8 +49,8 @@ #include "video_capture.h" #include "video_display.h" #include "video_display/pipe.hpp" // frame_recv_delegate -#include "video_rxtx.h" -#include "video_rxtx/ultragrid_rtp.h" +#include "video_rxtx.hpp" +#include "video_rxtx/ultragrid_rtp.hpp" #include #include diff --git a/src/video_rxtx.cpp b/src/video_rxtx.cpp index 19b706f57..1062fbb8d 100644 --- a/src/video_rxtx.cpp +++ b/src/video_rxtx.cpp @@ -66,7 +66,7 @@ #include "video_compress.h" #include "video_decompress.h" #include "video_display.h" -#include "video_rxtx.h" +#include "video_rxtx.hpp" using namespace std; diff --git a/src/video_rxtx.h b/src/video_rxtx.hpp similarity index 99% rename from src/video_rxtx.h rename to src/video_rxtx.hpp index 848a037d8..161ba43ff 100644 --- a/src/video_rxtx.h +++ b/src/video_rxtx.hpp @@ -1,5 +1,5 @@ /** - * @file video_rxtx.h + * @file video_rxtx.hpp * @author Martin Pulec */ /* diff --git a/src/video_rxtx/h264_rtp.cpp b/src/video_rxtx/h264_rtp.cpp index ec8321bef..687308988 100644 --- a/src/video_rxtx/h264_rtp.cpp +++ b/src/video_rxtx/h264_rtp.cpp @@ -60,8 +60,8 @@ #include "rtp/rtp.h" #include "rtp/rtpenc_h264.h" #include "utils/color_out.h" -#include "video_rxtx.h" -#include "video_rxtx/h264_rtp.h" +#include "video_rxtx.hpp" +#include "video_rxtx/h264_rtp.hpp" #include "video.h" using namespace std; diff --git a/src/video_rxtx/h264_rtp.h b/src/video_rxtx/h264_rtp.hpp similarity index 96% rename from src/video_rxtx/h264_rtp.h rename to src/video_rxtx/h264_rtp.hpp index 43196fa04..cb2ffbae5 100644 --- a/src/video_rxtx/h264_rtp.h +++ b/src/video_rxtx/h264_rtp.hpp @@ -1,5 +1,5 @@ /** - * @file video_rxtx/h264_rtp.h + * @file video_rxtx/h264_rtp.hpp * @author Martin Pulec * @author David Cassany * @author Ignacio Contreras @@ -43,8 +43,8 @@ #define VIDEO_RXTX_H264_RTP_H_ #include "rtsp/c_basicRTSPOnlyServer.h" -#include "video_rxtx.h" -#include "video_rxtx/rtp.h" +#include "video_rxtx.hpp" +#include "video_rxtx/rtp.hpp" class h264_rtp_video_rxtx : public rtp_video_rxtx { public: diff --git a/src/video_rxtx/h264_sdp.cpp b/src/video_rxtx/h264_sdp.cpp index c509c8632..247d76d2b 100644 --- a/src/video_rxtx/h264_sdp.cpp +++ b/src/video_rxtx/h264_sdp.cpp @@ -61,7 +61,7 @@ #include "utils/color_out.h" #include "utils/sdp.h" #include "video.h" -#include "video_rxtx.h" +#include "video_rxtx.hpp" #include "video_rxtx/h264_sdp.hpp" using std::array; diff --git a/src/video_rxtx/h264_sdp.hpp b/src/video_rxtx/h264_sdp.hpp index eb7b22671..395709ef7 100644 --- a/src/video_rxtx/h264_sdp.hpp +++ b/src/video_rxtx/h264_sdp.hpp @@ -45,8 +45,8 @@ #include #include "utils/sdp.h" -#include "video_rxtx.h" -#include "video_rxtx/rtp.h" +#include "video_rxtx.hpp" +#include "video_rxtx/rtp.hpp" class h264_sdp_video_rxtx : public rtp_video_rxtx { public: diff --git a/src/video_rxtx/ihdtv.cpp b/src/video_rxtx/ihdtv.cpp index 221bab867..619dbd0ae 100644 --- a/src/video_rxtx/ihdtv.cpp +++ b/src/video_rxtx/ihdtv.cpp @@ -65,8 +65,8 @@ #include "ihdtv/ihdtv.h" #include "video_display.h" #include "video_capture.h" -#include "video_rxtx.h" -#include "video_rxtx/ihdtv.h" +#include "video_rxtx.hpp" +#include "video_rxtx/ihdtv.hpp" #include "video.h" using namespace std; diff --git a/src/video_rxtx/ihdtv.h b/src/video_rxtx/ihdtv.hpp similarity index 98% rename from src/video_rxtx/ihdtv.h rename to src/video_rxtx/ihdtv.hpp index 95a7c009d..388f30790 100644 --- a/src/video_rxtx/ihdtv.h +++ b/src/video_rxtx/ihdtv.hpp @@ -1,5 +1,5 @@ /* - * FILE: video_rxtx/ihdtv.h + * FILE: video_rxtx/ihdtv.hpp * AUTHORS: Colin Perkins * Ladan Gharai * Martin Benes @@ -56,7 +56,7 @@ #include "video_capture.h" #include "video_display.h" -#include "video_rxtx.h" +#include "video_rxtx.hpp" #ifdef HAVE_IHDTV #include "ihdtv/ihdtv.h" diff --git a/src/video_rxtx/loopback.hpp b/src/video_rxtx/loopback.hpp index 5fa9cb1f8..138e19aa7 100644 --- a/src/video_rxtx/loopback.hpp +++ b/src/video_rxtx/loopback.hpp @@ -44,7 +44,7 @@ #include #include "types.h" -#include "video_rxtx.h" +#include "video_rxtx.hpp" struct display; diff --git a/src/video_rxtx/rtp.cpp b/src/video_rxtx/rtp.cpp index c9c97ed92..0601b373f 100644 --- a/src/video_rxtx/rtp.cpp +++ b/src/video_rxtx/rtp.cpp @@ -42,7 +42,7 @@ #include "config_win32.h" #endif // HAVE_CONFIG_H -#include "video_rxtx/rtp.h" +#include "video_rxtx/rtp.hpp" #include "debug.h" @@ -53,7 +53,6 @@ #include #include "host.h" -#include "ihdtv.h" #include "messaging.h" #include "module.h" #include "pdb.h" @@ -72,7 +71,7 @@ #include "video_compress.h" #include "video_decompress.h" #include "video_display.h" -#include "video_rxtx.h" +#include "video_rxtx.hpp" using namespace std; diff --git a/src/video_rxtx/rtp.h b/src/video_rxtx/rtp.hpp similarity index 98% rename from src/video_rxtx/rtp.h rename to src/video_rxtx/rtp.hpp index da0dc34b3..0b19d41a6 100644 --- a/src/video_rxtx/rtp.h +++ b/src/video_rxtx/rtp.hpp @@ -1,5 +1,5 @@ /** - * @file video_rxtx/rtp.h + * @file video_rxtx/rtp.hpp * @author Martin Pulec */ /* @@ -39,7 +39,7 @@ #define VIDEO_RXTX_RTP_H_ #include "tv.h" -#include "video_rxtx.h" +#include "video_rxtx.hpp" #include #include diff --git a/src/video_rxtx/sage.cpp b/src/video_rxtx/sage.cpp index 7a83a2329..30415111e 100644 --- a/src/video_rxtx/sage.cpp +++ b/src/video_rxtx/sage.cpp @@ -48,8 +48,8 @@ #include "host.h" #include "lib_common.h" #include "video_display.h" -#include "video_rxtx/sage.h" -#include "video_rxtx.h" +#include "video_rxtx/sage.hpp" +#include "video_rxtx.hpp" #include "video.h" using namespace std; diff --git a/src/video_rxtx/sage.h b/src/video_rxtx/sage.hpp similarity index 97% rename from src/video_rxtx/sage.h rename to src/video_rxtx/sage.hpp index 15e4ba07a..e0a41351e 100644 --- a/src/video_rxtx/sage.h +++ b/src/video_rxtx/sage.hpp @@ -1,5 +1,5 @@ /** - * @file video_rxtx/sage.h + * @file video_rxtx/sage.hpp * @author Martin Pulec */ /* @@ -41,7 +41,7 @@ #include "types.h" #include "video_capture.h" #include "video_display.h" -#include "video_rxtx.h" +#include "video_rxtx.hpp" struct video_frame; struct display; diff --git a/src/video_rxtx/ultragrid_rtp.cpp b/src/video_rxtx/ultragrid_rtp.cpp index a05209b87..360541277 100644 --- a/src/video_rxtx/ultragrid_rtp.cpp +++ b/src/video_rxtx/ultragrid_rtp.cpp @@ -69,8 +69,8 @@ #include "video_compress.h" #include "video_decompress.h" #include "video_display.h" -#include "video_rxtx.h" -#include "video_rxtx/ultragrid_rtp.h" +#include "video_rxtx.hpp" +#include "video_rxtx/ultragrid_rtp.hpp" #include "ug_runtime_error.hpp" #include "utils/worker.h" diff --git a/src/video_rxtx/ultragrid_rtp.h b/src/video_rxtx/ultragrid_rtp.hpp similarity index 97% rename from src/video_rxtx/ultragrid_rtp.h rename to src/video_rxtx/ultragrid_rtp.hpp index f02bd5502..53be20d78 100644 --- a/src/video_rxtx/ultragrid_rtp.h +++ b/src/video_rxtx/ultragrid_rtp.hpp @@ -1,5 +1,5 @@ /** - * @file video_rxtx/ultragrid_rtp.h + * @file video_rxtx/ultragrid_rtp.hpp * @author Martin Pulec */ /* @@ -38,8 +38,8 @@ #ifndef VIDEO_RXTX_ULTRAGRID_RTP_H_ #define VIDEO_RXTX_ULTRAGRID_RTP_H_ -#include "video_rxtx.h" -#include "video_rxtx/rtp.h" +#include "video_rxtx.hpp" +#include "video_rxtx/rtp.hpp" #include #include