Skip to content

Commit

Permalink
renamed video_rxtx hdrs from .h to .hpp
Browse files Browse the repository at this point in the history
clang-tidy doesn't like naming C++ headers with .h
  • Loading branch information
MartinPulec committed Oct 2, 2023
1 parent 500fc0a commit 87e0c61
Show file tree
Hide file tree
Showing 19 changed files with 33 additions and 34 deletions.
2 changes: 1 addition & 1 deletion src/hd-rum-translator/hd-rum-decompress.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down
2 changes: 1 addition & 1 deletion src/hd-rum-translator/hd-rum-recompress.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
2 changes: 1 addition & 1 deletion src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
4 changes: 2 additions & 2 deletions src/video_capture/ug_input.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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 <chrono>
#include <iostream>
Expand Down
2 changes: 1 addition & 1 deletion src/video_rxtx.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down
2 changes: 1 addition & 1 deletion src/video_rxtx.h → src/video_rxtx.hpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* @file video_rxtx.h
* @file video_rxtx.hpp
* @author Martin Pulec <[email protected]>
*/
/*
Expand Down
4 changes: 2 additions & 2 deletions src/video_rxtx/h264_rtp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
6 changes: 3 additions & 3 deletions src/video_rxtx/h264_rtp.h → src/video_rxtx/h264_rtp.hpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* @file video_rxtx/h264_rtp.h
* @file video_rxtx/h264_rtp.hpp
* @author Martin Pulec <[email protected]>
* @author David Cassany <[email protected]>
* @author Ignacio Contreras <[email protected]>
Expand Down Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion src/video_rxtx/h264_sdp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
4 changes: 2 additions & 2 deletions src/video_rxtx/h264_sdp.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@
#include <string>

#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:
Expand Down
4 changes: 2 additions & 2 deletions src/video_rxtx/ihdtv.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
4 changes: 2 additions & 2 deletions src/video_rxtx/ihdtv.h → src/video_rxtx/ihdtv.hpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* FILE: video_rxtx/ihdtv.h
* FILE: video_rxtx/ihdtv.hpp
* AUTHORS: Colin Perkins <[email protected]>
* Ladan Gharai <[email protected]>
* Martin Benes <[email protected]>
Expand Down Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion src/video_rxtx/loopback.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
#include <queue>

#include "types.h"
#include "video_rxtx.h"
#include "video_rxtx.hpp"

struct display;

Expand Down
5 changes: 2 additions & 3 deletions src/video_rxtx/rtp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand All @@ -53,7 +53,6 @@
#include <utility>

#include "host.h"
#include "ihdtv.h"
#include "messaging.h"
#include "module.h"
#include "pdb.h"
Expand All @@ -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;

Expand Down
4 changes: 2 additions & 2 deletions src/video_rxtx/rtp.h → src/video_rxtx/rtp.hpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* @file video_rxtx/rtp.h
* @file video_rxtx/rtp.hpp
* @author Martin Pulec <[email protected]>
*/
/*
Expand Down Expand Up @@ -39,7 +39,7 @@
#define VIDEO_RXTX_RTP_H_

#include "tv.h"
#include "video_rxtx.h"
#include "video_rxtx.hpp"

#include <mutex>
#include <string>
Expand Down
4 changes: 2 additions & 2 deletions src/video_rxtx/sage.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
4 changes: 2 additions & 2 deletions src/video_rxtx/sage.h → src/video_rxtx/sage.hpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* @file video_rxtx/sage.h
* @file video_rxtx/sage.hpp
* @author Martin Pulec <[email protected]>
*/
/*
Expand Down Expand Up @@ -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;
Expand Down
4 changes: 2 additions & 2 deletions src/video_rxtx/ultragrid_rtp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* @file video_rxtx/ultragrid_rtp.h
* @file video_rxtx/ultragrid_rtp.hpp
* @author Martin Pulec <[email protected]>
*/
/*
Expand Down Expand Up @@ -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 <condition_variable>
#include <list>
Expand Down

0 comments on commit 87e0c61

Please sign in to comment.