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-08 02:12:41 +0300
committerJanne Grunau <janne-vlc@jannau.net>2018-11-08 09:44:57 +0300
commitbbc11c99790e6475e44ba3248da5281ca5cfd99f (patch)
tree1d775acb075e4a2247a9e72cfa01aabb3dd79278 /src/cdef_tmpl.c
parent7fe3b037953a6d13956f1e0a365607720e35987d (diff)
cdef: make scalar types non-sized
Diffstat (limited to 'src/cdef_tmpl.c')
-rw-r--r--src/cdef_tmpl.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/cdef_tmpl.c b/src/cdef_tmpl.c
index 7cd1be6..8ac0026 100644
--- a/src/cdef_tmpl.c
+++ b/src/cdef_tmpl.c
@@ -128,7 +128,7 @@ cdef_filter_block_c(pixel *dst, const ptrdiff_t dst_stride,
const int px = dst[x];
int max = px, min = px;
for (int k = 0; k < 2; k++) {
- const int8_t off1 = cdef_directions[dir][k];
+ const int off1 = cdef_directions[dir][k];
const int p0 = tmp[x + off1];
const int p1 = tmp[x - off1];
sum += pri_taps[k] * constrain(p0 - px, pri_strength, damping);
@@ -137,10 +137,10 @@ cdef_filter_block_c(pixel *dst, const ptrdiff_t dst_stride,
if (p1 != INT16_MAX) max = imax(p1, max);
min = imin(p0, min);
min = imin(p1, min);
- const int8_t off2 = cdef_directions[(dir + 2) & 7][k];
+ const int off2 = cdef_directions[(dir + 2) & 7][k];
const int s0 = tmp[x + off2];
const int s1 = tmp[x - off2];
- const int8_t off3 = cdef_directions[(dir + 6) & 7][k];
+ const int off3 = cdef_directions[(dir + 6) & 7][k];
const int s2 = tmp[x + off3];
const int s3 = tmp[x - off3];
if (s0 != INT16_MAX) max = imax(s0, max);