#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <string.h>
#include <errno.h>
#include "alaw.h"
Include dependency graph for alaw.cpp:
Go to the source code of this file.
Defines | |
#define | SIGN_BIT (0x80) |
#define | QUANT_MASK (0xf) |
#define | NSEGS (8) |
#define | SEG_SHIFT (4) |
#define | SEG_MASK (0x70) |
Variables | |
const short | alaw_seg_end [8] |
A-Law conversion Plug-In Interface Copyright (c) 1999 by Jaroslav Kysela <perex@suse.cz> Uros Bizjak <uros@kss-loka.si>
Based on reference implementation by Sun Microsystems, Inc.
This library is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This program 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 Library General Public License for more details.
You should have received a copy of the GNU Library General Public License along with this library; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
Definition in file alaw.cpp.
|
Definition at line 35 of file alaw.cpp. Referenced by Alaw::linear2alaw(). |
|
Definition at line 34 of file alaw.cpp. Referenced by Alaw::linear2alaw(). |
|
|
|
Definition at line 36 of file alaw.cpp. Referenced by Alaw::linear2alaw(). |
|
|
|
Initial value: {0xFF, 0x1FF, 0x3FF, 0x7FF, 0xFFF, 0x1FFF, 0x3FFF, 0x7FFF} Definition at line 39 of file alaw.cpp. Referenced by Alaw::linear2alaw(). |