4 .. function:: Lut2(clip[] clips, int[] lut, int[] planes)
7 Applies a lut that takes the pixel values of two clips into account. The lut needs to contain 2^(clip1.bits_per_sample + clip2.bits_per_sample) entries and will be applied to the planes listed in *planes*. The other planes will simply be passed through unchanged.
9 How to average 2 clips::
12 for y in range(2**clipx.format.bits_per_sample):
13 for x in range(2**clipy.format.bits_per_sample):
15 Lut2(clips=[clipx, clipy], lut=lut, planes=[0, 1, 2])