shithub: dav1d

Download patch

ref: 003f17d80561050a27619cebe23131bad63bc326
parent: 9bd31820bf5cdb04f131ccea73f6a9bc6265ae9d
author: Raphaël Zumer <rzumer@tebako.net>
date: Fri Dec 13 17:09:28 EST 2019

Correct the edge buffer documentation

The end index given for the top/right edge pixels
was incorrect.

--- a/src/ipred_prepare.h
+++ b/src/ipred_prepare.h
@@ -66,7 +66,7 @@
  * range, in the following order:
  * - [0] will be the top/left edge pixel;
  * - [1..w] will be the top edge pixels (1 being left-most, w being right-most);
- * - [w+1..w*w] will be the top/right edge pixels;
+ * - [w+1..2*w] will be the top/right edge pixels;
  * - [-1..-w] will be the left edge pixels (-1 being top-most, -w being bottom-
  *   most);
  * - [-w-1..-2*w] will be the bottom/left edge pixels.