From 30f70a91fe4493ad462a3e84cf9d21e23f1c7042 Mon Sep 17 00:00:00 2001 From: Ioana Ghiban Date: Fri, 19 Jan 2024 19:55:43 +0100 Subject: [PATCH] [doc] Fix documentation for saturating_absdiff --- intrinsiccv/include/intrinsiccv.h | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/intrinsiccv/include/intrinsiccv.h b/intrinsiccv/include/intrinsiccv.h index fd7dba814..e006269f0 100644 --- a/intrinsiccv/include/intrinsiccv.h +++ b/intrinsiccv/include/intrinsiccv.h @@ -89,21 +89,21 @@ INTRINSICCV_BINARY_OP(saturating_sub_u64, uint64_t); /// /// The subtraction is saturated, i.e. the result is the largest number of the /// type of the element if the result would overflow (it is only possible with -/// signed types). Source data length (in bytes) is `stride` * `height`, it -/// must be the same for the two sources. +/// signed types). Source data length (in bytes) is `stride` * `height`. Width +/// and height are the same for the two sources. /// /// @param src_a Pointer to the first source data. Must be non-null. /// @param src_b Pointer to the second source data. Must be non-null. -/// @param src_a_stride Distance in bytes between the row first elements for -/// the first source data. Must not be less than -/// width * sizeof(type). -/// @param src_b_stride Distance in bytes between the row first elements for -/// the second source data. Must not be less than -/// width * sizeof(type). +/// @param src_a_stride Distance in bytes from the start of one row to the +/// start of the next row for the src_a. +/// Must not be less than width * sizeof(type). +/// @param src_b_stride Distance in bytes from the start of one row to the +/// start of the next row for the src_b. +/// Must not be less than width * sizeof(type). /// @param dst Pointer to the destination data. Must be non-null. -/// @param dst_stride Distance in bytes between the row first elements for -/// the destination data. Must not be less than -/// width * sizeof(type). +/// @param dst_stride Distance in bytes from the start of one row to the +/// start of the next row for the destination. +/// Must not be less than width * sizeof(type). /// @param width How many elements are in a row /// @param height How many rows are in the data /// -- GitLab