Data Fields | |
rte_codec_class * | next |
rte_codec_info * | _public |
rte_codec *(* | _new )(rte_codec_class *, char **errstr) |
void(* | _delete )(rte_codec *) |
rte_option_info *(* | option_enum )(rte_codec *, unsigned int) |
rte_bool(* | option_get )(rte_codec *, const char *, rte_option_value *) |
rte_bool(* | option_set )(rte_codec *, const char *, va_list) |
char *(* | option_print )(rte_codec *, const char *, va_list) |
rte_bool(* | parameters_set )(rte_codec *, rte_stream_parameters *) |
rte_bool(* | parameters_get )(rte_codec *, rte_stream_parameters *) |
rte_bool(* | set_input )(rte_codec *, rte_io_method, rte_buffer_callback read_cb, rte_buffer_callback unref_cb, int *queue_length) |
rte_bool(* | push_buffer )(rte_codec *codec, rte_buffer *buffer, rte_bool blocking) |
|
Backend/context/codec use, list of codec classes. |
|
Codecs can use this to store rte_codec_info, the field is not directly accessed by the frontend. |
|
Allocate new codec instance. Returns all fields zero except rte_codec->_class, ->state (
When the allocation fails, return |
|
Delete codec instance |
|
Same as frontend version, optional. |
|
Same as frontend version, optional when |
|
Same as frontend version, optional when |
|
Same as frontend version, optional when |
|
Same as frontend versions. |
|
Select input method and put codec into
queue_length (input and output), the pointer always valid, applies as defined for the rte_set_input_callback_master() et al functions. Return FALSE on error. |
|
Same as the frontend version, optional if the push i/o method is not supported by the codec. |