Index of values

A
a4 [Audio.Note]
add [Video.Image]

Add the fist image to the second.

add [MIDI]
add [Image.YUV420]

Add the fist image to the second.

add [Image.RGBA32]
add [Audio.Mono]

add b1 o1 b2 o2 len adds len samples of contents of b2 starting at o2 to b1 starting at o1.

add [Audio]
add_coeff [Audio]
affine [Image.RGBA32.Effect]

Apply an affine transformation to an image.

alloc [Image.Data]

external alloc : int -> t = "caml_data_alloc"

alpha [Image.YUV420]
amplify [Audio.Mono]
amplify [Audio]

Amplify a portion of the buffer by a given coefficient.

append [Audio.Mono]
append [Audio]
arrows [Image.RGBA32.Motion.Multi]
auto_gain_control [Audio.Effect]
B
band_freq [Audio.Mono.Analyze.FFT]

Frequency associated to the k-th coefficient of an FFT.

bartlett_hann [Audio.Mono.Analyze.FFT.Window]
blackman [Audio.Mono.Analyze.FFT.Window]
blackman_harris [Audio.Mono.Analyze.FFT.Window]
blackman_nuttall [Audio.Mono.Analyze.FFT.Window]
blank [Video.Image]
blank [Video]
blank [Image.YUV420]
blank [Image.RGBA32]
blank_all [Image.YUV420]

blit_all src dst blits an entire image.

blank_all [Image.RGBA32]
blit [Video.Image]

blit_all src dst blits an entire image.

blit [Video]
blit [Ringbuffer.Elt]

Blitting function.

blit [MIDI]
blit [Image.YUV420]
blit [Image.RGBA32]
blit [Image.Data]
blit [Audio.Mono]
blit [Audio]

Same as Array.blit for audio data.

blit_all [MIDI]
blit_all [Image.YUV420]
blit_all [Image.RGBA32]

blit_all src dst copies all the contents of src into dst.

blit_all [Image.Data]
blur [Image.RGBA32.Effect.Alpha]
box_blur [Image.RGBA32.Effect]
C
c0 [Audio.Note]
c5 [Audio.Note]
channels [MIDI.Multitrack]
channels [Audio.Ringbuffer_ext]
channels [Audio.Ringbuffer]
channels [Audio]
clear [MIDI.Multitrack]
clear [Audio.Mono]

Clear a portion of a buffer (fill it with zeroes).

clear [Audio]

Clear the buffer (sets all the samples to zero).

clear_all [MIDI]
clip [Audio.Mono]
clip [Audio.Sample]

Clip a sample (ie ensure that it is between -1. and 1..

clip [Audio]
compand_mu_law [Audio.Mono.Effect]

A compander following the mu-law (see http://en.wikipedia.org/wiki/Mu-law).

complex_create [Audio.Mono.Analyze.FFT]

complex_create buf ofs len create a array of complex numbers of size len by copying data from buf from ofset ofs (the imaginary part is null).

compute [Image.RGBA32.Motion.Multi]
compute [Image.RGBA32.Motion]
convert [Image.Generic]

Convert a generic image from a format to another.

copy [Video.Image]
copy [Video]

Create a fresh copy of a buffer.

copy [MIDI]

Create a copy of a MIDI buffer.

copy [Image.YUV420]
copy [Image.RGBA32]
copy [Image.Data]
copy [Audio.Mono]
copy [Audio]

Copy the given buffer.

cosine [Audio.Mono.Analyze.FFT.Window]
create [Video.Image]
create [Ringbuffer.Elt]

Generate an element.

create [MIDI.Multitrack]

Create a multitrack MIDI buffer with given number of channels and length in samples.

create [MIDI]

Create a MIDI buffer of given length in samples.

create [Image.YUV420]
create [Image.RGBA32.Scale]
create [Image.RGBA32]
create [Audio.Ringbuffer_ext]
create [Audio.Ringbuffer]

Create a ringbuffer of given number of channels and size (in samples).

create [Audio.Buffer_ext]

Create an extensible buffer of given channels and initial size in samples.

create [Audio.Mono.Buffer_ext]
create [Ringbuffer.R]

Create a ringbuffer of given size.

create [Audio.Mono]
create [Audio.Note]
create [Audio]

create chans len creates a buffer with chans channels and len samples as duration.

create_same [Audio]

Create a buffer with the same number of channels and duration as the given buffer.

D
dB_of_lin [Audio]

Convert linear coefficient to decibels.

data [MIDI]
data [Image.YUV420]
data [Image.RGBA32]
data [Image.BGRA]
dead [Audio.Mono.Effect.ADSR]
delay [Audio.Effect]

delay chans samplerate d once feedback creates a delay operator for buffer with chans channels at samplerate samplerate with d as delay in seconds and feedback as feedback.

dimensions [Video.Image]
dimensions [Image.YUV420]
dimensions [Image.RGBA32]
disk [Image.RGBA32.Effect.Alpha]
disk_alpha [Image.YUV420]
duration [MIDI.Multitrack]
duration [Audio.Buffer_ext]

Current duration (in samples) of the buffer.

duration [Audio.S16BE]
duration [Audio.S16LE]
duration [Audio.Mono.Analyze.FFT]

Duration of the FFT buffer analysis in samples.

duration [Audio.Mono.Buffer_ext]
duration [Audio.Mono]
duration [Audio]

Duration of a buffer in samples.

E
ensure_alpha [Image.YUV420]

Ensure that the image has an alpha channel.

F
fft [Audio.Mono.Analyze.FFT]

Perform an FFT analysis.

fill [Image.YUV420]
fill_all [Image.RGBA32]
fill_alpha [Video.Image]
fill_alpha [Image.YUV420]
fill_alpha [Image.RGBA32]
flip [Image.RGBA32.Effect]

Flip (mirror across horizontal axis).

freq [Audio.Note]
G
get [Video]

Obtaine the i-th image of a video.

get_pixel [Image.RGBA32]
get_pixel_rgba [Video.Image]
get_pixel_rgba [Image.YUV420]
get_pixel_rgba [Image.RGBA32]
get_pixel_u [Image.YUV420]
get_pixel_v [Image.YUV420]
get_pixel_y [Image.YUV420]
greyscale [Video.Image.Effect]
greyscale [Image.YUV420.Effect]
greyscale [Image.RGBA32.Effect]

Convert to greyscale.

H
hamming [Audio.Mono.Analyze.FFT.Window]
hann [Audio.Mono.Analyze.FFT.Window]
has_alpha [Image.YUV420]

Whether the image has an alpha channel.

height [Video.Image]
height [Image.Generic]

Height of an image.

height [Image.YUV420]

Height of an image.

height [Image.RGBA32]
I
init [Audio.Mono.Effect.ADSR]

Initial state for processing.

init [Audio.Mono.Analyze.FFT]

Initialize FFT for an analysis of 2^n samples.

insert [MIDI]
invert [Video.Image.Effect]
invert [Image.YUV420.Effect]
invert [Image.RGBA32.Effect]

Invert colors.

iter [Video]
L
lanczos [Audio.Mono.Analyze.FFT.Window]
length [Video]

Length in images.

length [Image.Data]
length [Audio.S16BE]
length [Audio.S16LE]
lin_of_dB [Audio]

Convert decibels to linear coefficient.

line [Image.RGBA32.Draw]
line [Image.Draw]
lomo [Video.Image.Effect]
lomo [Image.YUV420.Effect]
lomo [Image.RGBA32.Effect]

Lomo effect on colors (see http://en.wikipedia.org/wiki/Lomo_effect ).

loudest_note [Audio.Mono.Analyze.FFT]
M
make [Video]

Create a buffer with a given number of frames of given size.

make [Image.YUV420]
make [Image.RGBA32]
make [Audio.S16BE]
make [Audio.S16LE]
make [Audio.Mono.Effect.ADSR]

Create an envelope with specified Attack/Decay/Sustain/Release times in seconds (excepting sustain which is an amplification coefficient between 0. and 1.).

make_data [Image.YUV420]
make_rgb [Image.Generic]

Create a new image of RGB format.

mask [Image.RGBA32.Effect]
mean [Image.RGBA32.Motion.Multi]
median_denoise [Image.RGBA32.Motion.Multi]
merge [MIDI]

merge b1 b2 merges the buffer b2 into b1.

modulo [Audio.Note]

Returns note number and octave.

mult [Audio.Mono]
N
name [Audio.Note]
notes [Audio.Mono.Analyze.FFT]
nuttall [Audio.Mono.Analyze.FFT.Window]
O
octave [Audio.Note]
of_BGRA [Image.RGBA32]
of_PPM [Image.YUV420]
of_PPM [Image.RGBA32]
of_RGB24_string [Video.Image]
of_RGB24_string [Image.YUV420]
of_RGB24_string [Image.RGBA32]
of_RGBA32 [Image.Generic]

Create a generic image from an RGBA32 image.

of_RGBA32 [Image.YUV420]
of_YUV420 [Image.Generic]

Create a generic image from a YUV420 image.

of_YUV420_string [Image.YUV420]
of_audio [Audio.S32LE]
of_audio [Audio.S24LE]
of_audio [Audio.S16BE]
of_audio [Audio.S16LE]
of_audio [Audio.U8]
of_color [Image.RGBA32.Effect.Alpha]
of_freq [Audio.Note]
of_int [Image.RGB8.Color]

Decode a color stored as RGB.

of_mono [Audio]

Convert a mono buffer into a buffer.

of_string [Image.Data]
of_string [Audio.Note]
onto [Image.RGBA32.Scale]
P
pan [Audio]

Pan a stereo buffer from left to right (the buffer should have exactly two channels!).

peek [Audio.Ringbuffer_ext]
peek [Audio.Ringbuffer]
peek [Ringbuffer.R]

Same as read but does not advance the read pointer.

pixel_format [Image.Generic]

Pixel format of an image.

prepare [Audio.Buffer_ext]

Make sure that the buffer can hold at least a given number of samples.

prepare [Audio.Mono.Buffer_ext]
process [Audio.Mono.Effect.ADSR]
R
randomize [Video.Image]
randomize [Video]
randomize [Image.YUV420]
randomize [Image.RGBA32]
randomize_all [Image.RGBA32]
read [Audio.Ringbuffer_ext]
read [Audio.Ringbuffer]
read [Ringbuffer.R]

Read data.

read_advance [Audio.Ringbuffer_ext]
read_advance [Audio.Ringbuffer]
read_advance [Ringbuffer.R]

Drop data.

read_space [Audio.Ringbuffer_ext]
read_space [Audio.Ringbuffer]
read_space [Ringbuffer.R]

Size of data available for reading.

release [Audio.Mono.Effect.ADSR]
remove_alpha [Image.YUV420]
resample [Audio.Mono]
resample [Audio]
rgb_data [Image.Generic]

Data and stride of an RGB image.

rgb_of_yuv [Image.Pixel]
rms [Audio.Analyze]
rms [Audio.Mono.Analyze]

Compute the RMS power of a portion of a buffer.

rotate [Image.RGBA32.Effect]

Rotate image by a given angle (in radians).

round [Image.Data]
S
samples_of_seconds [Audio]

At given sample rate, number of samples in given amount of time.

scale [Video.Image]
scale [Image.YUV420]
scale [Image.RGBA32.Effect.Alpha]

Scale alpha channel with a given coefficient.

scale [Image.RGBA32]
seconds_of_samples [Audio]

At given sample rate, duration of given number of samples.

sepia [Video.Image.Effect]
sepia [Image.YUV420.Effect]
sepia [Image.RGBA32.Effect]

Convert to sepia colors.

set [Video]
set_pixel [Image.RGBA32]
set_pixel_rgba [Video.Image]
set_pixel_rgba [Image.YUV420]
set_pixel_rgba [Image.RGBA32]
single [Video]

Video with a single image.

size [Video.Image]

Size in bytes.

size [Video]

Size in bytes.

size [Image.YUV420]

Size in bytes.

size [Image.RGBA32]
stride [Image.RGBA32]
string_of_format [Image.Generic.Pixel]

String representation of the format of a pixel.

swap_rb [Image.RGBA32]

Swap red and blue channels.

T
to_BGRA [Image.RGBA32]
to_BMP [Image.RGBA32]
to_RGB24_string [Image.RGBA32]
to_RGBA32 [Image.Generic]
to_RGBA32 [Image.YUV420]
to_YUV420 [Image.Generic]
to_audio [Audio.S32LE]
to_audio [Audio.S24LE]
to_audio [Audio.S16BE]
to_audio [Audio.S16LE]
to_audio [Audio.U8]
to_frac [Video.FPS]

Convert a frame rate to a fraction.

to_int_image [Video.Image]

Convert to format useable by Graphics.make_image.

to_int_image [Image.YUV420]

Convert to format useable by Graphics.make_image.

to_int_image [Image.RGBA32]
to_mono [Audio]

Convert a buffer to a mono buffer by computing the mean of all channels.

to_string [Image.Data]
to_string [Audio.Note]
translate [Image.RGBA32.Effect]

Translate image.

transmit [Audio.Ringbuffer_ext]
transmit [Audio.Ringbuffer]
transmit [Ringbuffer.R]

Read all the data in the ringbuffer.

triangular [Audio.Mono.Analyze.FFT.Window]
U
u [Image.YUV420]
uv_stride [Image.YUV420]
V
v [Image.YUV420]
W
white_noise [Audio.Generator]
width [Video.Image]
width [Image.Generic]

Width of an image.

width [Image.YUV420]

Width of an image.

width [Image.RGBA32]
write [Audio.Ringbuffer_ext]
write [Audio.Ringbuffer]
write [Ringbuffer.R]

Write data.

write_advance [Audio.Ringbuffer_ext]
write_advance [Audio.Ringbuffer]
write_advance [Ringbuffer.R]

Advance the write pointer.

write_space [Audio.Ringbuffer_ext]
write_space [Audio.Ringbuffer]
write_space [Ringbuffer.R]

Size of space available for writing.

Y
y [Image.YUV420]
y_stride [Image.YUV420]
yuv_data [Image.Generic]

Data of a YUV image.

yuv_of_rgb [Image.Pixel]