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:
authorRonald S. Bultje <rsbultje@gmail.com>2018-11-09 22:13:05 +0300
committerRonald S. Bultje <rsbultje@gmail.com>2018-11-12 18:31:17 +0300
commit2f251bd11528a930934b77e2ee0056d5075a35e6 (patch)
tree90d20aad14e0b3e64f21debebfeba139633420fa /src/ipred.h
parent4b0683a615a353757ad75c4eb4ee67e12a0aa8ce (diff)
Add a max_width/height argument to angular_ipred_fn
This is used in z2 to limit the number of pixels over which the filter is applied, as per "numPx" in 7.11.2.4 point 4 in the AV1 specification. This only applies to z2, because in z1/3, the edge filter is (incomprehensibly) lengtened by the opposite side's edge length, which undoes the limit on the filter length (like a bug undoing another bug). I admit the code is getting rather complex, so we may want to redesign this to make writing SIMD easier.
Diffstat (limited to 'src/ipred.h')
-rw-r--r--src/ipred.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ipred.h b/src/ipred.h
index 05dc3ca..43a7e3a 100644
--- a/src/ipred.h
+++ b/src/ipred.h
@@ -41,7 +41,7 @@
*/
#define decl_angular_ipred_fn(name) \
void (name)(pixel *dst, ptrdiff_t stride, const pixel *topleft, \
- int width, int height, int angle)
+ int width, int height, int angle, int max_width, int max_height)
typedef decl_angular_ipred_fn(*angular_ipred_fn);
/*