Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
type pixel_format =
| Gray_8
| Gray_16
| Gray_float
| Graya_16
| Graya_32
| Graya_float
| Rgb_15
| Bgr_15
| Rgb_16
| Bgr_16
| Rgb_24
| Bgr_24
| Rgb_32
| Bgr_32
| Rgba_32
| Rgb_48
| Rgba_64
| Rgb_float
| Rgba_float
| Yuy2
| Yuvy
| Yuva_32
| Yuva_64
| Yuv_float
| Yuva_float
| Yuv_420_p
| Yuv_422_p
| Yuv_444_p
| Yuv_411_p
| Yuv_410_p
| Yuvj_420_p
| Yuvj_422_p
| Yuvj_444_p
| Yuv_444_p_16
| Yuv_422_p_16
type format = {
frame_width : int;
frame_height : int;
image_width : int;
image_height : int;
pixel_width : int;
pixel_height : int;
pixelformat : pixel_format;
frame_duration : int;
timescale : int;
framerate_mode : framerate_mode;
chroma_placement : chroma_placement;
interlace_mode : interlace_mode;
}
type plane =
(int, Bigarray.int8_unsigned_elt, Bigarray.c_layout) Bigarray.Array1.t
type frame = {
planes : (plane * int) array;
timestamp : Int64.t;
duration : Int64.t;
frame_interlace_mode : interlace_mode;
}
val get_quality : t -> int
val set_quality : t -> int -> unit
val get_rect : t -> float_rect * int_rect
val set_rect : t -> float_rect -> int_rect -> unit
val set_flags : t -> conversion_flags list -> unit
val get_flags : t -> conversion_flags list
val set_scale_mode : t -> scale_mode -> unit
val get_scale_mode : t -> scale_mode
val reinit : t -> unit