Document new value 3 for AV1E_SET_ENABLE_CDEF The comment in aom/aomcx.h was missed in https://aomedia-review.googlesource.com/c/aom/+/194641. Also change "on frame qindex" to "based on frame qindex". Bug: aomedia:375221136 Change-Id: I110951c3f59661659ce32821620df9103cd7c7e0
diff --git a/aom/aomcx.h b/aom/aomcx.h index 6bd8f50..449ade0 100644 --- a/aom/aomcx.h +++ b/aom/aomcx.h
@@ -672,6 +672,7 @@ * - 0 = disable * - 1 = enable for all frames (default) * - 2 = disable for non-reference frames + * - 3 = enable adaptively based on frame qindex */ AV1E_SET_ENABLE_CDEF = 58,
diff --git a/av1/arg_defs.c b/av1/arg_defs.c index 114c773..a107e21 100644 --- a/av1/arg_defs.c +++ b/av1/arg_defs.c
@@ -338,7 +338,7 @@ NULL, "enable-cdef", 1, "Enable the constrained directional enhancement filter (0: false, " "1: true (default), 2: disable for non-reference frames, 3: enable " - "adaptively on frame qindex)"), + "adaptively based on frame qindex)"), .enable_restoration = ARG_DEF(NULL, "enable-restoration", 1, "Enable the loop restoration filter (0: false " "(default in realtime mode), "
diff --git a/av1/encoder/pickcdef.h b/av1/encoder/pickcdef.h index 5ad150d..6056ad9 100644 --- a/av1/encoder/pickcdef.h +++ b/av1/encoder/pickcdef.h
@@ -25,7 +25,7 @@ CDEF_NONE = 0, /* Disable CDEF on all frames. */ CDEF_ALL = 1, /* Enable CDEF for all frames. */ CDEF_REFERENCE = 2, /* Disable CDEF on non reference frames. */ - CDEF_ADAPTIVE = 3, /* Enable CDEF adaptively on frame qindex */ + CDEF_ADAPTIVE = 3, /* Enable CDEF adaptively based on frame qindex */ } CDEF_CONTROL; /*!\cond */