From fef6a90d2b2f21d885b2ec2d348bfcdb7751c118 Mon Sep 17 00:00:00 2001 From: Laurent Pinchart Date: Tue, 14 Jun 2016 05:25:33 +0300 Subject: vsp-lib: Use gen-image to generate frames at runtime Replace the build time reference frames generation system by runtime generation of the frames. This saves a lot of disk space and allows tests to easily use new reference frames. Signed-off-by: Laurent Pinchart --- data/frames/Makefile | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'data/frames/Makefile') diff --git a/data/frames/Makefile b/data/frames/Makefile index 326e447..04ea2b2 100644 --- a/data/frames/Makefile +++ b/data/frames/Makefile @@ -1,9 +1,10 @@ all: - @./gen-frames.py clean: - @rm *.bin install: mkdir -p $(INSTALL_DIR)/frames/ - cp frame-reference-*.bin $(INSTALL_DIR)/frames/ + for frame in *.pnm.gz ; do + gzip -dk $(frame) + mv ${frame/.gz/} $(INSTALL_DIR)/frames/ + done -- cgit v1.2.3