refactoring

This commit is contained in:
Maxim Devaev
2022-11-05 22:45:18 +03:00
parent 95fcc3c58e
commit 4e7676f307
4 changed files with 9 additions and 9 deletions

View File

@@ -23,7 +23,7 @@ _USTR_SRCS = $(shell ls \
ustreamer/data/*.c \ ustreamer/data/*.c \
ustreamer/encoders/cpu/*.c \ ustreamer/encoders/cpu/*.c \
ustreamer/encoders/hw/*.c \ ustreamer/encoders/hw/*.c \
ustreamer/h264/*.c \ ustreamer/*.c \
) )
_DUMP_LIBS = $(_COMMON_LIBS) _DUMP_LIBS = $(_COMMON_LIBS)

View File

@@ -20,7 +20,7 @@
*****************************************************************************/ *****************************************************************************/
#include "stream.h" #include "h264.h"
us_h264_stream_s *us_h264_stream_init(us_memsink_s *sink, const char *path, unsigned bitrate, unsigned gop) { us_h264_stream_s *us_h264_stream_init(us_memsink_s *sink, const char *path, unsigned bitrate, unsigned gop) {

View File

@@ -26,12 +26,12 @@
#include <stdatomic.h> #include <stdatomic.h>
#include <assert.h> #include <assert.h>
#include "../../libs/tools.h" #include "../libs/tools.h"
#include "../../libs/logging.h" #include "../libs/logging.h"
#include "../../libs/frame.h" #include "../libs/frame.h"
#include "../../libs/memsink.h" #include "../libs/memsink.h"
#include "../../libs/unjpeg.h" #include "../libs/unjpeg.h"
#include "../m2m.h" #include "m2m.h"
typedef struct { typedef struct {

View File

@@ -42,7 +42,7 @@
#include "device.h" #include "device.h"
#include "encoder.h" #include "encoder.h"
#include "workers.h" #include "workers.h"
#include "h264/stream.h" #include "h264.h"
#ifdef WITH_GPIO #ifdef WITH_GPIO
# include "gpio/gpio.h" # include "gpio/gpio.h"
#endif #endif