summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorGlenn Kasten <gkasten@google.com>2014-02-07 19:55:54 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2014-02-07 19:55:54 +0000
commit19f420ea68424a608e982d39ab76676a05337685 (patch)
tree91f2c7b49994a6197962ce58f84285b7a41fd375 /include
parentf74f213c0cd0612101e00a73704429dac1a92fe3 (diff)
parentcc1e0e807ee9a9f163a4685cbd6efd6ae55849cf (diff)
downloadframeworks_av-19f420ea68424a608e982d39ab76676a05337685.zip
frameworks_av-19f420ea68424a608e982d39ab76676a05337685.tar.gz
frameworks_av-19f420ea68424a608e982d39ab76676a05337685.tar.bz2
Merge "Add Format_isValid() and Format_isEqual() to NBAIO"
Diffstat (limited to 'include')
-rw-r--r--include/media/nbaio/NBAIO.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/media/nbaio/NBAIO.h b/include/media/nbaio/NBAIO.h
index 9c9721a..468508c 100644
--- a/include/media/nbaio/NBAIO.h
+++ b/include/media/nbaio/NBAIO.h
@@ -76,6 +76,12 @@ typedef ssize_t (*writeVia_t)(void *user, void *buffer, size_t count);
typedef ssize_t (*readVia_t)(void *user, const void *buffer,
size_t count, int64_t readPTS);
+// Check whether an NBAIO_Format is valid
+bool Format_isValid(const NBAIO_Format& format);
+
+// Compare two NBAIO_Format values
+bool Format_isEqual(const NBAIO_Format& format1, const NBAIO_Format& format2);
+
// Abstract class (interface) representing a data port.
class NBAIO_Port : public RefBase {