Module ImageCanvas.CanvasYUV420Source
Sourcetype t = {width : int;height : int;elements : E.t list;
} Sourceval make :
?width:int ->
?height:int ->
?x:int ->
?y:int ->
Mm_image__ImageYUV420.t ->
t Sourceval render : ?fresh:bool -> ?transparent:bool -> t -> Mm_image__ImageYUV420.t Sourceval rendered : ?transparent:bool -> t -> t Sourceval map : (Mm_image__ImageYUV420.t -> Mm_image__ImageYUV420.t) -> t -> t Sourceval iter : (Mm_image__ImageYUV420.t -> 'a) -> t -> t Sourceval translate : int -> int -> t -> t Sourceval viewport : ?x:int -> ?y:int -> int -> int -> t -> t Sourceval bounding_box : t -> (int * int) * (int * int) Sourceval scale :
?scaler:(Mm_image__ImageYUV420.t -> Mm_image__ImageYUV420.t -> unit) ->
(int * int) ->
(int * int) ->
t ->
t Sourceval resize :
?proportional:bool ->
?scaler:(Mm_image__ImageYUV420.t -> Mm_image__ImageYUV420.t -> unit) ->
int ->
int ->
t ->
t