Home
last modified time | relevance | path

Searched refs:num_bands (Results 1 - 18 of 18) sorted by relevance

/third_party/ffmpeg/libavcodec/
H A Dpsymodel.c32 const uint8_t **bands, const int* num_bands, in ff_psy_init()
41 ctx->num_bands = av_malloc_array (sizeof(ctx->num_bands[0]), num_lens); in ff_psy_init()
44 if (!ctx->ch || !ctx->group || !ctx->bands || !ctx->num_bands) { in ff_psy_init()
50 memcpy(ctx->num_bands, num_bands, sizeof(ctx->num_bands[0]) * num_lens); in ff_psy_init()
88 av_freep(&ctx->num_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 Dbinkaudio.c60 int num_bands; member
129 for (s->num_bands = 1; s->num_bands < 25; s->num_bands++) in decode_init()
130 if (sample_rate_half <= ff_wma_critical_freqs[s->num_bands - 1]) in decode_init()
135 for (i = 1; i < s->num_bands; i++) in decode_init()
137 s->bands[s->num_bands] = s->frame_len; in decode_init()
199 if (get_bits_left(gb) < s->num_bands * 8) in decode_block()
201 for (i = 0; i < s->num_bands; i++) { in decode_block()
H A Daacpsy.c346 for (g = 0; g < ctx->num_bands[j]; g++) { in psy_3gpp_init()
352 for (g = 0; g < ctx->num_bands[j] - 1; g++) { in psy_3gpp_init()
364 for (g = 0; g < ctx->num_bands[j]; g++) { in psy_3gpp_init()
600 static void calc_thr_3gpp(const FFPsyWindowInfo *wi, const int num_bands, AacPsyChannel *pch, in calc_thr_3gpp() argument
607 for (g = 0; g < num_bands; g++) { in calc_thr_3gpp()
661 const int num_bands = ctx->num_bands[wi->num_windows == 8]; in psy_3gpp_analyze_channel() local
669 calc_thr_3gpp(wi, num_bands, pch, band_sizes, coefs, cutoff); in psy_3gpp_analyze_channel()
677 for (g = 1; g < num_bands; g++) { in psy_3gpp_analyze_channel()
681 for (g = num_bands in psy_3gpp_analyze_channel()
[all...]
H A Datrac3.c328 * @param num_bands number of coded bands
331 TonalComponent *components, int num_bands) in decode_tonal_components()
353 for (b = 0; b <= num_bands; b++) in decode_tonal_components()
365 for (b = 0; b < (num_bands + 1) * 4; b++) { in decode_tonal_components()
412 * @param num_bands amount of coded bands
415 int num_bands) in decode_gain_control()
422 for (b = 0; b <= num_bands; b++) { in decode_gain_control()
581 int band, ret, num_subbands, last_tonal, num_bands; in decode_channel_sound_unit() local
618 num_bands = (subband_tab[num_subbands] - 1) >> 8; in decode_channel_sound_unit()
620 num_bands in decode_channel_sound_unit()
330 decode_tonal_components(GetBitContext *gb, TonalComponent *components, int num_bands) decode_tonal_components() argument
414 decode_gain_control(GetBitContext *gb, GainBlock *block, int num_bands) decode_gain_control() argument
[all...]
H A Don2avc.c61 int num_windows, num_bands; member
101 c->ms_info + band_off - c->num_bands, in on2avc_read_ms_info()
102 c->num_bands * sizeof(*c->ms_info)); in on2avc_read_ms_info()
103 band_off += c->num_bands; in on2avc_read_ms_info()
106 for (b = 0; b < c->num_bands; b++) in on2avc_read_ms_info()
116 int num_bands = c->num_bands * c->num_windows; in on2avc_decode_band_types() local
119 while (band < num_bands) { in on2avc_decode_band_types()
124 if (run > num_bands - band - run_len) { in on2avc_decode_band_types()
150 c->band_scales + band_off - c->num_bands, in on2avc_decode_band_scales()
[all...]
H A Dpsymodel.h99 int *num_bands; ///< number of scalefactor bands for possible frame sizes member
151 * @param num_bands number of scalefactor bands for all frame lengths
158 const uint8_t **bands, const int *num_bands,
H A Divi.c272 for (b = 0; b < planes[p].num_bands; b++) { in ivi_free_buffers()
287 planes[p].num_bands = 0; in ivi_free_buffers()
308 planes[0].num_bands = cfg->luma_bands; in ff_ivi_init_planes()
313 planes[1].num_bands = planes[2].num_bands = cfg->chroma_bands; in ff_ivi_init_planes()
316 planes[p].bands = av_calloc(planes[p].num_bands, sizeof(*planes[p].bands)); in ff_ivi_init_planes()
323 b_width = planes[p].num_bands == 1 ? planes[p].width in ff_ivi_init_planes()
325 b_height = planes[p].num_bands == 1 ? planes[p].height in ff_ivi_init_planes()
335 for (b = 0; b < planes[p].num_bands; b++) { in ff_ivi_init_planes()
405 if (!p && planes[0].num_bands in ff_ivi_init_tiles()
[all...]
H A Divi_dsp.c43 const int num_bands = 4; in ff_ivi_recompose53() local
62 if (num_bands > 0) { in ff_ivi_recompose53()
67 if (num_bands > 1) { in ff_ivi_recompose53()
73 if (num_bands > 2) { in ff_ivi_recompose53()
80 if (num_bands > 3) { in ff_ivi_recompose53()
113 if (num_bands > 0) { in ff_ivi_recompose53()
127 if (num_bands > 1) { in ff_ivi_recompose53()
143 if (num_bands > 2) { in ff_ivi_recompose53()
157 if (num_bands > 3) { in ff_ivi_recompose53()
210 b0 = b0_ptr[indx]; //should be: b0 = (num_bands > in ff_ivi_recompose_haar()
[all...]
H A Don2avcdata.h33 int num_bands; member
H A Daacsbr.c54 static void make_bands(int16_t* bands, int start, int stop, int num_bands) in make_bands() argument
59 base = powf((float)stop / start, 1.0f / num_bands); in make_bands()
63 for (k = 0; k < num_bands-1; k++) { in make_bands()
69 bands[num_bands-1] = stop - previous; in make_bands()
H A Dwmaprodec.c236 int8_t num_bands; ///< number of scale factor bands member
897 for (i = 0; i < s->num_bands; i++) { in decode_channel_transform()
901 memset(chgroup->transform_band, 1, s->num_bands); in decode_channel_transform()
1035 sf_end = s->channel[c].scale_factors + s->num_bands; in decode_scale_factors()
1045 for (b = 0; b < s->num_bands; b++) in decode_scale_factors()
1064 for (i = 0; i < s->num_bands; i++) { in decode_scale_factors()
1086 if (i >= s->num_bands) { in decode_scale_factors()
1130 sfb < s->cur_sfb_offsets + s->num_bands; sfb++) { in inverse_channel_transform()
1256 s->num_bands = s->num_sfb[s->table_idx]; in decode_subframe()
1401 for (b = 0; b < s->num_bands; in decode_subframe()
[all...]
H A Daacsbr_fixed.c126 static void make_bands(int16_t* bands, int start, int stop, int num_bands) in make_bands() argument
137 base = (((base + 0x80) >> 8) + (8-nz)*CONST_LN2) / num_bands; in make_bands()
143 for (k = 0; k < num_bands-1; k++) { in make_bands()
149 bands[num_bands-1] = stop - previous; in make_bands()
H A Divi.h197 uint8_t num_bands; ///< number of bands this plane subdivided into member
H A Dac3dec.c786 * @param[out] num_bands number of bands (optionally NULL)
793 int *num_bands, uint8_t *band_sizes, in decode_band_structure()
818 if (num_bands || band_sizes ) { in decode_band_structure()
833 if (num_bands) in decode_band_structure()
834 *num_bands = n_bands; in decode_band_structure()
790 decode_band_structure(GetBitContext *gbc, int blk, int eac3, int ecpl, int start_subband, int end_subband, const uint8_t *default_band_struct, int *num_bands, uint8_t *band_sizes, uint8_t *band_struct, int band_struct_size) decode_band_structure() argument
H A Ddiracdec.c663 int level, num_bands = 0; in decode_component() local
672 bands[num_bands++] = b; in decode_component()
700 avctx->execute(avctx, decode_subband_golomb, bands, ret, num_bands, sizeof(SubBand*)); in decode_component()
H A Daacenc.c626 ics->num_swb = tag == TYPE_LFE ? ics->num_swb : s->psy.num_bands[ics->num_windows == 8]; in aac_encode_frame()
/third_party/ffmpeg/libavcodec/mips/
H A Daacpsy_mips.h63 static void calc_thr_3gpp_mips(const FFPsyWindowInfo *wi, const int num_bands, in calc_thr_3gpp_mips() argument
71 for (g = 0; g < num_bands; g++) { in calc_thr_3gpp_mips()
/third_party/mesa3d/include/android_stub/system/
H A Dradio.h143 uint32_t num_bands; /* number of band descriptors */ member
159 uint32_t num_bands; member

Completed in 23 milliseconds