diff carfac/sai.h @ 650:f926e0892dee

Update interface to have separate Reset() and Redesign(params) methods.
author ronw@google.com
date Wed, 12 Jun 2013 19:24:29 +0000
parents 461d4374b6d9
children a1b82b240328
line wrap: on
line diff
--- a/carfac/sai.h	Tue Jun 11 22:05:10 2013 +0000
+++ b/carfac/sai.h	Wed Jun 12 19:24:29 2013 +0000
@@ -51,6 +51,12 @@
  public:
   explicit SAI(const SAIParams& params);
 
+  // Reinitialize using the specified parameters.
+  void Redesign(const SAIParams& params);
+
+  // Reset the internal state.
+  void Reset();
+
   // Fills output_frame with a params_.n_ch by params_.width SAI frame
   // computed from the given input frames.
   //