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>2019-08-21 19:35:59 +0300
committerHenrik Gramner <henrik@gramner.com>2019-08-22 02:32:14 +0300
commit6757cab9965eeefc607b8bc5984a163c3a3fc9c5 (patch)
tree2abbc2665f62215451c4ae3a689092c476e44aee /src/recon_tmpl.c
parent6751c9803695a2f12afb8f2cf080a4f9c2c8973a (diff)
Change scan tables from int16_t to uint16_t
Eliminates some sign extensions.
Diffstat (limited to 'src/recon_tmpl.c')
-rw-r--r--src/recon_tmpl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/recon_tmpl.c b/src/recon_tmpl.c
index 22caa53..9506c5b 100644
--- a/src/recon_tmpl.c
+++ b/src/recon_tmpl.c
@@ -177,7 +177,7 @@ static int decode_coefs(Dav1dTileContext *const t,
// base tokens
uint16_t (*const br_cdf)[4] =
ts->cdf.coef.br_tok[imin(t_dim->ctx, 3)][chroma];
- const int16_t *const scan = dav1d_scans[tx][tx_class];
+ const uint16_t *const scan = dav1d_scans[tx][tx_class];
int dc_tok;
if (eob) {