package mm
The mm library contains high-level to create and manipulate multimedia streams (audio, video, MIDI)
Install
Dune Dependency
Authors
Maintainers
Sources
v0.8.2.tar.gz
md5=409c77363e3b351239cbf54190c8582a
sha512=ada58637e258c9af2618596cbfca591cbb9d46ea566f16b99909156f033cbec54cc1633bc71ae5ac1481aab1b4b8037f18060af604481bd8b52be52d80b7ca47
doc/mm.image/Mm_image/ImageYUV420/index.html
Module Mm_image.ImageYUV420
Source
Source
type t = {
mutable y : ImageBase.Data.t;
mutable y_stride : int;
mutable u : ImageBase.Data.t;
mutable v : ImageBase.Data.t;
mutable uv_stride : int;
width : int;
height : int;
mutable alpha : ImageBase.Data.t option;
}
Source
val make :
int ->
int ->
?alpha:ImageBase.Data.t ->
ImageBase.Data.t ->
int ->
ImageBase.Data.t ->
ImageBase.Data.t ->
int ->
t
Source
val make_data :
int ->
int ->
(int, Bigarray.int8_unsigned_elt, Bigarray.c_layout) Bigarray.Array1.t ->
int ->
int ->
t
scale_coef src dst (xn,xd) (yn,yd)
scales src
into dst
multiplying x dimension by xn/xd and y dimension by yn/yd.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>