summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorShalaj Jain <shalajj@codeaurora.org>2013-01-22 18:45:15 -0800
committerSteve Kondik <shade@chemlab.org>2013-02-19 11:13:40 -0800
commite4a52e7469c5a7c247424777c2350e6a85ea685e (patch)
treea33b6c38314be36543d6a300b99a4a87629aaec9 /include
parent63614c132b320a6146b6be85b8f3131135db4ba2 (diff)
downloadframeworks_av-e4a52e7469c5a7c247424777c2350e6a85ea685e.zip
frameworks_av-e4a52e7469c5a7c247424777c2350e6a85ea685e.tar.gz
frameworks_av-e4a52e7469c5a7c247424777c2350e6a85ea685e.tar.bz2
libstagefright: Add support for frame-by-frame mode
- Set decoder in frame-by-frame mode always, except for interlaced content, for which arbitary mode should be set Change-Id: I8195a40549898b43a0e03d65663c7148f458c448
Diffstat (limited to 'include')
-rw-r--r--include/media/stagefright/QCOMXCodec.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/media/stagefright/QCOMXCodec.h b/include/media/stagefright/QCOMXCodec.h
index 485c187..ee6ea88 100644
--- a/include/media/stagefright/QCOMXCodec.h
+++ b/include/media/stagefright/QCOMXCodec.h
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2012, The Linux Foundation. All rights reserved.
+ * Copyright (c) 2012-2013, The Linux Foundation. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
@@ -94,6 +94,8 @@ struct QCOMXCodec {
static void setQCSpecificVideoFormat(const sp<MetaData> &meta, sp<IOMX> OMXhandle,
IOMX::node_id nodeID, char* componentName );
+ static void checkIfInterlaced(const uint8_t *ptr, const sp<MetaData> &meta);
+
};
}