[vlc-devel] [PATCH] introduce CLIP() macro to replace use pair of __MAX() and __MIN()

Rob Jonson rob at hobbyistsoftware.com
Wed Nov 16 12:44:03 CET 2011


On 15 November 2011 22:40, Rafaël Carré <funman at videolan.org> wrote:

>> Isn't CLAMP more common?
>
> "clip" is used in multimedia: http://en.wikipedia.org/wiki/Clipping see
> computer graphics and signal processing definitions.

sorry - I didn't realise number ordering was different in graphics and
signal processing.

nor for that matter that glib was evil.

oh well....



More information about the vlc-devel mailing list