g711.h File Reference

Implementation of G.711 logarithmic codecs. More...

`#include <itpp/itexports.h>`
`#include <utility>`
`#include <itpp/base/ittypes.h>`

Go to the source code of this file.

## Namespaces

namespace | itpp
| itpp namespace

## Functions

std::pair< int16_t, int16_t > | itpp::ulaw_range ()
| G.711 u-Law compressor input range. Returns (min,max) input values in std::pair.
uint8_t | itpp::ulaw_compress (int16_t s)
| G.711 u-Law compression function. Returns encoded value for sample s.
int16_t | itpp::ulaw_expand (uint8_t s)
| G.711 u-Law expansion function. Returns decoded value for previously compressed sample s.Expansion is performed by the table look up.
std::pair< int16_t, int16_t > | itpp::alaw_range ()
| G.711 a-Law compressor input range. Returns (min,max) input values in std::pair.
uint8_t | itpp::alaw_compress (int16_t s)
| G.711 a-Law compression function. Returns encoded value for sample s.
int16_t | itpp::alaw_expand (uint8_t s)
| G.711 u-Law expansion function. Returns decoded value for previously compressed sample s.Expansion is performed by the table look up.

## Detailed Description

Implementation of G.711 logarithmic codecs.

Author
  Andy Panov

Copyright (C) 1995-2013 (see AUTHORS file for a list of contributors)

This file is part of IT++ - a C++ library of mathematical, signal processing, speech processing, and communications classes and functions.

IT++ is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

IT++ is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with IT++. If not, see http://www.gnu.org/licenses/.

Definition in file g711.h.

Generated on Mon Jun 10 2024 11:49:28 for IT++ by Doxygen 1.9.8