Skip to content

Commit

Permalink
Fix armv7 imports
Browse files Browse the repository at this point in the history
  • Loading branch information
randomPoison committed Jul 18, 2023
1 parent 8be73cb commit 8d6a80a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/looprestoration_tmpl_16.rs
Original file line number Diff line number Diff line change
Expand Up @@ -938,6 +938,9 @@ unsafe extern "C" fn wiener_filter_neon(
edges: LrEdgeFlags,
bitdepth_max: libc::c_int,
) {
use crate::src::looprestoration::LR_HAVE_BOTTOM;
use crate::src::looprestoration::LR_HAVE_TOP;

let filter: *const [int16_t; 8] = (*params).filter.0.as_ptr();
let mut mid: Align16<[int16_t; 68 * 384]> = Align16([0; 68 * 384]);
let mut mid_stride: libc::c_int = w + 7 & !7;
Expand Down
3 changes: 3 additions & 0 deletions src/looprestoration_tmpl_8.rs
Original file line number Diff line number Diff line change
Expand Up @@ -899,6 +899,9 @@ unsafe extern "C" fn wiener_filter_neon(
params: *const LooprestorationParams,
edges: LrEdgeFlags,
) {
use crate::src::looprestoration::LR_HAVE_BOTTOM;
use crate::src::looprestoration::LR_HAVE_TOP;

let filter: *const [int16_t; 8] = (*params).filter.0.as_ptr();
let mut mid: Align16<[int16_t; 68 * 384]> = Align16([0; 68 * 384]);
let mut mid_stride: libc::c_int = w + 7 & !7;
Expand Down

0 comments on commit 8d6a80a

Please sign in to comment.