Skip to content

Commit

Permalink
document required arena.len()
Browse files Browse the repository at this point in the history
  • Loading branch information
cospectrum committed Jan 8, 2025
1 parent bad6014 commit 85f93b3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/imghash/signals.rs
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ pub(super) fn dct2d(img: Cow<Image<Luma<f32>>>) -> Image<Luma<f32>> {
}

/// Computes the 1 dimensional [DCT] for each row.
/// The required `arena.len()` is equal to `ctx.len() + ctx.get_scratch_len()`.
///
/// [DCT]: https://en.wikipedia.org/wiki/Discrete_cosine_transform
// TODO: compute inplace
Expand Down

0 comments on commit 85f93b3

Please sign in to comment.