package mm
The mm library contains high-level APIs to create and manipulate multimedia streams (audio, video, MIDI)
Install
Dune Dependency
Authors
Maintainers
Sources
v0.8.5.tar.gz
md5=d2468f8ceecf97dd76a507bf94eba326
sha512=c5b8289d3603fa7d6adb3688bce539ae45ff920c1b587001b2c81ffabf4397f090d4de5c89d8d5251f0eb0b8a7b36ce0104a5a8001dcbfe82e0fbca30f965c64
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)"
>