Commit ae91cabe authored by Jean-Marc Valin's avatar Jean-Marc Valin Committed by Steinar Midtskogen

Reduce horizontal CDEF padding to 8 pixels instead of 32

Reduces the amount of useless copying we do.

Change-Id: I743c88f4a49e04381213bc58e520427ff8979cee
parent deb1950b
......@@ -22,11 +22,11 @@
/* We need to buffer three vertical lines. */
#define OD_FILT_VBORDER (3)
/* We only need to buffer three horizontal lines too, but let's make it four
to make vectorization easier. */
#define OD_FILT_HBORDER (32)
/* We only need to buffer three horizontal pixels too, but let's align to
16 bytes (8 x 16 bits) to make vectorization easier. */
#define OD_FILT_HBORDER (8)
#define OD_FILT_BSTRIDE \
ALIGN_POWER_OF_TWO(OD_BSIZE_MAX + 2 * OD_FILT_HBORDER, 5)
ALIGN_POWER_OF_TWO(OD_BSIZE_MAX + 2 * OD_FILT_HBORDER, 3)
#define OD_DERING_VERY_LARGE (30000)
#define OD_DERING_INBUF_SIZE \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment