USBB13AP77016-XXX-B06 NEC Electronics, USBB13AP77016-XXX-B06 Datasheet - Page 23

no-image

USBB13AP77016-XXX-B06

Manufacturer Part Number
USBB13AP77016-XXX-B06
Description
DSP middleware(AMR voice CODEC)
Manufacturer
NEC Electronics
Datasheet
2.2.6 amr_DecodeFrame function
samples.
The amr_DecodeFrame function decompresses compressed bit stream data to speech data of 16 bits × 160
[Classification]
[Function name]
[Summary of function] Decompresses speech of one frame (160 samples) from a bit stream.
[Format]
[Argument]
[Return value]
[Registers used]
[Hardware resources] Maximum stack level:
Remark When calling this function, be sure to first secure static memory and scratch memory areas. For
RX_SPEECH_GOOD
RX_SPEECH _DEGRADED
RX_ONSET
RX_SPEECH_BAD
RX_SID_FIRST
RX_SID_UPDATE
RX_SID_BAD
RX_NO_DATA
details, refer to 2.3 Memory Structure.
RX_TYPE
Decode processing function
amr_DecodeFrame
call amr_DecodeFrame
Note When the receive frame type is RX_NO_DATA, use the decode mode of the
None
R0, R1, R2, R3, R4, R5, R6, R7, DP0, DP1, DP2, DP3, DP4, DP5, DP6, DP7, DN0, DN1,
DN2, DN3, DN4, DN5, DN6, DN7
Maximum loop stack level:
Maximum number of repetitions:
Maximum number of MIPS:
Register
Register
Register
Register
Type
preceding frame as the argument.
CHAPTER 2 LIBRARY SPECIFICATIONS
Table 2-3. Receive Frame Type
Argument
User’s Manual U15165EJ3V0UM
DP4
DP0
R0L
R1L
Value
0
1
2
3
4
5
6
7
Speech frame (without error)
Speech frame (with error of at least 1 bit)
ONSET frame
Speech frame (with error)
Start of SID frame
Updates SID frame (without error)
Updates SID frame (with error)
Frame without data
Decode mode
Decoder. Except for MRDTX.)
Receive frame type (see Table 2-3)
First address of speech output buffer
First address of bit stream input buffer
2.9
5
2
170
Note
(see Table 2-2 Operation Mode of Encoder/
Description
Description
23

Related parts for USBB13AP77016-XXX-B06