package mm

  1. Overview
  2. Docs
type t
val make : int -> int -> Data.t -> int -> Data.t -> Data.t -> int -> t
val make_data : int -> int -> Data.t -> int -> int -> t
val create : ?y_stride:int -> ?uv_stride:int -> int -> int -> t
val ensure_alpha : t -> unit
val remove_alpha : t -> unit
val of_YUV420_string : ?y_stride:int -> ?uv_stride:int -> string -> int -> int -> t
val of_RGB24_string : string -> int -> t
val of_RGBA32 : RGBA32.t -> t
val to_RGBA32 : t -> RGBA32.t
val of_PPM : string -> t
val width : t -> int
val height : t -> int
val y : t -> Data.t
val y_stride : t -> int
val u : t -> Data.t
val v : t -> Data.t
val uv_stride : t -> int
val data : t -> Data.t * Data.t * Data.t
val alpha : t -> Data.t option
val dimensions : t -> int * int
val size : t -> int
val has_alpha : t -> bool
val copy : t -> t
val blit_all : t -> t -> unit
val blit : t -> t -> unit
val scale : ?proportional:bool -> t -> t -> unit
val blank_all : t -> unit
val add : t -> ?x:int -> ?y:int -> t -> unit
val blank : t -> unit
val fill : t -> Pixel.yuv -> unit
val fill_alpha : t -> int -> unit
val disk_alpha : t -> int -> int -> int -> unit
val randomize : t -> unit
val get_pixel_y : t -> int -> int -> int
val get_pixel_u : t -> int -> int -> int
val get_pixel_v : t -> int -> int -> int
val get_pixel_rgba : t -> int -> int -> Pixel.rgba
val set_pixel_rgba : t -> int -> int -> Pixel.rgba -> unit
val to_int_image : t -> int array array
module Effect : sig ... end
OCaml

Innovation. Community. Security.