|
webkit
2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
|
Go to the source code of this file.
Classes | |
| struct | OpusRepacketizer |
| struct | ChannelLayout |
Macros | |
| #define | MODE_SILK_ONLY 1000 |
| #define | MODE_HYBRID 1001 |
| #define | MODE_CELT_ONLY 1002 |
| #define | OPUS_SET_VOICE_RATIO_REQUEST 11018 |
| #define | OPUS_GET_VOICE_RATIO_REQUEST 11019 |
| #define | OPUS_SET_VOICE_RATIO(x) |
| #define | OPUS_GET_VOICE_RATIO(x) |
| #define | OPUS_SET_FORCE_MODE_REQUEST 11002 |
| #define | OPUS_SET_FORCE_MODE(x) OPUS_SET_FORCE_MODE_REQUEST, __opus_check_int(x) |
Typedefs | |
| typedef struct ChannelLayout | ChannelLayout |
| typedef void(* | downmix_func) (const void *, opus_val32 *, int, int, int, int, int) |
Functions | |
| int | validate_layout (const ChannelLayout *layout) |
| int | get_left_channel (const ChannelLayout *layout, int stream_id, int prev) |
| int | get_right_channel (const ChannelLayout *layout, int stream_id, int prev) |
| int | get_mono_channel (const ChannelLayout *layout, int stream_id, int prev) |
| void | downmix_float (const void *_x, opus_val32 *sub, int subframe, int offset, int c1, int c2, int C) |
| void | downmix_int (const void *_x, opus_val32 *sub, int subframe, int offset, int c1, int c2, int C) |
| int | encode_size (int size, unsigned char *data) |
| opus_int32 | frame_size_select (opus_int32 frame_size, int variable_duration, opus_int32 Fs) |
| opus_int32 | compute_frame_size (const void *analysis_pcm, int frame_size, int variable_duration, int C, opus_int32 Fs, int bitrate_bps, int delay_compensation, downmix_func downmix, float *subframe_mem) |
| opus_int32 | opus_encode_native (OpusEncoder *st, const opus_val16 *pcm, int frame_size, unsigned char *data, opus_int32 out_data_bytes, int lsb_depth, const void *analysis_pcm, opus_int32 analysis_size, int c1, int c2, int analysis_channels, downmix_func downmix, int float_api) |
| int | opus_decode_native (OpusDecoder *st, const unsigned char *data, opus_int32 len, opus_val16 *pcm, int frame_size, int decode_fec, int self_delimited, opus_int32 *packet_offset, int soft_clip) |
| int | opus_packet_parse_impl (const unsigned char *data, opus_int32 len, int self_delimited, unsigned char *out_toc, const unsigned char *frames[48], opus_int16 size[48], int *payload_offset, opus_int32 *packet_offset) |
| opus_int32 | opus_repacketizer_out_range_impl (OpusRepacketizer *rp, int begin, int end, unsigned char *data, opus_int32 maxlen, int self_delimited, int pad) |
| int | pad_frame (unsigned char *data, opus_int32 len, opus_int32 new_len) |
| #define MODE_CELT_ONLY 1002 |
| #define MODE_HYBRID 1001 |
| #define MODE_SILK_ONLY 1000 |
| #define OPUS_GET_VOICE_RATIO | ( | x | ) |
Gets the encoder's configured voice ratio value,
| [out] | x | int*: Voice percentage in the range 0-100, inclusive. |
| #define OPUS_GET_VOICE_RATIO_REQUEST 11019 |
| #define OPUS_SET_FORCE_MODE | ( | x | ) | OPUS_SET_FORCE_MODE_REQUEST, __opus_check_int(x) |
| #define OPUS_SET_FORCE_MODE_REQUEST 11002 |
| #define OPUS_SET_VOICE_RATIO | ( | x | ) |
Configures the encoder's expected percentage of voice opposed to music or other signals.
| [in] | x | int: Voice percentage in the range 0-100, inclusive. |
| #define OPUS_SET_VOICE_RATIO_REQUEST 11018 |
| typedef struct ChannelLayout ChannelLayout |
| typedef void(* downmix_func) (const void *, opus_val32 *, int, int, int, int, int) |
| opus_int32 compute_frame_size | ( | const void * | analysis_pcm, |
| int | frame_size, | ||
| int | variable_duration, | ||
| int | C, | ||
| opus_int32 | Fs, | ||
| int | bitrate_bps, | ||
| int | delay_compensation, | ||
| downmix_func | downmix, | ||
| float * | subframe_mem | ||
| ) |
| void downmix_float | ( | const void * | _x, |
| opus_val32 * | sub, | ||
| int | subframe, | ||
| int | offset, | ||
| int | c1, | ||
| int | c2, | ||
| int | C | ||
| ) |
| void downmix_int | ( | const void * | _x, |
| opus_val32 * | sub, | ||
| int | subframe, | ||
| int | offset, | ||
| int | c1, | ||
| int | c2, | ||
| int | C | ||
| ) |
| int encode_size | ( | int | size, |
| unsigned char * | data | ||
| ) |
| opus_int32 frame_size_select | ( | opus_int32 | frame_size, |
| int | variable_duration, | ||
| opus_int32 | Fs | ||
| ) |
| int get_left_channel | ( | const ChannelLayout * | layout, |
| int | stream_id, | ||
| int | prev | ||
| ) |
| int get_mono_channel | ( | const ChannelLayout * | layout, |
| int | stream_id, | ||
| int | prev | ||
| ) |
| int get_right_channel | ( | const ChannelLayout * | layout, |
| int | stream_id, | ||
| int | prev | ||
| ) |
| int opus_decode_native | ( | OpusDecoder * | st, |
| const unsigned char * | data, | ||
| opus_int32 | len, | ||
| opus_val16 * | pcm, | ||
| int | frame_size, | ||
| int | decode_fec, | ||
| int | self_delimited, | ||
| opus_int32 * | packet_offset, | ||
| int | soft_clip | ||
| ) |
| opus_int32 opus_encode_native | ( | OpusEncoder * | st, |
| const opus_val16 * | pcm, | ||
| int | frame_size, | ||
| unsigned char * | data, | ||
| opus_int32 | out_data_bytes, | ||
| int | lsb_depth, | ||
| const void * | analysis_pcm, | ||
| opus_int32 | analysis_size, | ||
| int | c1, | ||
| int | c2, | ||
| int | analysis_channels, | ||
| downmix_func | downmix, | ||
| int | float_api | ||
| ) |
| int opus_packet_parse_impl | ( | const unsigned char * | data, |
| opus_int32 | len, | ||
| int | self_delimited, | ||
| unsigned char * | out_toc, | ||
| const unsigned char * | frames[48], | ||
| opus_int16 | size[48], | ||
| int * | payload_offset, | ||
| opus_int32 * | packet_offset | ||
| ) |
| opus_int32 opus_repacketizer_out_range_impl | ( | OpusRepacketizer * | rp, |
| int | begin, | ||
| int | end, | ||
| unsigned char * | data, | ||
| opus_int32 | maxlen, | ||
| int | self_delimited, | ||
| int | pad | ||
| ) |
| int pad_frame | ( | unsigned char * | data, |
| opus_int32 | len, | ||
| opus_int32 | new_len | ||
| ) |
| int validate_layout | ( | const ChannelLayout * | layout | ) |
1.8.13