npv:_reasonable_ "pedanticage" of the code
[nyanmp.git] / npv / video / main.c
blobe538da208ae7e52c273f782f70b36baf0e3bea0e
1 #ifndef NPV_VIDEO_MAIN_C
2 #define NPV_VIDEO_MAIN_C
3 /*
4 * code protected with a GNU affero GPLv3 license
5 * copyright (C) 2020 Sylvain BERTRAND
6 */
7 #include <stdbool.h>
8 #include <stdarg.h>
9 #include <stdint.h>
10 #include <unistd.h>
11 #include <stdlib.h>
12 #include <sys/timerfd.h>
13 #include <xcb/xcb.h>
14 #include <libavcodec/avcodec.h>
15 #include <libavutil/frame.h>
16 #include <libavutil/pixdesc.h>
17 #include "npv/c_fixing.h"
18 #include "npv/nyanvk/consts.h"
19 #include "npv/nyanvk/types.h"
20 #include "npv/global.h"
21 #include "npv/public.h"
22 #include "npv/fmt/public.h"
23 #include "npv/clk/public.h"
24 #include "npv/xcb/public.h"
25 #include "npv/thdsws/public.h"
26 #include "npv/pkt_q/public.h"
27 #include "npv/video/public.h"
28 #include "npv/video/public.h"
29 #include "npv/vk/public.h"
30 #include "npv/vk/api_usage.h"
31 /*----------------------------------------------------------------------------*/
32 #include "npv/namespace/ffmpeg.h"
33 #include "npv/video/namespace/ffmpeg.h"
34 #include "npv/video/namespace/public.h"
35 #include "npv/video/namespace/main.c"
36 /*----------------------------------------------------------------------------*/
37 #define IF_FATALVVK(...) IF_FATALVK("video:" __VA_ARGS__)
38 /*----------------------------------------------------------------------------*/
39 #include "npv/video/local/state.frag.c"
40 /*----------------------------------------------------------------------------*/
41 #include "npv/video/local/code.frag.c"
42 #include "npv/video/public/code.frag.c"
43 /*----------------------------------------------------------------------------*/
44 #undef IF_FATALVVK
45 /*----------------------------------------------------------------------------*/
46 #define CLEANUP
47 #include "npv/namespace/ffmpeg.h"
48 #include "npv/video/namespace/ffmpeg.h"
49 #include "npv/video/namespace/public.h"
50 #include "npv/video/namespace/main.c"
51 #undef CLEANUP
52 #endif