mirror of
https://github.com/pikvm/ustreamer.git
synced 2026-03-14 03:23:43 +00:00
refactoring
This commit is contained in:
@@ -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)
|
||||||
|
|||||||
@@ -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) {
|
||||||
@@ -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 {
|
||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user