參數(shù)資料
型號(hào): AP77016-B01
英文描述: uSAP77016-B01 Acoustic Echo Canceller Middleware | User's Manual[05/2001]
中文描述: uSAP77016 - B01聲回波抵消中間件|用戶(hù)手冊(cè)[05/2001]
文件頁(yè)數(shù): 28/47頁(yè)
文件大?。?/td> 291K
代理商: AP77016-B01
CHAPTER 2 LIBRARY SPECIFICATIONS
User
s Manual U15152EJ2V0UM
28
2.2.8 aac_read_1word function
The aac_read_1word function is a user function called by
μ
SAP77016-B08 (callback function).
Create the function using the following specifications.
[Classification]
[Function name]
[Summary of function]
Reads a header of the next frame to decode
.
[Format]
a2d_Dec calls this function using the format call DP4.
Set the address of this function using the a2d_InitDec function.
[Arguments]
a2d_Dec sets the following register and calls the user-defined function.
R2
Size of the current frame to seek (byte)
R7
Information of frame position
0x000d: The beginning of the frame is higher byte (bit 15 to bit 8) of a word.
0x0005: The beginning of the frame is lower byte (bit 7 to bit 0) of a word.
DP1
Input buffer (user-defined) read pointer (This pointer has gone ahead just
6 bytes from the beginning of the current frame.)
[Return value]
R0
a header of the next frame
Remark
:
If R0 is an expected header value (0xfff8 or 0xfff9),
- a2d_Dec realize that the header recognition of the current frame is correct.
- a2d_Dec output the error code (CRC error) as a return value.
If R0 is other value,
- a2d_Dec realize that the header recognition of the current frame is error.
- a2d_Dec start seeking a header of the frame again.
[Function]
In the case of CRC error in ADTS decoding, a2d_Dec calls this function. This function
seeks and reads a header of the next frame to decode by frame size (R2), frame position
(R7) and input buffer read pointer (DP1). This header information is used for distinction
whether the header recognition of the current frame is correct in a2d_Dec.
[Registers used]
If using registers other than those shown below, use them after saving register contents
in memory.
R0, R1, R2, R7, DP1
Header seek function
aac_read_1word
相關(guān)PDF資料
PDF描述
AP77016-B03 uSAP77016-B03 G.729 Speech Codec Middleware | User's Manual[10/2000]
AP77016-B04 uSAP77016-B04 G.723.1 Audio CODEC Middleware | User's Manual[10/2000]
AP77016-B05 USAP77016-B05 MPEG-4 CELP Speech Codec Middleware | User's Manual[12/2000]
AP77016-B06 USAP77016-B06 AMR Speech Codec Middleware | User's Manual[06/2002]
AP77016-B07 USAP77016-B07 MP3 Audio Decoder Middleware User's Manual | User's Manual[09/2002]
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
AP77016-B03 制造商:未知廠家 制造商全稱(chēng):未知廠家 功能描述:uSAP77016-B03 G.729 Speech Codec Middleware | User's Manual[10/2000]
AP77016-B04 制造商:未知廠家 制造商全稱(chēng):未知廠家 功能描述:uSAP77016-B04 G.723.1 Audio CODEC Middleware | User's Manual[10/2000]
AP77016-B05 制造商:未知廠家 制造商全稱(chēng):未知廠家 功能描述:USAP77016-B05 MPEG-4 CELP Speech Codec Middleware | User's Manual[12/2000]
AP77016-B06 制造商:未知廠家 制造商全稱(chēng):未知廠家 功能描述:USAP77016-B06 AMR Speech Codec Middleware | User's Manual[06/2002]
AP77016-B07 制造商:未知廠家 制造商全稱(chēng):未知廠家 功能描述:USAP77016-B07 MP3 Audio Decoder Middleware User's Manual | User's Manual[09/2002]