1 %% extends "filter.arithmetic.c.t"
4 Max filter -- Choose max for each pixel (and for each channel) for two bitmaps.
9 {{ filter_arithmetic_include() }}
11 %% macro filter_op(chan_name, chan_size)
12 {{ chan_name }} = GP_MAX({{ chan_name }}_A, {{ chan_name }}_B);
15 %% call(pt) filter_arithmetic_per_channel('Max', filter_op)
18 %% call(ps) filter_arithmetic_per_bpp('Max', filter_op)
21 {{ filter_arithmetic_functions('Max') }}