[FFmpeg-devel] [PATCH V2 1/3] avcodec/cbs_av1: add support for frame restoration type

Fei Wang fei.w.wang at intel.com
Wed Sep 2 10:31:28 EEST 2020


Signed-off-by: Fei Wang <fei.w.wang at intel.com>
---
 libavcodec/av1.h | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/libavcodec/av1.h b/libavcodec/av1.h
index 6c0e32485b..0f99ae4829 100644
--- a/libavcodec/av1.h
+++ b/libavcodec/av1.h
@@ -160,4 +160,12 @@ enum {
     AV1_SCALABILITY_L4T7_KEY_SHIFT = 28,
 };
 
+// Frame Restoration types (section 6.10.15)
+enum {
+    AV1_RESTORE_NONE       = 0,
+    AV1_RESTORE_WIENER     = 1,
+    AV1_RESTORE_SGRPROJ    = 2,
+    AV1_RESTORE_SWITCHABLE = 3,
+};
+
 #endif /* AVCODEC_AV1_H */
-- 
2.17.1



More information about the ffmpeg-devel mailing list