mm.video
Mm_video.Video
Operations on video data.
mm
mm.audio
mm.base
mm.image
mm.midi
mm.oss
module Image : sig ... end
Images of videos.
type t = Image.t array
A video buffer.
type buffer = 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