Skip to content

Commit bfbf611

Browse files
committed
Random test build
1 parent 413b001 commit bfbf611

File tree

32 files changed

+803
-1401
lines changed

32 files changed

+803
-1401
lines changed

esp32p4/bin/bootloader_qio_80m.elf

0 Bytes
Binary file not shown.

esp32p4/dependencies.lock

Lines changed: 31 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,26 @@
11
dependencies:
2+
chmorgan/esp-libhelix-mp3:
3+
component_hash: cbb76089dc2c5749f7b470e2e70aedc44c9da519e04eb9a67d4c7ec275229e53
4+
dependencies:
5+
- name: idf
6+
registry_url: https://components.espressif.com
7+
require: private
8+
version: '>=4.1.0'
9+
source:
10+
registry_url: https://components.espressif.com/
11+
type: service
12+
version: 1.0.3
213
espressif/eppp_link:
314
component_hash: c2fd9c57ac14a68a62c9d9cdeec39a2b265abc16779196ce2c9f5000c9a4dd8b
415
dependencies:
5-
- name: espressif/esp_serial_slave_link
6-
registry_url: https://components.espressif.com/
7-
require: private
8-
version: ^1.1.0
916
- name: idf
17+
registry_url: https://components.espressif.com
1018
require: private
1119
version: '>=5.2'
20+
- name: espressif/esp_serial_slave_link
21+
registry_url: https://components.espressif.com
22+
require: private
23+
version: ^1.1.0
1224
source:
1325
registry_url: https://components.espressif.com
1426
type: service
@@ -17,6 +29,7 @@ dependencies:
1729
component_hash: fa7fe74305df6da25867437ebcd4213e047cbfc0556cf92067ab657fce537c6e
1830
dependencies:
1931
- name: idf
32+
registry_url: https://components.espressif.com
2033
require: private
2134
version: '>=4.2'
2235
source:
@@ -27,30 +40,32 @@ dependencies:
2740
component_hash: 2168e6b4cbda4d0281a2a2d1a40a3848e231473b2690d73217e3600fd2c98c12
2841
dependencies:
2942
- name: idf
43+
registry_url: https://components.espressif.com
3044
require: private
3145
version: '>=4.3'
3246
source:
3347
registry_url: https://components.espressif.com/
3448
type: service
3549
version: 1.0.16
3650
espressif/esp_hosted:
37-
component_hash: 73aba88e56b50efe19f9a357a275bc62516d4ae2c44ddd456b34a4027c31bbd9
51+
component_hash: e07e83e12b99a5597469225e17547a3e5b224e267dcf269782f872e1362cbf4e
3852
dependencies:
3953
- name: idf
4054
require: private
4155
version: '>=5.3'
4256
source:
4357
registry_url: https://components.espressif.com/
4458
type: service
45-
version: 0.0.22
59+
version: 0.0.25
4660
espressif/esp_serial_slave_link:
4761
component_hash: 8c534b7d4986ca0e4c41db71f559492b795ab862f1d15359d7993034696b7bcc
4862
dependencies:
4963
- name: idf
64+
registry_url: https://components.espressif.com
5065
require: private
5166
version: '>=5.0'
5267
source:
53-
registry_url: https://components.espressif.com/
68+
registry_url: https://components.espressif.com
5469
type: service
5570
version: 1.1.0
5671
espressif/esp_wifi_remote:
@@ -60,15 +75,16 @@ dependencies:
6075
registry_url: https://components.espressif.com
6176
require: private
6277
version: '>=0.1'
78+
- name: idf
79+
registry_url: https://components.espressif.com
80+
require: private
81+
version: '>=5.3'
6382
- name: espressif/esp_hosted
6483
registry_url: https://components.espressif.com
6584
require: private
6685
rules:
6786
- if: target in [esp32h2, esp32p4]
6887
version: '>=0.0.6'
69-
- name: idf
70-
require: private
71-
version: '>=5.3'
7288
source:
7389
registry_url: https://components.espressif.com/
7490
type: service
@@ -77,6 +93,7 @@ dependencies:
7793
component_hash: f6e982479a2389cb6868e8fb761cf23aba6c355a8090b3e906299807775f58a3
7894
dependencies:
7995
- name: idf
96+
registry_url: https://components.espressif.com
8097
require: private
8198
version: '>=4.2'
8299
source:
@@ -87,22 +104,13 @@ dependencies:
87104
component_hash: af6306fe65d637a3683d1cf671508fcedd6b05f9ca029a8815abeab64001fb8d
88105
dependencies:
89106
- name: idf
107+
registry_url: https://components.espressif.com
90108
require: private
91109
version: '>=5.0'
92110
source:
93111
registry_url: https://components.espressif.com/
94112
type: service
95113
version: 1.4.0
96-
espressif/network_provisioning:
97-
component_hash: ef2e10182fd1861e68b821491916327c25416ca7ae70e5a6e43313dbc71fe993
98-
dependencies:
99-
- name: idf
100-
require: private
101-
version: '>=5.1'
102-
source:
103-
registry_url: https://components.espressif.com/
104-
type: service
105-
version: 1.0.2
106114
idf:
107115
source:
108116
type: idf
@@ -111,22 +119,23 @@ dependencies:
111119
component_hash: 362f1f5beb5087b0c60169aff82676d2d0ffc991ead975212b0cba95959181c5
112120
dependencies:
113121
- name: idf
122+
registry_url: https://components.espressif.com
114123
require: private
115124
version: '>=4.3'
116125
source:
117126
registry_url: https://components.espressif.com/
118127
type: service
119128
version: 1.14.8
120129
direct_dependencies:
130+
- chmorgan/esp-libhelix-mp3
121131
- espressif/esp-dsp
122132
- espressif/esp-modbus
123133
- espressif/esp_hosted
124134
- espressif/esp_wifi_remote
125135
- espressif/libsodium
126136
- espressif/mdns
127-
- espressif/network_provisioning
128137
- idf
129138
- joltwallet/littlefs
130-
manifest_hash: f7e9c1eba69691248ca7504098d4032d18879dde8f9b781247eca31dac3ee77e
139+
manifest_hash: 4d478035a76931c4321d2a18e28b6d890127ead27517d39f9849d264603da5da
131140
target: esp32p4
132141
version: 2.0.0

esp32p4/flags/includes

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

esp32p4/flags/ld_libs

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.
Lines changed: 124 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,124 @@
1+
/* ***** BEGIN LICENSE BLOCK *****
2+
* Version: RCSL 1.0/RPSL 1.0
3+
*
4+
* Portions Copyright (c) 1995-2002 RealNetworks, Inc. All Rights Reserved.
5+
*
6+
* The contents of this file, and the files included with this file, are
7+
* subject to the current version of the RealNetworks Public Source License
8+
* Version 1.0 (the "RPSL") available at
9+
* http://www.helixcommunity.org/content/rpsl unless you have licensed
10+
* the file under the RealNetworks Community Source License Version 1.0
11+
* (the "RCSL") available at http://www.helixcommunity.org/content/rcsl,
12+
* in which case the RCSL will apply. You may also obtain the license terms
13+
* directly from RealNetworks. You may not use this file except in
14+
* compliance with the RPSL or, if you have a valid RCSL with RealNetworks
15+
* applicable to this file, the RCSL. Please see the applicable RPSL or
16+
* RCSL for the rights, obligations and limitations governing use of the
17+
* contents of the file.
18+
*
19+
* This file is part of the Helix DNA Technology. RealNetworks is the
20+
* developer of the Original Code and owns the copyrights in the portions
21+
* it created.
22+
*
23+
* This file, and the files included with this file, is distributed and made
24+
* available on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
25+
* EXPRESS OR IMPLIED, AND REALNETWORKS HEREBY DISCLAIMS ALL SUCH WARRANTIES,
26+
* INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, FITNESS
27+
* FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
28+
*
29+
* Technology Compatibility Kit Test Suite(s) Location:
30+
* http://www.helixcommunity.org/content/tck
31+
*
32+
* Contributor(s):
33+
*
34+
* ***** END LICENSE BLOCK ***** */
35+
36+
/**************************************************************************************
37+
* Fixed-point MP3 decoder
38+
* Jon Recker ([email protected]), Ken Cooke ([email protected])
39+
* June 2003
40+
*
41+
* mp3common.h - implementation-independent API's, datatypes, and definitions
42+
**************************************************************************************/
43+
44+
#ifndef _MP3COMMON_H
45+
#define _MP3COMMON_H
46+
47+
#include "mp3dec.h"
48+
#include "statname.h" /* do name-mangling for static linking */
49+
50+
#define MAX_SCFBD 4 /* max scalefactor bands per channel */
51+
#define NGRANS_MPEG1 2
52+
#define NGRANS_MPEG2 1
53+
54+
/* 11-bit syncword if MPEG 2.5 extensions are enabled */
55+
/*
56+
#define SYNCWORDH 0xff
57+
#define SYNCWORDL 0xe0
58+
*/
59+
60+
/* 12-bit syncword if MPEG 1,2 only are supported */
61+
#define SYNCWORDH 0xff
62+
#define SYNCWORDL 0xf0
63+
64+
typedef struct _MP3DecInfo {
65+
/* pointers to platform-specific data structures */
66+
void *FrameHeaderPS;
67+
void *SideInfoPS;
68+
void *ScaleFactorInfoPS;
69+
void *HuffmanInfoPS;
70+
void *DequantInfoPS;
71+
void *IMDCTInfoPS;
72+
void *SubbandInfoPS;
73+
74+
/* buffer which must be large enough to hold largest possible main_data section */
75+
unsigned char mainBuf[MAINBUF_SIZE];
76+
77+
/* special info for "free" bitrate files */
78+
int freeBitrateFlag;
79+
int freeBitrateSlots;
80+
81+
/* user-accessible info */
82+
int bitrate;
83+
int nChans;
84+
int samprate;
85+
int nGrans; /* granules per frame */
86+
int nGranSamps; /* samples per granule */
87+
int nSlots;
88+
int layer;
89+
MPEGVersion version;
90+
91+
int mainDataBegin;
92+
int mainDataBytes;
93+
94+
int part23Length[MAX_NGRAN][MAX_NCHAN];
95+
96+
} MP3DecInfo;
97+
98+
typedef struct _SFBandTable {
99+
short l[23];
100+
short s[14];
101+
} SFBandTable;
102+
103+
/* decoder functions which must be implemented for each platform */
104+
MP3DecInfo *AllocateBuffers(void);
105+
void FreeBuffers(MP3DecInfo *mp3DecInfo);
106+
int CheckPadBit(MP3DecInfo *mp3DecInfo);
107+
int UnpackFrameHeader(MP3DecInfo *mp3DecInfo, unsigned char *buf);
108+
int UnpackSideInfo(MP3DecInfo *mp3DecInfo, unsigned char *buf);
109+
int DecodeHuffman(MP3DecInfo *mp3DecInfo, unsigned char *buf, int *bitOffset, int huffBlockBits, int gr, int ch);
110+
int Dequantize(MP3DecInfo *mp3DecInfo, int gr);
111+
int IMDCT(MP3DecInfo *mp3DecInfo, int gr, int ch);
112+
int UnpackScaleFactors(MP3DecInfo *mp3DecInfo, unsigned char *buf, int *bitOffset, int bitsAvail, int gr, int ch);
113+
int Subband(MP3DecInfo *mp3DecInfo, short *pcmBuf);
114+
115+
/* mp3tabs.c - global ROM tables */
116+
extern const int samplerateTab[3][3];
117+
extern const short bitrateTab[3][3][15];
118+
extern const short samplesPerFrameTab[3][3];
119+
extern const short bitsPerSlotTab[3];
120+
extern const short sideBytesTab[3][2];
121+
extern const short slotTab[3][3][15];
122+
extern const SFBandTable sfBandTable[3][3];
123+
124+
#endif /* _MP3COMMON_H */

0 commit comments

Comments
 (0)