package mm

  1. Overview
  2. Docs
exception Not_implemented
module Pixel : sig ... end
type t
val width : t -> int
val height : t -> int
val pixel_format : t -> Pixel.format
val make_rgb : Pixel.rgb_format -> ?stride:int -> int -> int -> data -> t
val rgb_data : t -> data * int
val yuv_data : t -> (data * int) * (data * data * int)
val of_RGBA32 : RGBA32.t -> t
val to_RGBA32 : t -> RGBA32.t
val of_YUV420 : YUV420.t -> t
val to_YUV420 : t -> YUV420.t
val blank : t -> unit
val convert : ?proportional:bool -> ?scale_kind:RGBA32.Scale.kind -> t -> t -> unit
OCaml

Innovation. Community. Security.