PHP binding API

constant BSDCONV_FROM
constant BSDCONV_INTER
constant BSDCONV_TO

Phase type

constant BSDCONV_CTL_ATTACH_SCORE
constant BSDCONV_CTL_ATTACH_OUTPUT_FILE
constant BSDCONV_CTL_AMBIGUOUS_PAD

Request for Bsdconv::ctl

bsdconv_insert_phase($conversion, $codec, $phase_type, $phasen)

Insert conversion phase into bsdconv conversion string

bsdconv_insert_codec($conversion, $codec, $phasen, $codecn)

Insert conversion codec into bsdconv conversion string

bsdconv_replace_phase($conversion, $codec, $phase_type, $phasen)

Replace conversion phase in the bsdconv conversion string

bsdconv_replace_codec($conversion, $codec, $phasen, $codecn)

Replace conversion codec in the bsdconv conversion string

bsdconv_error()

Get error message

bsdconv_codecs_list($phase_type)

Get codecs list

bsdconv_codec_check($phase_type, $codec)

Check codec availability with given phase type and codec name

bsdconv_fopen($path, $mode)

fopen()

bsdconv_fclose($fp)

fclose()

bsdconv_mktemp($template)

mkstemp()

class Bsdconv
conv($s)

Perform conversion

init()

Initialize/Reset bsdconv converter

ctl($p, $v)

Manipulate the underlying codec parameters

conv_chunk($s)

Perform conversion without initializing and flushing

conv_chunk_last($s)

Perform conversion without initializing

conv_file($from_file, $to_file)

Perform conversion with given filename

counter([$name])

Return conversion info

counter_reset([$name])

Reset counter, if no name supplied, all counters will be reset

Previous topic

Go binding API

Next topic

Python binding API

This Page