On 17/03/15 5:28 AM, Reimar Döffinger wrote:
> On 17.03.2015, at 05:08, James Almer wrote:
>
>> Signed-off-by: James Almer
>> ---
>> Better name (av_zero_high_bits?) and doxygen welcome.
>
> Maybe av_wrap_intp2? (to align with clip function naming)
> Or av_mod_p2?
> Essentially it does a modulo
On 17.03.2015, at 05:08, James Almer wrote:
> Signed-off-by: James Almer
> ---
> Better name (av_zero_high_bits?) and doxygen welcome.
Maybe av_wrap_intp2? (to align with clip function naming)
Or av_mod_p2?
Essentially it does a modulo with a power of 2.
Otherwise "clear" high bits seems a more
Signed-off-by: James Almer
---
Better name (av_zero_high_bits?) and doxygen welcome.
libavutil/common.h | 14 ++
1 file changed, 14 insertions(+)
diff --git a/libavutil/common.h b/libavutil/common.h
index 852c1de..2ee5a98 100644
--- a/libavutil/common.h
+++ b/libavutil/common.h
@@ -