Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
type !'a result = ('a, [ `Msg of string ]) Result.result
type !'c buffer = ('a, 'b, Bigarray.c_layout) Bigarray.Array1.t constraint 'c = ('a, 'b) Bigarray.kind
type float32 = (float, Bigarray.float32_elt) Bigarray.kind
type int8 = (int, Bigarray.int8_unsigned_elt) Bigarray.kind
type !'a t = {
width : int;
height : int;
channels : int;
data : 'a buffer;
} constraint 'a = ('b, 'c) Bigarray.kind
val width : ('a, 'b) Bigarray.kind t -> int
val height : ('a, 'b) Bigarray.kind t -> int
val channels : ('a, 'b) Bigarray.kind t -> int
val data : ('a, 'b) Bigarray.kind t -> ('a, 'b) Bigarray.kind buffer
val decode : ?channels:int -> ('a, 'b) Bigarray.kind buffer -> int8 t result
val decodef :
?channels:int ->
('a, 'b) Bigarray.kind buffer ->
float32 t result
val decode_unmanaged :
?channels:int ->
('a, 'b) Bigarray.kind buffer ->
int8 t result
val decodef_unmanaged :
?channels:int ->
('a, 'b) Bigarray.kind buffer ->
float32 t result
val free_unmanaged : ('a, 'b) Bigarray.kind t -> unit