/third_party/mesa3d/src/compiler/glsl/ |
D | int64.glsl | 37 int log2_denom = findMSB(d.y) + 32; 45 log2_denom = findMSB(d.x); 47 /* Since the upper 32 bits of denom are zero, log2_denom <= 31 and we 48 * don't have to compare log2_denom inside the loop as is done in the 52 if (log2_denom <= 31 - i && (d.x << i) <= n.y) { 58 /* log2_denom is always <= 31, so manually peel the last loop 70 if (log2_denom <= 63 - i && (d64 << i) <= n64) { 76 /* log2_denom is always <= 63, so manually peel the last loop
|
/third_party/ffmpeg/libavcodec/mips/ |
D | h264dsp_mmi.c | 1134 int log2_denom, int weight, int offset) in ff_h264_weight_pixels16_8_mmi() argument 1140 offset <<= log2_denom; in ff_h264_weight_pixels16_8_mmi() 1142 if (log2_denom) in ff_h264_weight_pixels16_8_mmi() 1143 offset += 1 << (log2_denom - 1); in ff_h264_weight_pixels16_8_mmi() 1183 [log2_denom]"r"(log2_denom) in ff_h264_weight_pixels16_8_mmi() 1190 ptrdiff_t stride, int height, int log2_denom, int weightd, int weights, in ff_h264_biweight_pixels16_8_mmi() argument 1197 offset = ((offset + 1) | 1) << log2_denom; in ff_h264_biweight_pixels16_8_mmi() 1254 [offset]"r"(offset), [log2_denom]"r"(log2_denom+1) in ff_h264_biweight_pixels16_8_mmi() 1261 int log2_denom, int weight, int offset) in ff_h264_weight_pixels8_8_mmi() argument 1267 offset <<= log2_denom; in ff_h264_weight_pixels8_8_mmi() [all …]
|
D | h264dsp_msa.c | 25 int32_t log2_denom, int32_t src_weight, in avc_wgt_4x2_msa() argument 33 offset_val = (unsigned) offset_in << log2_denom; in avc_wgt_4x2_msa() 37 denom = __msa_fill_h(log2_denom); in avc_wgt_4x2_msa() 52 int32_t log2_denom, int32_t src_weight, in avc_wgt_4x4_msa() argument 59 offset_val = (unsigned) offset_in << log2_denom; in avc_wgt_4x4_msa() 63 denom = __msa_fill_h(log2_denom); in avc_wgt_4x4_msa() 79 int32_t log2_denom, int32_t src_weight, in avc_wgt_4x8_msa() argument 87 offset_val = (unsigned) offset_in << log2_denom; in avc_wgt_4x8_msa() 91 denom = __msa_fill_h(log2_denom); in avc_wgt_4x8_msa() 111 int32_t log2_denom, int32_t src_weight, in avc_wgt_8x4_msa() argument [all …]
|
D | h264dsp_mips.h | 82 ptrdiff_t stride, int height, int log2_denom, 85 ptrdiff_t stride, int height, int log2_denom, 88 ptrdiff_t stride, int height, int log2_denom, 91 int log2_denom, int weight, int offset); 93 int log2_denom, int weight, int offset); 95 int log2_denom, int weight, int offset); 343 int log2_denom, int weight, int offset); 345 ptrdiff_t stride, int height, int log2_denom, int weightd, int weights, 348 int log2_denom, int weight, int offset); 350 ptrdiff_t stride, int height, int log2_denom, int weightd, int weights, [all …]
|
/third_party/ffmpeg/libavcodec/ |
D | h264dsp_template.c | 30 #define op_scale1(x) block[x] = av_clip_pixel( (block[x]*weight + offset) >> log2_denom ) 31 …op_scale2(x) dst[x] = av_clip_pixel( (src[x]*weights + dst[x]*weightd + offset) >> (log2_denom+1)) 34 int log2_denom, int weight, int offset) \ 39 offset = (unsigned)offset << (log2_denom + (BIT_DEPTH-8)); \ 40 if(log2_denom) offset += 1<<(log2_denom-1); \ 64 int log2_denom, int weightd, int weights, int offset) \ 71 offset = (unsigned)((offset + 1) | 1) << log2_denom; \
|
D | diracdsp.c | 85 …fine op_scale1(x) block[x] = av_clip_uint8( (block[x]*weight + (1<<(log2_denom-1))) >> log2_denom) 86 …(x) dst[x] = av_clip_uint8( (src[x]*weights + dst[x]*weightd + (1<<(log2_denom-1))) >> log2_denom) 89 static void weight_dirac_pixels ## W ## _c(uint8_t *block, int stride, int log2_denom, \ 100 …id biweight_dirac_pixels ## W ## _c(uint8_t *dst, const uint8_t *src, int stride, int log2_denom, \
|
D | diracdsp.h | 27 typedef void (*dirac_weight_func)(uint8_t *block, int stride, int log2_denom, int weight, int h); 28 typedef void (*dirac_biweight_func)(uint8_t *dst, const uint8_t *src, int stride, int log2_denom, i…
|
D | h264dsp.h | 34 int log2_denom, int weight, int offset); 36 ptrdiff_t stride, int height, int log2_denom,
|
/third_party/ffmpeg/libavcodec/x86/ |
D | h264_weight_10bit.asm | 40 ; int log2_denom, int weight, int offset); 55 pslld m0, m2 ; 1<<log2_denom 62 paddw m2, [sq_1] ; log2_denom+1 156 ; int height, int log2_denom, int weightd, 183 movd m6, r4m ; log2_denom 184 pslld m5, m6 ; (((offset<<2)+1)|1)<<log2_denom
|
D | h264dsp_init.c | 177 int height, int log2_denom, \ 183 int log2_denom, int weightd, \ 204 int log2_denom, \ 213 int log2_denom, \
|
D | h264_weight.asm | 32 ; int height, int log2_denom, int weightd, 36 ; int log2_denom, int weight, int offset);
|
/third_party/ffmpeg/libavcodec/ppc/ |
D | h264dsp.c | 658 int log2_denom, int weight, int offset, int w) in weight_h264_W_altivec() argument 667 offset <<= log2_denom; in weight_h264_W_altivec() 668 if(log2_denom) offset += 1<<(log2_denom-1); in weight_h264_W_altivec() 669 temp[0] = log2_denom; in weight_h264_W_altivec() 707 int log2_denom, int weightd, int weights, int offset, int w) in biweight_h264_W_altivec() argument 716 offset = ((offset + 1) | 1) << log2_denom; in biweight_h264_W_altivec() 717 temp[0] = log2_denom+1; in biweight_h264_W_altivec() 775 int log2_denom, int weight, int offset) \ 777 weight_h264_W_altivec(block, stride, height, log2_denom, weight, offset, W); \ 780 … int log2_denom, int weightd, int weights, int offset) \ [all …]
|
/third_party/mesa3d/src/compiler/nir/ |
D | nir_lower_int64.c | 559 nir_ssa_def *log2_denom = nir_ufind_msb(b, d_hi); in lower_udiv64_mod64() local 578 nir_ige(b, nir_imm_int(b, 31 - i), log2_denom)); in lower_udiv64_mod64()
|