Home
last modified time | relevance | path

Searched refs:u_val (Results 1 – 8 of 8) sorted by relevance

/third_party/ffmpeg/libavcodec/
Dpcm_tablegen.h61 static av_cold int ulaw2linear(unsigned char u_val) in ulaw2linear() argument
66 u_val = ~u_val; in ulaw2linear()
72 t = ((u_val & QUANT_MASK) << 3) + BIAS; in ulaw2linear()
73 t <<= ((unsigned)u_val & SEG_MASK) >> SEG_SHIFT; in ulaw2linear()
75 return (u_val & SIGN_BIT) ? (BIAS - t) : (t - BIAS); in ulaw2linear()
78 static av_cold int vidc2linear(unsigned char u_val) in vidc2linear() argument
86 t = (((u_val & VIDC_QUANT_MASK) >> VIDC_QUANT_SHIFT) << 3) + BIAS; in vidc2linear()
87 t <<= ((unsigned)u_val & VIDC_SEG_MASK) >> VIDC_SEG_SHIFT; in vidc2linear()
89 return (u_val & VIDC_SIGN_BIT) ? (BIAS - t) : (t - BIAS); in vidc2linear()
/third_party/pulseaudio/src/pulsecore/
Dg711.c245 unsigned char u_val) in st_ulaw2linear16() argument
250 u_val = ~u_val; in st_ulaw2linear16()
256 t = ((u_val & QUANT_MASK) << 3) + BIAS; in st_ulaw2linear16()
257 t <<= ((unsigned)u_val & SEG_MASK) >> SEG_SHIFT; in st_ulaw2linear16()
259 return ((u_val & SIGN_BIT) ? (BIAS - t) : (t - BIAS)); in st_ulaw2linear16()
/third_party/alsa-lib/src/pcm/
Dpcm_mulaw.c142 static int ulaw_to_s16(unsigned char u_val) in ulaw_to_s16() argument
147 u_val = ~u_val; in ulaw_to_s16()
153 t = ((u_val & 0x0f) << 3) + 0x84; in ulaw_to_s16()
154 t <<= (u_val & 0x70) >> 4; in ulaw_to_s16()
156 return ((u_val & 0x80) ? (0x84 - t) : (t - 0x84)); in ulaw_to_s16()
/third_party/vk-gl-cts/data/gles31/shaders/es31/
Dlinkage_uniform.test10 uniform highp float u_val;
14 res = u_val;
21 uniform float u_val;
26 out0 = u_val + res;
39 uniform highp float u_val;
43 res = u_val;
50 uniform mediump float u_val;
55 out0 = u_val + res;
68 uniform lowp int u_val;
72 res = float(u_val);
[all …]
/third_party/vk-gl-cts/data/gles31/shaders/es32/
Dlinkage_uniform.test10 uniform highp float u_val;
14 res = u_val;
21 uniform float u_val;
26 out0 = u_val + res;
39 uniform highp float u_val;
43 res = u_val;
50 uniform mediump float u_val;
55 out0 = u_val + res;
68 uniform lowp int u_val;
72 res = float(u_val);
[all …]
/third_party/vk-gl-cts/doc/testspecs/GLES31/
Dfunctional.compute.shared_var.txt45 + u_val[], u_ref[] uniform arrays, filled with identical values
49 In each iteration one of the work items writes a value from u_val to the
/third_party/vk-gl-cts/data/gles3/shaders/
Dlinkage.test2354 uniform highp float u_val;
2358 res = u_val;
2365 uniform float u_val;
2370 out0 = u_val + res;
2383 uniform highp float u_val;
2387 res = u_val;
2394 uniform mediump float u_val;
2399 out0 = u_val + res;
2412 uniform lowp int u_val;
2416 res = float(u_val);
[all …]
/third_party/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_sample_soa.c2341 LLVMValueRef u_val = LLVMBuildLoad(builder, u_limiter, ""); in lp_build_sample_aniso() local
2344 u_val, in lp_build_sample_aniso()
2394 … new_coords[0] = lp_build_div(coord_bld, lp_build_int_to_float(coord_bld, u_val), width_dim); in lp_build_sample_aniso()
2429 u_val = LLVMBuildLoad(builder, u_limiter, ""); in lp_build_sample_aniso()
2430 u_val = lp_build_add(&bld->int_coord_bld, u_val, bld->int_coord_bld.one); in lp_build_sample_aniso()
2431 LLVMBuildStore(builder, u_val, u_limiter); in lp_build_sample_aniso()
2435 u_val, in lp_build_sample_aniso()