/third_party/ffmpeg/libavcodec/ |
D | mpc7.c | 183 Band *bands = c->bands; in mpc7_decode_frame() local 187 memset(bands, 0, sizeof(*bands) * (c->maxbands + 1)); in mpc7_decode_frame() 223 if(t == 4) bands[i].res[ch] = get_bits(&gb, 4); in mpc7_decode_frame() 224 else bands[i].res[ch] = bands[i-1].res[ch] + t; in mpc7_decode_frame() 225 if (bands[i].res[ch] < -1 || bands[i].res[ch] > 17) { in mpc7_decode_frame() 231 if(bands[i].res[0] || bands[i].res[1]){ in mpc7_decode_frame() 233 if(c->MSS) bands[i].msf = get_bits1(&gb); in mpc7_decode_frame() 239 … if(bands[i].res[ch]) bands[i].scfi[ch] = get_vlc2(&gb, scfi_vlc.table, MPC7_SCFI_BITS, 1); in mpc7_decode_frame() 243 if(bands[i].res[ch]){ in mpc7_decode_frame() 244 bands[i].scf_idx[ch][2] = c->oldDSCF[ch][i]; in mpc7_decode_frame() [all …]
|
D | mpc8.c | 189 Band *bands = c->bands; in mpc8_decode_frame() local 230 bands[i].res[ch] = last[ch]; in mpc8_decode_frame() 238 if(bands[i].res[0] || bands[i].res[1]) in mpc8_decode_frame() 243 if(bands[i].res[0] || bands[i].res[1]){ in mpc8_decode_frame() 244 bands[i].msf = mask & 1; in mpc8_decode_frame() 250 bands[i].res[0] = bands[i].res[1] = 0; in mpc8_decode_frame() 258 if(bands[i].res[0] || bands[i].res[1]){ in mpc8_decode_frame() 259 cnt = !!bands[i].res[0] + !!bands[i].res[1] - 1; in mpc8_decode_frame() 262 if(bands[i].res[0]) bands[i].scfi[0] = t >> (2 * cnt); in mpc8_decode_frame() 263 if(bands[i].res[1]) bands[i].scfi[1] = t & 3; in mpc8_decode_frame() [all …]
|
D | mpc.c | 60 Band *bands = c->bands; in ff_mpc_dequantize_and_synth() local 69 if(bands[i].res[ch]){ in ff_mpc_dequantize_and_synth() 71 mul = (mpc_CC+1)[bands[i].res[ch]] * mpc_SCF[bands[i].scf_idx[ch][0] & 0xFF]; in ff_mpc_dequantize_and_synth() 74 mul = (mpc_CC+1)[bands[i].res[ch]] * mpc_SCF[bands[i].scf_idx[ch][1] & 0xFF]; in ff_mpc_dequantize_and_synth() 77 mul = (mpc_CC+1)[bands[i].res[ch]] * mpc_SCF[bands[i].scf_idx[ch][2] & 0xFF]; in ff_mpc_dequantize_and_synth() 82 if(bands[i].msf){ in ff_mpc_dequantize_and_synth()
|
D | psymodel.c | 32 const uint8_t **bands, const int* num_bands, in ff_psy_init() argument 40 ctx->bands = av_malloc_array (sizeof(ctx->bands[0]), num_lens); in ff_psy_init() 44 if (!ctx->ch || !ctx->group || !ctx->bands || !ctx->num_bands) { in ff_psy_init() 49 memcpy(ctx->bands, bands, sizeof(ctx->bands[0]) * num_lens); in ff_psy_init() 87 av_freep(&ctx->bands); in ff_psy_end()
|
D | atrac1.c | 83 float* bands[3]; member 146 q->vector_fmul_window(&q->bands[band_num][start_pos], prev_buf, in at1_imdct_block() 155 memcpy(q->bands[band_num] + 32, &su->spectrum[0][ref_pos + 16], 240 * sizeof(float)); in at1_imdct_block() 264 ff_atrac_iqmf(q->bands[0], q->bands[1], 128, temp, su->fst_qmf_delay, iqmf_temp); in at1_subband_synthesis() 268 memcpy(&su->last_qmf_delay[39], q->bands[2], sizeof(float) * 256); in at1_subband_synthesis() 371 q->bands[0] = q->low; in atrac1_decode_init() 372 q->bands[1] = q->mid; in atrac1_decode_init() 373 q->bands[2] = q->high; in atrac1_decode_init()
|
D | ivi.c | 271 if (planes[p].bands) in ivi_free_buffers() 273 av_freep(&planes[p].bands[b].bufs[0]); in ivi_free_buffers() 274 av_freep(&planes[p].bands[b].bufs[1]); in ivi_free_buffers() 275 av_freep(&planes[p].bands[b].bufs[2]); in ivi_free_buffers() 276 av_freep(&planes[p].bands[b].bufs[3]); in ivi_free_buffers() 278 if (planes[p].bands[b].blk_vlc.cust_tab.table) in ivi_free_buffers() 279 ff_free_vlc(&planes[p].bands[b].blk_vlc.cust_tab); in ivi_free_buffers() 280 for (t = 0; t < planes[p].bands[b].num_tiles; t++) in ivi_free_buffers() 281 av_freep(&planes[p].bands[b].tiles[t].mbs); in ivi_free_buffers() 282 av_freep(&planes[p].bands[b].tiles); in ivi_free_buffers() [all …]
|
D | binkaudio.c | 57 unsigned int bands[26]; member 127 s->bands[0] = 2; in decode_init() 129 s->bands[i] = (ff_wma_critical_freqs[i - 1] * s->frame_len / sample_rate_half) & ~1; in decode_init() 130 s->bands[s->num_bands] = s->frame_len; in decode_init() 224 while (s->bands[k] < i) in decode_block() 228 if (s->bands[k] == i) in decode_block()
|
D | dca_xll.c | 278 for (band = 0, b = c->bands; band < c->nfreqbands; band++, b++) { in chs_parse_header() 401 c->bands[i].msb_sample_buffer[j] = ptr; in chs_alloc_msb_band_data() 416 if (c->bands[i].lsb_section_size) in chs_alloc_lsb_band_data() 428 if (c->bands[i].lsb_section_size) { in chs_alloc_lsb_band_data() 430 c->bands[i].lsb_sample_buffer[j] = ptr; in chs_alloc_lsb_band_data() 435 c->bands[i].lsb_sample_buffer[j] = NULL; in chs_alloc_lsb_band_data() 444 DCAXllBand *b = &c->bands[band]; in chs_parse_band_data() 601 DCAXllBand *b = &c->bands[band]; in chs_clear_band_data() 629 DCAXllBand *b = &c->bands[band]; in chs_filter_band_data() 694 int adj = c->bands[band].bit_width_adjust[ch]; in chs_get_lsb_width() [all …]
|
D | aacpsy.c | 335 const uint8_t *band_sizes = ctx->bands[j]; in psy_3gpp_init() 662 const uint8_t *band_sizes = ctx->bands[wi->num_windows == 8]; in psy_3gpp_analyze_channel() 673 AacPsyBand *bands = &pch->band[w]; in psy_3gpp_analyze_channel() local 676 spread_en[0] = bands[0].energy; in psy_3gpp_analyze_channel() 678 bands[g].thr = FFMAX(bands[g].thr, bands[g-1].thr * coeffs[g].spread_hi[0]); in psy_3gpp_analyze_channel() 679 spread_en[w+g] = FFMAX(bands[g].energy, spread_en[w+g-1] * coeffs[g].spread_hi[1]); in psy_3gpp_analyze_channel() 682 bands[g].thr = FFMAX(bands[g].thr, bands[g+1].thr * coeffs[g].spread_low[0]); in psy_3gpp_analyze_channel() 687 AacPsyBand *band = &bands[g]; in psy_3gpp_analyze_channel()
|
D | aacps_tablegen.h | 73 static av_cold void make_filters_from_proto(float (*filter)[8][2], const float *proto, int bands) in make_filters_from_proto() argument 76 for (q = 0; q < bands; q++) { in make_filters_from_proto() 78 double theta = 2 * M_PI * (q + 0.5) * (n - 6) / bands; in make_filters_from_proto()
|
D | psymodel.h | 98 uint8_t **bands; ///< scalefactor band sizes for possible frame sizes member 158 const uint8_t **bands, const int *num_bands,
|
D | ivi_dsp.c | 45 pitch = plane->bands[0].pitch; in ff_ivi_recompose53() 51 b0_ptr = plane->bands[0].buf; in ff_ivi_recompose53() 52 b1_ptr = plane->bands[1].buf; in ff_ivi_recompose53() 53 b2_ptr = plane->bands[2].buf; in ff_ivi_recompose53() 54 b3_ptr = plane->bands[3].buf; in ff_ivi_recompose53() 198 pitch = plane->bands[0].pitch; in ff_ivi_recompose_haar() 201 b0_ptr = plane->bands[0].buf; in ff_ivi_recompose_haar() 202 b1_ptr = plane->bands[1].buf; in ff_ivi_recompose_haar() 203 b2_ptr = plane->bands[2].buf; in ff_ivi_recompose_haar() 204 b3_ptr = plane->bands[3].buf; in ff_ivi_recompose_haar()
|
D | aacps_fixed_tablegen.h | 96 static void make_filters_from_proto(int (*filter)[8][2], const int *proto, int bands) in make_filters_from_proto() argument 103 if (bands == 4) { in make_filters_from_proto() 108 } else if (bands == 8) { in make_filters_from_proto() 120 for (q = 0; q < bands; q++) { in make_filters_from_proto() 122 int theta = (q*(n-6) + (n>>1) - 3) % bands; in make_filters_from_proto() 125 theta += bands; in make_filters_from_proto()
|
/third_party/ffmpeg/libavfilter/ |
D | af_mcompand.c | 88 CompBand *bands; member 113 if (s->bands) { in uninit() 115 av_freep(&s->bands[i].attack_rate); in uninit() 116 av_freep(&s->bands[i].decay_rate); in uninit() 117 av_freep(&s->bands[i].volume); in uninit() 118 av_freep(&s->bands[i].transfer_fn.segments); in uninit() 119 av_freep(&s->bands[i].filter.previous); in uninit() 120 av_frame_free(&s->bands[i].delay_buf); in uninit() 123 av_freep(&s->bands); in uninit() 354 s->bands = av_calloc(nb_bands, sizeof(*s->bands)); in config_output() [all …]
|
D | af_superequalizer.c | 56 static const float bands[] = { variable 129 param[i].lower = i == 0 ? 0 : bands[i - 1]; in process_param() 130 param[i].upper = i == NBANDS ? fs : bands[i]; in process_param()
|
/third_party/gstreamer/gstplugins_good/gst/equalizer/ |
D | gstiirequalizer.c | 328 ret = g_object_ref (G_OBJECT (equ->bands[index])); in gst_iir_equalizer_child_proxy_get_child_by_index() 391 if (equ->bands[i]) in gst_iir_equalizer_finalize() 392 gst_object_unparent (GST_OBJECT (equ->bands[i])); in gst_iir_equalizer_finalize() 393 equ->bands[i] = NULL; in gst_iir_equalizer_finalize() 397 g_free (equ->bands); in gst_iir_equalizer_finalize() 594 passthrough = passthrough && (equ->bands[i]->gain == 0.0); in set_passthrough() 608 if (equ->bands[i]->type == BAND_TYPE_PEAK) in update_coefficients() 609 setup_peak_filter (equ, equ->bands[i]); in update_coefficients() 610 else if (equ->bands[i]->type == BAND_TYPE_LOW_SHELF) in update_coefficients() 611 setup_low_shelf_filter (equ, equ->bands[i]); in update_coefficients() [all …]
|
/third_party/gstreamer/gstplugins_good/gst/spectrum/ |
D | gstspectrum.c | 199 spectrum->bands = DEFAULT_BANDS; in gst_spectrum_init() 210 guint bands = spectrum->bands; in gst_spectrum_alloc_channel_data() local 211 guint nfft = 2 * bands - 2; in gst_spectrum_alloc_channel_data() 227 cd->freqdata = g_new0 (GstFFTF32Complex, bands); in gst_spectrum_alloc_channel_data() 228 cd->spect_magnitude = g_new0 (gfloat, bands); in gst_spectrum_alloc_channel_data() 229 cd->spect_phase = g_new0 (gfloat, bands); in gst_spectrum_alloc_channel_data() 314 guint bands = g_value_get_uint (value); in gst_spectrum_set_property() local 316 if (filter->bands != bands) { in gst_spectrum_set_property() 317 filter->bands = bands; in gst_spectrum_set_property() 362 g_value_set_uint (value, filter->bands); in gst_spectrum_get_property() [all …]
|
/third_party/gstreamer/gstplugins_good/tests/examples/spectrum/ |
D | demo-audiotest.c | 82 guint bands = spect_bands; in update_spectrum_bands() local 86 bands = ((gst_fft_next_fast_length (2 * bands - 2) + 2) / 2); in update_spectrum_bands() 88 sprintf (str, "using %u bands", bands); in update_spectrum_bands() 91 g_object_set (G_OBJECT (spectrum), "bands", bands, NULL); in update_spectrum_bands()
|
/third_party/mesa3d/include/android_stub/system/ |
D | radio.h | 144 radio_hal_band_config_t bands[RADIO_NUM_BANDS_MAX]; /* band descriptors */ member 160 radio_band_config_t bands[RADIO_NUM_BANDS_MAX]; member
|
/third_party/astc-encoder/Test/ |
D | astc_test_functional.py | 270 bands = img2.split() 271 alphaHist = bands[3].histogram() 275 img2 = Image.merge("RGB", (bands[0], bands[1], bands[2])) 314 bands = img2.split() 315 alphaHist = bands[3].histogram() 319 img2 = Image.merge("RGB", (bands[0], bands[1], bands[2]))
|
/third_party/skia/third_party/externals/libwebp/src/dec/ |
D | vp8_dec.c | 513 const VP8BandProbas* (* const bands)[16 + 1] = dec->proba_.bands_ptr_; in ParseResiduals() local 530 const int nz = GetCoeffs(token_br, bands[1], ctx, q->y2_mat_, 0, dc); in ParseResiduals() 540 ac_proba = bands[0]; in ParseResiduals() 543 ac_proba = bands[3]; in ParseResiduals() 574 const int nz = GetCoeffs(token_br, bands[2], ctx, q->uv_mat_, 0, dst); in ParseResiduals()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/wps/ |
D | wps_dev_attr.c | 401 int wps_process_rf_bands(struct wps_device_data *dev, const u8 *bands) in wps_process_rf_bands() argument 403 if (bands == NULL) { in wps_process_rf_bands() 408 dev->rf_bands = *bands; in wps_process_rf_bands()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/wps/ |
D | wps_dev_attr.c | 416 int wps_process_rf_bands(struct wps_device_data *dev, const u8 *bands) in wps_process_rf_bands() argument 418 if (bands == NULL) { in wps_process_rf_bands() 423 dev->rf_bands = *bands; in wps_process_rf_bands()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/fst/ |
D | fst_group.c | 106 unsigned bands[MB_BAND_ID_WIFI_60GHZ + 1] = {}; in fst_fill_iface_mb_ies() local 115 if (b >= ARRAY_SIZE(bands) || bands[b]++) in fst_fill_iface_mb_ies()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/fst/ |
D | fst_group.c | 106 unsigned bands[MB_BAND_ID_WIFI_60GHZ + 1] = {}; in fst_fill_iface_mb_ies() local 115 if (b >= ARRAY_SIZE(bands) || bands[b]++) in fst_fill_iface_mb_ies()
|