SwscaleThis module perform image scaling and color space/pixel format conversion operations.
type pixel_format = Avutil.Pixel_format.tval create :
flag list ->
int ->
int ->
pixel_format ->
int ->
int ->
pixel_format ->
tSwscale.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) arraySwscale.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 ... endVideo 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 ... endUnsigned 8 bit bigarray split by planes.
module PackedBigArray : sig ... endUnsigned 8 bit bigarray in a single packed array..
module Frame : sig ... endVideo frame.
module Bytes : sig ... endBytes array.