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.1.tar.gz
md5=34564f61473e235e81330a53f3dbf869
sha512=de153182cd51a52e55e7df6bf4abf46a19d7ebfc81dc13c6715a7f6321f77b8b321ee80343db9e84fdf7d0ea08d31c16fe0f646ad770937e884da7500a8e65e5
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)"
>