package ffmpeg-swscale

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

Functor building an implementation of the swscale structure with parameterized input an output video data types

Parameters

module I : VideoData
module O : VideoData

Signature

type t = (I.t, O.t) ctx
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 do the same as Swscale.create.

val convert : t -> I.t -> O.t

Swscale.convert ctx ivd scale and convert the ivd input video data to the output video data according to the ctx scaler context format.

Raise Error if the conversion failed.

OCaml

Innovation. Community. Security.