summaryrefslogtreecommitdiff
path: root/v4l2-mfc-example/mfc.h
diff options
context:
space:
mode:
authorDivya Jaiswal <divya.jswl@samsung.com>2015-07-07 14:53:03 +0200
committerSylwester Nawrocki <s.nawrocki@samsung.com>2015-07-09 15:55:20 +0200
commitd1bb80df16a8bee9635a916f02c848298f7d9988 (patch)
tree19d4389988fd464a5b35a9ef03cc3021be0a161e /v4l2-mfc-example/mfc.h
parentd71d5fc9fd0420d4a738a69c2e68d4e68e31a8fd (diff)
v4l2-mfc-example: Add EOS
This patch adds a function that tells MFC when there is end of stream. Signed-off-by: Divya Jaiswal <divya.jswl@samsung.com> Signed-off-by: Mateusz Krawczuk <m.krawczuk@samsung.com>
Diffstat (limited to 'v4l2-mfc-example/mfc.h')
-rw-r--r--v4l2-mfc-example/mfc.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/v4l2-mfc-example/mfc.h b/v4l2-mfc-example/mfc.h
index 74095b4..b30ff7a 100644
--- a/v4l2-mfc-example/mfc.h
+++ b/v4l2-mfc-example/mfc.h
@@ -48,6 +48,7 @@ int mfc_dec_setup_capture(struct instance *i, int extra_buf);
/* Dequeue a buffer, the structure *buf is used to return the parameters of the
* dequeued buffer. */
int mfc_dec_dequeue_buf(struct instance *i, struct v4l2_buffer *buf);
-
+/* This function is for EOS*/
+int mfc_dec_stop(struct instance *i);
#endif /* INCLUDE_MFC_H */