aboutsummaryrefslogtreecommitdiffstats
path: root/include/osmocom/gsm/gsm44021.h
blob: 8f89c56b2083e096cdbc9694e452e3c0323c6755 (plain)
1
2
3
4
5
6
7
8
#pragma once
#include <osmocom/isdn/v110.h>

int osmo_csd_12k_6k_decode_frame(struct osmo_v110_decoded_frame *fr, const ubit_t *ra_bits, size_t n_bits);
int osmo_csd_12k_6k_encode_frame(ubit_t *ra_bits, size_t ra_bits_size, const struct osmo_v110_decoded_frame *fr);
int osmo_csd_3k6_decode_frame(struct osmo_v110_decoded_frame *fr, const ubit_t *ra_bits, size_t n_bits);
int osmo_csd_3k6_encode_frame(ubit_t *ra_bits, size_t ra_bits_size, const struct osmo_v110_decoded_frame *fr);
void osmo_csd_ubit_dump(FILE *outf, const ubit_t *fr, size_t in_len);