Searched refs:ipart (Results 1 – 8 of 8) sorted by relevance
/third_party/ffmpeg/libavcodec/ |
D | dovi_rpu.c | 149 uint64_t ipart; in get_ue_coef() local 154 ipart = get_ue_golomb_long(gb); in get_ue_coef() 156 return (ipart << hdr->coef_log2_denom) + fpart.u32; in get_ue_coef() 168 int64_t ipart; in get_se_coef() local 173 ipart = get_se_golomb_long(gb); in get_se_coef() 175 return ipart * (1LL << hdr->coef_log2_denom) + fpart.u32; in get_se_coef()
|
D | opus_silk.c | 350 int cur, prev, next, weight_sq, weight, ipart, fpart, y, value; in silk_decode_lpc() local 360 ipart = opus_ilog(weight_sq); in silk_decode_lpc() 361 fpart = (weight_sq >> (ipart-8)) & 127; in silk_decode_lpc() 362 y = ((ipart & 1) ? 32768 : 46214) >> ((32 - ipart)>>1); in silk_decode_lpc() 566 int ipart, fpart, lingain; in silk_decode_frame() local 586 ipart = log_gain >> 7; in silk_decode_frame() 588 lingain = (1 << ipart) + ((-174 * fpart * (128-fpart) >>16) + fpart) * ((1<<ipart) >> 7); in silk_decode_frame()
|
/third_party/astc-encoder/Source/ |
D | astcenc_vecmathlib.h | 327 vint4 ipart = float_to_int(x - 0.5f); in exp2() local 328 vfloat4 fpart = x - int_to_float(ipart); in exp2() 331 vfloat4 iexp = int_as_float(lsl<23>(ipart + 127)); in exp2()
|
/third_party/mesa3d/src/gallium/auxiliary/gallivm/ |
D | lp_bld_arit.c | 2523 LLVMValueRef ipart; in lp_build_ifloor_fract() local 2533 ipart = lp_build_floor(bld, a); in lp_build_ifloor_fract() 2534 *out_fpart = LLVMBuildFSub(builder, a, ipart, "fpart"); in lp_build_ifloor_fract() 2535 *out_ipart = LLVMBuildFPToSI(builder, ipart, bld->int_vec_type, "ipart"); in lp_build_ifloor_fract() 2543 ipart = LLVMBuildSIToFP(builder, *out_ipart, bld->vec_type, "ipart"); in lp_build_ifloor_fract() 2544 *out_fpart = LLVMBuildFSub(builder, a, ipart, "fpart"); in lp_build_ifloor_fract() 3237 LLVMValueRef ipart = NULL; in lp_build_exp2() local 3270 lp_build_ifloor_fract(bld, x, &ipart, &fpart); in lp_build_exp2() 3273 expipart = LLVMBuildAdd(builder, ipart, in lp_build_exp2() 3573 LLVMValueRef ipart; in lp_build_fast_log2() local [all …]
|
D | lp_bld_sample.c | 800 LLVMValueRef ipart; in lp_build_ilog2_sqrt() local 809 ipart = lp_build_extract_exponent(bld, x, 1); in lp_build_ilog2_sqrt() 810 ipart = LLVMBuildAShr(builder, ipart, one, ""); in lp_build_ilog2_sqrt() 812 return ipart; in lp_build_ilog2_sqrt()
|
/third_party/skia/samplecode/ |
D | SamplePathText.cpp | 406 const Sk4i ipart = SkNx_cast<int>(t); in apply() local 407 const Sk4f fpart = t - SkNx_cast<float>(ipart); in apply() 410 (ipart & (kTablePeriod-1)).store(indices); in apply()
|
/third_party/musl/Benchmark/musl/ |
D | libc_math.cpp | 437 float ipart; in Bm_function_Modff() local 439 benchmark::DoNotOptimize(modff(value, &ipart)); in Bm_function_Modff()
|
/third_party/FatFs/source/ |
D | ff.c | 5619 BYTE fsopt, fsty, sys, pdrv, ipart; local 5650 ipart = LD2PT(vol); /* Hosting partition (0:create as new, 1..:existing partition) */ 5683 if (ipart != 0) { /* Is the volume associated with any specific partition? */ 5688 pte = buf + (MBR_Table + (ipart - 1) * SZ_PTE); 5689 extended_br = ipart - 4; 5931 sys = ipart > 4 ? 0x0B : 0x0C; /* FAT32X */ 5943 if (ipart != 0) { /* Created in the existing partition */ 5946 if (ipart > 4) { 5949 pte = &multi_buf[MBR_Table + (ipart - 1) * SZ_PTE]; 5951 n = (ipart > 4) ? extended_base + extended_offset : 0; [all …]
|