Sound Open Firmware
Loading...
Searching...
No Matches
mu_law.h
Go to the documentation of this file.
1
/* SPDX-License-Identifier: BSD-3-Clause
2
*
3
* Copyright(c) 2025 Intel Corporation.
4
*/
5
6
#ifndef __SOF_MATH_MU_LAW_H__
7
#define __SOF_MATH_MU_LAW_H__
8
9
#include <stdint.h>
10
22
uint8_t
sofm_mu_law_encode
(int16_t sample);
23
34
int16_t
sofm_mu_law_decode
(int8_t
byte
);
35
36
#endif
/* __SOF_MATH_MU_LAW_H__ */
sofm_mu_law_decode
int16_t sofm_mu_law_decode(int8_t byte)
sofm_mu_law_decode() - Decode mu-law encoded code word
sofm_mu_law_encode
uint8_t sofm_mu_law_encode(int16_t sample)
sofm_mu_law_encode() - Encode sample with mu-law coding
src
include
sof
math
mu_law.h
Generated by
1.15.0