/third_party/alsa-lib/src/pcm/ |
H A D | pcm_misc.c | 406 * \brief Return 64 bit expressing silence for a PCM sample format 408 * \return silence 64 bit word 568 * \brief Return 32 bit expressing silence for a PCM sample format 570 * \return silence 32 bit word 579 * \brief Return 16 bit expressing silence for a PCM sample format 581 * \return silence 16 bit word 590 * \brief Return 8 bit expressing silence for a PCM sample format 592 * \return silence 8 bit word 613 uint8_t silence = snd_pcm_format_silence_64(format); in snd_pcm_format_set_silence() local 618 memset(data, silence, samples in snd_pcm_format_set_silence() 622 uint8_t silence = snd_pcm_format_silence_64(format); snd_pcm_format_set_silence() local 627 uint16_t silence = snd_pcm_format_silence_64(format); snd_pcm_format_set_silence() local 638 uint32_t silence = snd_pcm_format_silence_64(format); snd_pcm_format_set_silence() local 658 uint32_t silence = snd_pcm_format_silence_64(format); snd_pcm_format_set_silence() local 669 uint64_t silence = snd_pcm_format_silence_64(format); snd_pcm_format_set_silence() local [all...] |
H A D | pcm.c | 393 The silence threshold specifies the count of frames before an underrun when the 394 buffer gets filled with frames of silence according to the silence size parameter 3140 * \param samples samples to silence 3151 uint64_t silence; in snd_pcm_area_silence() local 3156 silence = snd_pcm_format_silence_64(format); in snd_pcm_area_silence() 3168 *dstp++ = silence; in snd_pcm_area_silence() 3176 uint8_t s0 = silence & 0xf0; in snd_pcm_area_silence() 3177 uint8_t s1 = silence & 0x0f; in snd_pcm_area_silence() 3198 uint8_t sil = silence; in snd_pcm_area_silence() [all...] |
/third_party/pulseaudio/src/tests/ |
H A D | memblockq-test.c | 187 pa_memchunk silence; in START_TEST() local 203 silence = memchunk_from_str(p, "__"); in START_TEST() 205 bq = pa_memblockq_new("test memblockq", idx, maxlength, tlength, &ss, prebuf, minreq, maxrewind, &silence); in START_TEST() 230 pa_memblock_unref(silence.memblock); in START_TEST() 241 pa_memchunk silence; in START_TEST() local 251 silence = memchunk_from_str(p, "__"); in START_TEST() 253 bq = pa_memblockq_new("test memblockq", 0, 200, 10, &ss, 4, 4, 40, &silence); in START_TEST() 327 pa_memblock_unref(silence.memblock); in START_TEST() 340 pa_memchunk silence, data; in START_TEST() local 356 silence in START_TEST() 402 pa_memchunk silence, data, chunk; START_TEST() local [all...] |
H A D | connect-stress.c | 124 char silence[8192]; in stream_write_callback() local 126 memset(silence, 0, sizeof(silence)); in stream_write_callback() 129 int n = PA_MIN(sizeof(silence), nbytes); in stream_write_callback() 130 pa_stream_write(stream, silence, n, NULL, 0, 0); in stream_write_callback()
|
/third_party/pulseaudio/src/pulsecore/ |
H A D | play-memchunk.c | 44 pa_memchunk silence; in pa_play_memchunk() local 50 pa_silence_memchunk_get(&sink->core->silence_cache, sink->core->mempool, &silence, ss, 0); in pa_play_memchunk() 51 q = pa_memblockq_new("pa_play_memchunk() q", 0, chunk->length, 0, ss, 1, 1, 0, &silence); in pa_play_memchunk() 52 pa_memblock_unref(silence.memblock); in pa_play_memchunk()
|
H A D | memblockq.c | 46 pa_memchunk *silence) { in pa_memblockq_new() 74 if (silence) { in pa_memblockq_new() 75 bq->silence = *silence; in pa_memblockq_new() 76 pa_memblock_ref(bq->silence.memblock); in pa_memblockq_new() 89 if (bq->silence.memblock) in pa_memblockq_free() 90 pa_memblock_unref(bq->silence.memblock); in pa_memblockq_free() 417 /* Do we need to spit out silence? */ in pa_memblockq_peek() 421 /* How much silence shall we return? */ in pa_memblockq_peek() 429 /* We need to return silence, sinc in pa_memblockq_peek() 37 pa_memblockq_new( const char *name, int64_t idx, size_t maxlength, size_t tlength, const pa_sample_spec *sample_spec, size_t prebuf, size_t minreq, size_t maxrewind, pa_memchunk *silence) pa_memblockq_new() argument 913 pa_memblockq_set_silence(pa_memblockq *bq, pa_memchunk *silence) pa_memblockq_set_silence() argument [all...] |
H A D | sound-file-stream.c | 239 pa_memchunk silence; in pa_play_file() local 321 pa_sink_input_get_silence(u->sink_input, &silence); in pa_play_file() 322 u->memblockq = pa_memblockq_new("sound-file-stream memblockq", 0, MEMBLOCKQ_MAXLENGTH, 0, &ss, 1, 1, 0, &silence); in pa_play_file() 323 pa_memblock_unref(silence.memblock); in pa_play_file()
|
H A D | memblockq.h | 61 to 0 pa_memblockq_pop() will return a silence memblock 70 - silence: return this memchunk when reading uninitialized data 81 pa_memchunk *silence); 98 pa_memchunk silence; member 170 * fail: 1. prebuffering is active, 2. queue is empty and no silence 172 * but we're currently at a hole in the queue and no silence memblock 178 * silence memchunk for this memblockq if you use this call. */ 184 /* Rewind the read index. If the history is shorter than the specified length we'll point to silence afterwards. */ 200 /* Set the queue to silence, set write index to read index */ 203 /* Set the queue to silence, se [all...] |
H A D | protocol-simple.c | 523 pa_memchunk silence; in pa_simple_protocol_connect() local 558 pa_sink_input_get_silence(c->sink_input, &silence); in pa_simple_protocol_connect() 568 &silence); in pa_simple_protocol_connect() 569 pa_memblock_unref(silence.memblock); in pa_simple_protocol_connect()
|
/third_party/gptfdisk/ |
H A D | sgdisk.cc | 38 int silence = open("/dev/null", 0); in ohos_dump() local 39 dup2(silence, STDOUT_FILENO); in ohos_dump() 40 dup2(silence, STDERR_FILENO); in ohos_dump()
|
/third_party/ffmpeg/libavcodec/ |
H A D | opusenc_psy.c | 81 int silence = 0, ch, i, j; in step_collect_psy_metrics() local 117 silence |= !!st->energy[ch][i]; in step_collect_psy_metrics() 129 st->silence = !silence; in step_collect_psy_metrics() 189 if (!s->steps[silent_frames]->silence) in flush_silent_frames() 216 if (s->steps[0]->silence && flush_silent_frames(s)) in psy_output_groups() 258 int silence = 1; in ff_opus_psy_celt_frame_init() local 266 silence &= s->steps[index*(1 << f->size) + i]->silence; in ff_opus_psy_celt_frame_init() 268 f->silence in ff_opus_psy_celt_frame_init() [all...] |
H A D | dsddec.c | 39 * out completely by any playback system --> silence 46 uint8_t silence; in decode_init() local 57 silence = avctx->codec_id == AV_CODEC_ID_DSD_LSBF || avctx->codec_id == AV_CODEC_ID_DSD_LSBF_PLANAR ? DSD_SILENCE_REVERSED : DSD_SILENCE; in decode_init() 60 memset(s[i].buf, silence, sizeof(s[i].buf)); in decode_init()
|
H A D | opus_celt.c | 339 f->silence = 0; in ff_celt_decode_frame() 366 /* obtain silence flag */ in ff_celt_decode_frame() 368 f->silence = 1; in ff_celt_decode_frame() 370 f->silence = ff_opus_rc_dec_log(rc, 15); in ff_celt_decode_frame() 373 if (f->silence) { in ff_celt_decode_frame() 424 if (f->silence) { in ff_celt_decode_frame()
|
H A D | opusenc_psy.h | 34 int silence; member
|
H A D | opus.h | 159 int silence; member
|
H A D | opus_celt.h | 117 int silence; /* Frame is filled with silence */ member
|
/third_party/mesa3d/src/mapi/glapi/gen/ |
H A D | gl_apitemp.py | 67 silence = '' 83 silence += "%s(void) %s;" % (space, p.name); 105 if silence: 106 print(' %s' % (silence)) 214 * This is just used to silence compiler warnings.
|
/third_party/ffmpeg/libswresample/ |
H A D | swresample.c | 158 free_temp(&s->silence); in clear_context() 432 s->silence = s->in; in swr_init() 957 if((ret=swri_realloc_audio(&s->silence, count))<0) in swr_inject_silence() 960 if(s->silence.planar) for(i=0; i<s->silence.ch_count; i++) { in swr_inject_silence() 961 memset(s->silence.ch[i], s->silence.bps==1 ? 0x80 : 0, count*s->silence.bps); in swr_inject_silence() 963 memset(s->silence.ch[0], s->silence in swr_inject_silence() [all...] |
H A D | audioconvert.h | 45 uint8_t silence[8]; ///< silence input sample member
|
H A D | audioconvert.c | 168 memset(ctx->silence, 0x80, sizeof(ctx->silence)); in swri_audio_convert_alloc() 243 const uint8_t *pi= ich < 0 ? ctx->silence : in->ch[ich]; in swri_audio_convert()
|
/third_party/ffmpeg/libavfilter/ |
H A D | af_silenceremove.c | 114 { "start_periods", "set periods of silence parts to skip from start", OFFSET(start_periods), AV_OPT_TYPE_INT, {.i64=0}, 0, 9000, AF }, 115 { "start_duration", "set start duration of non-silence part", OFFSET(start_duration_opt), AV_OPT_TYPE_DURATION, {.i64=0}, 0, INT32_MAX, AF }, 116 { "start_threshold", "set threshold for start silence detection", OFFSET(start_threshold), AV_OPT_TYPE_DOUBLE, {.dbl=0}, 0, DBL_MAX, AF }, 117 { "start_silence", "set start duration of silence part to keep", OFFSET(start_silence_opt), AV_OPT_TYPE_DURATION, {.i64=0}, 0, INT32_MAX, AF }, 121 { "stop_periods", "set periods of silence parts to skip from end", OFFSET(stop_periods), AV_OPT_TYPE_INT, {.i64=0}, -9000, 9000, AF }, 122 { "stop_duration", "set stop duration of non-silence part", OFFSET(stop_duration_opt), AV_OPT_TYPE_DURATION, {.i64=0}, 0, INT32_MAX, AF }, 123 { "stop_threshold", "set threshold for stop silence detection", OFFSET(stop_threshold), AV_OPT_TYPE_DOUBLE, {.dbl=0}, 0, DBL_MAX, AF }, 124 { "stop_silence", "set stop duration of silence part to keep", OFFSET(stop_silence_opt), AV_OPT_TYPE_DURATION, {.i64=0}, 0, INT32_MAX, AF }, 126 { "detection", "set how silence is detected", OFFSET(detection), AV_OPT_TYPE_INT, {.i64=D_RMS}, D_PEAK,D_RMS, AF, "detection" }, 129 { "window", "set duration of window for silence detectio 557 AVFrame *silence; flush() local [all...] |
/third_party/pulseaudio/src/modules/ |
H A D | module-virtual-sink.c | 487 pa_memchunk silence; in pa__init() local 616 pa_sink_input_get_silence(u->sink_input, &silence); in pa__init() 617 u->memblockq = pa_memblockq_new("module-virtual-sink memblockq", 0, MEMBLOCKQ_MAXLENGTH, 0, &ss, 1, 1, 0, &silence); in pa__init() 618 pa_memblock_unref(silence.memblock); in pa__init()
|
H A D | module-virtual-surround-sink.c | 714 pa_memchunk silence; in pa__init() local 931 pa_sink_input_get_silence(u->sink_input, &silence); in pa__init() 947 /* add silence to the hrir until we get enough samples out of the resampler */ in pa__init() 1131 u->memblockq_sink = pa_memblockq_new("module-virtual-surround-sink memblockq (input)", 0, MEMBLOCKQ_MAXLENGTH, sink_bytes(u, BLOCK_SIZE), &ss_input, 0, 0, sink_bytes(u, u->fftlen), &silence); in pa__init() 1132 pa_memblock_unref(silence.memblock); in pa__init()
|
/third_party/pulseaudio/src/modules/rtp/ |
H A D | module-rtp-recv.c | 479 pa_memchunk silence; in session_new() local 552 pa_sink_input_get_silence(s->sink_input, &silence); in session_new() 568 &silence); in session_new() 570 pa_memblock_unref(silence.memblock); in session_new()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/hs20/client/ |
H A D | Makefile | 17 TEST_WK := $(shell pkg-config --silence-errors --cflags webkitgtk-3.0)
|