Expand description
Converts between VapourSynth’s strided plane buffers and the tightly packed rows core’s converters accept, plus the frame window core windowed algorithms request around each output frame.
Functions§
- pack_
plane - Copies
src, a plane with row stridestridebytes, into a new tightly packed buffer ofwidth_bytes * heightbytes. - unpack_
plane_ into - Writes a tightly packed plane,
src, back intodst, a strided buffer with row stridestridebytes. The reverse ofpack_plane. - window_
indices - The
behind + 1 + aheadsource frame indices for the window around output framen,behindolder andaheadnewer, clamped so nothing runs off either end of a clip whose last valid index islast_frame.