]> granicus.if.org Git - libvpx/blobdiff - vpxstats.h
Merge "Move noise level estimate outside denoiser."
[libvpx] / vpxstats.h
index 18b3acdc0705b9bba2a2f530431fc9963c37c727..5c9ea34f71a3cd401b1ee4c8734f41e80ca8388f 100644 (file)
 
 #include "vpx/vpx_encoder.h"
 
+#ifdef __cplusplus
+extern "C" {
+#endif
+
 /* This structure is used to abstract the different ways of handling
  * first pass statistics
  */
@@ -32,6 +36,8 @@ void stats_close(stats_io_t *stats, int last_pass);
 void stats_write(stats_io_t *stats, const void *pkt, size_t len);
 vpx_fixed_buf_t stats_get(stats_io_t *stats);
 
-double vp8_mse2psnr(double samples, double peak, double mse);
+#ifdef __cplusplus
+}  // extern "C"
+#endif
 
 #endif  // VPXSTATS_H_