diff options
author | Luc Trudeau <ltrudeau@twoorioles.com> | 2019-10-04 00:22:58 +0300 |
---|---|---|
committer | Jean-Baptiste Kempf <jb@videolan.org> | 2019-10-04 00:22:58 +0300 |
commit | e570088de116bbbbb0e24ae5b70c0927130e5964 (patch) | |
tree | df11fd759b13d20c5e88a232088cef37d59339cd /src/internal.h | |
parent | a4ceff6ff3567164be40192aca6b117a261e080c (diff) |
Check for RESTORATION_NONE once per frame
Prior checks were done at the sbrow level. This now allows to call
dav1d_lr_sbrow and dav1d_lr_copy_lpf only when there's something
for them to do.
Diffstat (limited to 'src/internal.h')
-rw-r--r-- | src/internal.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/internal.h b/src/internal.h index 13f55b7..a566ded 100644 --- a/src/internal.h +++ b/src/internal.h @@ -228,6 +228,7 @@ struct Dav1dFrameContext { int tile_row; // for carry-over at tile row edges pixel *p[3], *sr_p[3]; Av1Filter *mask_ptr, *prev_mask_ptr; + int restore_planes; // enum LrRestorePlanes } lf; // threading (refer to tc[] for per-thread things) |