blk 607 libavcodec/ac3dec.c static inline void decode_transform_coeffs_ch(AC3DecodeContext *s, int blk, blk 616 libavcodec/ac3dec.c if (CONFIG_EAC3_DECODER && !blk) blk 619 libavcodec/ac3dec.c s->fixed_coeffs[ch][bin] = s->pre_mantissa[ch][bin][blk] >> s->dexps[ch][bin]; blk 627 libavcodec/ac3dec.c static inline void decode_transform_coeffs(AC3DecodeContext *s, int blk) blk 637 libavcodec/ac3dec.c decode_transform_coeffs_ch(s, blk, ch, &m); blk 642 libavcodec/ac3dec.c decode_transform_coeffs_ch(s, blk, CPL_CH, &m); blk 767 libavcodec/ac3dec.c static void decode_band_structure(GetBitContext *gbc, int blk, int eac3, blk 778 libavcodec/ac3dec.c if (!blk) blk 816 libavcodec/ac3dec.c static inline int spx_strategy(AC3DecodeContext *s, int blk) blk 864 libavcodec/ac3dec.c decode_band_structure(bc, blk, s->eac3, 0, blk 951 libavcodec/ac3dec.c static inline int coupling_strategy(AC3DecodeContext *s, int blk, blk 961 libavcodec/ac3dec.c s->cpl_in_use[blk] = get_bits1(bc); blk 962 libavcodec/ac3dec.c if (s->cpl_in_use[blk]) { blk 1003 libavcodec/ac3dec.c decode_band_structure(bc, blk, s->eac3, 0, cpl_start_subband, blk 1021 libavcodec/ac3dec.c static inline int coupling_coordinates(AC3DecodeContext *s, int blk) blk 1044 libavcodec/ac3dec.c } else if (!blk) { blk 1067 libavcodec/ac3dec.c static int decode_audio_block(AC3DecodeContext *s, int blk, int offset) blk 1107 libavcodec/ac3dec.c } else if (blk == 0) { blk 1113 libavcodec/ac3dec.c if (s->eac3 && (!blk || get_bits1(gbc))) { blk 1116 libavcodec/ac3dec.c if ((ret = spx_strategy(s, blk)) < 0) blk 1133 libavcodec/ac3dec.c if (s->eac3 ? s->cpl_strategy_exists[blk] : get_bits1(gbc)) { blk 1134 libavcodec/ac3dec.c if ((ret = coupling_strategy(s, blk, bit_alloc_stages)) < 0) blk 1137 libavcodec/ac3dec.c if (!blk) { blk 1142 libavcodec/ac3dec.c s->cpl_in_use[blk] = s->cpl_in_use[blk-1]; blk 1145 libavcodec/ac3dec.c cpl_in_use = s->cpl_in_use[blk]; blk 1149 libavcodec/ac3dec.c if ((ret = coupling_coordinates(s, blk)) < 0) blk 1155 libavcodec/ac3dec.c if ((s->eac3 && !blk) || get_bits1(gbc)) { blk 1164 libavcodec/ac3dec.c } else if (!blk) { blk 1174 libavcodec/ac3dec.c s->exp_strategy[blk][ch] = get_bits(gbc, 2 - (ch == s->lfe_ch)); blk 1175 libavcodec/ac3dec.c if (s->exp_strategy[blk][ch] != EXP_REUSE) blk 1182 libavcodec/ac3dec.c if (s->exp_strategy[blk][ch] != EXP_REUSE) { blk 1197 libavcodec/ac3dec.c group_size = 3 << (s->exp_strategy[blk][ch] - 1); blk 1199 libavcodec/ac3dec.c if (blk > 0 && s->end_freq[ch] != prev) blk 1203 libavcodec/ac3dec.c if (cpl_in_use && s->exp_strategy[blk][CPL_CH] != EXP_REUSE) { blk 1205 libavcodec/ac3dec.c (3 << (s->exp_strategy[blk][CPL_CH] - 1)); blk 1210 libavcodec/ac3dec.c if (s->exp_strategy[blk][ch] != EXP_REUSE) { blk 1212 libavcodec/ac3dec.c if (decode_exponents(s, gbc, s->exp_strategy[blk][ch], blk 1232 libavcodec/ac3dec.c } else if (!blk) { blk 1240 libavcodec/ac3dec.c if (!s->eac3 || !blk) { blk 1250 libavcodec/ac3dec.c if (blk && s->snr_offset[ch] != snr) { blk 1260 libavcodec/ac3dec.c if (blk && prev != s->fast_gain[ch]) blk 1264 libavcodec/ac3dec.c } else if (!s->eac3 && !blk) { blk 1276 libavcodec/ac3dec.c if (blk && prev != s->fast_gain[ch]) blk 1279 libavcodec/ac3dec.c } else if (s->eac3 && !blk) { blk 1296 libavcodec/ac3dec.c if (blk && (fl != s->bit_alloc_params.cpl_fast_leak || blk 1302 libavcodec/ac3dec.c } else if (!s->eac3 && !blk) { blk 1334 libavcodec/ac3dec.c } else if (blk == 0) { blk 1381 libavcodec/ac3dec.c decode_transform_coeffs(s, blk); blk 1469 libavcodec/ac3dec.c int blk, ch, err, offset, ret; blk 1633 libavcodec/ac3dec.c for (blk = 0; blk < s->num_blocks; blk++) { blk 1634 libavcodec/ac3dec.c if (!err && decode_audio_block(s, blk, offset)) { blk 1640 libavcodec/ac3dec.c memcpy(s->output_buffer[ch + offset] + AC3_BLOCK_SIZE*blk, output[ch], AC3_BLOCK_SIZE*sizeof(SHORTFLOAT)); blk 29 libavcodec/ac3dsp.c int blk, i; blk 37 libavcodec/ac3dsp.c for (blk = 0; blk < num_reuse_blocks; blk++) { blk 146 libavcodec/ac3dsp.c int blk, bap; blk 149 libavcodec/ac3dsp.c for (blk = 0; blk < AC3_MAX_BLOCKS; blk++) { blk 151 libavcodec/ac3dsp.c bits += (mant_cnt[blk][1] / 3) * 5; blk 154 libavcodec/ac3dsp.c bits += ((mant_cnt[blk][2] / 3) + (mant_cnt[blk][4] >> 1)) * 7; blk 156 libavcodec/ac3dsp.c bits += mant_cnt[blk][3] * 3; blk 159 libavcodec/ac3dsp.c bits += mant_cnt[blk][bap] * ff_ac3_bap_bits[bap]; blk 203 libavcodec/ac3enc.c int blk, ch; blk 209 libavcodec/ac3enc.c for (blk = 0; blk < s->num_blocks; blk++) { blk 210 libavcodec/ac3enc.c AC3Block *block = &s->blocks[blk]; blk 219 libavcodec/ac3enc.c for (blk = 0; blk < s->num_blocks; blk++) { blk 220 libavcodec/ac3enc.c AC3Block *block = &s->blocks[blk]; blk 232 libavcodec/ac3enc.c block->new_cpl_strategy = !blk; blk 233 libavcodec/ac3enc.c if (blk) { blk 235 libavcodec/ac3enc.c if (block->channel_in_cpl[ch] != s->blocks[blk-1].channel_in_cpl[ch]) { blk 243 libavcodec/ac3enc.c if (!blk || (block->cpl_in_use && !got_cpl_snr)) { blk 255 libavcodec/ac3enc.c for (blk = 0; blk < s->num_blocks; blk++) { blk 256 libavcodec/ac3enc.c AC3Block *block = &s->blocks[blk]; blk 275 libavcodec/ac3enc.c int blk, bnd, i; blk 282 libavcodec/ac3enc.c for (blk = 0; blk < s->num_blocks; blk++) { blk 283 libavcodec/ac3enc.c AC3Block *block = &s->blocks[blk]; blk 360 libavcodec/ac3enc.c int ch, blk, blk1; blk 371 libavcodec/ac3enc.c for (blk = 1; blk < s->num_blocks; blk++, exp += AC3_MAX_COEFS) { blk 373 libavcodec/ac3enc.c if (!s->blocks[blk-1].cpl_in_use) { blk 374 libavcodec/ac3enc.c exp_strategy[blk] = EXP_NEW; blk 376 libavcodec/ac3enc.c } else if (!s->blocks[blk].cpl_in_use) { blk 377 libavcodec/ac3enc.c exp_strategy[blk] = EXP_REUSE; blk 380 libavcodec/ac3enc.c } else if (s->blocks[blk].channel_in_cpl[ch] != s->blocks[blk-1].channel_in_cpl[ch]) { blk 381 libavcodec/ac3enc.c exp_strategy[blk] = EXP_NEW; blk 385 libavcodec/ac3enc.c exp_strategy[blk] = EXP_REUSE; blk 386 libavcodec/ac3enc.c if (ch == CPL_CH && exp_diff > (EXP_DIFF_THRESHOLD * (s->blocks[blk].end_freq[ch] - s->start_freq[ch]) / AC3_MAX_COEFS)) blk 387 libavcodec/ac3enc.c exp_strategy[blk] = EXP_NEW; blk 389 libavcodec/ac3enc.c exp_strategy[blk] = EXP_NEW; blk 394 libavcodec/ac3enc.c blk = 0; blk 395 libavcodec/ac3enc.c while (blk < s->num_blocks) { blk 396 libavcodec/ac3enc.c blk1 = blk + 1; blk 399 libavcodec/ac3enc.c exp_strategy[blk] = exp_strategy_reuse_tab[s->num_blks_code][blk1-blk-1]; blk 400 libavcodec/ac3enc.c blk = blk1; blk 406 libavcodec/ac3enc.c for (blk = 1; blk < s->num_blocks; blk++) blk 407 libavcodec/ac3enc.c s->exp_strategy[ch][blk] = EXP_REUSE; blk 499 libavcodec/ac3enc.c int blk, blk1, ch, cpl; blk 508 libavcodec/ac3enc.c blk = 0; blk 509 libavcodec/ac3enc.c while (blk < s->num_blocks) { blk 510 libavcodec/ac3enc.c AC3Block *block = &s->blocks[blk]; blk 513 libavcodec/ac3enc.c blk++; blk 517 libavcodec/ac3enc.c blk1 = blk + 1; blk 521 libavcodec/ac3enc.c s->exp_ref_block[ch][blk] = blk; blk 523 libavcodec/ac3enc.c s->exp_ref_block[ch][blk1] = blk; blk 526 libavcodec/ac3enc.c num_reuse_blocks = blk1 - blk - 1; blk 532 libavcodec/ac3enc.c encode_exponents_blk_ch(exp, nb_coefs, exp_strategy[blk], cpl); blk 535 libavcodec/ac3enc.c blk = blk1; blk 549 libavcodec/ac3enc.c int blk, ch; blk 553 libavcodec/ac3enc.c for (blk = 0; blk < s->num_blocks; blk++) { blk 554 libavcodec/ac3enc.c AC3Block *block = &s->blocks[blk]; blk 556 libavcodec/ac3enc.c int exp_strategy = s->exp_strategy[ch][blk]; blk 581 libavcodec/ac3enc.c int blk, ch, i, cpl; blk 587 libavcodec/ac3enc.c for (blk = 0; blk < s->num_blocks; blk++) { blk 588 libavcodec/ac3enc.c AC3Block *block = &s->blocks[blk]; blk 590 libavcodec/ac3enc.c int exp_strategy = s->exp_strategy[ch][blk]; blk 656 libavcodec/ac3enc.c int blk; blk 704 libavcodec/ac3enc.c for (blk = 0; blk < s->num_blocks; blk++) { blk 728 libavcodec/ac3enc.c if (!blk) blk 798 libavcodec/ac3enc.c int blk, ch; blk 830 libavcodec/ac3enc.c for (blk = 1; blk < s->num_blocks; blk++) { blk 831 libavcodec/ac3enc.c AC3Block *block = &s->blocks[blk]; blk 842 libavcodec/ac3enc.c for (blk = 0; blk < s->num_blocks; blk++) blk 843 libavcodec/ac3enc.c frame_bits += 2 * s->blocks[blk].cpl_in_use; blk 858 libavcodec/ac3enc.c for (blk = 0; blk < s->num_blocks; blk++) { blk 859 libavcodec/ac3enc.c AC3Block *block = &s->blocks[blk]; blk 898 libavcodec/ac3enc.c if (!s->eac3 || blk > 0) blk 900 libavcodec/ac3enc.c if (s->blocks[blk].new_rematrixing_strategy) blk 906 libavcodec/ac3enc.c if (s->exp_strategy[ch][blk] != EXP_REUSE) { blk 943 libavcodec/ac3enc.c int blk, ch; blk 945 libavcodec/ac3enc.c for (blk = 0; blk < s->num_blocks; blk++) { blk 946 libavcodec/ac3enc.c AC3Block *block = &s->blocks[blk]; blk 951 libavcodec/ac3enc.c if (s->exp_strategy[ch][blk] != EXP_REUSE) { blk 973 libavcodec/ac3enc.c int blk, ch; blk 981 libavcodec/ac3enc.c for (blk = 0; blk < s->num_blocks; blk++) blk 982 libavcodec/ac3enc.c s->ref_bap[ch][blk] = ref_bap + AC3_MAX_COEFS * s->exp_ref_block[ch][blk]; blk 998 libavcodec/ac3enc.c int blk; blk 1000 libavcodec/ac3enc.c for (blk = 0; blk < AC3_MAX_BLOCKS; blk++) { blk 1001 libavcodec/ac3enc.c memset(mant_cnt[blk], 0, sizeof(mant_cnt[blk])); blk 1002 libavcodec/ac3enc.c mant_cnt[blk][1] = mant_cnt[blk][2] = 2; blk 1003 libavcodec/ac3enc.c mant_cnt[blk][4] = 1; blk 1022 libavcodec/ac3enc.c int blk; blk 1024 libavcodec/ac3enc.c for (blk = 0; blk < s->num_blocks; blk++) { blk 1025 libavcodec/ac3enc.c AC3Block *block = &s->blocks[blk]; blk 1028 libavcodec/ac3enc.c s->ac3dsp.update_bap_counts(mant_cnt[blk], blk 1029 libavcodec/ac3enc.c s->ref_bap[ch][blk] + start, blk 1066 libavcodec/ac3enc.c int blk, ch; blk 1071 libavcodec/ac3enc.c for (blk = 0; blk < s->num_blocks; blk++) { blk 1072 libavcodec/ac3enc.c AC3Block *block = &s->blocks[blk]; blk 1079 libavcodec/ac3enc.c if (s->exp_strategy[ch][blk] != EXP_REUSE) { blk 1083 libavcodec/ac3enc.c ff_ac3_bap_tab, s->ref_bap[ch][blk]); blk 1302 libavcodec/ac3enc.c int blk, ch, ch0=0, got_cpl; blk 1304 libavcodec/ac3enc.c for (blk = 0; blk < s->num_blocks; blk++) { blk 1305 libavcodec/ac3enc.c AC3Block *block = &s->blocks[blk]; blk 1316 libavcodec/ac3enc.c s->blocks[s->exp_ref_block[ch][blk]].exp[ch], blk 1317 libavcodec/ac3enc.c s->ref_bap[ch][blk], block->qmant[ch], blk 1385 libavcodec/ac3enc.c static void output_audio_block(AC3EncodeContext *s, int blk) blk 1388 libavcodec/ac3enc.c AC3Block *block = &s->blocks[blk]; blk 1458 libavcodec/ac3enc.c if (!s->eac3 || blk > 0) blk 1470 libavcodec/ac3enc.c put_bits(&s->pb, 2, s->exp_strategy[ch][blk]); blk 1472 libavcodec/ac3enc.c put_bits(&s->pb, 1, s->exp_strategy[s->lfe_channel][blk]); blk 1477 libavcodec/ac3enc.c if (s->exp_strategy[ch][blk] != EXP_REUSE && !block->channel_in_cpl[ch]) blk 1486 libavcodec/ac3enc.c if (s->exp_strategy[ch][blk] == EXP_REUSE) blk 1493 libavcodec/ac3enc.c nb_groups = exponent_group_tab[cpl][s->exp_strategy[ch][blk]-1][block->end_freq[ch]-s->start_freq[ch]]; blk 1504 libavcodec/ac3enc.c baie = (blk == 0); blk 1556 libavcodec/ac3enc.c b = s->ref_bap[ch][blk][i]; blk 1663 libavcodec/ac3enc.c int blk; blk 1669 libavcodec/ac3enc.c for (blk = 0; blk < s->num_blocks; blk++) blk 1670 libavcodec/ac3enc.c output_audio_block(s, blk); blk 2018 libavcodec/ac3enc.c int blk, ch; blk 2039 libavcodec/ac3enc.c for (blk = 0; blk < s->num_blocks; blk++) { blk 2040 libavcodec/ac3enc.c AC3Block *block = &s->blocks[blk]; blk 2255 libavcodec/ac3enc.c int blk, ch, av_uninit(cpl_start); blk 2270 libavcodec/ac3enc.c for (blk = 0; blk < s->num_blocks; blk++) blk 2271 libavcodec/ac3enc.c s->blocks[blk].end_freq[ch] = s->bandwidth_code * 3 + 73; blk 2276 libavcodec/ac3enc.c for (blk = 0; blk < s->num_blocks; blk++) blk 2277 libavcodec/ac3enc.c s->blocks[blk].end_freq[ch] = 7; blk 2317 libavcodec/ac3enc.c for (blk = 0; blk < s->num_blocks; blk++) blk 2318 libavcodec/ac3enc.c s->blocks[blk].end_freq[CPL_CH] = s->cpl_end_freq; blk 2326 libavcodec/ac3enc.c int blk, ch; blk 2358 libavcodec/ac3enc.c for (blk = 0; blk < s->num_blocks; blk++) { blk 2359 libavcodec/ac3enc.c AC3Block *block = &s->blocks[blk]; blk 2383 libavcodec/ac3enc.c block->grouped_exp[ch] = &s->grouped_exp_buffer[128 * (blk * channels + ch)]; blk 2384 libavcodec/ac3enc.c block->psd[ch] = &s->psd_buffer [AC3_MAX_COEFS * (blk * channels + ch)]; blk 2385 libavcodec/ac3enc.c block->band_psd[ch] = &s->band_psd_buffer [64 * (blk * channels + ch)]; blk 2386 libavcodec/ac3enc.c block->mask[ch] = &s->mask_buffer [64 * (blk * channels + ch)]; blk 2387 libavcodec/ac3enc.c block->qmant[ch] = &s->qmant_buffer [AC3_MAX_COEFS * (blk * channels + ch)]; blk 2389 libavcodec/ac3enc.c block->cpl_coord_exp[ch] = &s->cpl_coord_exp_buffer [16 * (blk * channels + ch)]; blk 2390 libavcodec/ac3enc.c block->cpl_coord_mant[ch] = &s->cpl_coord_mant_buffer[16 * (blk * channels + ch)]; blk 2394 libavcodec/ac3enc.c block->exp[ch] = &s->exp_buffer [AC3_MAX_COEFS * (s->num_blocks * ch + blk)]; blk 2395 libavcodec/ac3enc.c block->mdct_coef[ch] = &s->mdct_coef_buffer [AC3_MAX_COEFS * (s->num_blocks * ch + blk)]; blk 2402 libavcodec/ac3enc.c for (blk = 0; blk < s->num_blocks; blk++) { blk 2403 libavcodec/ac3enc.c AC3Block *block = &s->blocks[blk]; blk 2407 libavcodec/ac3enc.c block->fixed_coef[ch] = &s->fixed_coef_buffer[AC3_MAX_COEFS * (s->num_blocks * ch + blk)]; blk 2410 libavcodec/ac3enc.c for (blk = 0; blk < s->num_blocks; blk++) { blk 2411 libavcodec/ac3enc.c AC3Block *block = &s->blocks[blk]; blk 66 libavcodec/ac3enc_fixed.c int blk, ch; blk 68 libavcodec/ac3enc_fixed.c for (blk = 0; blk < s->num_blocks; blk++) { blk 69 libavcodec/ac3enc_fixed.c AC3Block *block = &s->blocks[blk]; blk 89 libavcodec/ac3enc_template.c int blk, ch; blk 92 libavcodec/ac3enc_template.c for (blk = 0; blk < s->num_blocks; blk++) { blk 93 libavcodec/ac3enc_template.c AC3Block *block = &s->blocks[blk]; blk 94 libavcodec/ac3enc_template.c const SampleType *input_samples = &s->planar_samples[ch][blk * AC3_BLOCK_SIZE]; blk 125 libavcodec/ac3enc_template.c int av_uninit(blk), ch, bnd, i, j; blk 141 libavcodec/ac3enc_template.c for (blk = 0; blk < s->num_blocks; blk++) { blk 142 libavcodec/ac3enc_template.c AC3Block *block = &s->blocks[blk]; blk 166 libavcodec/ac3enc_template.c for (blk = 0; blk < s->num_blocks; blk++) { blk 167 libavcodec/ac3enc_template.c AC3Block *block = &s->blocks[blk]; blk 172 libavcodec/ac3enc_template.c MAC_COEF(energy[blk][ch][bnd], v, v); blk 181 libavcodec/ac3enc_template.c for (blk = 0; blk < s->num_blocks; blk++) { blk 182 libavcodec/ac3enc_template.c AC3Block *block = &s->blocks[blk]; blk 189 libavcodec/ac3enc_template.c cpl_coords[blk][ch][bnd] = calc_cpl_coord(energy[blk][ch][bnd], blk 190 libavcodec/ac3enc_template.c energy[blk][CPL_CH][bnd]); blk 196 libavcodec/ac3enc_template.c for (blk = 0; blk < s->num_blocks; blk++) { blk 197 libavcodec/ac3enc_template.c AC3Block *block = &s->blocks[blk]; blk 198 libavcodec/ac3enc_template.c AC3Block *block0 = blk ? &s->blocks[blk-1] : NULL; blk 208 libavcodec/ac3enc_template.c if (blk == 0 || !block0->cpl_in_use) { blk 220 libavcodec/ac3enc_template.c coord_diff += FFABS(cpl_coords[blk-1][ch][bnd] - blk 221 libavcodec/ac3enc_template.c cpl_coords[blk ][ch][bnd]); blk 235 libavcodec/ac3enc_template.c blk = 0; blk 236 libavcodec/ac3enc_template.c while (blk < s->num_blocks) { blk 238 libavcodec/ac3enc_template.c AC3Block *block = &s->blocks[blk]; blk 241 libavcodec/ac3enc_template.c blk++; blk 249 libavcodec/ac3enc_template.c energy_cpl = energy[blk][CPL_CH][bnd]; blk 250 libavcodec/ac3enc_template.c energy_ch = energy[blk][ch][bnd]; blk 251 libavcodec/ac3enc_template.c blk1 = blk+1; blk 259 libavcodec/ac3enc_template.c cpl_coords[blk][ch][bnd] = calc_cpl_coord(energy_ch, energy_cpl); blk 261 libavcodec/ac3enc_template.c blk = blk1; blk 266 libavcodec/ac3enc_template.c for (blk = 0; blk < s->num_blocks; blk++) { blk 267 libavcodec/ac3enc_template.c AC3Block *block = &s->blocks[blk]; blk 272 libavcodec/ac3enc_template.c s->ac3dsp.float_to_fixed24(fixed_cpl_coords[blk][1], blk 273 libavcodec/ac3enc_template.c cpl_coords[blk][1], blk 277 libavcodec/ac3enc_template.c fixed_cpl_coords[blk][1], blk 306 libavcodec/ac3enc_template.c int cpl_mant = (fixed_cpl_coords[blk][ch][bnd] << (5 + cpl_exp + master_exp * 3)) >> 24; blk 328 libavcodec/ac3enc_template.c int blk, bnd; blk 334 libavcodec/ac3enc_template.c for (blk = 0; blk < s->num_blocks; blk++) { blk 335 libavcodec/ac3enc_template.c block = &s->blocks[blk]; blk 336 libavcodec/ac3enc_template.c block->new_rematrixing_strategy = !blk; blk 342 libavcodec/ac3enc_template.c if (blk && block->num_rematrixing_bands != block0->num_rematrixing_bands) blk 367 libavcodec/ac3enc_template.c if (blk && blk 312 libavcodec/aic.c int ret, i, mb, blk; blk 347 libavcodec/aic.c for (blk = 0; blk < 4; blk++) { blk 353 libavcodec/aic.c &base_y, &ext_y, blk); blk 358 libavcodec/aic.c dst = Y + (blk >> 1) * 8 * ystride + (blk & 1) * 8; blk 361 libavcodec/aic.c dst = Y + (blk & 1) * 8 + (blk >> 1) * ystride; blk 368 libavcodec/aic.c for (blk = 0; blk < 2; blk++) { blk 373 libavcodec/aic.c ctx->idsp.put_signed_pixels_clamped(ctx->block, C[blk], blk 374 libavcodec/aic.c ctx->frame->linesize[blk + 1]); blk 375 libavcodec/aic.c C[blk] += 8; blk 852 libavcodec/bink.c int blk, ret; blk 883 libavcodec/bink.c blk = binkb_get_value(c, BINKB_SRC_BLOCK_TYPES); blk 884 libavcodec/bink.c switch (blk) { blk 988 libavcodec/bink.c av_log(c->avctx, AV_LOG_ERROR, "Unknown block type %d\n", blk); blk 1020 libavcodec/bink.c int blk, ret; blk 1085 libavcodec/bink.c blk = get_value(c, BINK_SRC_BLOCK_TYPES); blk 1087 libavcodec/bink.c if ((by & 1) && blk == SCALED_BLOCK) { blk 1093 libavcodec/bink.c switch (blk) { blk 1098 libavcodec/bink.c blk = get_value(c, BINK_SRC_SUB_BLOCK_TYPES); blk 1099 libavcodec/bink.c switch (blk) { blk 1152 libavcodec/bink.c av_log(c->avctx, AV_LOG_ERROR, "Incorrect 16x16 block type %d\n", blk); blk 1155 libavcodec/bink.c if (blk != FILL_BLOCK) blk 1239 libavcodec/bink.c av_log(c->avctx, AV_LOG_ERROR, "Unknown block type %d\n", blk); blk 83 libavcodec/clearvideo.c static inline int decode_block(CLVContext *ctx, int16_t *blk, int has_ac, blk 89 libavcodec/clearvideo.c memset(blk, 0, sizeof(*blk) * 64); blk 90 libavcodec/clearvideo.c blk[0] = get_vlc2(gb, ctx->dc_vlc.table, 9, 3); blk 91 libavcodec/clearvideo.c if (blk[0] < 0) blk 93 libavcodec/clearvideo.c blk[0] -= 63; blk 124 libavcodec/clearvideo.c blk[ff_zigzag_direct[idx++]] = val; blk 130 libavcodec/clearvideo.c #define DCT_TEMPLATE(blk, step, bias, shift, dshift, OP) \ blk 131 libavcodec/clearvideo.c const int t0 = OP(2841 * blk[1 * step] + 565 * blk[7 * step]); \ blk 132 libavcodec/clearvideo.c const int t1 = OP( 565 * blk[1 * step] - 2841 * blk[7 * step]); \ blk 133 libavcodec/clearvideo.c const int t2 = OP(1609 * blk[5 * step] + 2408 * blk[3 * step]); \ blk 134 libavcodec/clearvideo.c const int t3 = OP(2408 * blk[5 * step] - 1609 * blk[3 * step]); \ blk 135 libavcodec/clearvideo.c const int t4 = OP(1108 * blk[2 * step] - 2676 * blk[6 * step]); \ blk 136 libavcodec/clearvideo.c const int t5 = OP(2676 * blk[2 * step] + 1108 * blk[6 * step]); \ blk 137 libavcodec/clearvideo.c const int t6 = ((blk[0 * step] + blk[4 * step]) * (1 << dshift)) + bias; \ blk 138 libavcodec/clearvideo.c const int t7 = ((blk[0 * step] - blk[4 * step]) * (1 << dshift)) + bias; \ blk 145 libavcodec/clearvideo.c blk[0 * step] = (t6 + t5 + t8) >> shift; \ blk 146 libavcodec/clearvideo.c blk[1 * step] = (t7 + t4 + tA) >> shift; \ blk 147 libavcodec/clearvideo.c blk[2 * step] = (t7 - t4 + tB) >> shift; \ blk 148 libavcodec/clearvideo.c blk[3 * step] = (t6 - t5 + tC) >> shift; \ blk 149 libavcodec/clearvideo.c blk[4 * step] = (t6 - t5 - tC) >> shift; \ blk 150 libavcodec/clearvideo.c blk[5 * step] = (t7 - t4 - tB) >> shift; \ blk 151 libavcodec/clearvideo.c blk[6 * step] = (t7 + t4 - tA) >> shift; \ blk 152 libavcodec/clearvideo.c blk[7 * step] = (t6 + t5 - t8) >> shift; \ blk 95 libavcodec/dv.c int x, y, blk; blk 100 libavcodec/dv.c blk = (chan * 11 + seq) * 27 + slot; blk 111 libavcodec/dv.c i = (4 * chan + blk + off[m]) % 11; blk 112 libavcodec/dv.c k = (blk / 11) % 27; blk 120 libavcodec/dv.c blk = (chan * 10 + seq) * 27 + slot; blk 122 libavcodec/dv.c i = (4 * chan + (seq / 5) + 2 * blk + off[m]) % 10; blk 123 libavcodec/dv.c k = (blk / 5) % 27; blk 135 libavcodec/dv.c blk = (chan * 10 + seq) * 27 + slot; blk 137 libavcodec/dv.c i = (4 * chan + (seq / 5) + 2 * blk + off[m]) % 10; blk 138 libavcodec/dv.c k = (blk / 5) % 27 + (i & 1) * 3; blk 362 libavcodec/dvenc.c int16_t *blk, EncBlockInfo *bi, blk 387 libavcodec/dvenc.c bi->mb[0] = blk[0]; blk 393 libavcodec/dvenc.c int level = blk[zigzag_scan[i]]; blk 446 libavcodec/dvenc.c int16_t *blk, EncBlockInfo *bi, blk 462 libavcodec/dvenc.c level0 = blk[zigzag_scan[i+0]]; blk 463 libavcodec/dvenc.c level1 = blk[zigzag_scan[i+1]]; blk 489 libavcodec/dvenc.c bi->mb[0] = blk[0]; blk 505 libavcodec/dvenc.c LOCAL_ALIGNED_16(int16_t, blk, [64]); blk 514 libavcodec/dvenc.c s->get_pixels(blk, data, linesize << bi->dct_mode); blk 515 libavcodec/dvenc.c s->fdct[0](blk); blk 518 libavcodec/dvenc.c s->get_pixels(blk, data, linesize); blk 519 libavcodec/dvenc.c s->fdct[bi->dct_mode](blk); blk 524 libavcodec/dvenc.c memset(blk, 0, 64*sizeof(*blk)); blk 535 libavcodec/dvenc.c dv_set_class_number_hd(s, blk, bi, blk 540 libavcodec/dvenc.c dv_set_class_number_sd(s, blk, bi, blk 820 libavcodec/dvenc.c static inline void dv_revise_cnos(uint8_t *dif, EncBlockInfo *blk, const AVDVProfile *profile) blk 831 libavcodec/dvenc.c data[1] |= blk[profile->bpm*mb_index+i].cno << 4; blk 198 libavcodec/eac3dec.c int bin, blk, gs; blk 241 libavcodec/eac3dec.c for (blk = 0; blk < 6; blk++) { blk 242 libavcodec/eac3dec.c s->pre_mantissa[ch][bin][blk] = (av_lfg_get(&s->dith_state) & 0x7FFFFF) - 0x400000; blk 247 libavcodec/eac3dec.c for (blk = 0; blk < 6; blk++) { blk 248 libavcodec/eac3dec.c s->pre_mantissa[ch][bin][blk] = ff_eac3_mantissa_vq[hebap][v][blk] * (1 << 8); blk 260 libavcodec/eac3dec.c for (blk = 0; blk < 6; blk++) { blk 282 libavcodec/eac3dec.c s->pre_mantissa[ch][bin][blk] = mant; blk 291 libavcodec/eac3dec.c int i, blk, ch; blk 418 libavcodec/eac3dec.c for (blk = 0; blk < s->num_blocks; blk++) { blk 514 libavcodec/eac3dec.c for (blk = 0; blk < s->num_blocks; blk++) { blk 515 libavcodec/eac3dec.c s->cpl_strategy_exists[blk] = (!blk || get_bits1(gbc)); blk 516 libavcodec/eac3dec.c if (s->cpl_strategy_exists[blk]) { blk 517 libavcodec/eac3dec.c s->cpl_in_use[blk] = get_bits1(gbc); blk 519 libavcodec/eac3dec.c s->cpl_in_use[blk] = s->cpl_in_use[blk-1]; blk 521 libavcodec/eac3dec.c num_cpl_blocks += s->cpl_in_use[blk]; blk 530 libavcodec/eac3dec.c for (blk = 0; blk < s->num_blocks; blk++) { blk 531 libavcodec/eac3dec.c for (ch = !s->cpl_in_use[blk]; ch <= s->fbw_channels; ch++) { blk 532 libavcodec/eac3dec.c s->exp_strategy[blk][ch] = get_bits(gbc, 2); blk 539 libavcodec/eac3dec.c for (blk = 0; blk < 6; blk++) { blk 540 libavcodec/eac3dec.c s->exp_strategy[blk][ch] = ff_eac3_frm_expstr[frmchexpstr][blk]; blk 546 libavcodec/eac3dec.c for (blk = 0; blk < s->num_blocks; blk++) { blk 547 libavcodec/eac3dec.c s->exp_strategy[blk][s->lfe_ch] = get_bits1(gbc); blk 565 libavcodec/eac3dec.c for (blk = 1; blk < 6; blk++) { blk 566 libavcodec/eac3dec.c if ((s->exp_strategy[blk][ch] != EXP_REUSE) || blk 567 libavcodec/eac3dec.c (!ch && s->cpl_strategy_exists[blk])) { blk 97 libavcodec/eac3enc.c int ch, blk; blk 103 libavcodec/eac3enc.c for (blk = 0; blk < s->num_blocks; blk++) { blk 104 libavcodec/eac3enc.c AC3Block *block = &s->blocks[blk]; blk 118 libavcodec/eac3enc.c for (blk = 0; blk < s->num_blocks; blk++) { blk 119 libavcodec/eac3enc.c AC3Block *block = &s->blocks[blk]; blk 130 libavcodec/eac3enc.c int blk, ch; blk 214 libavcodec/eac3enc.c for (blk = 1; blk < s->num_blocks; blk++) { blk 215 libavcodec/eac3enc.c AC3Block *block = &s->blocks[blk]; blk 226 libavcodec/eac3enc.c for (blk = 0; blk < s->num_blocks; blk++) blk 227 libavcodec/eac3enc.c for (ch = !s->blocks[blk].cpl_in_use; ch <= s->fbw_channels; ch++) blk 228 libavcodec/eac3enc.c put_bits(&s->pb, 2, s->exp_strategy[ch][blk]); blk 231 libavcodec/eac3enc.c for (blk = 0; blk < s->num_blocks; blk++) blk 232 libavcodec/eac3enc.c put_bits(&s->pb, 1, s->exp_strategy[s->lfe_channel][blk]); blk 87 libavcodec/fic.c static av_always_inline void fic_idct(int16_t *blk, int step, int shift, int rnd) blk 89 libavcodec/fic.c const unsigned t0 = 27246 * blk[3 * step] + 18405 * blk[5 * step]; blk 90 libavcodec/fic.c const unsigned t1 = 27246 * blk[5 * step] - 18405 * blk[3 * step]; blk 91 libavcodec/fic.c const unsigned t2 = 6393 * blk[7 * step] + 32139 * blk[1 * step]; blk 92 libavcodec/fic.c const unsigned t3 = 6393 * blk[1 * step] - 32139 * blk[7 * step]; blk 97 libavcodec/fic.c const unsigned t8 = 17734 * blk[2 * step] - 42813 * blk[6 * step]; blk 98 libavcodec/fic.c const unsigned t9 = 17734 * blk[6 * step] + 42814 * blk[2 * step]; blk 99 libavcodec/fic.c const unsigned tA = (blk[0 * step] - blk[4 * step]) * 32768 + rnd; blk 100 libavcodec/fic.c const unsigned tB = (blk[0 * step] + blk[4 * step]) * 32768 + rnd; blk 101 libavcodec/fic.c blk[0 * step] = (int)( t4 + t9 + tB) >> shift; blk 102 libavcodec/fic.c blk[1 * step] = (int)( t6 + t7 + t8 + tA) >> shift; blk 103 libavcodec/fic.c blk[2 * step] = (int)( t6 - t7 - t8 + tA) >> shift; blk 104 libavcodec/fic.c blk[3 * step] = (int)( t5 - t9 + tB) >> shift; blk 105 libavcodec/fic.c blk[4 * step] = (int)( -t5 - t9 + tB) >> shift; blk 106 libavcodec/fic.c blk[5 * step] = (int)(-(t6 - t7) - t8 + tA) >> shift; blk 107 libavcodec/fic.c blk[6 * step] = (int)(-(t6 + t7) + t8 + tA) >> shift; blk 108 libavcodec/fic.c blk[7 * step] = (int)( -t4 + t9 + tB) >> shift; blk 35 libavcodec/hq_hqadsp.c static inline void idct_row(int16_t *blk) blk 40 libavcodec/hq_hqadsp.c tmp0 = blk[5] - blk[3]; blk 41 libavcodec/hq_hqadsp.c tmp1 = blk[5] + blk[3]; blk 42 libavcodec/hq_hqadsp.c tmp2 = blk[1] - blk[7]; blk 43 libavcodec/hq_hqadsp.c tmp3 = blk[1] + blk[7]; blk 52 libavcodec/hq_hqadsp.c tmpC = blk[2] + blk[6]; blk 53 libavcodec/hq_hqadsp.c tmpD = blk[2] - blk[6]; blk 54 libavcodec/hq_hqadsp.c tmpE = blk[0] - blk[4]; blk 55 libavcodec/hq_hqadsp.c tmpF = blk[0] + blk[4]; blk 63 libavcodec/hq_hqadsp.c blk[0] = tmp14 + tmp8; blk 64 libavcodec/hq_hqadsp.c blk[1] = tmp13 + tmp9; blk 65 libavcodec/hq_hqadsp.c blk[2] = tmp11 + tmpA; blk 66 libavcodec/hq_hqadsp.c blk[3] = tmp12 - tmpB; blk 67 libavcodec/hq_hqadsp.c blk[4] = tmp12 + tmpB; blk 68 libavcodec/hq_hqadsp.c blk[5] = tmp11 - tmpA; blk 69 libavcodec/hq_hqadsp.c blk[6] = tmp13 - tmp9; blk 70 libavcodec/hq_hqadsp.c blk[7] = tmp14 - tmp8; blk 73 libavcodec/hq_hqadsp.c static inline void idct_col(int16_t *blk) blk 78 libavcodec/hq_hqadsp.c tmp0 = blk[5 * 8] - blk[3 * 8]; blk 79 libavcodec/hq_hqadsp.c tmp1 = blk[5 * 8] + blk[3 * 8]; blk 80 libavcodec/hq_hqadsp.c tmp2 = blk[1 * 8] * 2 - (blk[7 * 8] >> 2); blk 81 libavcodec/hq_hqadsp.c tmp3 = blk[1 * 8] * 2 + (blk[7 * 8] >> 2); blk 90 libavcodec/hq_hqadsp.c tmpC = blk[2 * 8] + (blk[6 * 8] >> 1) >> 1; blk 91 libavcodec/hq_hqadsp.c tmpD = blk[2 * 8] - (blk[6 * 8] >> 1); blk 92 libavcodec/hq_hqadsp.c tmpE = (blk[0 * 8] >> 1) - (blk[4 * 8] >> 1) + 0x2020; blk 93 libavcodec/hq_hqadsp.c tmpF = (blk[0 * 8] >> 1) + (blk[4 * 8] >> 1) + 0x2020; blk 101 libavcodec/hq_hqadsp.c blk[0 * 8] = (tmp14 + tmp8) >> 6; blk 102 libavcodec/hq_hqadsp.c blk[1 * 8] = (tmp13 + tmp9) >> 6; blk 103 libavcodec/hq_hqadsp.c blk[2 * 8] = (tmp11 + tmpA) >> 6; blk 104 libavcodec/hq_hqadsp.c blk[3 * 8] = (tmp12 - tmpB) >> 6; blk 105 libavcodec/hq_hqadsp.c blk[4 * 8] = (tmp12 + tmpB) >> 6; blk 106 libavcodec/hq_hqadsp.c blk[5 * 8] = (tmp11 - tmpA) >> 6; blk 107 libavcodec/hq_hqadsp.c blk[6 * 8] = (tmp13 - tmp9) >> 6; blk 108 libavcodec/hq_hqadsp.c blk[7 * 8] = (tmp14 - tmp8) >> 6; blk 27 libavcodec/hqxdsp.c static inline void idct_col(int16_t *blk, const uint8_t *quant) blk 33 libavcodec/hqxdsp.c s0 = (int) blk[0 * 8] * quant[0 * 8]; blk 34 libavcodec/hqxdsp.c s1 = (int) blk[1 * 8] * quant[1 * 8]; blk 35 libavcodec/hqxdsp.c s2 = (int) blk[2 * 8] * quant[2 * 8]; blk 36 libavcodec/hqxdsp.c s3 = (int) blk[3 * 8] * quant[3 * 8]; blk 37 libavcodec/hqxdsp.c s4 = (int) blk[4 * 8] * quant[4 * 8]; blk 38 libavcodec/hqxdsp.c s5 = (int) blk[5 * 8] * quant[5 * 8]; blk 39 libavcodec/hqxdsp.c s6 = (int) blk[6 * 8] * quant[6 * 8]; blk 40 libavcodec/hqxdsp.c s7 = (int) blk[7 * 8] * quant[7 * 8]; blk 63 libavcodec/hqxdsp.c blk[0 * 8] = t13 + t4 * 2; blk 64 libavcodec/hqxdsp.c blk[1 * 8] = t12 + t9 * 2; blk 65 libavcodec/hqxdsp.c blk[2 * 8] = t11 + t8 * 2; blk 66 libavcodec/hqxdsp.c blk[3 * 8] = t10 + t5 * 2; blk 67 libavcodec/hqxdsp.c blk[4 * 8] = t10; blk 68 libavcodec/hqxdsp.c blk[5 * 8] = t11; blk 69 libavcodec/hqxdsp.c blk[6 * 8] = t12; blk 70 libavcodec/hqxdsp.c blk[7 * 8] = t13; blk 73 libavcodec/hqxdsp.c static inline void idct_row(int16_t *blk) blk 78 libavcodec/hqxdsp.c t0 = (blk[3] * 19266 + blk[5] * 12873) >> 14; blk 79 libavcodec/hqxdsp.c t1 = (blk[5] * 19266 - blk[3] * 12873) >> 14; blk 80 libavcodec/hqxdsp.c t2 = ((blk[7] * 4520 + blk[1] * 22725) >> 14) - t0; blk 81 libavcodec/hqxdsp.c t3 = ((blk[1] * 4520 - blk[7] * 22725) >> 14) - t1; blk 88 libavcodec/hqxdsp.c tA = (blk[2] * 8867 - blk[6] * 21407) >> 14; blk 89 libavcodec/hqxdsp.c tB = (blk[6] * 8867 + blk[2] * 21407) >> 14; blk 90 libavcodec/hqxdsp.c tC = blk[0] - blk[4]; blk 91 libavcodec/hqxdsp.c tD = blk[4] * 2 + tC; blk 99 libavcodec/hqxdsp.c blk[0] = (t13 + t4 * 2 + 4) >> 3; blk 100 libavcodec/hqxdsp.c blk[1] = (t12 + t9 * 2 + 4) >> 3; blk 101 libavcodec/hqxdsp.c blk[2] = (t11 + t8 * 2 + 4) >> 3; blk 102 libavcodec/hqxdsp.c blk[3] = (t10 + t5 * 2 + 4) >> 3; blk 103 libavcodec/hqxdsp.c blk[4] = (t10 + 4) >> 3; blk 104 libavcodec/hqxdsp.c blk[5] = (t11 + 4) >> 3; blk 105 libavcodec/hqxdsp.c blk[6] = (t12 + 4) >> 3; blk 106 libavcodec/hqxdsp.c blk[7] = (t13 + 4) >> 3; blk 610 libavcodec/ivi.c int mbn, blk, num_blocks, blk_size, ret, is_intra; blk 701 libavcodec/ivi.c for (blk = 0; blk < num_blocks; blk++) { blk 703 libavcodec/ivi.c if (blk & 1) { blk 705 libavcodec/ivi.c } else if (blk == 2) { blk 762 libavcodec/ivi.c int x, y, need_mc, mbn, blk, num_blocks, mv_x, mv_y, mc_type; blk 860 libavcodec/ivi.c for (blk = 0; blk < num_blocks; blk++) { blk 862 libavcodec/ivi.c offs = mb->buf_offs + band->blk_size * ((blk & 1) + !!(blk & 2) * pitch); blk 67 libavcodec/mips/h264dsp_mips.h int16_t *blk, int dst_stride, blk 64 libavcodec/mss34dsp.c #define DCT_TEMPLATE(blk, step, SOP, shift) \ blk 65 libavcodec/mss34dsp.c const unsigned t0 =-39409U * blk[7 * step] - 58980U * blk[1 * step]; \ blk 66 libavcodec/mss34dsp.c const unsigned t1 = 39410U * blk[1 * step] - 58980U * blk[7 * step]; \ blk 67 libavcodec/mss34dsp.c const unsigned t2 =-33410U * blk[5 * step] -167963U * blk[3 * step]; \ blk 68 libavcodec/mss34dsp.c const unsigned t3 = 33410U * blk[3 * step] -167963U * blk[5 * step]; \ blk 69 libavcodec/mss34dsp.c const unsigned t4 = blk[3 * step] + blk[7 * step]; \ blk 70 libavcodec/mss34dsp.c const unsigned t5 = blk[1 * step] + blk[5 * step]; \ blk 73 libavcodec/mss34dsp.c const unsigned t8 = 35470U * blk[2 * step] - 85623U * blk[6 * step]; \ blk 74 libavcodec/mss34dsp.c const unsigned t9 = 35470U * blk[6 * step] + 85623U * blk[2 * step]; \ blk 75 libavcodec/mss34dsp.c const unsigned tA = SOP(blk[0 * step] - blk[4 * step]); \ blk 76 libavcodec/mss34dsp.c const unsigned tB = SOP(blk[0 * step] + blk[4 * step]); \ blk 78 libavcodec/mss34dsp.c blk[0 * step] = (int)( t1 + t6 + t9 + tB) >> shift; \ blk 79 libavcodec/mss34dsp.c blk[1 * step] = (int)( t3 + t7 + t8 + tA) >> shift; \ blk 80 libavcodec/mss34dsp.c blk[2 * step] = (int)( t2 + t6 - t8 + tA) >> shift; \ blk 81 libavcodec/mss34dsp.c blk[3 * step] = (int)( t0 + t7 - t9 + tB) >> shift; \ blk 82 libavcodec/mss34dsp.c blk[4 * step] = (int)(-(t0 + t7) - t9 + tB) >> shift; \ blk 83 libavcodec/mss34dsp.c blk[5 * step] = (int)(-(t2 + t6) - t8 + tA) >> shift; \ blk 84 libavcodec/mss34dsp.c blk[6 * step] = (int)(-(t3 + t7) + t8 + tA) >> shift; \ blk 85 libavcodec/mss34dsp.c blk[7 * step] = (int)(-(t1 + t6) + t9 + tB) >> shift; \ blk 105 libavcodec/mv30.c static inline void idct_1d(int *blk, int step) blk 107 libavcodec/mv30.c const int t0 = blk[0 * step] + blk[4 * step]; blk 108 libavcodec/mv30.c const int t1 = blk[0 * step] - blk[4 * step]; blk 109 libavcodec/mv30.c const int t2 = blk[2 * step] + blk[6 * step]; blk 110 libavcodec/mv30.c const int t3 = ((int)((blk[2 * step] - blk[6 * step]) * 362U) >> 8) - t2; blk 115 libavcodec/mv30.c const int t8 = blk[5 * step] + blk[3 * step]; blk 116 libavcodec/mv30.c const int t9 = blk[5 * step] - blk[3 * step]; blk 117 libavcodec/mv30.c const int tA = blk[1 * step] + blk[7 * step]; blk 118 libavcodec/mv30.c const int tB = blk[1 * step] - blk[7 * step]; blk 125 libavcodec/mv30.c blk[0 * step] = t4 + tC; blk 126 libavcodec/mv30.c blk[1 * step] = t6 + tE; blk 127 libavcodec/mv30.c blk[2 * step] = t7 + tF; blk 128 libavcodec/mv30.c blk[3 * step] = t5 - t10; blk 129 libavcodec/mv30.c blk[4 * step] = t5 + t10; blk 130 libavcodec/mv30.c blk[5 * step] = t7 - tF; blk 131 libavcodec/mv30.c blk[6 * step] = t6 - tE; blk 132 libavcodec/mv30.c blk[7 * step] = t4 - tC; blk 199 libavcodec/mv30.c static inline void idct2_1d(int *blk, int step) blk 201 libavcodec/mv30.c const int t0 = blk[0 * step]; blk 202 libavcodec/mv30.c const int t1 = blk[1 * step]; blk 208 libavcodec/mv30.c blk[0 * step] = t1 + t0; blk 209 libavcodec/mv30.c blk[1 * step] = t0 + t3; blk 210 libavcodec/mv30.c blk[2 * step] = t4 + t0; blk 211 libavcodec/mv30.c blk[3 * step] = t0 - t5; blk 212 libavcodec/mv30.c blk[4 * step] = t5 + t0; blk 213 libavcodec/mv30.c blk[5 * step] = t0 - t4; blk 214 libavcodec/mv30.c blk[6 * step] = t0 - t3; blk 215 libavcodec/mv30.c blk[7 * step] = t0 - t1; blk 155 libavcodec/ppc/idctdsp.c static void idct_altivec(int16_t *blk) blk 157 libavcodec/ppc/idctdsp.c vec_s16 *block = (vec_s16 *) blk; blk 171 libavcodec/ppc/idctdsp.c static void idct_put_altivec(uint8_t *dest, ptrdiff_t stride, int16_t *blk) blk 173 libavcodec/ppc/idctdsp.c vec_s16 *block = (vec_s16 *) blk; blk 200 libavcodec/ppc/idctdsp.c static void idct_add_altivec(uint8_t *dest, ptrdiff_t stride, int16_t *blk) blk 202 libavcodec/ppc/idctdsp.c vec_s16 *block = (vec_s16 *) blk; blk 72 libavcodec/sbcdec.c int ch, sb, blk, bit; /* channel, subband, block and bit standard blk 159 libavcodec/sbcdec.c for (blk = 0; blk < frame->blocks; blk++) { blk 165 libavcodec/sbcdec.c frame->sb_sample[blk][ch][sb] = 0; blk 183 libavcodec/sbcdec.c frame->sb_sample[blk][ch][sb] = (int32_t) blk 191 libavcodec/sbcdec.c for (blk = 0; blk < frame->blocks; blk++) { blk 194 libavcodec/sbcdec.c temp = frame->sb_sample[blk][0][sb] + blk 195 libavcodec/sbcdec.c frame->sb_sample[blk][1][sb]; blk 196 libavcodec/sbcdec.c frame->sb_sample[blk][1][sb] = blk 197 libavcodec/sbcdec.c frame->sb_sample[blk][0][sb] - blk 198 libavcodec/sbcdec.c frame->sb_sample[blk][1][sb]; blk 199 libavcodec/sbcdec.c frame->sb_sample[blk][0][sb] = temp; blk 213 libavcodec/sbcdec.c int ch, int blk, AVFrame *output_frame) blk 229 libavcodec/sbcdec.c (int)( (unsigned)ff_synmatrix4[i][0] * frame->sb_sample[blk][ch][0] + blk 230 libavcodec/sbcdec.c (unsigned)ff_synmatrix4[i][1] * frame->sb_sample[blk][ch][1] + blk 231 libavcodec/sbcdec.c (unsigned)ff_synmatrix4[i][2] * frame->sb_sample[blk][ch][2] + blk 232 libavcodec/sbcdec.c (unsigned)ff_synmatrix4[i][3] * frame->sb_sample[blk][ch][3] ) >> 15; blk 240 libavcodec/sbcdec.c AV_WN16A(&output_frame->data[ch][blk * 8 + i * 2], av_clip_int16( blk 256 libavcodec/sbcdec.c int ch, int blk, AVFrame *output_frame) blk 272 libavcodec/sbcdec.c (int)( (unsigned)ff_synmatrix8[i][0] * frame->sb_sample[blk][ch][0] + blk 273 libavcodec/sbcdec.c (unsigned)ff_synmatrix8[i][1] * frame->sb_sample[blk][ch][1] + blk 274 libavcodec/sbcdec.c (unsigned)ff_synmatrix8[i][2] * frame->sb_sample[blk][ch][2] + blk 275 libavcodec/sbcdec.c (unsigned)ff_synmatrix8[i][3] * frame->sb_sample[blk][ch][3] + blk 276 libavcodec/sbcdec.c (unsigned)ff_synmatrix8[i][4] * frame->sb_sample[blk][ch][4] + blk 277 libavcodec/sbcdec.c (unsigned)ff_synmatrix8[i][5] * frame->sb_sample[blk][ch][5] + blk 278 libavcodec/sbcdec.c (unsigned)ff_synmatrix8[i][6] * frame->sb_sample[blk][ch][6] + blk 279 libavcodec/sbcdec.c (unsigned)ff_synmatrix8[i][7] * frame->sb_sample[blk][ch][7] ) >> 15; blk 287 libavcodec/sbcdec.c AV_WN16A(&output_frame->data[ch][blk * 16 + i * 2], av_clip_int16( blk 304 libavcodec/sbcdec.c int ch, blk; blk 309 libavcodec/sbcdec.c for (blk = 0; blk < frame->blocks; blk++) blk 310 libavcodec/sbcdec.c sbc_synthesize_four(state, frame, ch, blk, output_frame); blk 315 libavcodec/sbcdec.c for (blk = 0; blk < frame->blocks; blk++) blk 316 libavcodec/sbcdec.c sbc_synthesize_eight(state, frame, ch, blk, output_frame); blk 274 libavcodec/sbcdsp.c int ch, sb, blk; blk 278 libavcodec/sbcdsp.c for (blk = 0; blk < blocks; blk++) { blk 279 libavcodec/sbcdsp.c int32_t tmp = FFABS(sb_sample_f[blk][ch][sb]); blk 292 libavcodec/sbcdsp.c int blk, joint = 0; blk 300 libavcodec/sbcdsp.c for (blk = 0; blk < blocks; blk++) { blk 301 libavcodec/sbcdsp.c tmp0 = FFABS(sb_sample_f[blk][0][sb]); blk 302 libavcodec/sbcdsp.c tmp1 = FFABS(sb_sample_f[blk][1][sb]); blk 316 libavcodec/sbcdsp.c for (blk = 0; blk < blocks; blk++) { blk 317 libavcodec/sbcdsp.c tmp0 = sb_sample_f[blk][0][sb]; blk 318 libavcodec/sbcdsp.c tmp1 = sb_sample_f[blk][1][sb]; blk 319 libavcodec/sbcdsp.c sb_sample_j[blk][0] = (tmp0 >> 1) + (tmp1 >> 1); blk 320 libavcodec/sbcdsp.c sb_sample_j[blk][1] = (tmp0 >> 1) - (tmp1 >> 1); blk 334 libavcodec/sbcdsp.c for (blk = 0; blk < blocks; blk++) { blk 335 libavcodec/sbcdsp.c tmp0 = FFABS(sb_sample_j[blk][0]); blk 336 libavcodec/sbcdsp.c tmp1 = FFABS(sb_sample_j[blk][1]); blk 350 libavcodec/sbcdsp.c for (blk = 0; blk < blocks; blk++) { blk 351 libavcodec/sbcdsp.c sb_sample_f[blk][0][sb] = sb_sample_j[blk][0]; blk 352 libavcodec/sbcdsp.c sb_sample_f[blk][1][sb] = sb_sample_j[blk][1]; blk 51 libavcodec/sbcenc.c int ch, blk; blk 59 libavcodec/sbcenc.c for (blk = 0; blk < frame->blocks; blk 60 libavcodec/sbcenc.c blk += s->increment) { blk 63 libavcodec/sbcenc.c frame->sb_sample_f[blk][ch], blk 64 libavcodec/sbcenc.c frame->sb_sample_f[blk + 1][ch] - blk 65 libavcodec/sbcenc.c frame->sb_sample_f[blk][ch]); blk 75 libavcodec/sbcenc.c for (blk = 0; blk < frame->blocks; blk 76 libavcodec/sbcenc.c blk += s->increment) { blk 79 libavcodec/sbcenc.c frame->sb_sample_f[blk][ch], blk 80 libavcodec/sbcenc.c frame->sb_sample_f[blk + 1][ch] - blk 81 libavcodec/sbcenc.c frame->sb_sample_f[blk][ch]); blk 107 libavcodec/sbcenc.c int ch, sb, blk; /* channel, subband, block and bit counters */ blk 173 libavcodec/sbcenc.c for (blk = 0; blk < frame->blocks; blk++) { blk 182 libavcodec/sbcenc.c frame->sb_sample_f[blk][ch][sb])) >> 32; blk 425 libavcodec/smacker.c int blocks, blk, bw, bh; blk 457 libavcodec/smacker.c blk = 0; blk 462 libavcodec/smacker.c while(blk < blocks) { blk 472 libavcodec/smacker.c while(run-- && blk < blocks){ blk 477 libavcodec/smacker.c out = smk->pic->data[0] + (blk / bw) * (stride * 4) + (blk % bw) * 4; blk 488 libavcodec/smacker.c blk++; blk 497 libavcodec/smacker.c while(run-- && blk < blocks){ blk 498 libavcodec/smacker.c out = smk->pic->data[0] + (blk / bw) * (stride * 4) + (blk % bw) * 4; blk 538 libavcodec/smacker.c blk++; blk 542 libavcodec/smacker.c while(run-- && blk < blocks) blk 543 libavcodec/smacker.c blk++; blk 547 libavcodec/smacker.c while(run-- && blk < blocks){ blk 549 libavcodec/smacker.c out = smk->pic->data[0] + (blk / bw) * (stride * 4) + (blk % bw) * 4; blk 555 libavcodec/smacker.c blk++; blk 93 libavcodec/vb.c int blk, blocks, t, blk2; blk 108 libavcodec/vb.c for (blk = 0; blk < blocks; blk++) { blk 109 libavcodec/vb.c if (!(blk & 3)) { blk 173 libavcodec/vb.c av_log(c->avctx, AV_LOG_ERROR, "Invalid opcode seen @%d\n", blk); blk 57 libavutil/sha.c #define R1(v,w,x,y,z,i) z += (((w)&((x)^(y)))^(y)) + blk (i) + 0x5A827999 + rol(v, 5); w = rol(w, 30); blk 58 libavutil/sha.c #define R2(v,w,x,y,z,i) z += ( (w)^(x) ^(y)) + blk (i) + 0x6ED9EBA1 + rol(v, 5); w = rol(w, 30); blk 59 libavutil/sha.c #define R3(v,w,x,y,z,i) z += ((((w)|(x))&(y))|((w)&(x))) + blk (i) + 0x8F1BBCDC + rol(v, 5); w = rol(w, 30); blk 60 libavutil/sha.c #define R4(v,w,x,y,z,i) z += ( (w)^(x) ^(y)) + blk (i) + 0xCA62C1D6 + rol(v, 5); w = rol(w, 30); blk 199 libavutil/sha.c T1 = blk(i); \ blk 222 libavutil/sha.c T1 = blk(i); blk 116 libavutil/sha512.c T1 = blk(i); \ blk 140 libavutil/sha512.c T1 = blk(i);