Home
last modified time | relevance | path

Searched refs:sign (Results 226 - 250 of 1043) sorted by relevance

12345678910>>...42

/third_party/ffmpeg/libavcodec/
H A Dacelp_vectors.c154 const float sign = (fixed_index[2*i+1] & (1 << bits)) ? -1.0 : 1.0; in ff_decode_10_pulses_35bits() local
157 fixed_sparse->y[2*i+1] = sign; in ff_decode_10_pulses_35bits()
158 fixed_sparse->y[2*i ] = pos2 < pos1 ? -sign : sign; in ff_decode_10_pulses_35bits()
H A Dproresdec2.c72 int sign; in unpack_alpha() local
74 sign = val & 1; in unpack_alpha()
76 if (sign) in unpack_alpha()
473 int code, i, sign; in decode_dc_coeffs() local
484 sign = 0; in decode_dc_coeffs()
487 if(code) sign ^= -(code & 1); in decode_dc_coeffs()
488 else sign = 0; in decode_dc_coeffs()
489 prev_dc += (((code + 1) >> 1) ^ sign) - sign; in decode_dc_coeffs()
504 int block_mask, sign; in decode_ac_coeffs() local
[all...]
H A Dh261enc.c148 int sign, code; in h261_encode_motion() local
157 sign = val < 0; in h261_encode_motion()
158 code = sign ? -val : val; in h261_encode_motion()
160 put_bits(pb, 1, sign); in h261_encode_motion()
182 int level, run, i, j, last_index, last_non_zero, sign, slevel, code; in h261_encode_block() local
221 sign = 0; in h261_encode_block()
224 sign = 1; in h261_encode_block()
238 put_bits(&s->pb, 1, sign); in h261_encode_block()
/third_party/musl/src/math/
H A D__tanl.c103 int big, sign; in __tanl() local
107 sign = 0; in __tanl()
109 sign = 1; in __tanl()
126 return sign ? -v : v; in __tanl()
H A D__math_divzerof.c3 float __math_divzerof(uint32_t sign) in __math_divzerof() argument
5 return fp_barrierf(sign ? -1.0f : 1.0f) / 0.0f; in __math_divzerof()
H A D__math_xflowf.c3 float __math_xflowf(uint32_t sign, float y) in __math_xflowf() argument
5 return eval_as_float(fp_barrierf(sign ? -y : y) * y); in __math_xflowf()
H A D__math_xflow.c3 double __math_xflow(uint32_t sign, double y) in __math_xflow() argument
5 return eval_as_double(fp_barrier(sign ? -y : y) * y); in __math_xflow()
/third_party/musl/porting/liteos_a/kernel/src/math/
H A D__tanl.c103 int big, sign; in __tanl() local
107 sign = 0; in __tanl()
109 sign = 1; in __tanl()
126 return sign ? -v : v; in __tanl()
H A D__math_xflow.c3 double __math_xflow(uint32_t sign, double y) in __math_xflow() argument
5 return eval_as_double(fp_barrier(sign ? -y : y) * y); in __math_xflow()
H A D__math_divzerof.c3 float __math_divzerof(uint32_t sign) in __math_divzerof() argument
5 return fp_barrierf(sign ? -1.0f : 1.0f) / 0.0f; in __math_divzerof()
H A D__math_xflowf.c3 float __math_xflowf(uint32_t sign, float y) in __math_xflowf() argument
5 return eval_as_float(fp_barrierf(sign ? -y : y) * y); in __math_xflowf()
H A D__expo2f.c8 float __expo2f(float x, float sign) in __expo2f() argument
15 /* in directed rounding correct sign before rounding or overflow is important */ in __expo2f()
16 return expf(x - kln2) * (sign * scale) * scale; in __expo2f()
H A D__expo2.c8 double __expo2(double x, double sign) in __expo2() argument
15 /* in directed rounding correct sign before rounding or overflow is important */ in __expo2()
16 return exp(x - kln2) * (sign * scale) * scale; in __expo2()
/third_party/mesa3d/src/gallium/drivers/freedreno/a2xx/
H A Dfd2_texture.c181 so->tex0 = A2XX_SQ_TEX_0_SIGN_X(fmt.sign) | A2XX_SQ_TEX_0_SIGN_Y(fmt.sign) | in fd2_sampler_view_create()
182 A2XX_SQ_TEX_0_SIGN_Z(fmt.sign) | A2XX_SQ_TEX_0_SIGN_W(fmt.sign) | in fd2_sampler_view_create()
/third_party/skia/third_party/externals/swiftshader/third_party/marl/tools/cmd/benchdiff/
H A Dmain.go147 sign, diff := "+", delta.times.b-delta.times.a
149 sign, diff = "-", -diff
151 fmt.Fprintf(w, "%v%.2fx %v%+v\t | %v\t | %v\t | %v\n", sign, delta.absRelDiff, sign, diff, delta.name, delta.times.a, delta.times.b)
/third_party/skia/third_party/externals/abseil-cpp/absl/time/internal/cctz/src/
H A Dtime_zone_posix.cc71 const char* ParseOffset(const char* p, int min_hour, int max_hour, int sign, in ParseOffset() argument
75 if (*p++ == '-') sign = -sign; in ParseOffset()
91 *offset = sign * ((((hours * 60) + minutes) * 60) + seconds); in ParseOffset()
/third_party/musl/porting/uniproton/kernel/src/math/
H A D__math_xflowf.c3 float __math_xflowf(uint32_t sign, float y) in __math_xflowf() argument
5 return eval_as_float(fp_barrierf(sign ? -y : y) * y); in __math_xflowf()
H A D__math_xflow.c3 double __math_xflow(uint32_t sign, double y) in __math_xflow() argument
5 return eval_as_double(fp_barrier(sign ? -y : y) * y); in __math_xflow()
H A D__math_divzerof.c3 float __math_divzerof(uint32_t sign) in __math_divzerof() argument
5 return fp_barrierf(sign ? -1.0f : 1.0f) / 0.0f; in __math_divzerof()
/third_party/musl/porting/liteos_m/kernel/src/math/
H A D__math_divzerof.c3 float __math_divzerof(uint32_t sign) in __math_divzerof() argument
5 return fp_barrierf(sign ? -1.0f : 1.0f) / 0.0f; in __math_divzerof()
H A D__math_xflowf.c3 float __math_xflowf(uint32_t sign, float y) in __math_xflowf() argument
5 return eval_as_float(fp_barrierf(sign ? -y : y) * y); in __math_xflowf()
H A D__math_xflow.c3 double __math_xflow(uint32_t sign, double y) in __math_xflow() argument
5 return eval_as_double(fp_barrier(sign ? -y : y) * y); in __math_xflow()
/third_party/FreeBSD/contrib/gdtoa/
H A Dstrtodg.c327 int j, k, nbits, nd, nd0, nf, nz, nz0, rd, rvbits, rve, rve1, sign; local
358 denorm = sign = nz0 = nz = 0;
364 sign = 1;
371 sign = 0;
391 irv = gethex(&s, fpi, exp, &rvb, sign);
394 sign = 0;
534 rd = 2 - sign;
540 rd = 1 + sign;
772 dsign = delta->sign;
773 delta->sign
[all...]
/third_party/skia/third_party/externals/harfbuzz/src/
H A Dhb-ot-shape-complex-arabic.cc462 int sign = font->x_scale < 0 ? -1 : +1; in apply_stch() local
533 if (sign * w_remaining > sign * w_repeating && sign * w_repeating > 0) in apply_stch()
534 n_copies = (sign * w_remaining) / (sign * w_repeating) - 1; in apply_stch()
538 hb_position_t shortfall = sign * w_remaining - sign * w_repeating * (n_copies + 1); in apply_stch()
542 hb_position_t excess = (n_copies + 1) * sign * w_repeating - sign * w_remainin in apply_stch()
[all...]
/third_party/alsa-lib/src/pcm/
H A Dpcm_adpcm.c111 unsigned char sign; /* sign of diff */ in adpcm_encoder() local
119 sign = (diff < 0) ? 0x8 : 0x0; in adpcm_encoder()
120 if (sign) { in adpcm_encoder()
147 state->pred_val += sign ? -pred_diff : pred_diff; in adpcm_encoder()
163 return (sign | adjust_idx); in adpcm_encoder()
171 char sign; in adpcm_decoder() local
175 /* Separate sign and magnitude */ in adpcm_decoder()
176 sign = code & 0x8; in adpcm_decoder()
193 state->pred_val += (sign) in adpcm_decoder()
[all...]

Completed in 10 milliseconds

12345678910>>...42