
    i                         d dl Zd Zy)    Nc                 4    fd}| j                  |      S )z Replaces each frame at time t by the mean of `nframes` equally spaced frames
    taken in the interval [t-d, t+d]. This results in motion blur.c                     t        j                  |z
  |z         }t        j                  dt        j                  |D cg c]
  } | |       c}d      z  d      }|j	                  d      S c c}w )Ng      ?uint16)dtyper   )axisuint8)nplinspacemeanarrayastype)gftttt_avgdnframess        Z/var/www/html/eduruby.in/venv/lib/python3.12/site-packages/moviepy/video/fx/supersample.pyflzsupersample.<locals>.fl   sa    [[1ac7+ggc"((R#8rBrF#8IIPQRzz'"" $9s   A3)r   )clipr   r   r   s    `` r   supersampler      s    #
 772;    )numpyr	   r    r   r   <module>r      s    	r   