/third_party/ffmpeg/libavcodec/ |
H A D | sbrdsp_fixed.c | 39 int i, nz, nz0; in sbr_sum_square_c() local 42 nz = 0; in sbr_sum_square_c() 49 accu0 >>= nz; in sbr_sum_square_c() local 50 accu1 >>= nz; in sbr_sum_square_c() local 51 accu2 >>= nz; in sbr_sum_square_c() local 52 accu3 >>= nz; in sbr_sum_square_c() local 59 nz ++; in sbr_sum_square_c() 66 nz0 = 15 - nz; in sbr_sum_square_c() 70 nz = 33; in sbr_sum_square_c() 73 nz in sbr_sum_square_c() 124 int nz, mant, expo; autocorr_calc() local [all...] |
H A D | aacdec_fixed.c | 137 unsigned nz = idx >> 12; in DEC_UQUAD() local 140 sign <<= nz & 1; in DEC_UQUAD() local 141 nz >>= 1; in DEC_UQUAD() 143 sign <<= nz & 1; in DEC_UQUAD() local 144 nz >>= 1; in DEC_UQUAD() 146 sign <<= nz & 1; in DEC_UQUAD() local 147 nz >>= 1; in DEC_UQUAD()
|
H A D | aacdec.c | 8 * Copyright (c) 2008-2010 Paul Kendall <paul@kcbbs.gen.nz> 131 unsigned nz = idx >> 12; in VMUL4S() local 138 sign <<= nz & 1; nz >>= 1; in VMUL4S() local 142 sign <<= nz & 1; nz >>= 1; in VMUL4S() local 146 sign <<= nz & 1; in VMUL4S() local
|
H A D | aaccoder_twoloop.h | 221 int nz = 0; in search_for_quantizers_twoloop() local 229 nz = 1; in search_for_quantizers_twoloop() 231 if (!nz) { in search_for_quantizers_twoloop() 234 nz = 0; in search_for_quantizers_twoloop() 242 nz++; in search_for_quantizers_twoloop() 247 nzs[w*16+g] = nz; in search_for_quantizers_twoloop() 248 sce->zeroes[w*16+g] = !nz; in search_for_quantizers_twoloop() 249 allz |= nz; in search_for_quantizers_twoloop() 250 if (nz && sce->can_pns[w*16+g]) { in search_for_quantizers_twoloop() 251 spread_thr_r[w*16+g] = energy * nz / (upli in search_for_quantizers_twoloop() [all...] |
H A D | aacsbr_template.c | 371 int tmp, nz = 0; local 386 nz++; 390 tmp = (((tmp + 0x80) >> 8) + ((8 - nz) << 23)) * half_bands; 423 nz = 0; 426 nz++; 430 tmp = (((tmp + 0x80) >> 8) + ((8 - nz) << 23)) * half_bands; 545 int nz = 0; local 575 nz++; 579 temp = (((temp + 0x80) >> 8) + ((8 - nz) << 23)) * sbr->spectrum_params.bs_noise_bands;
|
H A D | aaccoder.c | 308 int nz = 0; in search_for_quantizers_anmr() local 320 nz = 1; in search_for_quantizers_anmr() 328 if (nz) { in search_for_quantizers_anmr() 369 sce->zeroes[w*16+g] = !nz; in search_for_quantizers_anmr() 416 int nz = 0; in search_for_quantizers_fast() local 425 nz = 1; in search_for_quantizers_fast() 429 sce->zeroes[w*16+g] = !nz; in search_for_quantizers_fast() 430 if (nz) in search_for_quantizers_fast() 432 allz |= nz; in search_for_quantizers_fast()
|
/third_party/musl/src/math/ |
H A D | fma.c | 47 struct num nx, ny, nz; in fma() local 50 nz = normalize(z); in fma() 54 if (nz.e >= ZEROINFNAN) { in fma() 55 if (nz.e > ZEROINFNAN) /* z==0 */ in fma() 67 int d = nz.e - e; in fma() 71 zlo = nz.m<<d; in fma() 72 zhi = nz.m>>64-d; in fma() 75 zhi = nz.m; in fma() 76 e = nz.e - 64; in fma() 91 zlo = nz in fma() [all...] |
/third_party/musl/porting/liteos_a/kernel/src/math/ |
H A D | fma.c | 47 struct num nx, ny, nz; in fma() local 50 nz = normalize(z); in fma() 54 if (nz.e >= ZEROINFNAN) { in fma() 55 if (nz.e > ZEROINFNAN) /* z==0 */ in fma() 67 int d = nz.e - e; in fma() 71 zlo = nz.m<<d; in fma() 72 zhi = nz.m>>64-d; in fma() 75 zhi = nz.m; in fma() 76 e = nz.e - 64; in fma() 91 zlo = nz in fma() [all...] |
/third_party/skia/third_party/externals/libwebp/src/enc/ |
H A D | quant_enc.c | 92 printf("\nD:%d SD:%d R:%d H:%d nz:0x%x score:%d\n", in PrintBlockInfo() 93 (int)rd->D, (int)rd->SD, (int)rd->R, (int)rd->H, (int)rd->nz, in PrintBlockInfo() 532 rd->nz = 0; in InitScore() 541 dst->nz = src->nz; // note that nz is not accumulated, but just copied. in CopyScore() 550 dst->nz |= src->nz; // here, new nz bits are accumulated. in AddScore() 730 int nz in TrellisQuantizeBlock() local 762 int nz = 0; ReconstructIntra16() local 814 int nz = 0; ReconstructIntra4() local 915 int nz = 0; ReconstructUV() local 1201 int nz = 0; SimpleQuantize() local 1227 int nz = 0; RefineUsingDistortion() local [all...] |
H A D | iterator_enc.c | 232 #define BIT(nz, n) (!!((nz) & (1 << (n)))) 268 uint32_t nz = 0; in VP8IteratorBytesToNz() local 272 nz |= (top_nz[0] << 12) | (top_nz[1] << 13); in VP8IteratorBytesToNz() 273 nz |= (top_nz[2] << 14) | (top_nz[3] << 15); in VP8IteratorBytesToNz() 274 nz |= (top_nz[4] << 18) | (top_nz[5] << 19); in VP8IteratorBytesToNz() 275 nz |= (top_nz[6] << 22) | (top_nz[7] << 23); in VP8IteratorBytesToNz() 276 nz |= (top_nz[8] << 24); // we propagate the _top_ bit, esp. for intra4 in VP8IteratorBytesToNz() 278 nz |= (left_nz[0] << 3) | (left_nz[1] << 7); in VP8IteratorBytesToNz() 279 nz | in VP8IteratorBytesToNz() [all...] |
/third_party/skia/third_party/externals/angle2/samples/torus_lighting/ |
H A D | torus.h | 64 float nz = sinU; in GenerateTorus() local 66 float length = sqrtf(nx * nx + ny * ny + nz * nz); in GenerateTorus() 69 nz /= length; in GenerateTorus() 73 vertices.push_back(nz); in GenerateTorus()
|
/third_party/skia/third_party/externals/libwebp/src/dec/ |
H A D | vp8_dec.c | 505 static WEBP_INLINE uint32_t NzCodeBits(uint32_t nz_coeffs, int nz, int dc_nz) { in NzCodeBits() argument 507 nz_coeffs |= (nz > 3) ? 3 : (nz > 1) ? 2 : dc_nz; in NzCodeBits() 530 const int nz = GetCoeffs(token_br, bands[1], ctx, q->y2_mat_, 0, dc); in ParseResiduals() local 531 mb->nz_dc_ = left_mb->nz_dc_ = (nz > 0); in ParseResiduals() 532 if (nz > 1) { // more than just the DC -> perform the full transform in ParseResiduals() 553 const int nz = GetCoeffs(token_br, ac_proba, ctx, q->y1_mat_, first, dst); in ParseResiduals() local 554 l = (nz > first); in ParseResiduals() 556 nz_coeffs = NzCodeBits(nz_coeffs, nz, dst[0] != 0); in ParseResiduals() 574 const int nz in ParseResiduals() local [all...] |
/third_party/ltp/testcases/kernel/sound/ |
H A D | snd_timer01.c | 86 int i, nz; in run() local 98 nz = 0; in run() 112 nz = 1; in run() 116 if (!nz) in run()
|
/third_party/mesa3d/src/gallium/drivers/nouveau/nv50/ |
H A D | nv50_miptree.c | 32 nv50_tex_choose_tile_dims_helper(unsigned nx, unsigned ny, unsigned nz, in nv50_tex_choose_tile_dims_helper() argument 51 if (nz > 16 && tile_mode < 0x020) in nv50_tex_choose_tile_dims_helper() 53 if (nz > 8) return tile_mode | 0x400; /* depth 16 tiles */ in nv50_tex_choose_tile_dims_helper() 54 if (nz > 4) return tile_mode | 0x300; /* depth 8 tiles */ in nv50_tex_choose_tile_dims_helper() 55 if (nz > 2) return tile_mode | 0x200; /* depth 4 tiles */ in nv50_tex_choose_tile_dims_helper() 56 if (nz > 1) return tile_mode | 0x100; /* depth 2 tiles */ in nv50_tex_choose_tile_dims_helper() 62 nv50_tex_choose_tile_dims(unsigned nx, unsigned ny, unsigned nz, bool is_3d) in nv50_tex_choose_tile_dims() argument 64 return nv50_tex_choose_tile_dims_helper(nx, ny * 2, nz, is_3d); in nv50_tex_choose_tile_dims()
|
/third_party/mesa3d/src/intel/genxml/ |
H A D | gen_pack_header.py | 486 nz = "_nonzero" if field.nonzero else "" 497 (nz, name, field.start - dword_start, field.end - dword_start)) 500 (nz, name, field.start - dword_start, field.end - dword_start)) 503 (nz, name, field.start - dword_start, field.end - dword_start)) 506 (nz, name, field.start - dword_start, field.end - dword_start)) 508 non_address_fields.append("__gen_float%s(values->%s)" % (nz, name)) 511 (nz, name, field.start - dword_start, field.end - dword_start)) 514 (nz, name, field.start - dword_start, field.end - dword_start, field.fractional_size)) 517 (nz, name, field.start - dword_start, field.end - dword_start, field.fractional_size))
|
/third_party/libsnd/src/ALAC/ |
H A D | ag_enc.c | 236 uint32_t m, k, n, c, mz, nz ; in dyn_comp() local 315 nz = 0 ; in dyn_comp() 321 ++nz ; in dyn_comp() 329 if (nz >= 65535) in dyn_comp() 339 value = dyn_code (mz, k, nz, &numBits) ; in dyn_comp()
|
/third_party/FreeBSD/contrib/gdtoa/ |
H A D | strtodg.c | 327 int j, k, nbits, nd, nd0, nf, nz, nz0, rd, rvbits, rve, rve1, sign; local 358 denorm = sign = nz0 = nz = 0; 427 nz++; 430 nf += nz; 431 nz = 0; 438 nz++; 440 nf += nz; 441 for(i = 1; i < nz; i++) 450 nz = 0; 457 if (!nd && !nz [all...] |
H A D | strtod.c | 96 e, e1, esign, i, j, k, nd, nd0, nf, nz, nz0, sign; local 145 sign = nz0 = nz = decpt = 0; 228 nz++; 231 nf += nz; 232 nz = 0; 239 nz++; 241 nf += nz; 242 for(i = 1; i < nz; i++) 251 nz = 0; 258 if (!nd && !nz [all...] |
/third_party/ffmpeg/libavcodec/arm/ |
H A D | aac.h | 101 unsigned v0, v1, v2, v3, nz; in VMUL4S() local 134 "+r"(sign), "=r"(nz), in VMUL4S()
|
/third_party/glfw/examples/ |
H A D | splitview.c | 64 double s, t, x, y, z, nx, ny, nz, scale, twopi; in drawTorus() local 92 nz = z - TORUS_MAJOR * sin(t * twopi / TORUS_MAJOR_RES); in drawTorus() 93 scale = 1.0 / sqrt(nx*nx + ny*ny + nz*nz); in drawTorus() 96 nz *= scale; in drawTorus() 98 glNormal3f((float) nx, (float) ny, (float) nz); in drawTorus()
|
/third_party/skia/third_party/externals/libwebp/src/dsp/ |
H A D | enc_sse41.c | 315 int nz; in Quantize2Blocks_SSE41() local 317 nz = DoQuantizeBlock_SSE41(in + 0 * 16, out + 0 * 16, sharpen, mtx) << 0; in Quantize2Blocks_SSE41() 318 nz |= DoQuantizeBlock_SSE41(in + 1 * 16, out + 1 * 16, sharpen, mtx) << 1; in Quantize2Blocks_SSE41() 319 return nz; in Quantize2Blocks_SSE41()
|
H A D | enc_mips32.c | 244 int nz; in Quantize2Blocks_MIPS32() local 245 nz = QuantizeBlock_MIPS32(in + 0 * 16, out + 0 * 16, mtx) << 0; in Quantize2Blocks_MIPS32() 246 nz |= QuantizeBlock_MIPS32(in + 1 * 16, out + 1 * 16, mtx) << 1; in Quantize2Blocks_MIPS32() 247 return nz; in Quantize2Blocks_MIPS32()
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/ |
H A D | Context_gles_1_0_autogen.h | 71 void normal3f(GLfloat nx, GLfloat ny, GLfloat nz); \ 72 void normal3x(GLfixed nx, GLfixed ny, GLfixed nz); \
|
H A D | Context_gles_1_0.cpp | 409 void Context::normal3f(GLfloat nx, GLfloat ny, GLfloat nz) in normal3f() argument 411 mState.gles1().setCurrentNormal({nx, ny, nz}); in normal3f() 414 void Context::normal3x(GLfixed nx, GLfixed ny, GLfixed nz) in normal3x() argument 417 {ConvertFixedToFloat(nx), ConvertFixedToFloat(ny), ConvertFixedToFloat(nz)}); in normal3x()
|
H A D | Context_gl_1_autogen.h | 130 void normal3b(GLbyte nx, GLbyte ny, GLbyte nz); \ 132 void normal3d(GLdouble nx, GLdouble ny, GLdouble nz); \ 135 void normal3i(GLint nx, GLint ny, GLint nz); \ 137 void normal3s(GLshort nx, GLshort ny, GLshort nz); \
|