/third_party/ffmpeg/libavcodec/ |
H A D | aacenc_pred.c | 264 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...] |
H A D | mimic.c | 217 static int vlc_decode_block(MimicContext *ctx, int num_coeffs, int qscale) in vlc_decode_block() argument 226 for (pos = 1; pos < num_coeffs; pos++) { in vlc_decode_block() 261 static int decode(MimicContext *ctx, int quality, int num_coeffs, in decode() argument 285 if ((ret = vlc_decode_block(ctx, num_coeffs, in decode() 352 int quality, num_coeffs; in mimic_decode_frame() local 367 num_coeffs = bytestream2_get_byteu(&gb); in mimic_decode_frame() 420 res = decode(ctx, quality, num_coeffs, !is_pframe); in mimic_decode_frame()
|
H A D | proresdec2.c | 60 static void inline unpack_alpha(GetBitContext *gb, uint16_t *dst, int num_coeffs, in unpack_alpha() argument 93 if (idx >= num_coeffs) in unpack_alpha() 99 if (idx + val > num_coeffs) in unpack_alpha() 100 val = num_coeffs - idx; in unpack_alpha() 118 } while (idx < num_coeffs); in unpack_alpha() 121 static void unpack_alpha_10(GetBitContext *gb, uint16_t *dst, int num_coeffs, in unpack_alpha_10() argument 125 unpack_alpha(gb, dst, num_coeffs, 16, 10); in unpack_alpha_10() 127 unpack_alpha(gb, dst, num_coeffs, 8, 10); in unpack_alpha_10() 131 static void unpack_alpha_12(GetBitContext *gb, uint16_t *dst, int num_coeffs, in unpack_alpha_12() argument 135 unpack_alpha(gb, dst, num_coeffs, 1 in unpack_alpha_12() [all...] |
H A D | aic.c | 208 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()
|
H A D | proresdec.h | 54 void (*unpack_alpha)(GetBitContext *gb, uint16_t *dst, int num_coeffs, const int num_bits);
|
H A D | ivi.c | 501 int num_coeffs = blk_size * blk_size; in ivi_decode_coded_blocks() local 517 memset(trvec, 0, num_coeffs * sizeof(trvec[0])); in ivi_decode_coded_blocks() 520 while (scan_pos <= num_coeffs) { in ivi_decode_coded_blocks() 544 if (scan_pos >= num_coeffs || scan_pos < 0) in ivi_decode_coded_blocks() 559 if (scan_pos < 0 || scan_pos >= num_coeffs && sym != rvmap->eob_sym) in ivi_decode_coded_blocks()
|
H A D | vp3.c | 1194 int num_coeffs = s->num_coded_frags[plane][coeff_index]; in unpack_vlcs() local 1202 if (num_coeffs < 0) { in unpack_vlcs() 1208 if (eob_run > num_coeffs) { in unpack_vlcs() 1210 blocks_ended = num_coeffs; in unpack_vlcs() 1211 eob_run -= num_coeffs; in unpack_vlcs() 1222 while (coeff_i < num_coeffs && get_bits_left(gb) > 0) { in unpack_vlcs() 1233 if (eob_run > num_coeffs - coeff_i) { in unpack_vlcs() 1234 dct_tokens[j++] = TOKEN_EOB(num_coeffs - coeff_i); in unpack_vlcs() 1235 blocks_ended += num_coeffs - coeff_i; in unpack_vlcs() 1236 eob_run -= num_coeffs in unpack_vlcs() [all...] |
H A D | atrac3plus.c | 726 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()
|
H A D | proresenc_kostya.c | 520 const int num_coeffs = mbs_per_slice * 256; in encode_alpha_plane() local 538 } while (idx < num_coeffs); in encode_alpha_plane() 755 const int num_coeffs = mbs_per_slice * 256; in estimate_alpha_plane() local 779 } while (idx < num_coeffs); in estimate_alpha_plane()
|
H A D | proresenc_anatoliy.c | 440 const int num_coeffs = mb_count * 256; in encode_alpha_slice_data() local 461 } while (idx < num_coeffs); in encode_alpha_slice_data()
|
H A D | atrac3plus_data.h | 1409 uint8_t num_coeffs; ///< 1 - map index to a single value, > 1 - map index to a vector of values member
|
/third_party/ffmpeg/libavformat/ |
H A D | hevc.c | 401 int i, j, k, num_coeffs; in skip_scaling_list_data() local 408 num_coeffs = FFMIN(64, 1 << (4 + (i << 1))); in skip_scaling_list_data() 413 for (k = 0; k < num_coeffs; k++) in skip_scaling_list_data()
|
/third_party/mesa3d/src/gallium/auxiliary/gallivm/ |
H A D | lp_bld_arit.h | 317 unsigned num_coeffs);
|
H A D | lp_bld_arit.c | 3147 unsigned num_coeffs) in lp_build_polynomial() 3171 for (i = num_coeffs; i--; ) { in lp_build_polynomial() 3144 lp_build_polynomial(struct lp_build_context *bld, LLVMValueRef x, const double *coeffs, unsigned num_coeffs) lp_build_polynomial() argument
|