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 = private {
width : int;
height : int;
channels : int;
offset : int;
stride : int;
data : 'a buffer;
} constraint 'a = ('b, 'c) Bigarray.kind
val image :
width:int ->
height:int ->
channels:int ->
?offset:int ->
?stride:int ->
('a, 'b) Bigarray.kind buffer ->
('a, 'b) Bigarray.kind t result
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