omx prototype

This commit is contained in:
Devaev Maxim
2018-09-24 11:17:39 +03:00
parent 4d8881bacc
commit c2b82312ec
13 changed files with 217 additions and 29 deletions

View File

@@ -13,6 +13,13 @@ PROG = ustreamer
all: $(SOURCES) $(PROG)
rpi:
make all \
SOURCES="$(SOURCES) $(shell ls src/omx/*.c)" \
LIBS="$(LIBS) -lbcm_host -lvcos -lopenmaxil -L/opt/vc/lib" \
CFLAGS="$(CFLAGS) -DOMX_ENCODER -DOMX_SKIP64BIT -I/opt/vc/include"
install: $(PROG)
install -Dm755 $(PROG) $(DESTDIR)$(PREFIX)/bin/$(PROG)
@@ -30,4 +37,4 @@ $(PROG): $(OBJECTS)
clean:
rm -f src/*.o vgcore.* $(PROG)
rm -f src/*.o src/{jpeg,omx}/*.o vgcore.* $(PROG)