forked from len0rd/rockbox
Sync opus codec to upstream git
Change-Id: I0cfcc0005c4ad7bfbb1aaf454188ce70fb043dc1
This commit is contained in:
parent
75d9393796
commit
14c6bb798d
286 changed files with 48931 additions and 1278 deletions
|
@ -30,6 +30,8 @@
|
|||
|
||||
#include "ogg/ogg.h"
|
||||
|
||||
#define OPUS_DEMIXING_MATRIX_SIZE_MAX (18 * 18 * 2)
|
||||
|
||||
typedef struct {
|
||||
int version;
|
||||
int channels; /* Number of channels: 1..255 */
|
||||
|
@ -41,10 +43,10 @@ typedef struct {
|
|||
int nb_streams;
|
||||
int nb_coupled;
|
||||
unsigned char stream_map[255];
|
||||
unsigned char dmatrix[OPUS_DEMIXING_MATRIX_SIZE_MAX];
|
||||
} OpusHeader;
|
||||
|
||||
int opus_header_parse(const unsigned char *header, int len, OpusHeader *h);
|
||||
int opus_header_to_packet(const OpusHeader *h, unsigned char *packet, int len);
|
||||
|
||||
extern const int wav_permute_matrix[8][8];
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue