Home
last modified time | relevance | path

Searched refs:opus_uint32 (Results 1 – 25 of 45) sorted by relevance

12

/external/libopus/celt/
Dcwrs.c45 int log2_frac(opus_uint32 val, int frac) in log2_frac()
211 static const opus_uint32 CELT_PVQ_U_DATA[1488]={
213 static const opus_uint32 CELT_PVQ_U_DATA[1272]={
413 static const opus_uint32 *const CELT_PVQ_U_ROW[15]={
421 static const opus_uint32 *const CELT_PVQ_U_ROW[15]={
440 static opus_uint32 icwrs(int _n,const int *_y){ in icwrs()
441 opus_uint32 i; in icwrs()
463 static opus_val32 cwrsi(int _n,int _k,opus_uint32 _i,int *_y){ in cwrsi()
464 opus_uint32 p; in cwrsi()
472 opus_uint32 q; in cwrsi()
[all …]
Dentcode.h37 extern const opus_uint32 SMALL_DIV_TABLE[129];
45 typedef opus_uint32 ec_window;
66 opus_uint32 storage;
68 opus_uint32 end_offs;
77 opus_uint32 offs;
79 opus_uint32 rng;
83 opus_uint32 val;
86 opus_uint32 ext;
93 static OPUS_INLINE opus_uint32 ec_range_bytes(ec_ctx *_this){ in ec_range_bytes()
121 opus_uint32 ec_tell_frac(ec_ctx *_this);
[all …]
Dentdec.c119 void ec_dec_init(ec_dec *_this,unsigned char *_buf,opus_uint32 _storage){ in ec_dec_init()
154 opus_uint32 s; in ec_dec_update()
163 opus_uint32 r; in ec_dec_bit_logp()
164 opus_uint32 d; in ec_dec_bit_logp()
165 opus_uint32 s; in ec_dec_bit_logp()
178 opus_uint32 r; in ec_dec_icdf()
179 opus_uint32 d; in ec_dec_icdf()
180 opus_uint32 s; in ec_dec_icdf()
181 opus_uint32 t; in ec_dec_icdf()
198 opus_uint32 ec_dec_uint(ec_dec *_this,opus_uint32 _ft){ in ec_dec_uint()
[all …]
Dentcode.c41 int ec_ilog(opus_uint32 _v){ in ec_ilog()
69 opus_uint32 ec_tell_frac(ec_ctx *_this){ in ec_tell_frac()
73 opus_uint32 nbits; in ec_tell_frac()
74 opus_uint32 r; in ec_tell_frac()
86 opus_uint32 ec_tell_frac(ec_ctx *_this){ in ec_tell_frac()
87 opus_uint32 nbits; in ec_tell_frac()
88 opus_uint32 r; in ec_tell_frac()
119 const opus_uint32 SMALL_DIV_TABLE[129] = {
Dentenc.c112 void ec_enc_init(ec_enc *_this,unsigned char *_buf,opus_uint32 _size){ in ec_enc_init()
129 opus_uint32 r; in ec_encode()
140 opus_uint32 r; in ec_encode_bin()
152 opus_uint32 r; in ec_enc_bit_logp()
153 opus_uint32 s; in ec_enc_bit_logp()
154 opus_uint32 l; in ec_enc_bit_logp()
165 opus_uint32 r; in ec_enc_icdf()
175 void ec_enc_uint(ec_enc *_this,opus_uint32 _fl,opus_uint32 _ft){ in ec_enc_uint()
188 ec_enc_bits(_this,_fl&(((opus_uint32)1<<ftb)-1U),ftb); in ec_enc_uint()
193 void ec_enc_bits(ec_enc *_this,opus_uint32 _fl,unsigned _bits){ in ec_enc_bits()
[all …]
Dentenc.h36 void ec_enc_init(ec_enc *_this,unsigned char *_buf,opus_uint32 _size);
71 void ec_enc_uint(ec_enc *_this,opus_uint32 _fl,opus_uint32 _ft);
77 void ec_enc_bits(ec_enc *_this,opus_uint32 _fl,unsigned _ftb);
103 void ec_enc_shrink(ec_enc *_this,opus_uint32 _size);
Dentdec.h36 void ec_dec_init(ec_dec *_this,unsigned char *_buf,opus_uint32 _storage);
90 opus_uint32 ec_dec_uint(ec_dec *_this,opus_uint32 _ft);
98 opus_uint32 ec_dec_bits(ec_dec *_this,unsigned _ftb);
Dbands.h110 opus_int32 balance, ec_ctx *ec, int M, int codedBands, opus_uint32 *seed,
116 const opus_val16 *prev2logE, const int *pulses, opus_uint32 seed,
119 opus_uint32 celt_lcg_rand(opus_uint32 seed);
Dfixed_generic.h90 #define SHL32(a,shift) ((opus_int32)((opus_uint32)(a)<<(shift)))
124 #define ADD32_ovflw(a,b) ((opus_val32)((opus_uint32)(a)+(opus_uint32)(b)))
126 #define SUB32_ovflw(a,b) ((opus_val32)((opus_uint32)(a)-(opus_uint32)(b)))
129 #define NEG32_ovflw(a) ((opus_val32)(0-(opus_uint32)(a)))
Dmathops.c43 unsigned isqrt32(opus_uint32 _val){ in isqrt32()
55 opus_uint32 t; in isqrt32()
56 t=(((opus_uint32)g<<1)+b)<<bshift; in isqrt32()
Dmathops.h46 unsigned isqrt32(opus_uint32 _val);
136 opus_uint32 i; in celt_log2()
154 opus_uint32 i; in celt_exp2()
Dquant_bands.c262 const opus_val16 *eBands, opus_val16 *oldEBands, opus_uint32 budget, in quant_coarse_energy()
271 opus_uint32 tell; in quant_coarse_energy()
313 opus_uint32 nstart_bytes; in quant_coarse_energy()
314 opus_uint32 nintra_bytes; in quant_coarse_energy()
315 opus_uint32 save_bytes; in quant_coarse_energy()
Dmfrngcod.h43 # define EC_CODE_TOP (((opus_uint32)1U)<<(EC_CODE_BITS-1))
/external/libopus/include/
Dopus_types.h56 typedef uint32_t opus_uint32; typedef
64 typedef _G_uint32_t opus_uint32; typedef
71 typedef unsigned int opus_uint32; typedef
74 typedef unsigned int opus_uint32; typedef
80 typedef unsigned __int32 opus_uint32; typedef
91 typedef UInt32 opus_uint32; typedef
99 typedef u_int32_t opus_uint32; typedef
108 typedef u_int32_t opus_uint32; typedef
116 typedef unsigned int opus_uint32; typedef
124 typedef unsigned int opus_uint32; typedef
[all …]
/external/libopus/celt/tests/
Dtest_unit_cwrs32.c99 opus_uint32 uu[KMAX+2U]; in main()
101 opus_uint32 inc; in main()
102 opus_uint32 nc; in main()
103 opus_uint32 i; in main()
116 opus_uint32 u[KMAX+2U]; in main()
120 opus_uint32 v; in main()
121 opus_uint32 ii; in main()
/external/libopus/silk/
DMacroCount.h62 static OPUS_INLINE opus_uint32 silk_MUL_uint(opus_uint32 a32, opus_uint32 b32){ in silk_MUL_uint()
63 opus_uint32 ret; in silk_MUL_uint()
77 static OPUS_INLINE opus_int32 silk_MLA_uint(opus_uint32 a32, opus_uint32 b32, opus_uint32 c32){ in silk_MLA_uint()
78 opus_uint32 ret; in silk_MLA_uint()
356 static OPUS_INLINE opus_uint32 silk_LSHIFT_uint(opus_uint32 a, opus_int32 shift){ in silk_LSHIFT_uint()
357 opus_uint32 ret; in silk_LSHIFT_uint()
385 static OPUS_INLINE opus_uint32 silk_RSHIFT_uint(opus_uint32 a, opus_int32 shift){ in silk_RSHIFT_uint()
405 static OPUS_INLINE opus_uint32 silk_ADD_LSHIFT_uint(opus_uint32 a, opus_uint32 b, opus_int32 shift){ in silk_ADD_LSHIFT_uint()
406 opus_uint32 ret; in silk_ADD_LSHIFT_uint()
426 static OPUS_INLINE opus_uint32 silk_ADD_RSHIFT_uint(opus_uint32 a, opus_uint32 b, opus_int32 shift){ in silk_ADD_RSHIFT_uint()
[all …]
DMacroDebug.h152 res = ((((opus_uint32)(a32) + (opus_uint32)(b32)) & 0x80000000) == 0 ? \ in silk_ADD_SAT32_()
213 res = ((((opus_uint32)(a32)-(opus_uint32)(b32)) & 0x80000000) == 0 ? \ in silk_SUB_SAT32_()
274 static OPUS_INLINE opus_uint32 silk_MUL_uint_(opus_uint32 a32, opus_uint32 b32, char *file, int lin… in silk_MUL_uint_()
275 opus_uint32 ret; in silk_MUL_uint_()
304 static OPUS_INLINE opus_int32 silk_MLA_uint_(opus_uint32 a32, opus_uint32 b32, opus_uint32 c32, cha… in silk_MLA_uint_()
305 opus_uint32 ret; in silk_MLA_uint_()
635 static OPUS_INLINE opus_uint32 silk_LSHIFT_uint_(opus_uint32 a, opus_int32 shift, char *file, int l… in silk_LSHIFT_uint_()
636 opus_uint32 ret; in silk_LSHIFT_uint_()
702 static OPUS_INLINE opus_uint32 silk_RSHIFT_uint_(opus_uint32 a, opus_int32 shift, char *file, int l… in silk_RSHIFT_uint_()
745 static OPUS_INLINE opus_uint32 silk_ADD_LSHIFT_uint_(opus_uint32 a, opus_uint32 b, opus_int32 shift… in silk_ADD_LSHIFT_uint_()
[all …]
DSigProc_FIX.h400 opus_uint32 x = (opus_uint32) a32; in silk_ROR32()
401 opus_uint32 r = (opus_uint32) rot; in silk_ROR32()
402 opus_uint32 m = (opus_uint32) -rot; in silk_ROR32()
524 #define silk_LSHIFT32(a, shift) ((opus_int32)((opus_uint32)(a)<<(shift))) /* shif…
538 #define silk_LSHIFT_ovflw(a, shift) ((opus_int32)((opus_uint32)(a) << (shift))) /* shif…
/external/libopus/celt/arm/
Darmcpu.c53 static OPUS_INLINE opus_uint32 opus_cpu_capabilities(void){ in opus_cpu_capabilities()
54 opus_uint32 flags; in opus_cpu_capabilities()
96 opus_uint32 opus_cpu_capabilities(void) in opus_cpu_capabilities()
98 opus_uint32 flags = 0; in opus_cpu_capabilities()
159 opus_uint32 flags = opus_cpu_capabilities(); in opus_select_arch()
/external/libopus/src/
Drepacketizer_demo.c44 static void int_to_char(opus_uint32 i, unsigned char ch[4]) in int_to_char()
52 static opus_uint32 char_to_int(unsigned char ch[4]) in char_to_int()
54 return ((opus_uint32)ch[0]<<24) | ((opus_uint32)ch[1]<<16) in char_to_int()
55 | ((opus_uint32)ch[2]<< 8) | (opus_uint32)ch[3]; in char_to_int()
Dopus_demo.c68 static void int_to_char(opus_uint32 i, unsigned char ch[4]) in int_to_char()
76 static opus_uint32 char_to_int(unsigned char ch[4]) in char_to_int()
78 return ((opus_uint32)ch[0]<<24) | ((opus_uint32)ch[1]<<16) in char_to_int()
79 | ((opus_uint32)ch[2]<< 8) | (opus_uint32)ch[3]; in char_to_int()
247 opus_uint32 enc_final_range[2]; in main()
248 opus_uint32 dec_final_range; in main()
/external/libopus/tests/
Dopus_decode_fuzzer.c93 len = (opus_uint32) data[i ] << 24 | in LLVMFuzzerTestOneInput()
94 (opus_uint32) data[i + 1] << 16 | in LLVMFuzzerTestOneInput()
95 (opus_uint32) data[i + 2] << 8 | in LLVMFuzzerTestOneInput()
96 (opus_uint32) data[i + 3]; in LLVMFuzzerTestOneInput()
Dtest_opus_common.h56 static opus_uint32 Rz, Rw;
57 static OPUS_INLINE opus_uint32 fast_rand(void) in fast_rand()
63 static opus_uint32 iseed;
Dtest_opus_decode.c61 opus_uint32 dec_final_range1,dec_final_range2,dec_final_acc; in test_decoder_code0()
244 static const opus_uint32 cres[4]={116290185,2172123586u,2172123586u,2172123586u}; in test_decoder_code0()
245 static const opus_uint32 lres[3]={3285687739u,1481572662,694350475}; in test_decoder_code0()
353 opus_uint32 tseeds[1]={140441}; in test_decoder_code0()
446 else iseed=(opus_uint32)time(NULL)^(((opus_uint32)getpid()&65535)<<16); in main()
Dtest_opus_encode.c69 opus_uint32 r; in generate_music()
88 static void int_to_char(opus_uint32 i, unsigned char ch[4])
96 static OPUS_INLINE void save_packet(unsigned char* p, int len, opus_uint32 rng)
289 opus_uint32 enc_final_range; in run_test1()
290 opus_uint32 dec_final_range; in run_test1()
558 opus_uint32 dec_final_range2; in run_test1()
655 else iseed=(opus_uint32)time(NULL)^(((opus_uint32)getpid()&65535)<<16); in main()

12