Home
last modified time | relevance | path

Searched refs:bands (Results 1 - 25 of 59) sorted by relevance

123

/third_party/ffmpeg/libavcodec/
H A Dmpc7.c103 av_log(avctx, AV_LOG_ERROR, "Too many bands: %i\n", c->maxbands); in mpc7_decode_init()
109 av_log(avctx, AV_LOG_DEBUG, "IS: %d, MSS: %d, TG: %d, LFL: %d, bands: %d\n", in mpc7_decode_init()
184 Band *bands = c->bands; in mpc7_decode_frame() local
188 memset(bands, 0, sizeof(*bands) * (c->maxbands + 1)); in mpc7_decode_frame()
224 if(t == 4) bands[i].res[ch] = get_bits(&gb, 4); in mpc7_decode_frame()
225 else bands[i].res[ch] = bands[i-1].res[ch] + t; in mpc7_decode_frame()
226 if (bands[ in mpc7_decode_frame()
[all...]
H A Dmpc8.c189 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[ in mpc8_decode_frame()
[all...]
H A Dmpc.c59 Band *bands = c->bands; in ff_mpc_dequantize_and_synth() local
68 if(bands[i].res[ch]){ in ff_mpc_dequantize_and_synth()
70 mul = (mpc_CC+1)[bands[i].res[ch]] * mpc_SCF[bands[i].scf_idx[ch][0] & 0xFF]; in ff_mpc_dequantize_and_synth()
73 mul = (mpc_CC+1)[bands[i].res[ch]] * mpc_SCF[bands[i].scf_idx[ch][1] & 0xFF]; in ff_mpc_dequantize_and_synth()
76 mul = (mpc_CC+1)[bands[i].res[ch]] * mpc_SCF[bands[i].scf_idx[ch][2] & 0xFF]; in ff_mpc_dequantize_and_synth()
81 if(bands[ in ff_mpc_dequantize_and_synth()
[all...]
H A Dpsymodel.c32 const uint8_t **bands, const int* num_bands, in ff_psy_init()
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()
31 ff_psy_init(FFPsyContext *ctx, AVCodecContext *avctx, int num_lens, const uint8_t **bands, const int* num_bands, int num_groups, const uint8_t *group_map) ff_psy_init() argument
H A Datrac1.c84 float* bands[3]; member
123 /* 4 for short mode(low/middle bands) and 8 for short mode(high band)*/ in at1_imdct_block()
127 /* mdct block size in samples: 128 (long mode, low & mid bands), */ in at1_imdct_block()
128 /* 256 (long mode, high band) and 32 (short mode, all bands) */ in at1_imdct_block()
147 q->vector_fmul_window(&q->bands[band_num][start_pos], prev_buf, in at1_imdct_block()
156 memcpy(q->bands[band_num] + 32, &su->spectrum[0][ref_pos + 16], 240 * sizeof(float)); in at1_imdct_block()
264 /* combine low and middle bands */ in at1_subband_synthesis()
265 ff_atrac_iqmf(q->bands[0], q->bands[1], 128, temp, su->fst_qmf_delay, iqmf_temp); in at1_subband_synthesis()
269 memcpy(&su->last_qmf_delay[39], q->bands[ in at1_subband_synthesis()
[all...]
H A Divi.c262 * Free planes, bands and macroblocks buffers.
271 if (planes[p].bands) { in ivi_free_buffers()
273 IVIBandDesc *band = &planes[p].bands[b]; in ivi_free_buffers()
286 av_freep(&planes[p].bands); in ivi_free_buffers()
316 planes[p].bands = av_calloc(planes[p].num_bands, sizeof(*planes[p].bands)); in ff_ivi_init_planes()
317 if (!planes[p].bands) in ff_ivi_init_planes()
321 * has the full size, if there are several bands each of them in ff_ivi_init_planes()
336 band = &planes[p].bands[b]; /* select appropriate plane/band */ in ff_ivi_init_planes()
349 planes[p].bands[ in ff_ivi_init_planes()
[all...]
H A Ddca_xll.c246 // Extra frequency bands flag in chs_parse_header()
248 avpriv_request_sample(s->avctx, "Extra XLL frequency bands"); in chs_parse_header()
257 // Frequency will be doubled again after bands assembly. in chs_parse_header()
280 for (band = 0, b = c->bands; band < c->nfreqbands; band++, b++) { in chs_parse_header()
403 c->bands[i].msb_sample_buffer[j] = ptr; in chs_alloc_msb_band_data()
416 // Determine number of frequency bands that have MSB/LSB split in chs_alloc_lsb_band_data()
418 if (c->bands[i].lsb_section_size) in chs_alloc_lsb_band_data()
430 if (c->bands[i].lsb_section_size) { in chs_alloc_lsb_band_data()
432 c->bands[i].lsb_sample_buffer[j] = ptr; in chs_alloc_lsb_band_data()
437 c->bands[ in chs_alloc_lsb_band_data()
[all...]
H A Dbinkaudio.c62 unsigned int bands[26]; member
128 /* calculate number of bands */ in decode_init()
133 /* populate bands data */ in decode_init()
134 s->bands[0] = 2; in decode_init()
136 s->bands[i] = (ff_wma_critical_freqs[i - 1] * s->frame_len / sample_rate_half) & ~1; in decode_init()
137 s->bands[s->num_bands] = s->frame_len; in decode_init()
230 while (s->bands[k] < i) in decode_block()
234 if (s->bands[k] == i) in decode_block()
H A Dpsymodel.h27 /** maximum possible number of bands */
61 FFPsyBand psy_bands[PSY_MAX_BANDS]; ///< channel bands information
98 uint8_t **bands; ///< scalefactor band sizes for possible frame sizes member
99 int *num_bands; ///< number of scalefactor bands for possible frame sizes
150 * @param bands scalefactor band lengths for all frame lengths
151 * @param num_bands number of scalefactor bands for all frame lengths
158 const uint8_t **bands, const int *num_bands,
H A Daacpsy.c124 AacPsyBand band[128]; ///< bands information
125 AacPsyBand prev_band[128]; ///< bands information from the previous frame
141 float ath; ///< absolute threshold of hearing per bands
335 const uint8_t *band_sizes = ctx->bands[j]; in psy_3gpp_init()
586 * It performs min(thr_reduced, max(thr, energy/min_snr)) only for bands in calc_reduced_thr_3gpp()
588 * threshold of bands with hole avoidance off. in calc_reduced_thr_3gpp()
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[ in psy_3gpp_analyze_channel()
[all...]
H A Daacps_tablegen.h73 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()
H A Divi_dsp.c45 /* all bands should have the same pitch */ in ff_ivi_recompose53()
46 pitch = plane->bands[0].pitch; in ff_ivi_recompose53()
51 /* get pointers to the wavelet bands */ in ff_ivi_recompose53()
52 b0_ptr = plane->bands[0].buf; in ff_ivi_recompose53()
53 b1_ptr = plane->bands[1].buf; in ff_ivi_recompose53()
54 b2_ptr = plane->bands[2].buf; in ff_ivi_recompose53()
55 b3_ptr = plane->bands[3].buf; in ff_ivi_recompose53()
198 /* all bands should have the same pitch */ in ff_ivi_recompose_haar()
199 pitch = plane->bands[0].pitch; in ff_ivi_recompose_haar()
201 /* get pointers to the wavelet bands */ in ff_ivi_recompose_haar()
[all...]
H A Dmpc.h62 Band bands[BANDS]; member
H A Dindeo5.c80 /* decode number of wavelet bands */ in decode_gop_header()
86 av_log(avctx, AV_LOG_ERROR, "Scalability: unsupported subdivision! Luma bands: %d, chroma bands: %d\n", in decode_gop_header()
129 band = &ctx->planes[p].bands[i]; in decode_gop_header()
231 band1 = &ctx->planes[1].bands[i]; in decode_gop_header()
232 band2 = &ctx->planes[2].bands[i]; in decode_gop_header()
478 mv_scale = (ctx->planes[0].bands[0].mb_size >> 3) - (band->mb_size >> 3); in decode_mb_info()
/third_party/ffmpeg/libavfilter/
H A Daf_mcompand.c87 CompBand *bands; member
112 if (s->bands) { in uninit()
114 av_freep(&s->bands[i].attack_rate); in uninit()
115 av_freep(&s->bands[i].decay_rate); in uninit()
116 av_freep(&s->bands[i].volume); in uninit()
117 av_freep(&s->bands[i].transfer_fn.segments); in uninit()
118 av_freep(&s->bands[i].filter.previous); in uninit()
119 av_frame_free(&s->bands[i].delay_buf); in uninit()
122 av_freep(&s->bands); in uninit()
323 s->bands in config_output()
[all...]
H A Daf_superequalizer.c56 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/mesa3d/include/android_stub/system/
H A Dradio.h144 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/wpa_supplicant/wpa_supplicant-2.9/src/wps/
H A Dwps_dev_attr.c401 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()
H A Dwps_dev_attr.h33 int wps_process_rf_bands(struct wps_device_data *dev, const u8 *bands);
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/wps/
H A Dwps_dev_attr.c416 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()
H A Dwps_dev_attr.h33 int wps_process_rf_bands(struct wps_device_data *dev, const u8 *bands);
/third_party/skia/third_party/externals/libwebp/src/dec/
H A Dvp8_dec.c513 const VP8BandProbas* (* const bands)[16 + 1] = dec->proba_.bands_ptr_; in ParseResiduals()
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/astc-encoder/Test/
H A Dastc_test_functional.py270 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[
[all...]
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/fst/
H A Dfst_group.c106 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/
H A Dfst_group.c106 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()

Completed in 18 milliseconds

123