Sound Open Firmware
Loading...
Searching...
No Matches
a_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_A_LAW_H__
7
#define __SOF_MATH_A_LAW_H__
8
9
#include <stdint.h>
10
22
uint8_t
sofm_a_law_encode
(int16_t sample);
23
34
int16_t
sofm_a_law_decode
(int8_t
byte
);
35
36
#endif
/* __SOF_MATH_A_LAW_H__ */
sofm_a_law_decode
int16_t sofm_a_law_decode(int8_t byte)
sofm_a_law_decode() - Decode A-law encoded code word
sofm_a_law_encode
uint8_t sofm_a_law_encode(int16_t sample)
sofm_a_law_encode() - Encode sample with A-law coding
src
include
sof
math
a_law.h
Generated by
1.15.0