summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/video.c5
-rw-r--r--src/video.h5
2 files changed, 5 insertions, 5 deletions
diff --git a/src/video.c b/src/video.c
index 2b30e08..42a5821 100644
--- a/src/video.c
+++ b/src/video.c
@@ -34,6 +34,11 @@
#include "video.h"
#include "utils.h"
+static inline unsigned int video_v4l2_format(bool tiled_format)
+{
+ return tiled_format ? V4L2_PIX_FMT_MB32_NV12 : V4L2_PIX_FMT_NV12;
+}
+
static struct video_format formats[] = {
{
.description = "NV12 YUV",
diff --git a/src/video.h b/src/video.h
index 021b869..e1cdcb8 100644
--- a/src/video.h
+++ b/src/video.h
@@ -37,11 +37,6 @@ struct video_format {
unsigned int bpp;
};
-inline unsigned int video_v4l2_format(bool tiled_format)
-{
- return tiled_format ? V4L2_PIX_FMT_MB32_NV12 : V4L2_PIX_FMT_NV12;
-}
-
struct video_format *video_format_find(bool tiled_format);
#endif