Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
This module perform image scaling and color space/pixel format conversion operations.
type pixel_format = Avutil.Pixel_format.t
val create :
flag list ->
int ->
int ->
pixel_format ->
int ->
int ->
pixel_format ->
t
Swscale.create flags in_w in_h in_pf out_w out_h out_pf
create a Swscale.t scale context with the flags
flag list defining the conversion type, the in_w
width, in_h
height and in_pf
pixel format for input format and out_w
width, out_h
height and out_pf
pixel format for output format.
type planes = (Avutil.data * int) array
Swscale.scale ctx in_planes y h out_planes off
scale the h
rows of in_planes
strarting from the row y
to the off
row of the out_planes
output.
module type VideoData = sig ... end
Video data modules for Swscale module input and output parameterization.
Functor building an implementation of the swscale structure with parameterized input an output video data types
module BigArray : sig ... end
Unsigned 8 bit bigarray split by planes.
module PackedBigArray : sig ... end
Unsigned 8 bit bigarray in a single packed array..
module Frame : sig ... end
Video frame.
module Bytes : sig ... end
Bytes array.