module Video:sig
..end
Operations on video data.
module Image:sig
..end
Images of videos.
typet =
Image.t array
A video buffer.
typebuffer =
t
val make : int -> int -> int -> t
Create a buffer with a given number of frames of given size.
val single : Image.t -> t
Video with a single image.
val blit : t -> int -> t -> int -> int -> unit
val copy : t -> t
Create a fresh copy of a buffer.
val length : t -> int
Length in images.
val size : t -> int
Size in bytes.
val get : t -> int -> Image.t
Obtaine the i-th image of a video.
val set : t -> int -> Image.t -> unit
val iter : (Image.t -> unit) -> t -> int -> int -> unit
val blank : t -> int -> int -> unit
val randomize : t -> int -> int -> unit
module FPS:sig
..end
Operations on frame rates.
module IO:sig
..end