Home
last modified time | relevance | path

Searched refs:FRAME_SIZE (Results 1 – 23 of 23) sorted by relevance

/external/rnnoise/src/
Ddenoise.c45 #define FRAME_SIZE (120<<FRAME_SIZE_SHIFT) macro
46 #define WINDOW_SIZE (2*FRAME_SIZE)
47 #define FREQ_SIZE (FRAME_SIZE + 1)
82 float half_window[FRAME_SIZE];
87 float analysis_mem[FRAME_SIZE];
90 float synthesis_mem[FRAME_SIZE];
171 common.kfft = opus_fft_alloc_twiddles(2*FRAME_SIZE, NULL, NULL, NULL, 0); in check_init()
172 for (i=0;i<FRAME_SIZE;i++) in check_init()
173 …common.half_window[i] = sin(.5*M_PI*sin(.5*M_PI*(i+.5)/FRAME_SIZE) * sin(.5*M_PI*(i+.5)/FRAME_SIZE in check_init()
250 for (i=0;i<FRAME_SIZE;i++) { in apply_window()
[all …]
/external/rnnoise/examples/
Drnnoise_demo.c31 #define FRAME_SIZE 480 macro
36 float x[FRAME_SIZE]; in main()
47 short tmp[FRAME_SIZE]; in main()
48 fread(tmp, sizeof(short), FRAME_SIZE, f1); in main()
50 for (i=0;i<FRAME_SIZE;i++) x[i] = tmp[i]; in main()
52 for (i=0;i<FRAME_SIZE;i++) tmp[i] = x[i]; in main()
53 if (!first) fwrite(tmp, sizeof(short), FRAME_SIZE, fout); in main()
/external/crosvm/common/audio_streams/src/
Daudio_streams.rs839 const FRAME_SIZE: usize = NUM_CHANNELS * 2; in audio_buffer_copy_from() constant
840 let mut dst_buf = [0u8; PERIOD_SIZE * FRAME_SIZE]; in audio_buffer_copy_from()
841 let src_buf = [0xa5u8; PERIOD_SIZE * FRAME_SIZE]; in audio_buffer_copy_from()
845 frame_size: FRAME_SIZE, in audio_buffer_copy_from()
857 const FRAME_SIZE: usize = NUM_CHANNELS * 2; in audio_buffer_copy_from_repeat() constant
858 let mut dst_buf = [0u8; PERIOD_SIZE * FRAME_SIZE]; in audio_buffer_copy_from_repeat()
862 frame_size: FRAME_SIZE, in audio_buffer_copy_from_repeat()
867 assert_eq!(bytes, PERIOD_SIZE * FRAME_SIZE); in audio_buffer_copy_from_repeat()
868 assert_eq!(dst_buf, [1u8; PERIOD_SIZE * FRAME_SIZE]); in audio_buffer_copy_from_repeat()
875 const FRAME_SIZE: usize = NUM_CHANNELS * 2; in audio_buffer_copy_to() constant
[all …]
Dcapture.rs353 const FRAME_SIZE: usize = 4; in commit() constant
354 let mut buf = [0u8; 480 * FRAME_SIZE]; in commit()
355 let mut cp_buf = CaptureBuffer::new(FRAME_SIZE, &mut buf, &mut test_commit).unwrap(); in commit()
356 let mut local_buf = [0u8; 240 * FRAME_SIZE]; in commit()
357 assert_eq!(cp_buf.read(&mut local_buf).unwrap(), 240 * FRAME_SIZE); in commit()
424 const FRAME_SIZE: usize = 4; in async_commit() constant
425 let mut buf = [0u8; 480 * FRAME_SIZE]; in async_commit()
427 AsyncCaptureBuffer::new(FRAME_SIZE, &mut buf, &mut test_commit).unwrap(); in async_commit()
428 let mut local_buf = [0u8; 240 * FRAME_SIZE]; in async_commit()
429 assert_eq!(cp_buf.read(&mut local_buf).unwrap(), 240 * FRAME_SIZE); in async_commit()
/external/grpc-grpc/test/core/bad_client/tests/
Dhead_of_line_blocking.cc116 #define FRAME_SIZE 1000 in main() macro
120 uint8_t hdr[9] = {static_cast<uint8_t>(FRAME_SIZE >> 16), in main()
121 static_cast<uint8_t>(FRAME_SIZE >> 8), in main()
122 static_cast<uint8_t>(FRAME_SIZE), in main()
129 uint8_t msg[FRAME_SIZE]; in main()
132 addbuf(msg, FRAME_SIZE); in main()
Dwindow_overflow.cc71 #define FRAME_SIZE (MESSAGES_PER_FRAME * 5) in main() macro
73 #define NUM_FRAMES (SEND_SIZE / FRAME_SIZE + 1) in main()
79 uint8_t hdr[9] = {static_cast<uint8_t>(FRAME_SIZE >> 16), in main()
80 static_cast<uint8_t>(FRAME_SIZE >> 8), in main()
82 FRAME_SIZE, in main()
/external/speex/doc/
Dsampleenc.c5 #define FRAME_SIZE 160 macro
10 short in[FRAME_SIZE]; in main()
11 float input[FRAME_SIZE]; in main()
35 fread(in, sizeof(short), FRAME_SIZE, fin); in main()
39 for (i=0;i<FRAME_SIZE;i++) in main()
Dsampledec.c5 #define FRAME_SIZE 160 macro
11 short out[FRAME_SIZE]; in main()
13 float output[FRAME_SIZE]; in main()
52 for (i=0;i<FRAME_SIZE;i++) in main()
56 fwrite(out, sizeof(short), FRAME_SIZE, fout); in main()
/external/libopus/doc/
Dtrivial_example.c39 #define FRAME_SIZE 960 macro
54 opus_int16 in[FRAME_SIZE*CHANNELS]; in main()
119 samples = fread(pcm_bytes, sizeof(short)*CHANNELS, FRAME_SIZE, fin); in main()
125 if (samples != FRAME_SIZE) in main()
131 for (i=0;i<CHANNELS*FRAME_SIZE;i++) in main()
137 nbBytes = opus_encode(encoder, in, FRAME_SIZE, cbits, MAX_PACKET_SIZE); in main()
/external/compiler-rt/test/asan/TestCases/
Duar_and_exceptions.cc9 #ifndef FRAME_SIZE
10 # define FRAME_SIZE 100 macro
22 char frame[FRAME_SIZE]; in Func()
/external/python/cpython2/Modules/_ctypes/libffi/src/ia64/
Dunix.S279 #define FRAME_SIZE (8*16 + 8*8 + 8*16) macro
285 .fframe FRAME_SIZE
286 add r12 = -FRAME_SIZE, r12
374 add sp = FRAME_SIZE, sp
382 add sp = FRAME_SIZE, sp
390 add sp = FRAME_SIZE, sp
398 add sp = FRAME_SIZE, sp
406 add sp = FRAME_SIZE, sp
424 add sp = FRAME_SIZE, sp
452 add sp = FRAME_SIZE, sp
[all …]
/external/libffi/src/ia64/
Dunix.S284 #define FRAME_SIZE (8*16 + 8*8 + 8*16) macro
290 .fframe FRAME_SIZE
291 add r12 = -FRAME_SIZE, r12
379 add sp = FRAME_SIZE, sp
387 add sp = FRAME_SIZE, sp
395 add sp = FRAME_SIZE, sp
403 add sp = FRAME_SIZE, sp
411 add sp = FRAME_SIZE, sp
429 add sp = FRAME_SIZE, sp
457 add sp = FRAME_SIZE, sp
[all …]
/external/google-breakpad/src/common/linux/
Dbreakpad_getcontext.S258 FRAME_SIZE = ((LOCALS_NUM * SZREG) + ALSZ) & ALMASK define
260 GP_FRAME_OFFSET = FRAME_SIZE - (1 * SZREG)
265 NESTED (breakpad_getcontext, FRAME_SIZE, ra)
276 addiu sp, -FRAME_SIZE
312 addiu sp, FRAME_SIZE
341 NESTED (breakpad_getcontext, FRAME_SIZE, ra)
350 daddiu sp, -FRAME_SIZE
395 daddiu sp, FRAME_SIZE
/external/python/cpython2/Modules/_ctypes/libffi/src/tile/
Dtile.S83 #define FRAME_SIZE r10 macro
100 addi FRAME_SIZE, STACK_ARG_BYTES, \
105 andi FRAME_SIZE, FRAME_SIZE, -8
117 sub sp, sp, FRAME_SIZE
/external/libffi/src/tile/
Dtile.S83 #define FRAME_SIZE r10 macro
100 addi FRAME_SIZE, STACK_ARG_BYTES, \
105 andi FRAME_SIZE, FRAME_SIZE, -8
117 sub sp, sp, FRAME_SIZE
/external/kernel-headers/original/uapi/asm-x86/asm/
Dptrace-abi.h24 #define FRAME_SIZE 17 macro
63 #define FRAME_SIZE 168 macro
/external/arm-optimized-routines/string/arm/
Dmemcpy.S30 # define FRAME_SIZE 4 macro
38 # define FRAME_SIZE 32 macro
43 # define FRAME_SIZE 32 macro
212 str tmp2, [sp, #-FRAME_SIZE]!
318 ldr tmp2,[sp], #FRAME_SIZE
362 ldr tmp2, [sp], #FRAME_SIZE
477 ldr tmp2, [sp], #FRAME_SIZE
502 ldrlo tmp2, [sp], #FRAME_SIZE
583 ldr tmp2, [sp], #FRAME_SIZE
/external/ltp/testcases/cve/
Dstack_clash.c43 #define FRAME_SIZE 1024 macro
50 volatile char * ptr = alloca(FRAME_SIZE - sizeof(long)); in exhaust_stack_into_sigsegv()
/external/libxaac/decoder/drc_src/
Dimpd_drc_definitions.h32 #define FRAME_SIZE 512 macro
/external/speex/ti/
Dconfig.h35 #define FRAME_SIZE 160 macro
/external/libxaac/decoder/
Dixheaacd_aacdec.h25 #define FRAME_SIZE 1024 macro
Dixheaacd_headerdecode.c508 aac_state_struct->frame_length = FRAME_SIZE; in ixheaacd_ga_hdr_dec()
681 aac_state_struct->frame_length = FRAME_SIZE; in ixheaacd_ga_hdr_dec()
1066 aac_state_struct->frame_length = FRAME_SIZE; in ixheaacd_aac_headerdecode()
1115 aac_state_struct->frame_length = FRAME_SIZE; in ixheaacd_aac_headerdecode()
Dixheaacd_drc_freq_dec.c570 pstr_drc_data->n_mdct_bands[0] = FRAME_SIZE; in ixheaacd_drc_dec_create()
648 pstr_bs_data->drc_band_top[0] = FRAME_SIZE / 4 - 1; in ixheaacd_drc_element_read()