Add support for NV12 frame generator
Bug: b/240540204
Change-Id: Id2205e8bd0dfd59476dcd68c32c4981f98b51422
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/278402
Reviewed-by: Erik Språng <sprang@webrtc.org>
Reviewed-by: Ilya Nikolaevskiy <ilnik@webrtc.org>
Commit-Queue: Artem Titov <titovartem@webrtc.org>
Cr-Commit-Position: refs/heads/main@{#38322}
diff --git a/test/frame_utils.h b/test/frame_utils.h
index 9351584..1f2b381 100644
--- a/test/frame_utils.h
+++ b/test/frame_utils.h
@@ -13,6 +13,7 @@
#include <stdint.h>
#include "api/scoped_refptr.h"
+#include "api/video/nv12_buffer.h"
namespace webrtc {
class I420Buffer;
@@ -42,6 +43,8 @@
rtc::scoped_refptr<I420Buffer> ReadI420Buffer(int width, int height, FILE*);
+rtc::scoped_refptr<NV12Buffer> ReadNV12Buffer(int width, int height, FILE*);
+
} // namespace test
} // namespace webrtc