Home
last modified time | relevance | path

Searched refs:num_coeffs (Results 1 – 14 of 14) sorted by relevance

/third_party/ffmpeg/libavcodec/
Daacenc_pred.c264 const int num_coeffs = sce->ics.swb_offset[sfb + 1] - start_coef; in ff_aac_search_for_pred() local
267 if (start_coef + num_coeffs > MAX_PREDICTORS || in ff_aac_search_for_pred()
273 s->abs_pow34(O34, &sce->coeffs[start_coef], num_coeffs); in ff_aac_search_for_pred()
275 O34, num_coeffs, sce->sf_idx[sfb], in ff_aac_search_for_pred()
280 for (i = 0; i < num_coeffs; i++) in ff_aac_search_for_pred()
282 s->abs_pow34(S34, SENT, num_coeffs); in ff_aac_search_for_pred()
284 … cb_p = av_clip(find_min_book(find_max_val(1, num_coeffs, S34), sce->sf_idx[sfb]), cb_min, cb_max); in ff_aac_search_for_pred()
287 quantize_and_encode_band_cost(s, NULL, SENT, QERR, S34, num_coeffs, in ff_aac_search_for_pred()
292 for (i = 0; i < num_coeffs; i++) in ff_aac_search_for_pred()
294 s->abs_pow34(P34, &sce->prcoeffs[start_coef], num_coeffs); in ff_aac_search_for_pred()
[all …]
Dmimic.c215 static int vlc_decode_block(MimicContext *ctx, int num_coeffs, int qscale) in vlc_decode_block() argument
224 for (pos = 1; pos < num_coeffs; pos++) { in vlc_decode_block()
259 static int decode(MimicContext *ctx, int quality, int num_coeffs, in decode() argument
283 if ((ret = vlc_decode_block(ctx, num_coeffs, in decode()
350 int quality, num_coeffs; in mimic_decode_frame() local
365 num_coeffs = bytestream2_get_byteu(&gb); in mimic_decode_frame()
418 res = decode(ctx, quality, num_coeffs, !is_pframe); in mimic_decode_frame()
Dproresdec2.c56 static void inline unpack_alpha(GetBitContext *gb, uint16_t *dst, int num_coeffs, in unpack_alpha() argument
89 if (idx >= num_coeffs) in unpack_alpha()
95 if (idx + val > num_coeffs) in unpack_alpha()
96 val = num_coeffs - idx; in unpack_alpha()
114 } while (idx < num_coeffs); in unpack_alpha()
117 static void unpack_alpha_10(GetBitContext *gb, uint16_t *dst, int num_coeffs, in unpack_alpha_10() argument
121 unpack_alpha(gb, dst, num_coeffs, 16, 10); in unpack_alpha_10()
123 unpack_alpha(gb, dst, num_coeffs, 8, 10); in unpack_alpha_10()
127 static void unpack_alpha_12(GetBitContext *gb, uint16_t *dst, int num_coeffs, in unpack_alpha_12() argument
131 unpack_alpha(gb, dst, num_coeffs, 16, 12); in unpack_alpha_12()
[all …]
Daic.c208 const int num_coeffs = aic_num_band_coeffs[band]; in aic_decode_coeffs() local
231 if (idx >= num_coeffs) in aic_decode_coeffs()
238 } while (idx < num_coeffs - 1); in aic_decode_coeffs()
239 dst += num_coeffs; in aic_decode_coeffs()
243 for (idx = 0; idx < num_coeffs; idx++) { in aic_decode_coeffs()
249 dst += num_coeffs; in aic_decode_coeffs()
Dproresdec.h54 void (*unpack_alpha)(GetBitContext *gb, uint16_t *dst, int num_coeffs, const int num_bits);
Datrac3plus_data.h1409 uint8_t num_coeffs; ///< 1 - map index to a single value, > 1 - map index to a vector of values member
Divi.c499 int num_coeffs = blk_size * blk_size; in ivi_decode_coded_blocks() local
515 memset(trvec, 0, num_coeffs * sizeof(trvec[0])); in ivi_decode_coded_blocks()
518 while (scan_pos <= num_coeffs) { in ivi_decode_coded_blocks()
542 if (scan_pos >= num_coeffs || scan_pos < 0) in ivi_decode_coded_blocks()
557 if (scan_pos < 0 || scan_pos >= num_coeffs && sym != rvmap->eob_sym) in ivi_decode_coded_blocks()
Dvp3.c1190 int num_coeffs = s->num_coded_frags[plane][coeff_index]; in unpack_vlcs() local
1198 if (num_coeffs < 0) { in unpack_vlcs()
1204 if (eob_run > num_coeffs) { in unpack_vlcs()
1206 blocks_ended = num_coeffs; in unpack_vlcs()
1207 eob_run -= num_coeffs; in unpack_vlcs()
1218 while (coeff_i < num_coeffs && get_bits_left(gb) > 0) { in unpack_vlcs()
1229 if (eob_run > num_coeffs - coeff_i) { in unpack_vlcs()
1230 dct_tokens[j++] = TOKEN_EOB(num_coeffs - coeff_i); in unpack_vlcs()
1231 blocks_ended += num_coeffs - coeff_i; in unpack_vlcs()
1232 eob_run -= num_coeffs - coeff_i; in unpack_vlcs()
[all …]
Dproresenc_kostya.c525 const int num_coeffs = mbs_per_slice * 256; in encode_alpha_plane() local
544 } while (idx < num_coeffs); in encode_alpha_plane()
769 const int num_coeffs = mbs_per_slice * 256; in estimate_alpha_plane() local
793 } while (idx < num_coeffs); in estimate_alpha_plane()
Datrac3plus.c726 int num_coeffs = tab->num_coeffs; in decode_qu_spectra() local
736 for (i = 0; i < num_coeffs; i++) { in decode_qu_spectra()
748 pos += group_size * num_coeffs; in decode_qu_spectra()
Dproresenc_anatoliy.c438 const int num_coeffs = mb_count * 256; in encode_alpha_slice_data() local
459 } while (idx < num_coeffs); in encode_alpha_slice_data()
/third_party/ffmpeg/libavformat/
Dhevc.c402 int i, j, k, num_coeffs; in skip_scaling_list_data() local
409 num_coeffs = FFMIN(64, 1 << (4 + (i << 1))); in skip_scaling_list_data()
414 for (k = 0; k < num_coeffs; k++) in skip_scaling_list_data()
/third_party/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_arit.h317 unsigned num_coeffs);
Dlp_bld_arit.c3147 unsigned num_coeffs) in lp_build_polynomial() argument
3171 for (i = num_coeffs; i--; ) { in lp_build_polynomial()