Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
l1oip_codec.c File Reference
#include <linux/vmalloc.h>
#include <linux/mISDNif.h>
#include <linux/in.h>
#include "core.h"
#include "l1oip.h"

Go to the source code of this file.

Functions

int l1oip_law_to_4bit (u8 *data, int len, u8 *result, u32 *state)
 
int l1oip_4bit_to_law (u8 *data, int len, u8 *result)
 
int l1oip_alaw_to_ulaw (u8 *data, int len, u8 *result)
 
int l1oip_ulaw_to_alaw (u8 *data, int len, u8 *result)
 
void l1oip_4bit_free (void)
 
int l1oip_4bit_alloc (int ulaw)
 

Function Documentation

int l1oip_4bit_alloc ( int  ulaw)

Definition at line 324 of file l1oip_codec.c.

void l1oip_4bit_free ( void  )

Definition at line 313 of file l1oip_codec.c.

int l1oip_4bit_to_law ( u8 data,
int  len,
u8 result 
)

Definition at line 263 of file l1oip_codec.c.

int l1oip_alaw_to_ulaw ( u8 data,
int  len,
u8 result 
)

Definition at line 283 of file l1oip_codec.c.

int l1oip_law_to_4bit ( u8 data,
int  len,
u8 result,
u32 state 
)

Definition at line 226 of file l1oip_codec.c.

int l1oip_ulaw_to_alaw ( u8 data,
int  len,
u8 result 
)

Definition at line 296 of file l1oip_codec.c.