IT++ Logo
Namespaces | Functions
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

 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. More...
 
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. More...
 

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.

SourceForge Logo

Generated on Thu Apr 11 2019 00:00:00 for IT++ by Doxygen 1.8.18