Skip to content

Commit

Permalink
adjust padding
Browse files Browse the repository at this point in the history
  • Loading branch information
TNTwise committed Sep 22, 2024
1 parent 529ea5e commit cafc65e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions RIFE/rife.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1180,8 +1180,8 @@ int RIFE::process_v4(const float* src0R, const float* src0G, const float* src0B,
opt.staging_vkallocator = staging_vkallocator;
int w_padded, h_padded;
if (extra_padding) {
w_padded = (w + 127) / 128 * 128;
h_padded = (h + 127) / 128 * 128;
w_padded = (w + 63) / 64 * 64;
h_padded = (h + 63) / 64 * 64;
} else {
w_padded = (w + 31) / 32 * 32;
h_padded = (h + 31) / 32 * 32;
Expand Down

0 comments on commit cafc65e

Please sign in to comment.