Searched refs:saturate (Results 1 - 25 of 133) sorted by last modified time

123456

/external/sonivox/arm-hybrid-22k/lib_src/
H A DARM-E_mastergain_gnu.s80 MOVGT r4, r6 @saturate
82 MVNLT r4, r6 @saturate
89 MOVGT r5, r6 @saturate
91 MVNLT r5, r6 @saturate
/external/sonivox/arm-wt-22k/lib_src/
H A DARM-E_mastergain_gnu.s80 MOVGT r4, r6 @saturate
82 MVNLT r4, r6 @saturate
89 MOVGT r5, r6 @saturate
91 MVNLT r5, r6 @saturate
/external/pixman/pixman/
H A Dpixman-combine-float.c289 MAKE_PD_COMBINERS (saturate, INV_DA_OVER_SA, ONE)
/external/opencv/otherlibs/highgui/
H A Dgrfmt_jpeg.cpp1188 data1[x*3] = data1[x*3 + 1] = data1[x*3 + 2] = saturate( val );
1196 data1[x] = saturate( val );
1218 data1[x*3] = saturate(t);
1220 data1[x*3 + 1] = saturate(t);
1222 data1[x*3 + 2] = saturate(t);
1233 data1[x*3] = saturate(t);
1235 data1[x*3 + 1] = saturate(t);
1237 data1[x*3 + 2] = saturate(t);
1240 data1[x*3 + 3] = saturate(t);
1242 data1[x*3 + 4] = saturate(
[all...]
H A Dutils.h56 #define saturate(x) (uchar)(((x) & ~255) == 0 ? (x) : ~((x)>>31)) macro
/external/mesa3d/src/mesa/program/
H A Dir_to_mesa.cpp171 bool saturate; member in class:ir_to_mesa_instruction
927 * processing the saturate's operand, apply the saturate to that
928 * instruction. Otherwise, generate a MOV to do the saturate.
935 * saturate.
943 new_inst->saturate = true;
948 inst->saturate = true;
1299 * shader with a saturate.
1301 dp->saturate = true;
1327 * shader with a saturate
[all...]
H A Dprogramopt.c240 * \param saturate True if writes to color outputs should be clamped to [0, 1]
251 GLboolean saturate)
308 inst->SaturateMode = saturate;
249 _mesa_append_fog_code(struct gl_context *ctx, struct gl_fragment_program *fprog, GLenum fog_mode, GLboolean saturate) argument
H A Dprogramopt.h37 GLboolean saturate);
/external/mesa3d/src/mesa/state_tracker/
H A Dst_glsl_to_tgsi.cpp219 bool saturate; member in class:glsl_to_tgsi_instruction
1284 * processing the saturate's operand, apply the saturate to that
1285 * instruction. Otherwise, generate a MOV to do the saturate.
1292 * saturate.
1300 new_inst->saturate = true;
1307 inst->saturate = true;
1639 * shader with a saturate.
1641 dp->saturate = true;
1669 * shader with a saturate
[all...]
H A Dst_mesa_to_tgsi.c294 boolean saturate,
304 if (saturate)
292 translate_dst( struct st_translate *t, const struct prog_dst_register *DstReg, boolean saturate, boolean clamp_color) argument
/external/mesa3d/src/gallium/auxiliary/tgsi/
H A Dtgsi_build.c602 unsigned saturate,
611 assert (saturate <= TGSI_SAT_MINUS_PLUS_ONE);
617 instruction.Saturate = saturate;
601 tgsi_build_instruction(unsigned opcode, unsigned saturate, unsigned predicate, unsigned num_dst_regs, unsigned num_src_regs, struct tgsi_header *header) argument
H A Dtgsi_text.c831 unsigned *saturate,
839 *saturate = TGSI_SAT_NONE;
847 *saturate = TGSI_SAT_ZERO_ONE;
853 *saturate = TGSI_SAT_MINUS_PLUS_ONE;
867 uint saturate = TGSI_SAT_NONE; local
919 if (match_inst(&cur, &saturate, info)) {
939 inst.Instruction.Saturate = saturate;
830 match_inst(const char **pcur, unsigned *saturate, const struct tgsi_opcode_info *info) argument
H A Dtgsi_ureg.c944 boolean saturate,
963 out[0].insn.Saturate = saturate;
1080 boolean saturate; local
1085 saturate = nr_dst ? dst[0].Saturate : FALSE;
1097 saturate,
1129 boolean saturate; local
1134 saturate = nr_dst ? dst[0].Saturate : FALSE;
1146 saturate,
942 ureg_emit_insn(struct ureg_program *ureg, unsigned opcode, boolean saturate, boolean predicate, boolean pred_negate, unsigned pred_swizzle_x, unsigned pred_swizzle_y, unsigned pred_swizzle_z, unsigned pred_swizzle_w, unsigned num_dst, unsigned num_src ) argument
H A Dtgsi_ureg.h68 * and adding a Saturate flag. It's easier to push saturate into the
509 boolean saturate,
/external/mesa3d/src/gallium/drivers/i915/
H A Di915_fpc.h213 uint saturate,
H A Di915_fpc_emit.c116 uint saturate, uint src0, uint src1, uint src2)
163 *(p->csr++) = (op | A0_DEST(dest) | mask | saturate | A0_SRC0(src0));
227 0, /* saturate */
234 /* Don't worry about saturate as we only support
112 i915_emit_arith(struct i915_fp_compile * p, uint op, uint dest, uint mask, uint saturate, uint src0, uint src1, uint src2) argument
/external/mesa3d/src/gallium/drivers/llvmpipe/
H A Dlp_bld_blend_aos.c77 LLVMValueRef saturate; member in struct:lp_build_blend_aos_context
108 if(!bld->saturate)
109 bld->saturate = lp_build_min(&bld->base, bld->src, bld->inv_dst);
110 return bld->saturate;
/external/mesa3d/src/gallium/drivers/nv50/codegen/
H A Dnv50_ir.cpp561 saturate = 0;
730 i->saturate = saturate;
H A Dnv50_ir.h688 unsigned saturate : 1; // to [0.0f, 1.0f]
H A Dnv50_ir_emit_nv50.cpp875 if (i->saturate)
896 if (i->saturate)
904 if (i->saturate)
910 if (i->saturate)
1007 code[1] = i->saturate ? 0x40000000 : 0x20000000;
1217 if (i->saturate)
1769 if (i->saturate || i->src(2).mod)
H A Dnv50_ir_peephole.cpp567 if (mul1 && !mul1->saturate) {
587 mul1->saturate = mul2->saturate;
591 if (mul2->getDef(0)->refCount() == 1 && !mul2->saturate) {
897 mi->saturate = 1;
2069 this->saturate != that->saturate ||
H A Dnv50_ir_print.cpp489 if (saturate)
/external/mesa3d/src/gallium/drivers/nvc0/codegen/
H A Dnv50_ir_emit_nvc0.cpp450 if (i->saturate)
455 assert(!i->saturate && !i->src(2).mod.neg());
483 if (i->saturate)
492 assert(!neg && !i->saturate && !i->ftz && !i->postFactor);
525 assert(!i->saturate);
539 if (i->saturate)
548 assert(!i->saturate && i->op != OP_SUB &&
588 if (i->saturate)
611 code[1] |= i->saturate << 24;
731 if (i->saturate) cod
[all...]
H A Dnv50_ir_lowering_nvc0.cpp660 bld.mkCvt(OP_CVT, TYPE_U16, layer, sTy, src)->saturate = sat;
717 bld.mkCvt(OP_CVT, TYPE_U16, src, sTy, arrayIndex)->saturate = sat;
/external/mesa3d/src/gallium/drivers/r300/
H A Dr300_tgsi_to_rc.c147 static unsigned translate_saturate(unsigned saturate) argument
149 switch(saturate) {
151 fprintf(stderr, "Unknown saturate mode: %i\n", saturate);

Completed in 253 milliseconds

123456