dump_obu: Calculate and report OBU overhead. Change-Id: Ib315f9fdcadc83dcc4ed39e59757c0f8a99116ac
diff --git a/tools/obu_parser.h b/tools/obu_parser.h index f4545ae..54384c1 100644 --- a/tools/obu_parser.h +++ b/tools/obu_parser.h
@@ -50,8 +50,10 @@ }; // Print information obtained from OBU(s) in data until data is exhausted or an -// error occurs. Returns true when all data is consumed successfully. -bool DumpObu(const uint8_t *data, int length); +// error occurs. Returns true when all data is consumed successfully, and +// optionally reports OBU storage overhead via obu_overhead_bytes when the +// pointer is non-null. +bool DumpObu(const uint8_t *data, int length, int *obu_overhead_bytes); } // namespace aom_tools