Optimise usage of videodev2.h header

This commit is contained in:
Kamil Trzcinski
2022-04-10 14:41:00 +02:00
parent b21ddd2519
commit cae3087116
32 changed files with 131 additions and 158 deletions

9
opts/fourcc.h Normal file
View File

@ -0,0 +1,9 @@
#pragma once
#include <linux/videodev2.h>
typedef struct {
char buf[10];
} fourcc_string;
fourcc_string fourcc_to_string(unsigned format);