summaryrefslogtreecommitdiff
path: root/v4l2-mfc-example/parser.h
diff options
context:
space:
mode:
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_ */