aboutsummaryrefslogtreecommitdiff
path: root/gentest.h
diff options
context:
space:
mode:
authorStanimir Varbanov <stanimir.varbanov@linaro.org>2016-02-11 14:56:28 +0200
committerStanimir Varbanov <stanimir.varbanov@linaro.org>2016-06-13 18:34:35 +0300
commitfe5546222c5bb44693f2c167c6fc2281b1b34e1e (patch)
treea3d37ef58bc4acad9a6bf959bce3ed262804221a /gentest.h
parent8eb7956ed0dc230b2136163b7a5fad1a1a07cb18 (diff)
downloadv4l2-encode-fe5546222c5bb44693f2c167c6fc2281b1b34e1e.tar.gz
add test pattern generator instead of input file
Signed-off-by: Stanimir Varbanov <stanimir.varbanov@linaro.org>
Diffstat (limited to 'gentest.h')
-rw-r--r--gentest.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/gentest.h b/gentest.h
new file mode 100644
index 0000000..64d8fb7
--- /dev/null
+++ b/gentest.h
@@ -0,0 +1,9 @@
+#ifndef INCLUDE_GENTEST_H
+#define INCLUDE_GENTEST_H
+
+int gentest_init(unsigned int width, unsigned int height, unsigned int size);
+void gentest_deinit(void);
+void gentest_fill(unsigned int width, unsigned int height, unsigned char *to,
+ unsigned int size);
+
+#endif /* INCLUDE_GENTEST_H */ \ No newline at end of file