package mm

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

Operations on video data.

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 Canvas : sig ... end

Videos with canvas images.

module FPS : sig ... end

Operations on frame rates.

module IO : sig ... end
OCaml

Innovation. Community. Security.