Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/videolan/dav1d.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHenrik Gramner <gramner@twoorioles.com>2020-01-29 16:17:11 +0300
committerHenrik Gramner <gramner@twoorioles.com>2020-02-01 16:17:56 +0300
commitbb178db019da21d62fae8c255675efbd84327195 (patch)
tree9eef133c2a24b8612947dc92ef990d0f8f2069e7 /src/cdef.h
parentdccc21b742f328060c124463c5d05f76472d758c (diff)
Rework the CDEF top edge handling
Avoids some pointer chasing and simplifies the DSP code, at the cost of making the initialization a little bit more complicated. Also reduces memory usage by a small amount due to properly sizing the buffers instead of always allocating enough space for 4:4:4.
Diffstat (limited to 'src/cdef.h')
-rw-r--r--src/cdef.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cdef.h b/src/cdef.h
index 6cdb2ae..5dd52cf 100644
--- a/src/cdef.h
+++ b/src/cdef.h
@@ -52,7 +52,7 @@ typedef const void *const_left_pixel_row_2px;
// order to get access to pre-filter top pixels, use $top.
#define decl_cdef_fn(name) \
void (name)(pixel *dst, ptrdiff_t stride, const_left_pixel_row_2px left, \
- /*const*/ pixel *const top[2], int pri_strength, int sec_strength, \
+ const pixel *top, int pri_strength, int sec_strength, \
int dir, int damping, enum CdefEdgeFlags edges HIGHBD_DECL_SUFFIX)
typedef decl_cdef_fn(*cdef_fn);