summaryrefslogtreecommitdiff
path: root/include/arch/x86_64/linux/dvb
diff options
context:
space:
mode:
authorKacper <kacper@mail.openlinux.dev>2025-12-25 19:24:38 +0100
committerKacper <kacper@mail.openlinux.dev>2025-12-25 20:35:03 +0100
commita984eb367c032dbe2577f01238c3d1268526be70 (patch)
tree437fef40379b2758b129ccea39df3570fa2d145e /include/arch/x86_64/linux/dvb
parent8834571b202cf4dc9c649cfb096c213b6ecf1566 (diff)
Clang-tidy fixes
Diffstat (limited to 'include/arch/x86_64/linux/dvb')
-rw-r--r--include/arch/x86_64/linux/dvb/dmx.h7
-rw-r--r--include/arch/x86_64/linux/dvb/frontend.h15
-rw-r--r--include/arch/x86_64/linux/dvb/video.h8
3 files changed, 7 insertions, 23 deletions
diff --git a/include/arch/x86_64/linux/dvb/dmx.h b/include/arch/x86_64/linux/dvb/dmx.h
index cca7c8ce..9fa40525 100644
--- a/include/arch/x86_64/linux/dvb/dmx.h
+++ b/include/arch/x86_64/linux/dvb/dmx.h
@@ -32,12 +32,7 @@
* @DMX_OUT_TSDEMUX_TAP:
* Like @DMX_OUT_TS_TAP but retrieved from the DMX device.
*/
-enum dmx_output {
- DMX_OUT_DECODER,
- DMX_OUT_TAP,
- DMX_OUT_TS_TAP,
- DMX_OUT_TSDEMUX_TAP
-};
+enum dmx_output { DMX_OUT_DECODER, DMX_OUT_TAP, DMX_OUT_TS_TAP, DMX_OUT_TSDEMUX_TAP };
/**
* enum dmx_input - Input from the demux.
diff --git a/include/arch/x86_64/linux/dvb/frontend.h b/include/arch/x86_64/linux/dvb/frontend.h
index 93c2c7bb..af8d3f19 100644
--- a/include/arch/x86_64/linux/dvb/frontend.h
+++ b/include/arch/x86_64/linux/dvb/frontend.h
@@ -452,13 +452,7 @@ enum fe_guard_interval {
*
* Please note that not all hierarchy types are supported by a given standard.
*/
-enum fe_hierarchy {
- HIERARCHY_NONE,
- HIERARCHY_1,
- HIERARCHY_2,
- HIERARCHY_4,
- HIERARCHY_AUTO
-};
+enum fe_hierarchy { HIERARCHY_NONE, HIERARCHY_1, HIERARCHY_2, HIERARCHY_4, HIERARCHY_AUTO };
/**
* enum fe_interleaving - Interleaving
@@ -779,12 +773,7 @@ enum atscmh_rs_code_mode {
* @FE_SCALE_COUNTER: The scale counts the occurrence of an event, like
* bit error, block error, lapsed time.
*/
-enum fecap_scale_params {
- FE_SCALE_NOT_AVAILABLE = 0,
- FE_SCALE_DECIBEL,
- FE_SCALE_RELATIVE,
- FE_SCALE_COUNTER
-};
+enum fecap_scale_params { FE_SCALE_NOT_AVAILABLE = 0, FE_SCALE_DECIBEL, FE_SCALE_RELATIVE, FE_SCALE_COUNTER };
/**
* struct dtv_stats - Used for reading a DTV status property
diff --git a/include/arch/x86_64/linux/dvb/video.h b/include/arch/x86_64/linux/dvb/video.h
index 58b920fb..e22fc8b2 100644
--- a/include/arch/x86_64/linux/dvb/video.h
+++ b/include/arch/x86_64/linux/dvb/video.h
@@ -117,10 +117,10 @@ struct video_event {
};
struct video_status {
- int video_blank; /* blank video on freeze? */
- video_play_state_t play_state; /* current state of playback */
- video_stream_source_t stream_source; /* current source (demux/memory) */
- video_format_t video_format; /* current aspect ratio of stream*/
+ int video_blank; /* blank video on freeze? */
+ video_play_state_t play_state; /* current state of playback */
+ video_stream_source_t stream_source; /* current source (demux/memory) */
+ video_format_t video_format; /* current aspect ratio of stream*/
video_displayformat_t display_format; /* selected cropping mode */
};