summaryrefslogtreecommitdiff
path: root/v4l2-mfc-example/parser.h
diff options
context:
space:
mode:
authorKamil Debski <k.debski@samsung.com>2012-03-22 09:36:27 +0100
committerKamil Debski <k.debski@samsung.com>2012-03-22 14:02:11 +0100
commit9c057b001e8873861a70f7025214003837a0860b (patch)
tree2c43acb98b53569a6613f9a56388381848e34c84 /v4l2-mfc-example/parser.h
parent5aaeaa28e782647843570f01b4661a65ff3aa376 (diff)
v4l-mfc-example: version 0.2
Diffstat (limited to 'v4l2-mfc-example/parser.h')
-rw-r--r--v4l2-mfc-example/parser.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/v4l2-mfc-example/parser.h b/v4l2-mfc-example/parser.h
index 3887a89..6eea179 100644
--- a/v4l2-mfc-example/parser.h
+++ b/v4l2-mfc-example/parser.h
@@ -66,6 +66,7 @@ struct mfc_parser_context {
char got_start;
char got_end;
char seek_end;
+ int short_header;
};
/* Initialize the stream parser */
@@ -86,5 +87,9 @@ int parse_h264_stream(struct mfc_parser_context *ctx,
char* in, int in_size, char* out, int out_size,
int *consumed, int *frame_size, char get_head);
+int parse_mpeg2_stream(struct mfc_parser_context *ctx,
+ char* in, int in_size, char* out, int out_size,
+ int *consumed, int *frame_size, char get_head);
+
#endif /* PARSER_H_ */