shift 67 libavcodec/ac3dec_fixed.c int i, shift, round; shift 72 libavcodec/ac3dec_fixed.c shift = 4 - ((dynrng << 23) >> 28); shift 73 libavcodec/ac3dec_fixed.c if (shift > 0 ) { shift 74 libavcodec/ac3dec_fixed.c round = 1 << (shift-1); shift 83 libavcodec/ac3dec_fixed.c dst[i] = temp >> shift; shift 87 libavcodec/ac3dec_fixed.c dst[i+1] = temp1 >> shift; shift 90 libavcodec/ac3dec_fixed.c dst[i+2] = temp2 >> shift; shift 94 libavcodec/ac3dec_fixed.c dst[i+3] = temp3 >> shift; shift 97 libavcodec/ac3dec_fixed.c dst[i+4] = temp4 >> shift; shift 102 libavcodec/ac3dec_fixed.c dst[i+5] = temp5 >> shift; shift 104 libavcodec/ac3dec_fixed.c dst[i+6] = temp6 >> shift; shift 105 libavcodec/ac3dec_fixed.c dst[i+7] = temp7 >> shift; shift 109 libavcodec/ac3dec_fixed.c shift = -shift; shift 116 libavcodec/ac3dec_fixed.c dst[i] = temp << shift; shift 119 libavcodec/ac3dec_fixed.c dst[i+1] = temp1 << shift; shift 121 libavcodec/ac3dec_fixed.c dst[i+2] = temp2 << shift; shift 124 libavcodec/ac3dec_fixed.c dst[i+3] = temp3 << shift; shift 127 libavcodec/ac3dec_fixed.c dst[i+4] = temp4 << shift; shift 130 libavcodec/ac3dec_fixed.c dst[i+5] = temp5 << shift; shift 131 libavcodec/ac3dec_fixed.c dst[i+6] = temp6 << shift; shift 132 libavcodec/ac3dec_fixed.c dst[i+7] = temp7 << shift; shift 57 libavcodec/ac3dsp.c unsigned int shift) shift 60 libavcodec/ac3dsp.c const uint32_t mask = ~(((1 << shift) - 1) << 16); shift 64 libavcodec/ac3dsp.c src32[i ] = (src32[i ] << shift) & mask; shift 65 libavcodec/ac3dsp.c src32[i+1] = (src32[i+1] << shift) & mask; shift 66 libavcodec/ac3dsp.c src32[i+2] = (src32[i+2] << shift) & mask; shift 67 libavcodec/ac3dsp.c src32[i+3] = (src32[i+3] << shift) & mask; shift 68 libavcodec/ac3dsp.c src32[i+4] = (src32[i+4] << shift) & mask; shift 69 libavcodec/ac3dsp.c src32[i+5] = (src32[i+5] << shift) & mask; shift 70 libavcodec/ac3dsp.c src32[i+6] = (src32[i+6] << shift) & mask; shift 71 libavcodec/ac3dsp.c src32[i+7] = (src32[i+7] << shift) & mask; shift 76 libavcodec/ac3dsp.c unsigned int shift) shift 79 libavcodec/ac3dsp.c *src++ >>= shift; shift 80 libavcodec/ac3dsp.c *src++ >>= shift; shift 81 libavcodec/ac3dsp.c *src++ >>= shift; shift 82 libavcodec/ac3dsp.c *src++ >>= shift; shift 83 libavcodec/ac3dsp.c *src++ >>= shift; shift 84 libavcodec/ac3dsp.c *src++ >>= shift; shift 85 libavcodec/ac3dsp.c *src++ >>= shift; shift 86 libavcodec/ac3dsp.c *src++ >>= shift; shift 65 libavcodec/ac3dsp.h void (*ac3_lshift_int16)(int16_t *src, unsigned int len, unsigned int shift); shift 76 libavcodec/ac3dsp.h void (*ac3_rshift_int32)(int32_t *src, unsigned int len, unsigned int shift); shift 179 libavcodec/acelp_vectors.c int shift, shift 189 libavcodec/acelp_vectors.c rounder) >> shift); shift 220 libavcodec/acelp_vectors.h int shift, shift 163 libavcodec/adpcm.c static inline short adpcm_ima_expand_nibble(ADPCMChannelStatus *c, char nibble, int shift) shift 178 libavcodec/adpcm.c diff = ((2 * delta + 1) * step) >> shift; shift 191 libavcodec/adpcm.c int nibble, step_index, predictor, sign, delta, diff, step, shift; shift 193 libavcodec/adpcm.c shift = bps - 1; shift 199 libavcodec/adpcm.c sign = nibble & (1 << shift); shift 200 libavcodec/adpcm.c delta = nibble & ((1 << shift) - 1); shift 201 libavcodec/adpcm.c diff = ((2 * delta + 1) * step) >> shift; shift 212 libavcodec/adpcm.c static inline int adpcm_ima_qt_expand_nibble(ADPCMChannelStatus *c, int nibble, int shift) shift 299 libavcodec/adpcm.c static inline short adpcm_sbpro_expand_nibble(ADPCMChannelStatus *c, char nibble, int size, int shift) shift 305 libavcodec/adpcm.c diff = delta << (7 + c->step + shift); shift 338 libavcodec/adpcm.c int shift,filter,f0,f1; shift 349 libavcodec/adpcm.c shift = 12 - (in[4+i*2] & 15); shift 365 libavcodec/adpcm.c s = ( t<<shift ) + ((s_1*f0 + s_2*f1+32)>>6); shift 378 libavcodec/adpcm.c shift = 12 - (in[5+i*2] & 15); shift 392 libavcodec/adpcm.c s = ( t<<shift ) + ((s_1*f0 + s_2*f1+32)>>6); shift 1120 libavcodec/adpcm.c int coeff[2][2], shift[2]; shift 1126 libavcodec/adpcm.c shift[channel] = 20 - (byte & 0x0F); shift 1135 libavcodec/adpcm.c int sample = sign_extend(byte[channel] >> i, 4) << shift[channel]; shift 1158 libavcodec/adpcm.c int shift; shift 1192 libavcodec/adpcm.c shift = 20 - (byte & 0x0F); shift 1196 libavcodec/adpcm.c next_sample = sign_extend(byte, 4) << shift; shift 1199 libavcodec/adpcm.c next_sample = sign_extend(byte >> 4, 4) << shift; shift 1231 libavcodec/adpcm.c int coeff[2][4], shift[4]; shift 1240 libavcodec/adpcm.c shift[n] = 20 - (val & 0x0F); shift 1250 libavcodec/adpcm.c level = sign_extend(byte >> 4, 4) << shift[n]; shift 1254 libavcodec/adpcm.c level = sign_extend(byte, 4) << shift[n]; shift 84 libavcodec/alacenc.c int shift = av_get_bytes_per_sample(s->avctx->sample_fmt) * 8 - shift 92 libavcodec/alacenc.c bptr[i] = sptr[i] >> shift; \ shift 152 libavcodec/alacenc.c int shift[MAX_LPC_ORDER]; shift 169 libavcodec/alacenc.c ALAC_MAX_LPC_PRECISION, coefs, shift, shift 174 libavcodec/alacenc.c s->lpc[ch].lpc_quant = shift[opt_order-1]; shift 375 libavcodec/alacenc.c int shift = 32 - s->avctx->bits_per_raw_sample; shift 381 libavcodec/alacenc.c samples_s32[j][i] >> shift); shift 1479 libavcodec/alsdec.c unsigned int c, sample, ra_frame, bytes_read, shift; shift 1513 libavcodec/alsdec.c shift = bps - ctx->avctx->bits_per_raw_sample; \ shift 1517 libavcodec/alsdec.c *dest++ = ctx->raw_samples[c][sample] << shift; \ shift 1521 libavcodec/alsdec.c *dest++ = ctx->raw_samples[sconf->chan_pos[c]][sample] << shift; \ shift 359 libavcodec/apedec.c static inline int range_decode_culshift(APEContext *ctx, int shift) shift 362 libavcodec/apedec.c ctx->rc.help = ctx->rc.range >> shift; shift 847 libavcodec/apedec.c const int start, const int shift) shift 883 libavcodec/apedec.c p->filterB[filter] = p->lastA[filter] + (predictionB >> shift); shift 889 libavcodec/apedec.c static void long_filter_high_3800(int32_t *buffer, int order, int shift, int length) shift 905 libavcodec/apedec.c buffer[i] -= dotprod >> shift; shift 937 libavcodec/apedec.c int start = 4, shift = 10; shift 948 libavcodec/apedec.c shift++; shift 967 libavcodec/apedec.c start, shift); shift 970 libavcodec/apedec.c start, shift); shift 991 libavcodec/apedec.c int start = 4, shift = 10; shift 1001 libavcodec/apedec.c shift++; shift 1015 libavcodec/apedec.c start, shift); shift 30 libavcodec/arm/ac3dsp_init_arm.c void ff_ac3_lshift_int16_neon(int16_t *src, unsigned len, unsigned shift); shift 31 libavcodec/arm/ac3dsp_init_arm.c void ff_ac3_rshift_int32_neon(int32_t *src, unsigned len, unsigned shift); shift 44 libavcodec/arm/mlpdsp_init_arm.c #define DECLARE_PACK(order,channels,shift) \ shift 45 libavcodec/arm/mlpdsp_init_arm.c int32_t ff_mlp_pack_output_##order##order_##channels##ch_##shift##shift_armv6(int32_t, uint16_t, int32_t (*)[], void *, uint8_t*, int8_t *, uint8_t, int); shift 46 libavcodec/arm/mlpdsp_init_arm.c #define ENUMERATE_PACK(order,channels,shift) \ shift 47 libavcodec/arm/mlpdsp_init_arm.c ff_mlp_pack_output_##order##order_##channels##ch_##shift##shift_armv6, shift 95 libavcodec/arm/mlpdsp_init_arm.c int shift = output_shift[0] < 0 || output_shift[0] > 5 ? 6 : output_shift[0]; shift 120 libavcodec/arm/mlpdsp_init_arm.c if (shift != 6 && output_shift[i] != shift) shift 121 libavcodec/arm/mlpdsp_init_arm.c shift = 6; // indicate mixed shifts shift 129 libavcodec/arm/mlpdsp_init_arm.c if (shift == 6 && !inorder) shift 133 libavcodec/arm/mlpdsp_init_arm.c return routine[(inorder*3+ch_index)*7+shift]; shift 45 libavcodec/arm/vp56_arith.h unsigned shift = ff_vp56_norm_shift[c->high]; shift 46 libavcodec/arm/vp56_arith.h unsigned code_word = c->code_word << shift; shift 47 libavcodec/arm/vp56_arith.h unsigned high = c->high << shift; shift 73 libavcodec/arm/vp56_arith.h "0"(shift), "1"(code_word) shift 82 libavcodec/arm/vp56_arith.h unsigned shift = ff_vp56_norm_shift[c->high]; shift 83 libavcodec/arm/vp56_arith.h unsigned code_word = c->code_word << shift; shift 84 libavcodec/arm/vp56_arith.h unsigned high = c->high << shift; shift 105 libavcodec/arm/vp56_arith.h : "r"(high), "r"(pr), "r"(c->end - 1), "0"(shift) shift 32 libavcodec/avr32/mathops.h static inline av_const int MULL(int a, int b, unsigned shift) shift 38 libavcodec/avr32/mathops.h : "=r"(x) : "r"(b), "r"(a), "i"(shift), "i"(32-shift)); shift 79 libavcodec/bfi.c int shift = 16; shift 81 libavcodec/bfi.c for (j = 0; j < 3; j++, shift -= 8) shift 83 libavcodec/bfi.c (avctx->extradata[i * 3 + j] >> 4)) << shift; shift 83 libavcodec/bmvvideo.c int shift = 0; shift 104 libavcodec/bmvvideo.c if(shift>22) shift 109 libavcodec/bmvvideo.c shift += 2; shift 110 libavcodec/bmvvideo.c val |= *src << shift; shift 117 libavcodec/bmvvideo.c shift += 2; shift 118 libavcodec/bmvvideo.c mask = (1 << shift) - 1; shift 121 libavcodec/bmvvideo.c if ((val & (0xC << shift))) { shift 132 libavcodec/bmvvideo.c saved_val = val >> (4 + shift); shift 134 libavcodec/bmvvideo.c val &= (1 << (shift + 4)) - 1; shift 68 libavcodec/cabac_functions.h int shift= (uint32_t)(c->range - 0x100)>>31; shift 69 libavcodec/cabac_functions.h c->range<<= shift; shift 70 libavcodec/cabac_functions.h c->low <<= shift; shift 518 libavcodec/cavsdec.c int16_t *dst, int mul, int shift, int coeff_num) shift 520 libavcodec/cavsdec.c int round = 1 << (shift - 1); shift 533 libavcodec/cavsdec.c dst[scantab[pos]] = (level_buf[coeff_num] * mul + round) >> shift; shift 63 libavcodec/celp_filters.c int shift, int rounder) shift 72 libavcodec/celp_filters.c sum1 = ((-sum >> 12) + in[n]) >> shift; shift 128 libavcodec/celp_filters.h int shift, int rounder); shift 789 libavcodec/cinepakenc.c int x, y, i, j, k, x2, y2, x3, y3, plane, shift, mbn; shift 812 libavcodec/cinepakenc.c shift = y2 < 4 ? 0 : 1; shift 813 libavcodec/cinepakenc.c x3 = shift ? 0 : x2; shift 814 libavcodec/cinepakenc.c y3 = shift ? 0 : y2; shift 815 libavcodec/cinepakenc.c base[j] = (pict->data[plane][((x+x3) >> shift) + ((y+y3) >> shift) * pict->linesize[plane]] + shift 816 libavcodec/cinepakenc.c pict->data[plane][((x+x3) >> shift) + 1 + ((y+y3) >> shift) * pict->linesize[plane]] + shift 817 libavcodec/cinepakenc.c pict->data[plane][((x+x3) >> shift) + (((y+y3) >> shift) + 1) * pict->linesize[plane]] + shift 818 libavcodec/cinepakenc.c pict->data[plane][((x+x3) >> shift) + 1 + (((y+y3) >> shift) + 1) * pict->linesize[plane]]) >> 2; shift 93 libavcodec/dirac_arith.h int shift = 14 - av_log2_16bit(c->range-1) + ((c->range-1)>>15); shift 95 libavcodec/dirac_arith.h c->low <<= shift; shift 96 libavcodec/dirac_arith.h c->range <<= shift; shift 97 libavcodec/dirac_arith.h c->counter += shift; shift 40 libavcodec/dirac_dwt.c void interleave(IDWTELEM *dst, IDWTELEM *src0, IDWTELEM *src1, int w2, int add, int shift) shift 44 libavcodec/dirac_dwt.c dst[2*i ] = (src0[i] + add) >> shift; shift 45 libavcodec/dirac_dwt.c dst[2*i+1] = (src1[i] + add) >> shift; shift 105 libavcodec/dirac_dwt.c void horizontal_compose_haari(IDWTELEM *b, IDWTELEM *temp, int w, int shift) shift 115 libavcodec/dirac_dwt.c interleave(b, temp, temp+w2, w2, shift, shift); shift 932 libavcodec/dnxhdenc.c static inline int get_bucket(int value, int shift) shift 934 libavcodec/dnxhdenc.c value >>= shift; shift 963 libavcodec/dnxhdenc.c int shift = pass * BUCKET_BITS; shift 966 libavcodec/dnxhdenc.c int v = get_bucket(data[i].value, shift); shift 263 libavcodec/dpcm.c int shift[2] = { 4, 4 }; shift 274 libavcodec/dpcm.c shift[ch]++; shift 276 libavcodec/dpcm.c shift[ch] -= (2 * n); shift 280 libavcodec/dpcm.c if (shift[ch] < 0) shift 281 libavcodec/dpcm.c shift[ch] = 0; shift 283 libavcodec/dpcm.c diff >>= shift[ch]; shift 82 libavcodec/fic.c static av_always_inline void fic_idct(int16_t *blk, int step, int shift, int rnd) shift 96 libavcodec/fic.c blk[0 * step] = ( t4 + t9 + tB) >> shift; shift 97 libavcodec/fic.c blk[1 * step] = ( t6 + t7 + t8 + tA) >> shift; shift 98 libavcodec/fic.c blk[2 * step] = ( t6 - t7 - t8 + tA) >> shift; shift 99 libavcodec/fic.c blk[3 * step] = ( t5 - t9 + tB) >> shift; shift 100 libavcodec/fic.c blk[4 * step] = ( -t5 - t9 + tB) >> shift; shift 101 libavcodec/fic.c blk[5 * step] = (-(t6 - t7) - t8 + tA) >> shift; shift 102 libavcodec/fic.c blk[6 * step] = (-(t6 + t7) + t8 + tA) >> shift; shift 103 libavcodec/fic.c blk[7 * step] = ( -t4 + t9 + tB) >> shift; shift 27 libavcodec/flacdsp.h int len, int shift); shift 31 libavcodec/flacdsp.h const int32_t coefs[32], int shift); shift 50 libavcodec/flacdsp_lpc_template.c const int32_t *coefs, int shift, int big) shift 103 libavcodec/flacdsp_lpc_template.c res[i ] = smp[i ] - CLIP(p0 >> shift); shift 104 libavcodec/flacdsp_lpc_template.c res[i+1] = smp[i+1] - CLIP(p1 >> shift); shift 109 libavcodec/flacdsp_lpc_template.c int order, const int32_t *coefs, int shift) shift 125 libavcodec/flacdsp_lpc_template.c res[i ] = smp[i ] - CLIP(p0 >> shift); shift 126 libavcodec/flacdsp_lpc_template.c res[i+1] = smp[i+1] - CLIP(p1 >> shift); shift 130 libavcodec/flacdsp_lpc_template.c case 1: FUNC(lpc_encode_unrolled)(res, smp, len, 1, coefs, shift, 0); break; shift 131 libavcodec/flacdsp_lpc_template.c case 2: FUNC(lpc_encode_unrolled)(res, smp, len, 2, coefs, shift, 0); break; shift 132 libavcodec/flacdsp_lpc_template.c case 3: FUNC(lpc_encode_unrolled)(res, smp, len, 3, coefs, shift, 0); break; shift 133 libavcodec/flacdsp_lpc_template.c case 4: FUNC(lpc_encode_unrolled)(res, smp, len, 4, coefs, shift, 0); break; shift 134 libavcodec/flacdsp_lpc_template.c case 5: FUNC(lpc_encode_unrolled)(res, smp, len, 5, coefs, shift, 0); break; shift 135 libavcodec/flacdsp_lpc_template.c case 6: FUNC(lpc_encode_unrolled)(res, smp, len, 6, coefs, shift, 0); break; shift 136 libavcodec/flacdsp_lpc_template.c case 7: FUNC(lpc_encode_unrolled)(res, smp, len, 7, coefs, shift, 0); break; shift 137 libavcodec/flacdsp_lpc_template.c case 8: FUNC(lpc_encode_unrolled)(res, smp, len, 8, coefs, shift, 0); break; shift 138 libavcodec/flacdsp_lpc_template.c default: FUNC(lpc_encode_unrolled)(res, smp, len, order, coefs, shift, 1); break; shift 52 libavcodec/flacdsp_template.c int channels, int len, int shift) shift 59 libavcodec/flacdsp_template.c S(samples, i, j) = in[i][j] << shift; shift 63 libavcodec/flacdsp_template.c int channels, int len, int shift) shift 71 libavcodec/flacdsp_template.c S(samples, 0, i) = a << shift; shift 72 libavcodec/flacdsp_template.c S(samples, 1, i) = (a - b) << shift; shift 77 libavcodec/flacdsp_template.c int channels, int len, int shift) shift 85 libavcodec/flacdsp_template.c S(samples, 0, i) = (a + b) << shift; shift 86 libavcodec/flacdsp_template.c S(samples, 1, i) = b << shift; shift 91 libavcodec/flacdsp_template.c int channels, int len, int shift) shift 100 libavcodec/flacdsp_template.c S(samples, 0, i) = (a + b) << shift; shift 101 libavcodec/flacdsp_template.c S(samples, 1, i) = a << shift; shift 80 libavcodec/flacenc.c int shift; shift 489 libavcodec/flacenc.c int shift = av_get_bytes_per_sample(s->avctx->sample_fmt) * 8 - shift 497 libavcodec/flacenc.c frame->subframes[ch].samples[i] = samples0[j] >> shift; \ shift 764 libavcodec/flacenc.c int shift[MAX_LPC_ORDER]; shift 821 libavcodec/flacenc.c s->options.lpc_coeff_precision, coefs, shift, s->options.lpc_type, shift 841 libavcodec/flacenc.c shift[order]); shift 855 libavcodec/flacenc.c s->flac_dsp.lpc_encode(res, smp, n, i+1, coefs[i], shift[i]); shift 873 libavcodec/flacenc.c s->flac_dsp.lpc_encode(res, smp, n, i+1, coefs[i], shift[i]); shift 884 libavcodec/flacenc.c sub->shift = shift[sub->order-1]; shift 888 libavcodec/flacenc.c s->flac_dsp.lpc_encode(res, smp, n, sub->order, sub->coefs, sub->shift); shift 1150 libavcodec/flacenc.c put_sbits(&s->pb, 5, sub->shift); shift 139 libavcodec/g722.c const int shift = log_factor >> 11; shift 140 libavcodec/g722.c return shift < 0 ? wd1 >> -shift : wd1 << shift; shift 975 libavcodec/g723_1.c int i, shift, seg, seg2, t, val, val_add, x, y; shift 977 libavcodec/g723_1.c shift = 16 - p->cur_gain * 2; shift 978 libavcodec/g723_1.c if (shift > 0) shift 979 libavcodec/g723_1.c t = p->sid_gain << shift; shift 981 libavcodec/g723_1.c t = p->sid_gain >> -shift; shift 988 libavcodec/g723_1.c shift = 4; shift 991 libavcodec/g723_1.c shift = 3; shift 996 libavcodec/g723_1.c val = 1 << shift; shift 998 libavcodec/g723_1.c for (i = 0; i < shift; i++) { shift 1035 libavcodec/g723_1.c int b0, c, delta, x, shift; shift 1086 libavcodec/g723_1.c shift = 0; shift 1088 libavcodec/g723_1.c shift = -10 + av_log2(t); shift 1089 libavcodec/g723_1.c if (shift < -2) shift 1090 libavcodec/g723_1.c shift = -2; shift 1093 libavcodec/g723_1.c if (shift < 0) { shift 1095 libavcodec/g723_1.c t = vector_ptr[j] << -shift; shift 1101 libavcodec/g723_1.c t = vector_ptr[j] >> shift; shift 1113 libavcodec/g723_1.c if (shift * 2 + 3 >= 0) shift 1114 libavcodec/g723_1.c c >>= shift * 2 + 3; shift 1116 libavcodec/g723_1.c c <<= -(shift * 2 + 3); shift 1129 libavcodec/g723_1.c shift++; shift 1130 libavcodec/g723_1.c if (shift < 0) shift 1131 libavcodec/g723_1.c x >>= -shift; shift 1133 libavcodec/g723_1.c x <<= shift; shift 1509 libavcodec/g723_1.c int max, shift, cur_val, prev_val, count, p; shift 1537 libavcodec/g723_1.c shift = normalize_bits_int32(max); shift 1540 libavcodec/g723_1.c f[i] = av_clipl_int32((int64_t)(f[i] << shift) + (1 << 15)) >> 16; shift 1565 libavcodec/g723_1.c shift = normalize_bits_int32(sum); shift 1566 libavcodec/g723_1.c sum <<= shift; shift 1567 libavcodec/g723_1.c abs_prev = abs_prev << shift >> 8; shift 1627 libavcodec/g723_1.c int shift, i; shift 1647 libavcodec/g723_1.c shift = normalize_bits_int16(max); shift 1649 libavcodec/g723_1.c weight[i] <<= shift; shift 120 libavcodec/g729postfilter.c int16_t shift; shift 150 libavcodec/g729postfilter.c shift = 3; shift 152 libavcodec/g729postfilter.c shift = av_log2(tmp) - 11; shift 154 libavcodec/g729postfilter.c if (shift > 0) shift 156 libavcodec/g729postfilter.c sig_scaled[i] = residual[i] >> shift; shift 159 libavcodec/g729postfilter.c sig_scaled[i] = residual[i] << -shift; shift 365 libavcodec/g729postfilter.c if (shift > 0) shift 367 libavcodec/g729postfilter.c selected_signal[i] <<= shift; shift 370 libavcodec/g729postfilter.c selected_signal[i] >>= -shift; shift 329 libavcodec/h264_slice.c int shift = div6[q]; shift 334 libavcodec/h264_slice.c h->pps.scaling_matrix8[i][x]) << shift; shift 355 libavcodec/h264_slice.c int shift = div6[q] + 2; shift 360 libavcodec/h264_slice.c h->pps.scaling_matrix4[i][x]) << shift; shift 1089 libavcodec/hevc_cabac.c int qp,shift,add,scale,scale_m; shift 1151 libavcodec/hevc_cabac.c shift = s->sps->bit_depth + log2_trafo_size - 5; shift 1152 libavcodec/hevc_cabac.c add = 1 << (shift-1); shift 1169 libavcodec/hevc_cabac.c shift = 0; shift 1496 libavcodec/hevc_cabac.c trans_coeff_level = (trans_coeff_level * (int64_t)scale * (int64_t)scale_m + add) >> shift; shift 111 libavcodec/hevcdsp_template.c int shift = 15 - BIT_DEPTH - log2_size; shift 117 libavcodec/hevcdsp_template.c if (shift > 0) { shift 118 libavcodec/hevcdsp_template.c int offset = 1 << (shift - 1); shift 121 libavcodec/hevcdsp_template.c *coeffs = (*coeffs + offset) >> shift; shift 128 libavcodec/hevcdsp_template.c *coeffs = *coeffs << -shift; shift 136 libavcodec/hevcdsp_template.c #define SCALE(dst, x) (dst) = av_clip_int16(((x) + add) >> shift) shift 138 libavcodec/hevcdsp_template.c (dst) = av_clip_pixel((dst) + av_clip_int16(((x) + add) >> shift)) shift 158 libavcodec/hevcdsp_template.c int shift = 7; shift 159 libavcodec/hevcdsp_template.c int add = 1 << (shift - 1); shift 167 libavcodec/hevcdsp_template.c shift = 20 - BIT_DEPTH; shift 168 libavcodec/hevcdsp_template.c add = 1 << (shift - 1); shift 250 libavcodec/hevcdsp_template.c int shift = 7; \ shift 251 libavcodec/hevcdsp_template.c int add = 1 << (shift - 1); \ shift 262 libavcodec/hevcdsp_template.c shift = 20 - BIT_DEPTH; \ shift 263 libavcodec/hevcdsp_template.c add = 1 << (shift - 1); \ shift 274 libavcodec/hevcdsp_template.c int shift = 14 - BIT_DEPTH; \ shift 275 libavcodec/hevcdsp_template.c int add = 1 << (shift - 1); \ shift 276 libavcodec/hevcdsp_template.c int coeff = (((coeffs[0] + 1) >> 1) + add) >> shift; \ shift 313 libavcodec/hevcdsp_template.c int shift = BIT_DEPTH - 5; shift 322 libavcodec/hevcdsp_template.c dst[x] = av_clip_pixel(src[x] + offset_table[src[x] >> shift]); shift 544 libavcodec/hevcdsp_template.c int shift = 14 + 1 - BIT_DEPTH; shift 546 libavcodec/hevcdsp_template.c int offset = 1 << (shift - 1); shift 553 libavcodec/hevcdsp_template.c dst[x] = av_clip_pixel(((src[x] << (14 - BIT_DEPTH)) + src2[x] + offset) >> shift); shift 568 libavcodec/hevcdsp_template.c int shift = denom + 14 - BIT_DEPTH; shift 570 libavcodec/hevcdsp_template.c int offset = 1 << (shift - 1); shift 578 libavcodec/hevcdsp_template.c dst[x] = av_clip_pixel((((src[x] << (14 - BIT_DEPTH)) * wx + offset) >> shift) + ox); shift 595 libavcodec/hevcdsp_template.c int shift = 14 + 1 - BIT_DEPTH; shift 596 libavcodec/hevcdsp_template.c int log2Wd = denom + shift - 1; shift 697 libavcodec/hevcdsp_template.c int shift = 14 - BIT_DEPTH; shift 700 libavcodec/hevcdsp_template.c int offset = 1 << (shift - 1); shift 707 libavcodec/hevcdsp_template.c dst[x] = av_clip_pixel(((QPEL_FILTER(src, 1) >> (BIT_DEPTH - 8)) + offset) >> shift); shift 725 libavcodec/hevcdsp_template.c int shift = 14 + 1 - BIT_DEPTH; shift 727 libavcodec/hevcdsp_template.c int offset = 1 << (shift - 1); shift 734 libavcodec/hevcdsp_template.c dst[x] = av_clip_pixel(((QPEL_FILTER(src, 1) >> (BIT_DEPTH - 8)) + src2[x] + offset) >> shift); shift 751 libavcodec/hevcdsp_template.c int shift = 14 - BIT_DEPTH; shift 754 libavcodec/hevcdsp_template.c int offset = 1 << (shift - 1); shift 761 libavcodec/hevcdsp_template.c dst[x] = av_clip_pixel(((QPEL_FILTER(src, srcstride) >> (BIT_DEPTH - 8)) + offset) >> shift); shift 780 libavcodec/hevcdsp_template.c int shift = 14 + 1 - BIT_DEPTH; shift 782 libavcodec/hevcdsp_template.c int offset = 1 << (shift - 1); shift 789 libavcodec/hevcdsp_template.c dst[x] = av_clip_pixel(((QPEL_FILTER(src, srcstride) >> (BIT_DEPTH - 8)) + src2[x] + offset) >> shift); shift 808 libavcodec/hevcdsp_template.c int shift = 14 - BIT_DEPTH; shift 811 libavcodec/hevcdsp_template.c int offset = 1 << (shift - 1); shift 830 libavcodec/hevcdsp_template.c dst[x] = av_clip_pixel(((QPEL_FILTER(tmp, MAX_PB_SIZE) >> 6) + offset) >> shift); shift 848 libavcodec/hevcdsp_template.c int shift = 14 + 1 - BIT_DEPTH; shift 850 libavcodec/hevcdsp_template.c int offset = 1 << (shift - 1); shift 869 libavcodec/hevcdsp_template.c dst[x] = av_clip_pixel(((QPEL_FILTER(tmp, MAX_PB_SIZE) >> 6) + src2[x] + offset) >> shift); shift 887 libavcodec/hevcdsp_template.c int shift = denom + 14 - BIT_DEPTH; shift 889 libavcodec/hevcdsp_template.c int offset = 1 << (shift - 1); shift 897 libavcodec/hevcdsp_template.c dst[x] = av_clip_pixel((((QPEL_FILTER(src, 1) >> (BIT_DEPTH - 8)) * wx + offset) >> shift) + ox); shift 916 libavcodec/hevcdsp_template.c int shift = 14 + 1 - BIT_DEPTH; shift 917 libavcodec/hevcdsp_template.c int log2Wd = denom + shift - 1; shift 942 libavcodec/hevcdsp_template.c int shift = denom + 14 - BIT_DEPTH; shift 944 libavcodec/hevcdsp_template.c int offset = 1 << (shift - 1); shift 952 libavcodec/hevcdsp_template.c dst[x] = av_clip_pixel((((QPEL_FILTER(src, srcstride) >> (BIT_DEPTH - 8)) * wx + offset) >> shift) + ox); shift 971 libavcodec/hevcdsp_template.c int shift = 14 + 1 - BIT_DEPTH; shift 972 libavcodec/hevcdsp_template.c int log2Wd = denom + shift - 1; shift 999 libavcodec/hevcdsp_template.c int shift = denom + 14 - BIT_DEPTH; shift 1001 libavcodec/hevcdsp_template.c int offset = 1 << (shift - 1); shift 1021 libavcodec/hevcdsp_template.c dst[x] = av_clip_pixel((((QPEL_FILTER(tmp, MAX_PB_SIZE) >> 6) * wx + offset) >> shift) + ox); shift 1040 libavcodec/hevcdsp_template.c int shift = 14 + 1 - BIT_DEPTH; shift 1041 libavcodec/hevcdsp_template.c int log2Wd = denom + shift - 1; shift 1149 libavcodec/hevcdsp_template.c int shift = 14 - BIT_DEPTH; shift 1151 libavcodec/hevcdsp_template.c int offset = 1 << (shift - 1); shift 1158 libavcodec/hevcdsp_template.c dst[x] = av_clip_pixel(((EPEL_FILTER(src, 1) >> (BIT_DEPTH - 8)) + offset) >> shift); shift 1174 libavcodec/hevcdsp_template.c int shift = 14 + 1 - BIT_DEPTH; shift 1176 libavcodec/hevcdsp_template.c int offset = 1 << (shift - 1); shift 1183 libavcodec/hevcdsp_template.c dst[x] = av_clip_pixel(((EPEL_FILTER(src, 1) >> (BIT_DEPTH - 8)) + src2[x] + offset) >> shift); shift 1200 libavcodec/hevcdsp_template.c int shift = 14 - BIT_DEPTH; shift 1202 libavcodec/hevcdsp_template.c int offset = 1 << (shift - 1); shift 1209 libavcodec/hevcdsp_template.c dst[x] = av_clip_pixel(((EPEL_FILTER(src, srcstride) >> (BIT_DEPTH - 8)) + offset) >> shift); shift 1225 libavcodec/hevcdsp_template.c int shift = 14 + 1 - BIT_DEPTH; shift 1227 libavcodec/hevcdsp_template.c int offset = 1 << (shift - 1); shift 1234 libavcodec/hevcdsp_template.c dst[x] = av_clip_pixel(((EPEL_FILTER(src, srcstride) >> (BIT_DEPTH - 8)) + src2[x] + offset) >> shift); shift 1252 libavcodec/hevcdsp_template.c int shift = 14 - BIT_DEPTH; shift 1254 libavcodec/hevcdsp_template.c int offset = 1 << (shift - 1); shift 1273 libavcodec/hevcdsp_template.c dst[x] = av_clip_pixel(((EPEL_FILTER(tmp, MAX_PB_SIZE) >> 6) + offset) >> shift); shift 1291 libavcodec/hevcdsp_template.c int shift = 14 + 1 - BIT_DEPTH; shift 1293 libavcodec/hevcdsp_template.c int offset = 1 << (shift - 1); shift 1312 libavcodec/hevcdsp_template.c dst[x] = av_clip_pixel(((EPEL_FILTER(tmp, MAX_PB_SIZE) >> 6) + src2[x] + offset) >> shift); shift 1328 libavcodec/hevcdsp_template.c int shift = denom + 14 - BIT_DEPTH; shift 1330 libavcodec/hevcdsp_template.c int offset = 1 << (shift - 1); shift 1338 libavcodec/hevcdsp_template.c dst[x] = av_clip_pixel((((EPEL_FILTER(src, 1) >> (BIT_DEPTH - 8)) * wx + offset) >> shift) + ox); shift 1356 libavcodec/hevcdsp_template.c int shift = 14 + 1 - BIT_DEPTH; shift 1357 libavcodec/hevcdsp_template.c int log2Wd = denom + shift - 1; shift 1380 libavcodec/hevcdsp_template.c int shift = denom + 14 - BIT_DEPTH; shift 1382 libavcodec/hevcdsp_template.c int offset = 1 << (shift - 1); shift 1390 libavcodec/hevcdsp_template.c dst[x] = av_clip_pixel((((EPEL_FILTER(src, srcstride) >> (BIT_DEPTH - 8)) * wx + offset) >> shift) + ox); shift 1408 libavcodec/hevcdsp_template.c int shift = 14 + 1 - BIT_DEPTH; shift 1409 libavcodec/hevcdsp_template.c int log2Wd = denom + shift - 1; shift 1434 libavcodec/hevcdsp_template.c int shift = denom + 14 - BIT_DEPTH; shift 1436 libavcodec/hevcdsp_template.c int offset = 1 << (shift - 1); shift 1456 libavcodec/hevcdsp_template.c dst[x] = av_clip_pixel((((EPEL_FILTER(tmp, MAX_PB_SIZE) >> 6) * wx + offset) >> shift) + ox); shift 1475 libavcodec/hevcdsp_template.c int shift = 14 + 1 - BIT_DEPTH; shift 1476 libavcodec/hevcdsp_template.c int log2Wd = denom + shift - 1; shift 251 libavcodec/ituh263dec.c int code, val, sign, shift; shift 260 libavcodec/ituh263dec.c shift = f_code - 1; shift 262 libavcodec/ituh263dec.c if (shift) { shift 263 libavcodec/ituh263dec.c val = (val - 1) << shift; shift 264 libavcodec/ituh263dec.c val |= get_bits(&s->gb, shift); shift 273 libavcodec/ivi_dsp.c int i, shift, sp1, sp2, sp3, sp4; shift 286 libavcodec/ivi_dsp.c shift = !(i & 4); shift 287 libavcodec/ivi_dsp.c sp1 = src[ 0] << shift; shift 288 libavcodec/ivi_dsp.c sp2 = src[ 8] << shift; shift 289 libavcodec/ivi_dsp.c sp3 = src[16] << shift; shift 290 libavcodec/ivi_dsp.c sp4 = src[24] << shift; shift 382 libavcodec/ivi_dsp.c int i, shift, sp1, sp2; shift 395 libavcodec/ivi_dsp.c shift = !(i & 2); shift 396 libavcodec/ivi_dsp.c sp1 = src[0] << shift; shift 397 libavcodec/ivi_dsp.c sp2 = src[4] << shift; shift 339 libavcodec/jpeglsdec.c int off = 0, stride = 1, width, shift, ret = 0; shift 358 libavcodec/jpeglsdec.c shift = point_transform + (8 - s->bits); shift 360 libavcodec/jpeglsdec.c shift = point_transform + (16 - s->bits); shift 470 libavcodec/jpeglsdec.c if (shift) { /* we need to do point transform or normalize samples */ shift 480 libavcodec/jpeglsdec.c src[x] <<= shift; shift 488 libavcodec/jpeglsdec.c src[x] <<= shift; shift 71 libavcodec/lagarith.c int shift = av_log2(denom - 1) + 1; shift 74 libavcodec/lagarith.c ret <<= shift; shift 75 libavcodec/lagarith.c err <<= shift; shift 191 libavcodec/libopenjpegdec.c adjust[x] = FFMAX(FFMIN(desc->comp[x].depth_minus1 + 1 - image->comps[x].prec, 8), 0) + desc->comp[x].shift; shift 228 libavcodec/libopenjpegdec.c adjust[x] = FFMAX(FFMIN(desc->comp[x].depth_minus1 + 1 - image->comps[x].prec, 8), 0) + desc->comp[x].shift; shift 90 libavcodec/lpc.c int32_t *lpc_out, int *shift, int max_shift, int zero_shift) shift 108 libavcodec/lpc.c *shift = zero_shift; shift 135 libavcodec/lpc.c *shift = sh; shift 173 libavcodec/lpc.c int32_t coefs[][MAX_LPC_ORDER], int *shift, shift 258 libavcodec/lpc.c quantize_lpc_coefs(lpc[i], i+1, precision, coefs[i], &shift[i], max_shift, zero_shift); shift 261 libavcodec/lpc.c quantize_lpc_coefs(lpc[i], i+1, precision, coefs[i], &shift[i], max_shift, zero_shift); shift 95 libavcodec/lpc.h int32_t coefs[][MAX_LPC_ORDER], int *shift, shift 141 libavcodec/mathops.h unsigned shift = 8 * sizeof(int) - bits; shift 142 libavcodec/mathops.h union { unsigned u; int s; } v = { (unsigned) val << shift }; shift 143 libavcodec/mathops.h return v.s >> shift; shift 76 libavcodec/mlp.h uint8_t shift; ///< Right shift to apply to output of filter. shift 613 libavcodec/mlpdec.c cp->filter_params[FIR].shift = 0; shift 614 libavcodec/mlpdec.c cp->filter_params[IIR].shift = 0; shift 682 libavcodec/mlpdec.c fp->shift = get_bits(gbp, 4); shift 814 libavcodec/mlpdec.c fir->shift != iir->shift) { shift 825 libavcodec/mlpdec.c fir->shift = iir->shift; shift 918 libavcodec/mlpdec.c unsigned int filter_shift = fir->shift; shift 574 libavcodec/motion_est.c static inline int h263_mv4_search(MpegEncContext *s, int mx, int my, int shift) shift 605 libavcodec/motion_est.c if(P_LEFT[0] > (c->xmax<<shift)) P_LEFT[0] = (c->xmax<<shift); shift 616 libavcodec/motion_est.c if(P_TOP[1] > (c->ymax<<shift)) P_TOP[1] = (c->ymax<<shift); shift 617 libavcodec/motion_est.c if(P_TOPRIGHT[0] < (c->xmin<<shift)) P_TOPRIGHT[0]= (c->xmin<<shift); shift 618 libavcodec/motion_est.c if(P_TOPRIGHT[0] > (c->xmax<<shift)) P_TOPRIGHT[0]= (c->xmax<<shift); shift 619 libavcodec/motion_est.c if(P_TOPRIGHT[1] > (c->ymax<<shift)) P_TOPRIGHT[1]= (c->ymax<<shift); shift 635 libavcodec/motion_est.c if(P[i][0] > (c->xmax<<shift)) P[i][0]= (c->xmax<<shift); shift 636 libavcodec/motion_est.c if(P[i][1] > (c->ymax<<shift)) P[i][1]= (c->ymax<<shift); shift 639 libavcodec/motion_est.c dmin4 = epzs_motion_search4(s, &mx4, &my4, P, block, block, s->p_mv_table, (1<<16)>>shift); shift 896 libavcodec/motion_est.c const int shift= 1+s->quarter_sample; shift 940 libavcodec/motion_est.c if(P_LEFT[0] > (c->xmax<<shift)) P_LEFT[0] = (c->xmax<<shift); shift 947 libavcodec/motion_est.c if(P_TOP[1] > (c->ymax<<shift)) P_TOP[1] = (c->ymax<<shift); shift 948 libavcodec/motion_est.c if(P_TOPRIGHT[0] < (c->xmin<<shift)) P_TOPRIGHT[0]= (c->xmin<<shift); shift 949 libavcodec/motion_est.c if(P_TOPRIGHT[1] > (c->ymax<<shift)) P_TOPRIGHT[1]= (c->ymax<<shift); shift 967 libavcodec/motion_est.c dmin = ff_epzs_motion_search(s, &mx, &my, P, 0, 0, s->p_mv_table, (1<<16)>>shift, 0, 16); shift 995 libavcodec/motion_est.c mx <<=shift; shift 996 libavcodec/motion_est.c my <<=shift; shift 1000 libavcodec/motion_est.c if(h263_mv4_search(s, mx, my, shift) < INT_MAX) shift 1021 libavcodec/motion_est.c int dmin4= h263_mv4_search(s, mx, my, shift); shift 1078 libavcodec/motion_est.c const int shift= 1+s->quarter_sample; shift 1093 libavcodec/motion_est.c if(P_LEFT[0] < (c->xmin<<shift)) P_LEFT[0] = (c->xmin<<shift); shift 1106 libavcodec/motion_est.c if(P_TOP[1] < (c->ymin<<shift)) P_TOP[1] = (c->ymin<<shift); shift 1107 libavcodec/motion_est.c if(P_TOPRIGHT[0] > (c->xmax<<shift)) P_TOPRIGHT[0]= (c->xmax<<shift); shift 1108 libavcodec/motion_est.c if(P_TOPRIGHT[1] < (c->ymin<<shift)) P_TOPRIGHT[1]= (c->ymin<<shift); shift 1117 libavcodec/motion_est.c dmin = ff_epzs_motion_search(s, &mx, &my, P, 0, 0, s->p_mv_table, (1<<16)>>shift, 0, 16); shift 1119 libavcodec/motion_est.c s->p_mv_table[xy][0] = mx<<shift; shift 1120 libavcodec/motion_est.c s->p_mv_table[xy][1] = my<<shift; shift 1131 libavcodec/motion_est.c const int shift= 1+s->quarter_sample; shift 1156 libavcodec/motion_est.c if (P_LEFT[0] > (c->xmax << shift)) P_LEFT[0] = (c->xmax << shift); shift 1164 libavcodec/motion_est.c if (P_TOP[1] > (c->ymax << shift)) P_TOP[1] = (c->ymax << shift); shift 1165 libavcodec/motion_est.c if (P_TOPRIGHT[0] < (c->xmin << shift)) P_TOPRIGHT[0] = (c->xmin << shift); shift 1166 libavcodec/motion_est.c if (P_TOPRIGHT[1] > (c->ymax << shift)) P_TOPRIGHT[1] = (c->ymax << shift); shift 1175 libavcodec/motion_est.c mv_scale= (s->pb_time<<16) / (s->pp_time<<shift); shift 1177 libavcodec/motion_est.c mv_scale= ((s->pb_time - s->pp_time)<<16) / (s->pp_time<<shift); shift 1278 libavcodec/motion_est.c const int shift= 1+qpel; shift 1279 libavcodec/motion_est.c const int xmin= c->xmin<<shift; shift 1280 libavcodec/motion_est.c const int ymin= c->ymin<<shift; shift 1281 libavcodec/motion_est.c const int xmax= c->xmax<<shift; shift 1282 libavcodec/motion_est.c const int ymax= c->ymax<<shift; shift 1415 libavcodec/motion_est.c const int shift= 1+s->quarter_sample; shift 1423 libavcodec/motion_est.c ymin= xmin=(-32)>>shift; shift 1424 libavcodec/motion_est.c ymax= xmax= 31>>shift; shift 1438 libavcodec/motion_est.c c->direct_basis_mv[i][0]= c->co_located_mv[i][0]*time_pb/time_pp + ((i& 1)<<(shift+3)); shift 1439 libavcodec/motion_est.c c->direct_basis_mv[i][1]= c->co_located_mv[i][1]*time_pb/time_pp + ((i>>1)<<(shift+3)); shift 1443 libavcodec/motion_est.c max= FFMAX(c->direct_basis_mv[i][0], c->direct_basis_mv[i][0] - c->co_located_mv[i][0])>>shift; shift 1444 libavcodec/motion_est.c min= FFMIN(c->direct_basis_mv[i][0], c->direct_basis_mv[i][0] - c->co_located_mv[i][0])>>shift; shift 1450 libavcodec/motion_est.c max= FFMAX(c->direct_basis_mv[i][1], c->direct_basis_mv[i][1] - c->co_located_mv[i][1])>>shift; shift 1451 libavcodec/motion_est.c min= FFMIN(c->direct_basis_mv[i][1], c->direct_basis_mv[i][1] - c->co_located_mv[i][1])>>shift; shift 1478 libavcodec/motion_est.c P_LEFT[0] = av_clip(mv_table[mot_xy - 1][0], xmin<<shift, xmax<<shift); shift 1479 libavcodec/motion_est.c P_LEFT[1] = av_clip(mv_table[mot_xy - 1][1], ymin<<shift, ymax<<shift); shift 1483 libavcodec/motion_est.c P_TOP[0] = av_clip(mv_table[mot_xy - mot_stride ][0], xmin<<shift, xmax<<shift); shift 1484 libavcodec/motion_est.c P_TOP[1] = av_clip(mv_table[mot_xy - mot_stride ][1], ymin<<shift, ymax<<shift); shift 1485 libavcodec/motion_est.c P_TOPRIGHT[0] = av_clip(mv_table[mot_xy - mot_stride + 1 ][0], xmin<<shift, xmax<<shift); shift 1486 libavcodec/motion_est.c P_TOPRIGHT[1] = av_clip(mv_table[mot_xy - mot_stride + 1 ][1], ymin<<shift, ymax<<shift); shift 1492 libavcodec/motion_est.c dmin = ff_epzs_motion_search(s, &mx, &my, P, 0, 0, mv_table, 1<<(16-shift), 0, 16); shift 371 libavcodec/motion_est_template.c d += (mv_penalty[((x)<<shift)-pred_x] + mv_penalty[((y)<<shift)-pred_y])*penalty_factor;\ shift 393 libavcodec/motion_est_template.c d += (mv_penalty[((x)<<shift)-pred_x] + mv_penalty[((y)<<shift)-pred_y])*penalty_factor;\ shift 412 libavcodec/motion_est_template.c const int shift= 1+qpel;\ shift 659 libavcodec/motion_est_template.c d += (mv_penalty[((ax)<<shift)-pred_x] + mv_penalty[((ay)<<shift)-pred_y])*penalty_factor;\ shift 720 libavcodec/motion_est_template.c minima[j].height+= (mv_penalty[((minima[j].x)<<shift)-pred_x] + mv_penalty[((minima[j].y)<<shift)-pred_y])*penalty_factor; shift 902 libavcodec/motion_est_template.c CHECK_MV(P_LEFT[0]>>shift, P_LEFT[1]>>shift) shift 915 libavcodec/motion_est_template.c CHECK_MV( P_MEDIAN[0] >>shift , P_MEDIAN[1] >>shift) shift 916 libavcodec/motion_est_template.c CHECK_CLIPPED_MV((P_MEDIAN[0]>>shift) , (P_MEDIAN[1]>>shift)-1) shift 917 libavcodec/motion_est_template.c CHECK_CLIPPED_MV((P_MEDIAN[0]>>shift) , (P_MEDIAN[1]>>shift)+1) shift 918 libavcodec/motion_est_template.c CHECK_CLIPPED_MV((P_MEDIAN[0]>>shift)-1, (P_MEDIAN[1]>>shift) ) shift 919 libavcodec/motion_est_template.c CHECK_CLIPPED_MV((P_MEDIAN[0]>>shift)+1, (P_MEDIAN[1]>>shift) ) shift 922 libavcodec/motion_est_template.c CHECK_MV(P_LEFT[0] >>shift, P_LEFT[1] >>shift) shift 923 libavcodec/motion_est_template.c CHECK_MV(P_TOP[0] >>shift, P_TOP[1] >>shift) shift 924 libavcodec/motion_est_template.c CHECK_MV(P_TOPRIGHT[0]>>shift, P_TOPRIGHT[1]>>shift) shift 1018 libavcodec/motion_est_template.c CHECK_MV(P_LEFT[0]>>shift, P_LEFT[1]>>shift) shift 1021 libavcodec/motion_est_template.c CHECK_MV(P_MV1[0]>>shift, P_MV1[1]>>shift) shift 1023 libavcodec/motion_est_template.c CHECK_MV(P_MV1[0]>>shift, P_MV1[1]>>shift) shift 1025 libavcodec/motion_est_template.c CHECK_MV(P_MEDIAN[0]>>shift, P_MEDIAN[1]>>shift) shift 1026 libavcodec/motion_est_template.c CHECK_MV(P_LEFT[0]>>shift, P_LEFT[1]>>shift) shift 1027 libavcodec/motion_est_template.c CHECK_MV(P_TOP[0]>>shift, P_TOP[1]>>shift) shift 1028 libavcodec/motion_est_template.c CHECK_MV(P_TOPRIGHT[0]>>shift, P_TOPRIGHT[1]>>shift) shift 1077 libavcodec/motion_est_template.c CHECK_MV(P_LEFT[0]>>shift, P_LEFT[1]>>shift) shift 1080 libavcodec/motion_est_template.c CHECK_MV(P_MV1[0]>>shift, P_MV1[1]>>shift) shift 1082 libavcodec/motion_est_template.c CHECK_MV(P_MV1[0]>>shift, P_MV1[1]>>shift) shift 1084 libavcodec/motion_est_template.c CHECK_MV(P_MEDIAN[0]>>shift, P_MEDIAN[1]>>shift) shift 1085 libavcodec/motion_est_template.c CHECK_MV(P_LEFT[0]>>shift, P_LEFT[1]>>shift) shift 1086 libavcodec/motion_est_template.c CHECK_MV(P_TOP[0]>>shift, P_TOP[1]>>shift) shift 1087 libavcodec/motion_est_template.c CHECK_MV(P_TOPRIGHT[0]>>shift, P_TOPRIGHT[1]>>shift) shift 107 libavcodec/mpeg12dec.c int code, sign, val, shift; shift 116 libavcodec/mpeg12dec.c shift = fcode - 1; shift 118 libavcodec/mpeg12dec.c if (shift) { shift 119 libavcodec/mpeg12dec.c val = (val - 1) << shift; shift 120 libavcodec/mpeg12dec.c val |= get_bits(&s->gb, shift); shift 128 libavcodec/mpeg12dec.c return sign_extend(val, 5 + shift); shift 492 libavcodec/mpeg4videodec.c int x, y, mb_v, sum, dx, dy, shift; shift 507 libavcodec/mpeg4videodec.c shift = ctx->sprite_shift[0]; shift 509 libavcodec/mpeg4videodec.c dy -= 1 << (shift + a + 1); shift 511 libavcodec/mpeg4videodec.c dx -= 1 << (shift + a + 1); shift 521 libavcodec/mpeg4videodec.c sum += v >> shift; shift 213 libavcodec/mpegaudiodec_template.c int shift, mod; shift 216 libavcodec/mpegaudiodec_template.c shift = scale_factor_modshift[scale_factor]; shift 217 libavcodec/mpegaudiodec_template.c mod = shift & 3; shift 218 libavcodec/mpegaudiodec_template.c shift >>= 2; shift 220 libavcodec/mpegaudiodec_template.c shift += n; shift 222 libavcodec/mpegaudiodec_template.c return (int)((val + (1LL << (shift - 1))) >> shift); shift 227 libavcodec/mpegaudiodec_template.c int shift, mod, val; shift 229 libavcodec/mpegaudiodec_template.c shift = scale_factor_modshift[scale_factor]; shift 230 libavcodec/mpegaudiodec_template.c mod = shift & 3; shift 231 libavcodec/mpegaudiodec_template.c shift >>= 2; shift 235 libavcodec/mpegaudiodec_template.c if (shift > 0) shift 236 libavcodec/mpegaudiodec_template.c val = (val + (1 << (shift - 1))) >> shift; shift 267 libavcodec/mpegaudiodec_template.c int shift, mod; shift 269 libavcodec/mpegaudiodec_template.c shift = i / 3; shift 271 libavcodec/mpegaudiodec_template.c scale_factor_modshift[i] = mod | (shift << 2); shift 786 libavcodec/mpegaudiodec_template.c int len, i, j, k, l, v0, shift, gain, gains[3]; shift 791 libavcodec/mpegaudiodec_template.c shift = g->scalefac_scale + 1; shift 796 libavcodec/mpegaudiodec_template.c v0 = gain - ((g->scale_factors[i] + pretab[i]) << shift) + 400; shift 811 libavcodec/mpegaudiodec_template.c v0 = gains[l] - (g->scale_factors[k++] << shift) + 400; shift 697 libavcodec/mpegaudioenc_template.c int q1, e, shift, mult; shift 699 libavcodec/mpegaudioenc_template.c shift = s->scale_factor_shift[e]; shift 703 libavcodec/mpegaudioenc_template.c if (shift < 0) shift 704 libavcodec/mpegaudioenc_template.c q1 = sample << (-shift); shift 706 libavcodec/mpegaudioenc_template.c q1 = sample >> shift; shift 2157 libavcodec/mpegvideo.c const int shift = 1 + quarter_sample; shift 2181 libavcodec/mpegvideo.c int mx = (motion_val[direction][xy][0] >> shift) + sx; shift 2182 libavcodec/mpegvideo.c int my = (motion_val[direction][xy][1] >> shift) + sy; shift 2190 libavcodec/mpegvideo.c int mx = (motion_val[direction][xy][0] >> shift); shift 2191 libavcodec/mpegvideo.c int my = (motion_val[direction][xy][1] >> shift); shift 2203 libavcodec/mpegvideo.c int mx = motion_val[direction][xy][0] >> shift; shift 2204 libavcodec/mpegvideo.c int my = motion_val[direction][xy][1] >> shift; shift 2215 libavcodec/mpegvideo.c int mx = (motion_val[direction][xy][0]>>shift) + sx; shift 2216 libavcodec/mpegvideo.c int my = (motion_val[direction][xy][1]>>shift) + sy; shift 2320 libavcodec/mpegvideo.c const int shift = 1 + quarter_sample; shift 2380 libavcodec/mpegvideo.c int mx = (motion_val[direction][xy][0] >> shift) + sx; shift 2381 libavcodec/mpegvideo.c int my = (motion_val[direction][xy][1] >> shift) + sy; shift 2391 libavcodec/mpegvideo.c int mx = (motion_val[direction][xy][0] >> shift); shift 2392 libavcodec/mpegvideo.c int my = (motion_val[direction][xy][1] >> shift); shift 2406 libavcodec/mpegvideo.c int mx = motion_val[direction][xy][0] >> shift; shift 2407 libavcodec/mpegvideo.c int my = motion_val[direction][xy][1] >> shift; shift 2419 libavcodec/mpegvideo.c int mx= (motion_val[direction][xy][0]>>shift) + sx; shift 2420 libavcodec/mpegvideo.c int my= (motion_val[direction][xy][1]>>shift) + sy; shift 88 libavcodec/mpegvideo_enc.c int shift = 0; shift 148 libavcodec/mpegvideo_enc.c while (((max * qmat[qscale][i]) >> shift) > INT_MAX) { shift 149 libavcodec/mpegvideo_enc.c shift++; shift 153 libavcodec/mpegvideo_enc.c if (shift) { shift 156 libavcodec/mpegvideo_enc.c QMAT_SHIFT - shift); shift 649 libavcodec/mpegvideo_motion.c const int shift = s->quarter_sample ? 2 : 1; shift 650 libavcodec/mpegvideo_motion.c const int mx = (s->mv[dir][0][0] >> shift) + 16 * s->mb_x + 8; shift 651 libavcodec/mpegvideo_motion.c const int my = (s->mv[dir][0][1] >> shift) + 16 * s->mb_y; shift 48 libavcodec/mpegvideodsp.c int dxx, int dxy, int dyx, int dyy, int shift, int r, shift 52 libavcodec/mpegvideodsp.c const int s = 1 << shift; shift 69 libavcodec/mpegvideodsp.c src_x >>= shift; shift 70 libavcodec/mpegvideodsp.c src_y >>= shift; shift 80 libavcodec/mpegvideodsp.c r) >> (shift * 2); shift 86 libavcodec/mpegvideodsp.c r) >> (shift * 2); shift 94 libavcodec/mpegvideodsp.c r) >> (shift * 2); shift 25 libavcodec/mpegvideodsp.h int dxx, int dxy, int dyx, int dyy, int shift, int r, shift 40 libavcodec/mpegvideodsp.h int shift, int r, int width, int height); shift 74 libavcodec/msmpeg4dec.c int code, val, sign, shift; shift 84 libavcodec/msmpeg4dec.c shift = f_code - 1; shift 86 libavcodec/msmpeg4dec.c if (shift) { shift 87 libavcodec/msmpeg4dec.c val = (val - 1) << shift; shift 88 libavcodec/msmpeg4dec.c val |= get_bits(&s->gb, shift); shift 64 libavcodec/mss34dsp.c #define DCT_TEMPLATE(blk, step, SOP, shift) \ shift 78 libavcodec/mss34dsp.c blk[0 * step] = ( t1 + t6 + t9 + tB) >> shift; \ shift 79 libavcodec/mss34dsp.c blk[1 * step] = ( t3 + t7 + t8 + tA) >> shift; \ shift 80 libavcodec/mss34dsp.c blk[2 * step] = ( t2 + t6 - t8 + tA) >> shift; \ shift 81 libavcodec/mss34dsp.c blk[3 * step] = ( t0 + t7 - t9 + tB) >> shift; \ shift 82 libavcodec/mss34dsp.c blk[4 * step] = (-(t0 + t7) - t9 + tB) >> shift; \ shift 83 libavcodec/mss34dsp.c blk[5 * step] = (-(t2 + t6) - t8 + tA) >> shift; \ shift 84 libavcodec/mss34dsp.c blk[6 * step] = (-(t3 + t7) + t8 + tA) >> shift; \ shift 85 libavcodec/mss34dsp.c blk[7 * step] = (-(t1 + t6) + t9 + tB) >> shift; \ shift 356 libavcodec/mss4.c int vec_size, int component, int shift, int *prev) shift 362 libavcodec/mss4.c prev[component] = get_bits(gb, 8 - shift) << shift; shift 86 libavcodec/nellymoser.c static inline int signed_shift(int i, int shift) { shift 87 libavcodec/nellymoser.c if (shift > 0) shift 88 libavcodec/nellymoser.c return i << shift; shift 89 libavcodec/nellymoser.c return i >> -shift; shift 92 libavcodec/nellymoser.c static int sum_bits(short *buf, short shift, short off) shift 98 libavcodec/nellymoser.c b = ((b>>(shift-1))+1)>>1; shift 122 libavcodec/nellymoser.c short shift, shift_saved; shift 131 libavcodec/nellymoser.c shift = -16; shift 132 libavcodec/nellymoser.c shift += headroom(&max); shift 136 libavcodec/nellymoser.c sbuf[i] = signed_shift(buf[i], shift); shift 141 libavcodec/nellymoser.c shift += 11; shift 142 libavcodec/nellymoser.c shift_saved = shift; shift 143 libavcodec/nellymoser.c sum -= NELLY_DETAIL_BITS << shift; shift 144 libavcodec/nellymoser.c shift += headroom(&sum); shift 146 libavcodec/nellymoser.c shift = shift_saved - (NELLY_BASE_SHIFT+shift-31); shift 148 libavcodec/nellymoser.c small_off = signed_shift(small_off, shift); shift 155 libavcodec/nellymoser.c for(shift=0; FFABS(off) <= 16383; shift++) shift 159 libavcodec/nellymoser.c shift = shift_saved-(NELLY_BASE_SHIFT+shift-15); shift 161 libavcodec/nellymoser.c off = signed_shift(off, shift); shift 65 libavcodec/pcm.c #define ENCODE(type, endian, src, dst, n, shift, offset) \ shift 68 libavcodec/pcm.c register type v = (*samples_ ## type++ >> shift) + offset; \ shift 72 libavcodec/pcm.c #define ENCODE_PLANAR(type, endian, dst, n, shift, offset) \ shift 78 libavcodec/pcm.c register type v = (*samples_ ## type++ >> shift) + offset; \ shift 267 libavcodec/pcm.c #define DECODE(size, endian, src, dst, n, shift, offset) \ shift 270 libavcodec/pcm.c AV_WN ## size ## A(dst, (v - offset) << shift); \ shift 274 libavcodec/pcm.c #define DECODE_PLANAR(size, endian, src, dst, n, shift, offset) \ shift 281 libavcodec/pcm.c AV_WN ## size ## A(dst, (v - offset) << shift); \ shift 64 libavcodec/pictordec.c int shift = *plane * bits_per_plane; shift 65 libavcodec/pictordec.c int mask = ((1 << bits_per_plane) - 1) << shift; shift 66 libavcodec/pictordec.c value <<= shift; shift 64 libavcodec/png.c int shift, xmin, pass_width; shift 69 libavcodec/png.c shift = ff_png_pass_xshift[pass]; shift 70 libavcodec/png.c pass_width = (width - xmin + (1 << shift) - 1) >> shift; shift 96 libavcodec/ppc/idctdsp.c vec_u16 shift = vec_splat_u16(4); \ shift 98 libavcodec/ppc/idctdsp.c vec_s16 vx0 = vec_mradds(vec_sl(block[0], shift), constants[1], zero); \ shift 99 libavcodec/ppc/idctdsp.c vec_s16 vx1 = vec_mradds(vec_sl(block[1], shift), constants[2], zero); \ shift 100 libavcodec/ppc/idctdsp.c vec_s16 vx2 = vec_mradds(vec_sl(block[2], shift), constants[3], zero); \ shift 101 libavcodec/ppc/idctdsp.c vec_s16 vx3 = vec_mradds(vec_sl(block[3], shift), constants[4], zero); \ shift 102 libavcodec/ppc/idctdsp.c vec_s16 vx4 = vec_mradds(vec_sl(block[4], shift), constants[1], zero); \ shift 103 libavcodec/ppc/idctdsp.c vec_s16 vx5 = vec_mradds(vec_sl(block[5], shift), constants[4], zero); \ shift 104 libavcodec/ppc/idctdsp.c vec_s16 vx6 = vec_mradds(vec_sl(block[6], shift), constants[3], zero); \ shift 105 libavcodec/ppc/idctdsp.c vec_s16 vx7 = vec_mradds(vec_sl(block[7], shift), constants[2], zero); \ shift 138 libavcodec/ppc/idctdsp.c shift = vec_splat_u16(6); \ shift 139 libavcodec/ppc/idctdsp.c vx0 = vec_sra(vy0, shift); \ shift 140 libavcodec/ppc/idctdsp.c vx1 = vec_sra(vy1, shift); \ shift 141 libavcodec/ppc/idctdsp.c vx2 = vec_sra(vy2, shift); \ shift 142 libavcodec/ppc/idctdsp.c vx3 = vec_sra(vy3, shift); \ shift 143 libavcodec/ppc/idctdsp.c vx4 = vec_sra(vy4, shift); \ shift 144 libavcodec/ppc/idctdsp.c vx5 = vec_sra(vy5, shift); \ shift 145 libavcodec/ppc/idctdsp.c vx6 = vec_sra(vy6, shift); \ shift 146 libavcodec/ppc/idctdsp.c vx7 = vec_sra(vy7, shift) shift 258 libavcodec/pthread_slice.c void ff_thread_await_progress2(AVCodecContext *avctx, int field, int thread, int shift) shift 268 libavcodec/pthread_slice.c while ((entries[field - 1] - entries[field]) < shift){ shift 439 libavcodec/ra144enc.c int shift[LPC_ORDER]; shift 477 libavcodec/ra144enc.c LPC_ORDER, 16, lpc_coefs, shift, FF_LPC_TYPE_LEVINSON, shift 481 libavcodec/ra144enc.c (12 - shift[LPC_ORDER - 1])); shift 211 libavcodec/snow.h static av_always_inline void snow_horizontal_compose_lift_lead_out(int i, IDWTELEM * dst, IDWTELEM * src, IDWTELEM * ref, int width, int w, int lift_high, int mul, int add, int shift){ shift 213 libavcodec/snow.h dst[i] = src[i] - ((mul * (ref[i] + ref[i + 1]) + add) >> shift); shift 217 libavcodec/snow.h dst[w] = src[w] - ((mul * 2 * ref[w] + add) >> shift); shift 117 libavcodec/snow_dwt.c int width, int mul, int add, int shift, shift 127 libavcodec/snow_dwt.c dst[0] = LIFT(src[0], ((mul * 2 * ref[0] + add) >> shift), inverse); shift 136 libavcodec/snow_dwt.c add) >> shift), shift 141 libavcodec/snow_dwt.c ((mul * 2 * ref[w * ref_step] + add) >> shift), shift 147 libavcodec/snow_dwt.c int width, int mul, int add, int shift, shift 155 libavcodec/snow_dwt.c av_assert1(shift == 4); shift 157 libavcodec/snow_dwt.c ((inv) ? (src) + (((ref) + 4 * (src)) >> shift) \ shift 248 libavcodec/snowenc.c const int shift= 1+qpel; shift 296 libavcodec/snowenc.c if(P_LEFT[0] > (c->xmax<<shift)) P_LEFT[0] = (c->xmax<<shift); shift 297 libavcodec/snowenc.c if(P_LEFT[1] > (c->ymax<<shift)) P_LEFT[1] = (c->ymax<<shift); shift 298 libavcodec/snowenc.c if(P_TOP[0] > (c->xmax<<shift)) P_TOP[0] = (c->xmax<<shift); shift 299 libavcodec/snowenc.c if(P_TOP[1] > (c->ymax<<shift)) P_TOP[1] = (c->ymax<<shift); shift 300 libavcodec/snowenc.c if(P_TOPRIGHT[0] < (c->xmin<<shift)) P_TOPRIGHT[0]= (c->xmin<<shift); shift 301 libavcodec/snowenc.c if(P_TOPRIGHT[0] > (c->xmax<<shift)) P_TOPRIGHT[0]= (c->xmax<<shift); //due to pmx no clip shift 302 libavcodec/snowenc.c if(P_TOPRIGHT[1] > (c->ymax<<shift)) P_TOPRIGHT[1]= (c->ymax<<shift); shift 321 libavcodec/snowenc.c (1<<16)>>shift, level-LOG2_MB_SIZE+4, block_w); shift 744 libavcodec/sonic.c s->int_samples[i+1] -= shift(s->int_samples[i], 1); shift 1026 libavcodec/sonic.c s->int_samples[i+1] += shift(s->int_samples[i], 1); shift 1042 libavcodec/sonic.c s->int_samples[i] = shift(s->int_samples[i], SAMPLE_SHIFT); shift 164 libavcodec/takdec.c int shift = 3 - (avctx->sample_rate / 11025); shift 165 libavcodec/takdec.c shift = FFMAX(0, shift); shift 166 libavcodec/takdec.c s->uval = FFALIGN(avctx->sample_rate + 511 >> 9, 4) << shift; shift 141 libavcodec/thread.h void ff_thread_await_progress2(AVCodecContext *avctx, int field, int thread, int shift); shift 312 libavcodec/tta.c filter->shift, filter->round); shift 48 libavcodec/ttadata.c void ff_tta_filter_init(TTAFilter *c, int32_t shift) { shift 50 libavcodec/ttadata.c c->shift = shift; shift 51 libavcodec/ttadata.c c->round = ff_tta_shift_1[shift-1]; shift 28 libavcodec/ttadata.h int32_t shift, round, error; shift 49 libavcodec/ttadata.h void ff_tta_filter_init(TTAFilter *c, int32_t shift); shift 22 libavcodec/ttadsp.c int32_t *error, int32_t *in, int32_t shift, shift 44 libavcodec/ttadsp.c *in += (round >> shift); shift 27 libavcodec/ttadsp.h int32_t *error, int32_t *in, int32_t shift, shift 90 libavcodec/ttaenc.c *in -= (sum >> c->shift); shift 598 libavcodec/twinvq.c int shift; shift 604 libavcodec/twinvq.c shift = 0; shift 606 libavcodec/twinvq.c shift = i; shift 608 libavcodec/twinvq.c shift = i * i; shift 611 libavcodec/twinvq.c tab[i * num_vect + j] = i * num_vect + (j + shift) % num_vect; shift 3722 libavcodec/utils.c void ff_thread_await_progress2(AVCodecContext *avctx, int field, int thread, int shift) shift 572 libavcodec/vc1.c int scale, shift, i; \ shift 575 libavcodec/vc1.c shift = (255 - lumshift * 2) << 6; \ shift 577 libavcodec/vc1.c shift += 128 << 6; \ shift 581 libavcodec/vc1.c shift = (lumshift - 64) << 6; \ shift 583 libavcodec/vc1.c shift = lumshift << 6; \ shift 588 libavcodec/vc1.c luty[i] = av_clip_uint8((scale * iy + shift + 32) >> 6); \ shift 603 libavcodec/vc1dsp.c int shift = (shift_value[hmode] + shift_value[vmode]) >> 1; \ shift 606 libavcodec/vc1dsp.c r = (1 << (shift - 1)) + rnd - 1; \ shift 611 libavcodec/vc1dsp.c tptr[i] = (vc1_mspel_ver_filter_16bits(src + i, stride, vmode) + r) >> shift; \ shift 661 libavcodec/vc1dsp.c int shift = (shift_value[hmode] + shift_value[vmode]) >> 1; \ shift 664 libavcodec/vc1dsp.c r = (1 << (shift - 1)) + rnd - 1; \ shift 669 libavcodec/vc1dsp.c tptr[i] = (vc1_mspel_ver_filter_16bits(src + i, stride, vmode) + r) >> shift; \ shift 228 libavcodec/vp56.h int shift = ff_vp56_norm_shift[c->high]; shift 232 libavcodec/vp56.h c->high <<= shift; shift 233 libavcodec/vp56.h code_word <<= shift; shift 234 libavcodec/vp56.h bits += shift; shift 61 libavcodec/wavpack.c int and, or, shift; shift 280 libavcodec/wavpack.c bit = ((S + bit) << s->shift) - bit; shift 318 libavcodec/wavpack.c int shift = 23 - av_log2(S); shift 320 libavcodec/wavpack.c if (exp <= shift) shift 321 libavcodec/wavpack.c shift = --exp; shift 322 libavcodec/wavpack.c exp -= shift; shift 324 libavcodec/wavpack.c if (shift) { shift 325 libavcodec/wavpack.c S <<= shift; shift 330 libavcodec/wavpack.c S |= (1 << shift) - 1; shift 333 libavcodec/wavpack.c S |= get_bits(&s->gb_extra_bits, shift); shift 652 libavcodec/wavpack.c s->and = s->or = s->shift = 0; shift 833 libavcodec/wavpack.c s->shift = val[1]; shift 836 libavcodec/wavpack.c s->shift = val[2]; shift 839 libavcodec/wavpack.c s->shift = val[3]; shift 843 libavcodec/wavpack.c if (s->hybrid && bpp == 4 && s->post_shift < 8 && s->shift > 8) { shift 845 libavcodec/wavpack.c s->shift -= 8; shift 118 libavcodec/wavpackenc.c int num_terms, shift, joint_stereo, false_stereo; shift 190 libavcodec/wavpackenc.c static void shift_mono(int32_t *samples, int nb_samples, int shift) shift 194 libavcodec/wavpackenc.c samples[i] >>= shift; shift 198 libavcodec/wavpackenc.c int nb_samples, int shift) shift 202 libavcodec/wavpackenc.c left [i] >>= shift; shift 203 libavcodec/wavpackenc.c right[i] >>= shift; shift 2521 libavcodec/wavpackenc.c int shift = (s->flags & SHIFT_MASK) >> SHIFT_LSB; shift 2525 libavcodec/wavpackenc.c shift_mono(samples_l, nb_samples, shift); shift 2527 libavcodec/wavpackenc.c shift_stereo(samples_l, samples_r, nb_samples, shift); shift 2529 libavcodec/wavpackenc.c if ((mag -= shift) < 0) shift 2532 libavcodec/wavpackenc.c s->flags -= (1 << MAG_LSB) * shift; shift 2550 libavcodec/wavpackenc.c if (s->shift != s->int32_zeros + s->int32_ones + s->int32_dups) { shift 2551 libavcodec/wavpackenc.c s->shift = s->int32_zeros + s->int32_ones + s->int32_dups; shift 2830 libavcodec/wavpackenc.c #define COPY_SAMPLES(type, offset, shift) do { \ shift 2833 libavcodec/wavpackenc.c dst[i] = (sptr[i] - offset) >> shift; \ shift 34 libavcodec/wnv1.c int shift; shift 53 libavcodec/wnv1.c return ff_reverse[get_bits(&w->gb, 8 - w->shift)]; shift 55 libavcodec/wnv1.c return base_value + ((v - 7) << w->shift); shift 96 libavcodec/wnv1.c l->shift = 2; shift 98 libavcodec/wnv1.c l->shift = 8 - (buf[2] >> 4); shift 99 libavcodec/wnv1.c if (l->shift > 4) { shift 103 libavcodec/wnv1.c l->shift = 4; shift 105 libavcodec/wnv1.c if (l->shift < 1) { shift 109 libavcodec/wnv1.c l->shift = 1; shift 38 libavcodec/x86/ac3dsp_init.c void ff_ac3_lshift_int16_mmx (int16_t *src, unsigned int len, unsigned int shift); shift 39 libavcodec/x86/ac3dsp_init.c void ff_ac3_lshift_int16_sse2(int16_t *src, unsigned int len, unsigned int shift); shift 41 libavcodec/x86/ac3dsp_init.c void ff_ac3_rshift_int32_mmx (int32_t *src, unsigned int len, unsigned int shift); shift 42 libavcodec/x86/ac3dsp_init.c void ff_ac3_rshift_int32_sse2(int32_t *src, unsigned int len, unsigned int shift); shift 34 libavcodec/x86/flacdsp_init.c int len, int shift); \ shift 36 libavcodec/x86/flacdsp_init.c int len, int shift); \ shift 38 libavcodec/x86/flacdsp_init.c int len, int shift); \ shift 40 libavcodec/x86/flacdsp_init.c int len, int shift); \ shift 42 libavcodec/x86/flacdsp_init.c int len, int shift); \ shift 44 libavcodec/x86/flacdsp_init.c int len, int shift); \ shift 46 libavcodec/x86/flacdsp_init.c int len, int shift) shift 34 libavcodec/x86/mathops.h static av_always_inline av_const int MULL(int a, int b, unsigned shift) shift 41 libavcodec/x86/mathops.h :"a"(a), "rm"(b), "ci"((uint8_t)shift) shift 32 libavcodec/x86/mpegvideodsp.c int shift, int r, int width, int height) shift 35 libavcodec/x86/mpegvideodsp.c const int ix = ox >> (16 + shift); shift 36 libavcodec/x86/mpegvideodsp.c const int iy = oy >> (16 + shift); shift 46 libavcodec/x86/mpegvideodsp.c const uint64_t shift2 = 2 * shift; shift 52 libavcodec/x86/mpegvideodsp.c const int dxw = (dxx - (1 << (16 + shift))) * (w - 1); shift 53 libavcodec/x86/mpegvideodsp.c const int dyh = (dyy - (1 << (16 + shift))) * (h - 1); shift 61 libavcodec/x86/mpegvideodsp.c (oy ^ (oy + dyw)) | (oy ^ (oy + dyh)) | (oy ^ (oy + dyw + dyh))) >> (16 + shift) || shift 67 libavcodec/x86/mpegvideodsp.c shift, r, width, height); shift 82 libavcodec/x86/mpegvideodsp.c :: "r" (1 << shift)); shift 94 libavcodec/x86/simple_idct.c #define ROW_IDCT(src0, src4, src1, src5, dst, rounder, shift) \ shift 127 libavcodec/x86/simple_idct.c "psrad $" #shift ", %%mm7 \n\t"\ shift 128 libavcodec/x86/simple_idct.c "psrad $" #shift ", %%mm4 \n\t"\ shift 132 libavcodec/x86/simple_idct.c "psrad $" #shift ", %%mm1 \n\t"\ shift 133 libavcodec/x86/simple_idct.c "psrad $" #shift ", %%mm2 \n\t"\ shift 149 libavcodec/x86/simple_idct.c "psrad $" #shift ", %%mm2 \n\t"\ shift 150 libavcodec/x86/simple_idct.c "psrad $" #shift ", %%mm0 \n\t"\ shift 155 libavcodec/x86/simple_idct.c "psrad $" #shift ", %%mm6 \n\t"\ shift 158 libavcodec/x86/simple_idct.c "psrad $" #shift ", %%mm4 \n\t"\ shift 162 libavcodec/x86/simple_idct.c #define COL_IDCT(src0, src4, src1, src5, dst, shift) \ shift 193 libavcodec/x86/simple_idct.c "psrad $" #shift ", %%mm7 \n\t"\ shift 194 libavcodec/x86/simple_idct.c "psrad $" #shift ", %%mm4 \n\t"\ shift 198 libavcodec/x86/simple_idct.c "psrad $" #shift ", %%mm0 \n\t"\ shift 199 libavcodec/x86/simple_idct.c "psrad $" #shift ", %%mm2 \n\t"\ shift 219 libavcodec/x86/simple_idct.c "psrad $" #shift ", %%mm2 \n\t"\ shift 220 libavcodec/x86/simple_idct.c "psrad $" #shift ", %%mm5 \n\t"\ shift 225 libavcodec/x86/simple_idct.c "psrad $" #shift ", %%mm6 \n\t"\ shift 226 libavcodec/x86/simple_idct.c "psrad $" #shift ", %%mm4 \n\t"\ shift 237 libavcodec/x86/simple_idct.c #define DC_COND_ROW_IDCT(src0, src4, src1, src5, dst, rounder, shift) \ shift 279 libavcodec/x86/simple_idct.c "psrad $" #shift ", %%mm7 \n\t"\ shift 280 libavcodec/x86/simple_idct.c "psrad $" #shift ", %%mm4 \n\t"\ shift 284 libavcodec/x86/simple_idct.c "psrad $" #shift ", %%mm1 \n\t"\ shift 285 libavcodec/x86/simple_idct.c "psrad $" #shift ", %%mm2 \n\t"\ shift 301 libavcodec/x86/simple_idct.c "psrad $" #shift ", %%mm2 \n\t"\ shift 302 libavcodec/x86/simple_idct.c "psrad $" #shift ", %%mm0 \n\t"\ shift 307 libavcodec/x86/simple_idct.c "psrad $" #shift ", %%mm6 \n\t"\ shift 310 libavcodec/x86/simple_idct.c "psrad $" #shift ", %%mm4 \n\t"\ shift 345 libavcodec/x86/simple_idct.c #define DC_COND_IDCT(src0, src4, src1, src5, dst, rounder, shift) \ shift 387 libavcodec/x86/simple_idct.c "psrad $" #shift ", %%mm7 \n\t"\ shift 388 libavcodec/x86/simple_idct.c "psrad $" #shift ", %%mm4 \n\t"\ shift 392 libavcodec/x86/simple_idct.c "psrad $" #shift ", %%mm1 \n\t"\ shift 393 libavcodec/x86/simple_idct.c "psrad $" #shift ", %%mm2 \n\t"\ shift 409 libavcodec/x86/simple_idct.c "psrad $" #shift ", %%mm2 \n\t"\ shift 410 libavcodec/x86/simple_idct.c "psrad $" #shift ", %%mm0 \n\t"\ shift 415 libavcodec/x86/simple_idct.c "psrad $" #shift ", %%mm6 \n\t"\ shift 418 libavcodec/x86/simple_idct.c "psrad $" #shift ", %%mm4 \n\t"\ shift 433 libavcodec/x86/simple_idct.c #define Z_COND_IDCT(src0, src4, src1, src5, dst, rounder, shift, bt) \ shift 474 libavcodec/x86/simple_idct.c "psrad $" #shift ", %%mm7 \n\t"\ shift 475 libavcodec/x86/simple_idct.c "psrad $" #shift ", %%mm4 \n\t"\ shift 479 libavcodec/x86/simple_idct.c "psrad $" #shift ", %%mm1 \n\t"\ shift 480 libavcodec/x86/simple_idct.c "psrad $" #shift ", %%mm2 \n\t"\ shift 496 libavcodec/x86/simple_idct.c "psrad $" #shift ", %%mm2 \n\t"\ shift 497 libavcodec/x86/simple_idct.c "psrad $" #shift ", %%mm0 \n\t"\ shift 502 libavcodec/x86/simple_idct.c "psrad $" #shift ", %%mm6 \n\t"\ shift 505 libavcodec/x86/simple_idct.c "psrad $" #shift ", %%mm4 \n\t"\ shift 509 libavcodec/x86/simple_idct.c #define ROW_IDCT(src0, src4, src1, src5, dst, rounder, shift) \ shift 542 libavcodec/x86/simple_idct.c "psrad $" #shift ", %%mm7 \n\t"\ shift 543 libavcodec/x86/simple_idct.c "psrad $" #shift ", %%mm4 \n\t"\ shift 547 libavcodec/x86/simple_idct.c "psrad $" #shift ", %%mm1 \n\t"\ shift 548 libavcodec/x86/simple_idct.c "psrad $" #shift ", %%mm2 \n\t"\ shift 564 libavcodec/x86/simple_idct.c "psrad $" #shift ", %%mm2 \n\t"\ shift 565 libavcodec/x86/simple_idct.c "psrad $" #shift ", %%mm0 \n\t"\ shift 570 libavcodec/x86/simple_idct.c "psrad $" #shift ", %%mm6 \n\t"\ shift 573 libavcodec/x86/simple_idct.c "psrad $" #shift ", %%mm4 \n\t"\ shift 584 libavcodec/x86/simple_idct.c #define IDCT(src0, src4, src1, src5, dst, shift) \ shift 615 libavcodec/x86/simple_idct.c "psrad $" #shift ", %%mm7 \n\t"\ shift 616 libavcodec/x86/simple_idct.c "psrad $" #shift ", %%mm4 \n\t"\ shift 620 libavcodec/x86/simple_idct.c "psrad $" #shift ", %%mm0 \n\t"\ shift 621 libavcodec/x86/simple_idct.c "psrad $" #shift ", %%mm2 \n\t"\ shift 641 libavcodec/x86/simple_idct.c "psrad $" #shift ", %%mm2 \n\t"\ shift 642 libavcodec/x86/simple_idct.c "psrad $" #shift ", %%mm5 \n\t"\ shift 647 libavcodec/x86/simple_idct.c "psrad $" #shift ", %%mm6 \n\t"\ shift 648 libavcodec/x86/simple_idct.c "psrad $" #shift ", %%mm4 \n\t"\ shift 672 libavcodec/x86/simple_idct.c #define IDCT(src0, src4, src1, src5, dst, shift) \ shift 697 libavcodec/x86/simple_idct.c "psrad $" #shift ", %%mm1 \n\t"\ shift 698 libavcodec/x86/simple_idct.c "psrad $" #shift ", %%mm4 \n\t"\ shift 702 libavcodec/x86/simple_idct.c "psrad $" #shift ", %%mm0 \n\t"\ shift 703 libavcodec/x86/simple_idct.c "psrad $" #shift ", %%mm2 \n\t"\ shift 718 libavcodec/x86/simple_idct.c "psrad $" #shift ", %%mm2 \n\t"\ shift 719 libavcodec/x86/simple_idct.c "psrad $" #shift ", %%mm5 \n\t"\ shift 723 libavcodec/x86/simple_idct.c "psrad $" #shift ", %%mm6 \n\t"\ shift 724 libavcodec/x86/simple_idct.c "psrad $" #shift ", %%mm1 \n\t"\ shift 746 libavcodec/x86/simple_idct.c #define IDCT(src0, src4, src1, src5, dst, shift) \ shift 762 libavcodec/x86/simple_idct.c "psrad $" #shift ", %%mm1 \n\t"\ shift 763 libavcodec/x86/simple_idct.c "psrad $" #shift ", %%mm4 \n\t"\ shift 767 libavcodec/x86/simple_idct.c "psrad $" #shift ", %%mm0 \n\t"\ shift 768 libavcodec/x86/simple_idct.c "psrad $" #shift ", %%mm2 \n\t"\ shift 783 libavcodec/x86/simple_idct.c "psrad $" #shift ", %%mm2 \n\t"\ shift 784 libavcodec/x86/simple_idct.c "psrad $" #shift ", %%mm5 \n\t"\ shift 788 libavcodec/x86/simple_idct.c "psrad $" #shift ", %%mm6 \n\t"\ shift 789 libavcodec/x86/simple_idct.c "psrad $" #shift ", %%mm1 \n\t"\ shift 812 libavcodec/x86/simple_idct.c #define IDCT(src0, src4, src1, src5, dst, shift) \ shift 834 libavcodec/x86/simple_idct.c "psrad $" #shift ", %%mm7 \n\t"\ shift 835 libavcodec/x86/simple_idct.c "psrad $" #shift ", %%mm4 \n\t"\ shift 839 libavcodec/x86/simple_idct.c "psrad $" #shift ", %%mm0 \n\t"\ shift 840 libavcodec/x86/simple_idct.c "psrad $" #shift ", %%mm2 \n\t"\ shift 860 libavcodec/x86/simple_idct.c "psrad $" #shift ", %%mm2 \n\t"\ shift 861 libavcodec/x86/simple_idct.c "psrad $" #shift ", %%mm5 \n\t"\ shift 866 libavcodec/x86/simple_idct.c "psrad $" #shift ", %%mm6 \n\t"\ shift 867 libavcodec/x86/simple_idct.c "psrad $" #shift ", %%mm4 \n\t"\ shift 887 libavcodec/x86/simple_idct.c #define IDCT(src0, src4, src1, src5, dst, shift) \ shift 903 libavcodec/x86/simple_idct.c "psrad $" #shift ", %%mm7 \n\t"\ shift 904 libavcodec/x86/simple_idct.c "psrad $" #shift ", %%mm4 \n\t"\ shift 908 libavcodec/x86/simple_idct.c "psrad $" #shift ", %%mm0 \n\t"\ shift 909 libavcodec/x86/simple_idct.c "psrad $" #shift ", %%mm1 \n\t"\ shift 924 libavcodec/x86/simple_idct.c "psrad $" #shift ", %%mm1 \n\t"\ shift 925 libavcodec/x86/simple_idct.c "psrad $" #shift ", %%mm5 \n\t"\ shift 929 libavcodec/x86/simple_idct.c "psrad $" #shift ", %%mm6 \n\t"\ shift 930 libavcodec/x86/simple_idct.c "psrad $" #shift ", %%mm4 \n\t"\ shift 951 libavcodec/x86/simple_idct.c #define IDCT(src0, src4, src1, src5, dst, shift) \ shift 983 libavcodec/x86/simple_idct.c "psrad $" #shift ", %%mm4 \n\t"\ shift 984 libavcodec/x86/simple_idct.c "psrad $" #shift ", %%mm7 \n\t"\ shift 985 libavcodec/x86/simple_idct.c "psrad $" #shift ", %%mm3 \n\t"\ shift 988 libavcodec/x86/simple_idct.c "psrad $" #shift ", %%mm0 \n\t"\ shift 993 libavcodec/x86/simple_idct.c "psrad $" #shift ", %%mm5 \n\t"\ shift 994 libavcodec/x86/simple_idct.c "psrad $" #shift ", %%mm6 \n\t"\ shift 995 libavcodec/x86/simple_idct.c "psrad $" #shift ", %%mm2 \n\t"\ shift 998 libavcodec/x86/simple_idct.c "psrad $" #shift ", %%mm1 \n\t"\ shift 1016 libavcodec/x86/simple_idct.c #define IDCT(src0, src4, src1, src5, dst, shift) \ shift 1041 libavcodec/x86/simple_idct.c "psrad $" #shift ", %%mm7 \n\t"\ shift 1042 libavcodec/x86/simple_idct.c "psrad $" #shift ", %%mm4 \n\t"\ shift 1046 libavcodec/x86/simple_idct.c "psrad $" #shift ", %%mm0 \n\t"\ shift 1047 libavcodec/x86/simple_idct.c "psrad $" #shift ", %%mm3 \n\t"\ shift 1062 libavcodec/x86/simple_idct.c "psrad $" #shift ", %%mm3 \n\t"\ shift 1063 libavcodec/x86/simple_idct.c "psrad $" #shift ", %%mm5 \n\t"\ shift 1067 libavcodec/x86/simple_idct.c "psrad $" #shift ", %%mm6 \n\t"\ shift 1070 libavcodec/x86/simple_idct.c "psrad $" #shift ", %%mm4 \n\t"\ shift 1090 libavcodec/x86/simple_idct.c #define IDCT(src0, src4, src1, src5, dst, shift) \ shift 1096 libavcodec/x86/simple_idct.c "psrad $" #shift ", %%mm4 \n\t"\ shift 1097 libavcodec/x86/simple_idct.c "psrad $" #shift ", %%mm0 \n\t"\ shift 1104 libavcodec/x86/simple_idct.c "psrad $" #shift ", %%mm1 \n\t"\ shift 1107 libavcodec/x86/simple_idct.c "psrad $" #shift ", %%mm2 \n\t"\ shift 26 libavcodec/x86/ttadsp_init.c int32_t *error, int32_t *in, int32_t shift, shift 29 libavcodec/x86/ttadsp_init.c int32_t *error, int32_t *in, int32_t shift, shift 86 libavcodec/x86/vc1dsp_mmx.c int rnd, int64_t shift) shift 112 libavcodec/x86/vc1dsp_mmx.c "m"(shift), "m"(rnd), "r"(9*stride-4) shift 279 libavcodec/x86/vc1dsp_mmx.c int rnd, int64_t shift) \ shift 319 libavcodec/x86/vc1dsp_mmx.c "m"(rnd), "m"(shift) \ shift 413 libavcodec/x86/vc1dsp_mmx.c typedef void (*vc1_mspel_mc_filter_ver_16bits)(int16_t *dst, const uint8_t *src, x86_reg src_stride, int rnd, int64_t shift); shift 447 libavcodec/x86/vc1dsp_mmx.c int shift = (shift_value[hmode]+shift_value[vmode])>>1;\ shift 451 libavcodec/x86/vc1dsp_mmx.c r = (1<<(shift-1)) + rnd-1;\ shift 452 libavcodec/x86/vc1dsp_mmx.c vc1_put_shift_ver_16bits[vmode](tmp, src-1, stride, r, shift);\ shift 721 libavdevice/opengl_enc.c int shift; shift 736 libavdevice/opengl_enc.c shift = desc->comp[i].depth_minus1 >> 3; \ shift 737 libavdevice/opengl_enc.c opengl->color_map[(i << 2) + ((desc->comp[i].offset_plus1 - 1) >> shift)] = 1.0; \ shift 89 libavfilter/af_volumedetect.c int i, max_volume, shift; shift 103 libavfilter/af_volumedetect.c shift = av_log2(nb_samples >> 33); shift 105 libavfilter/af_volumedetect.c nb_samples_shift += vd->histogram[i] >> shift; shift 106 libavfilter/af_volumedetect.c power += (i - 0x8000) * (i - 0x8000) * (vd->histogram[i] >> shift); shift 407 libavfilter/drawutils.c unsigned w, unsigned h, unsigned shift, unsigned xm0) shift 424 libavfilter/drawutils.c alpha = (t >> shift) * alpha; shift 516 libavfilter/drawutils.c unsigned shift = sub_dir ? draw->vsub_max : draw->hsub_max; shift 518 libavfilter/drawutils.c if (!shift) shift 521 libavfilter/drawutils.c value += round_dir ? (1 << shift) - 1 : 1 << (shift - 1); shift 522 libavfilter/drawutils.c return (value >> shift) << shift; shift 217 libavfilter/vf_deshake.c static double block_angle(int x, int y, int cx, int cy, IntMotionVector *shift) shift 222 libavfilter/vf_deshake.c a2 = atan2(y - cy + shift->y, x - cx + shift->x); shift 166 libavfilter/vf_noise.c int len, int shift) shift 170 libavfilter/vf_noise.c noise += shift; shift 179 libavfilter/vf_noise.c int len, const int8_t * const *shift) shift 185 libavfilter/vf_noise.c const int n = shift[0][i] + shift[1][i] + shift[2][i]; shift 210 libavfilter/vf_noise.c int shift = p->rand_shift[ix]; shift 214 libavfilter/vf_noise.c p->prev_shift[ix][shift & 3] = noise + shift; shift 216 libavfilter/vf_noise.c n->line_noise(dst + x, src + x, noise, w, shift); shift 55 libavfilter/vf_noise.h void (*line_noise)(uint8_t *dst, const uint8_t *src, const int8_t *noise, int len, int shift); shift 56 libavfilter/vf_noise.h void (*line_noise_avg)(uint8_t *dst, const uint8_t *src, int len, const int8_t * const *shift); shift 59 libavfilter/vf_noise.h void ff_line_noise_c(uint8_t *dst, const uint8_t *src, const int8_t *noise, int len, int shift); shift 60 libavfilter/vf_noise.h void ff_line_noise_avg_c(uint8_t *dst, const uint8_t *src, int len, const int8_t * const *shift); shift 149 libavfilter/vf_paletteuse.c static av_always_inline int dither_color(uint32_t px, int er, int eg, int eb, int scale, int shift) shift 151 libavfilter/vf_paletteuse.c return av_clip_uint8((px >> 16 & 0xff) + ((er * scale) / (1<<shift))) << 16 shift 152 libavfilter/vf_paletteuse.c | av_clip_uint8((px >> 8 & 0xff) + ((eg * scale) / (1<<shift))) << 8 shift 153 libavfilter/vf_paletteuse.c | av_clip_uint8((px & 0xff) + ((eb * scale) / (1<<shift))); shift 63 libavfilter/vf_swapuv.c desc->comp[i].shift != 0 || shift 29 libavfilter/x86/vf_noise.c const int8_t *noise, int len, int shift) shift 32 libavfilter/x86/vf_noise.c noise += shift; shift 58 libavfilter/x86/vf_noise.c int len, const int8_t * const *shift) shift 88 libavfilter/x86/vf_noise.c :: "r" (src+mmx_len), "r" (shift[0]+mmx_len), "r" (shift[1]+mmx_len), "r" (shift[2]+mmx_len), shift 94 libavfilter/x86/vf_noise.c const int8_t *shift2[3] = { shift[0]+mmx_len, shift[1]+mmx_len, shift[2]+mmx_len }; shift 101 libavfilter/x86/vf_noise.c const int8_t *noise, int len, int shift) shift 104 libavfilter/x86/vf_noise.c noise += shift; shift 57 libavformat/dv.c uint16_t shift, result; shift 60 libavformat/dv.c shift = (sample & 0xf00) >> 8; shift 62 libavformat/dv.c if (shift < 0x2 || shift > 0xd) { shift 64 libavformat/dv.c } else if (shift < 0x8) { shift 65 libavformat/dv.c shift--; shift 66 libavformat/dv.c result = (sample - (256 * shift)) << shift; shift 68 libavformat/dv.c shift = 0xe - shift; shift 69 libavformat/dv.c result = ((sample + ((256 * shift) + 1)) << shift) - 1; shift 36 libavformat/h261dec.c int shift = av_log2_16bit(p->buf[i+1]); shift 37 libavformat/h261dec.c uint32_t code = AV_RB64(&p->buf[FFMAX(i-1, 0)]) >> (24+shift); shift 38 libavformat/jacosubdec.c int shift; shift 127 libavformat/jacosubdec.c ts_start = (ts_start + jacosub->shift) * 100 / jacosub->timeres; shift 128 libavformat/jacosubdec.c ts_end = (ts_end + jacosub->shift) * 100 / jacosub->timeres; shift 217 libavformat/jacosubdec.c jacosub->shift = get_shift(jacosub->timeres, p); shift 884 libavformat/utils.c int64_t shift; shift 896 libavformat/utils.c shift = st->first_dts - RELATIVE_TS_BASE; shift 902 libavformat/utils.c pts += shift; shift 908 libavformat/utils.c pktl->pkt.pts += shift; shift 911 libavformat/utils.c pktl->pkt.dts += shift; shift 585 libavformat/wtvenc.c static void write_fat(AVIOContext *pb, int start_sector, int nb_sectors, int shift) shift 589 libavformat/wtvenc.c avio_wl32(pb, start_sector + (i << shift)); shift 598 libavformat/wtvenc.c int shift = sector_bits - WTV_SECTOR_BITS; shift 601 libavformat/wtvenc.c write_fat(s->pb, start_sector, nb_sectors, shift); shift 91 libavutil/colorspace.h #define RGB_TO_U(r1, g1, b1, shift)\ shift 93 libavutil/colorspace.h FIX(0.50000) * b1 + (ONE_HALF << shift) - 1) >> (SCALEBITS + shift)) + 128) shift 95 libavutil/colorspace.h #define RGB_TO_V(r1, g1, b1, shift)\ shift 97 libavutil/colorspace.h FIX(0.08131) * b1 + (ONE_HALF << shift) - 1) >> (SCALEBITS + shift)) + 128) shift 103 libavutil/colorspace.h #define RGB_TO_U_CCIR(r1, g1, b1, shift)\ shift 105 libavutil/colorspace.h FIX(0.50000*224.0/255.0) * b1 + (ONE_HALF << shift) - 1) >> (SCALEBITS + shift)) + 128) shift 107 libavutil/colorspace.h #define RGB_TO_V_CCIR(r1, g1, b1, shift)\ shift 109 libavutil/colorspace.h FIX(0.08131*224.0/255.0) * b1 + (ONE_HALF << shift) - 1) >> (SCALEBITS + shift)) + 128) shift 378 libavutil/common.h int bytes, shift;\ shift 385 libavutil/common.h shift = (bytes - 1) * 6;\ shift 386 libavutil/common.h tmp = (256 - (256 >> bytes)) | (in >> shift);\ shift 388 libavutil/common.h while (shift >= 6) {\ shift 389 libavutil/common.h shift -= 6;\ shift 390 libavutil/common.h tmp = 0x80 | ((in >> shift) & 0x3f);\ shift 381 libavutil/imgutils.c int h, shift = (i == 1 || i == 2) ? desc->log2_chroma_h : 0; shift 383 libavutil/imgutils.c h = (height + (1 << shift) - 1) >> shift; shift 44 libavutil/pixdesc.c int shift = comp.shift; shift 51 libavutil/pixdesc.c int shift = 8 - depth - (skip & 7); shift 54 libavutil/pixdesc.c int val = (*p >> shift) & mask; shift 57 libavutil/pixdesc.c shift -= step; shift 58 libavutil/pixdesc.c p -= shift >> 3; shift 59 libavutil/pixdesc.c shift &= 7; shift 65 libavutil/pixdesc.c int is_8bit = shift + depth <= 8; shift 73 libavutil/pixdesc.c val = (val >> shift) & mask; shift 96 libavutil/pixdesc.c int shift = 8 - depth - (skip & 7); shift 99 libavutil/pixdesc.c *p |= *src++ << shift; shift 100 libavutil/pixdesc.c shift -= step; shift 101 libavutil/pixdesc.c p -= shift >> 3; shift 102 libavutil/pixdesc.c shift &= 7; shift 105 libavutil/pixdesc.c int shift = comp.shift; shift 109 libavutil/pixdesc.c if (shift + depth <= 8) { shift 112 libavutil/pixdesc.c *p |= (*src++ << shift); shift 118 libavutil/pixdesc.c uint16_t val = AV_RB16(p) | (*src++ << shift); shift 121 libavutil/pixdesc.c uint16_t val = AV_RL16(p) | (*src++ << shift); shift 2107 libavutil/pixdesc.c av_assert0(!c->plane && !c->step_minus1 && !c->offset_plus1 && !c->shift && !c->depth_minus1); shift 52 libavutil/pixdesc.h uint16_t shift : 3; shift 343 libswresample/swresample-test.c shift(ain, 1, in_ch_count, in_sample_fmt); shift 345 libswresample/swresample-test.c shift(amid, mid_count, out_ch_count, out_sample_fmt); tmp_count = mid_count; shift 347 libswresample/swresample-test.c shift(amid, mid_count-tmp_count, out_ch_count, out_sample_fmt); tmp_count = mid_count; shift 348 libswresample/swresample-test.c shift(ain, 2, in_ch_count, in_sample_fmt); shift 350 libswresample/swresample-test.c shift(amid, mid_count-tmp_count, out_ch_count, out_sample_fmt); tmp_count = mid_count; shift 351 libswresample/swresample-test.c shift(ain, -3, in_ch_count, in_sample_fmt); shift 353 libswresample/swresample-test.c shift(amid, -tmp_count, out_ch_count, out_sample_fmt); shift 383 libswresample/swresample-test.c shift(aout, flush_i, in_ch_count, in_sample_fmt); shift 385 libswresample/swresample-test.c shift(aout, -flush_i, in_ch_count, in_sample_fmt); shift 811 libswscale/input.c int shift = bpc < 16 ? bpc : 14; shift 817 libswscale/input.c dst[i] = ((ry*r + gy*g + by*b + (33 << (RGB2YUV_SHIFT + bpc - 9))) >> (RGB2YUV_SHIFT + shift - 14)); shift 831 libswscale/input.c int shift = bpc < 16 ? bpc : 14; shift 837 libswscale/input.c dstU[i] = (ru*r + gu*g + bu*b + (257 << (RGB2YUV_SHIFT + bpc - 9))) >> (RGB2YUV_SHIFT + shift - 14); shift 838 libswscale/input.c dstV[i] = (rv*r + gv*g + bv*b + (257 << (RGB2YUV_SHIFT + bpc - 9))) >> (RGB2YUV_SHIFT + shift - 14); shift 138 libswscale/output.c AV_WB16(pos, bias + av_clip_ ## signedness ## 16(val >> shift)); \ shift 140 libswscale/output.c AV_WL16(pos, bias + av_clip_ ## signedness ## 16(val >> shift)); \ shift 148 libswscale/output.c int shift = 3; shift 152 libswscale/output.c int val = src[i] + (1 << (shift - 1)); shift 163 libswscale/output.c int shift = 15; shift 167 libswscale/output.c int val = 1 << (shift - 1); shift 187 libswscale/output.c AV_WB16(pos, av_clip_uintp2(val >> shift, output_bits)); \ shift 189 libswscale/output.c AV_WL16(pos, av_clip_uintp2(val >> shift, output_bits)); \ shift 197 libswscale/output.c int shift = 15 - output_bits; shift 200 libswscale/output.c int val = src[i] + (1 << (shift - 1)); shift 211 libswscale/output.c int shift = 11 + 16 - output_bits; shift 214 libswscale/output.c int val = 1 << (shift - 1); shift 283 libswscale/swscale.h void sws_shiftVec(SwsVector *a, int shift); shift 415 libswscale/swscale_unscaled.c int src_alpha, int swap, int shift, int width) shift 425 libswscale/swscale_unscaled.c dst[0][x] = av_bswap16(av_bswap16(*src_line++) >> shift); shift 426 libswscale/swscale_unscaled.c dst[1][x] = av_bswap16(av_bswap16(*src_line++) >> shift); shift 427 libswscale/swscale_unscaled.c dst[2][x] = av_bswap16(av_bswap16(*src_line++) >> shift); shift 428 libswscale/swscale_unscaled.c dst[3][x] = av_bswap16(av_bswap16(*src_line++) >> shift); shift 432 libswscale/swscale_unscaled.c dst[0][x] = av_bswap16(av_bswap16(*src_line++) >> shift); shift 433 libswscale/swscale_unscaled.c dst[1][x] = av_bswap16(av_bswap16(*src_line++) >> shift); shift 434 libswscale/swscale_unscaled.c dst[2][x] = av_bswap16(av_bswap16(*src_line++) >> shift); shift 439 libswscale/swscale_unscaled.c dst[0][x] = av_bswap16(av_bswap16(*src_line++) >> shift); shift 440 libswscale/swscale_unscaled.c dst[1][x] = av_bswap16(av_bswap16(*src_line++) >> shift); shift 441 libswscale/swscale_unscaled.c dst[2][x] = av_bswap16(av_bswap16(*src_line++) >> shift); shift 446 libswscale/swscale_unscaled.c dst[0][x] = av_bswap16(av_bswap16(*src_line++) >> shift); shift 447 libswscale/swscale_unscaled.c dst[1][x] = av_bswap16(av_bswap16(*src_line++) >> shift); shift 448 libswscale/swscale_unscaled.c dst[2][x] = av_bswap16(av_bswap16(*src_line++) >> shift); shift 455 libswscale/swscale_unscaled.c dst[0][x] = av_bswap16(*src_line++ >> shift); shift 456 libswscale/swscale_unscaled.c dst[1][x] = av_bswap16(*src_line++ >> shift); shift 457 libswscale/swscale_unscaled.c dst[2][x] = av_bswap16(*src_line++ >> shift); shift 458 libswscale/swscale_unscaled.c dst[3][x] = av_bswap16(*src_line++ >> shift); shift 462 libswscale/swscale_unscaled.c dst[0][x] = av_bswap16(*src_line++ >> shift); shift 463 libswscale/swscale_unscaled.c dst[1][x] = av_bswap16(*src_line++ >> shift); shift 464 libswscale/swscale_unscaled.c dst[2][x] = av_bswap16(*src_line++ >> shift); shift 469 libswscale/swscale_unscaled.c dst[0][x] = av_bswap16(*src_line++ >> shift); shift 470 libswscale/swscale_unscaled.c dst[1][x] = av_bswap16(*src_line++ >> shift); shift 471 libswscale/swscale_unscaled.c dst[2][x] = av_bswap16(*src_line++ >> shift); shift 476 libswscale/swscale_unscaled.c dst[0][x] = av_bswap16(*src_line++ >> shift); shift 477 libswscale/swscale_unscaled.c dst[1][x] = av_bswap16(*src_line++ >> shift); shift 478 libswscale/swscale_unscaled.c dst[2][x] = av_bswap16(*src_line++ >> shift); shift 485 libswscale/swscale_unscaled.c dst[0][x] = av_bswap16(*src_line++) >> shift; shift 486 libswscale/swscale_unscaled.c dst[1][x] = av_bswap16(*src_line++) >> shift; shift 487 libswscale/swscale_unscaled.c dst[2][x] = av_bswap16(*src_line++) >> shift; shift 488 libswscale/swscale_unscaled.c dst[3][x] = av_bswap16(*src_line++) >> shift; shift 492 libswscale/swscale_unscaled.c dst[0][x] = av_bswap16(*src_line++) >> shift; shift 493 libswscale/swscale_unscaled.c dst[1][x] = av_bswap16(*src_line++) >> shift; shift 494 libswscale/swscale_unscaled.c dst[2][x] = av_bswap16(*src_line++) >> shift; shift 499 libswscale/swscale_unscaled.c dst[0][x] = av_bswap16(*src_line++) >> shift; shift 500 libswscale/swscale_unscaled.c dst[1][x] = av_bswap16(*src_line++) >> shift; shift 501 libswscale/swscale_unscaled.c dst[2][x] = av_bswap16(*src_line++) >> shift; shift 506 libswscale/swscale_unscaled.c dst[0][x] = av_bswap16(*src_line++) >> shift; shift 507 libswscale/swscale_unscaled.c dst[1][x] = av_bswap16(*src_line++) >> shift; shift 508 libswscale/swscale_unscaled.c dst[2][x] = av_bswap16(*src_line++) >> shift; shift 515 libswscale/swscale_unscaled.c dst[0][x] = *src_line++ >> shift; shift 516 libswscale/swscale_unscaled.c dst[1][x] = *src_line++ >> shift; shift 517 libswscale/swscale_unscaled.c dst[2][x] = *src_line++ >> shift; shift 518 libswscale/swscale_unscaled.c dst[3][x] = *src_line++ >> shift; shift 522 libswscale/swscale_unscaled.c dst[0][x] = *src_line++ >> shift; shift 523 libswscale/swscale_unscaled.c dst[1][x] = *src_line++ >> shift; shift 524 libswscale/swscale_unscaled.c dst[2][x] = *src_line++ >> shift; shift 529 libswscale/swscale_unscaled.c dst[0][x] = *src_line++ >> shift; shift 530 libswscale/swscale_unscaled.c dst[1][x] = *src_line++ >> shift; shift 531 libswscale/swscale_unscaled.c dst[2][x] = *src_line++ >> shift; shift 536 libswscale/swscale_unscaled.c dst[0][x] = *src_line++ >> shift; shift 537 libswscale/swscale_unscaled.c dst[1][x] = *src_line++ >> shift; shift 538 libswscale/swscale_unscaled.c dst[2][x] = *src_line++ >> shift; shift 1374 libswscale/swscale_unscaled.c int shift= src_depth-dst_depth + dither_scale[src_depth-2][dst_depth-1];\ shift 1378 libswscale/swscale_unscaled.c dst[j+0] = dbswap((bswap(src[j+0]) + dither[0])*scale>>shift);\ shift 1379 libswscale/swscale_unscaled.c dst[j+1] = dbswap((bswap(src[j+1]) + dither[1])*scale>>shift);\ shift 1380 libswscale/swscale_unscaled.c dst[j+2] = dbswap((bswap(src[j+2]) + dither[2])*scale>>shift);\ shift 1381 libswscale/swscale_unscaled.c dst[j+3] = dbswap((bswap(src[j+3]) + dither[3])*scale>>shift);\ shift 1382 libswscale/swscale_unscaled.c dst[j+4] = dbswap((bswap(src[j+4]) + dither[4])*scale>>shift);\ shift 1383 libswscale/swscale_unscaled.c dst[j+5] = dbswap((bswap(src[j+5]) + dither[5])*scale>>shift);\ shift 1384 libswscale/swscale_unscaled.c dst[j+6] = dbswap((bswap(src[j+6]) + dither[6])*scale>>shift);\ shift 1385 libswscale/swscale_unscaled.c dst[j+7] = dbswap((bswap(src[j+7]) + dither[7])*scale>>shift);\ shift 1388 libswscale/swscale_unscaled.c dst[j] = dbswap((bswap(src[j]) + dither[j&7])*scale>>shift);\ shift 1461 libswscale/swscale_unscaled.c unsigned shift = dst_depth - src_depth; shift 1463 libswscale/swscale_unscaled.c #define FAST_COPY_UP(shift) \ shift 1466 libswscale/swscale_unscaled.c AV_WN64A(dstPtr2 + j, v << shift); \ shift 1469 libswscale/swscale_unscaled.c #define FAST_COPY_UP(shift) \ shift 1472 libswscale/swscale_unscaled.c AV_WN32A(dstPtr2 + j, v << shift); \ shift 1475 libswscale/swscale_unscaled.c switch (shift) shift 614 libswscale/utils.c int shift = (*filterPos)[i] + FFMIN(filterSize - srcW, 0); shift 624 libswscale/utils.c if (j < shift) { shift 627 libswscale/utils.c filter[i * filterSize + j] = filter[i * filterSize + j - shift]; shift 631 libswscale/utils.c (*filterPos)[i]-= shift; shift 1796 libswscale/utils.c static SwsVector *sws_getShiftedVec(SwsVector *a, int shift) shift 1798 libswscale/utils.c int length = a->length + FFABS(shift) * 2; shift 1807 libswscale/utils.c (a->length - 1) / 2 - shift] = a->coeff[i]; shift 1813 libswscale/utils.c void sws_shiftVec(SwsVector *a, int shift) shift 1815 libswscale/utils.c SwsVector *shifted = sws_getShiftedVec(a, shift); shift 149 libswscale/x86/hscale_fast_bilinear_simd.c int shift = 0; shift 169 libswscale/x86/hscale_fast_bilinear_simd.c shift = maxShift; // avoid overread shift 171 libswscale/x86/hscale_fast_bilinear_simd.c shift = filterPos[i / 2] & 3; // align shift 173 libswscale/x86/hscale_fast_bilinear_simd.c if (shift && i >= shift) { shift 174 libswscale/x86/hscale_fast_bilinear_simd.c filterCode[fragmentPos + imm8OfPShufW1] += 0x55 * shift; shift 175 libswscale/x86/hscale_fast_bilinear_simd.c filterCode[fragmentPos + imm8OfPShufW2] += 0x55 * shift; shift 176 libswscale/x86/hscale_fast_bilinear_simd.c filterPos[i / 2] -= shift; shift 133 tests/tiny_psnr.c static int run_psnr(FILE *f[2], int len, int shift, int skip_bytes) shift 169 tests/tiny_psnr.c fseek(f[shift < 0], abs(shift), SEEK_CUR); shift 272 tests/tiny_psnr.c int shift; shift 308 tests/tiny_psnr.c for (shift = shift_first; shift <= shift_last; shift++) { shift 309 tests/tiny_psnr.c int psnr = run_psnr(f, len, shift, skip_bytes); shift 310 tests/tiny_psnr.c if (psnr > max_psnr || (shift < 0 && psnr == max_psnr)) { shift 312 tests/tiny_psnr.c max_psnr_shift = shift;