| /external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/materials/ |
| MaterialHelper.java | 482 float cmax = r;
local 484 cmax = g > cmax ? g : cmax;
486 cmax = b > cmax ? b : cmax;
489 hsv[2] = cmax; /* value */
490 if (cmax != 0.0) {
491 hsv[1] = (cmax - cmin) / cmax; [all...] |
| /external/chromium_org/third_party/WebKit/Source/core/platform/graphics/filters/custom/ |
| CustomFilterValidatedProgram.cpp | 462 mediump float cMax = max(max(C.r, C.g), C.b); 463 return cMax - cMin; 465 void css_SetSatHelper(inout mediump float cMin, inout mediump float cMid, inout mediump float cMax, mediump float s) 467 if (cMax > cMin) { 468 cMid = (((cMid - cMin) * s) / (cMax - cMin)); 469 cMax = s; 471 cMid = cMax = 0.0;
|
| /hardware/ti/omap3/dspbridge/inc/ |
| csl.h | 189 * cMax: Size of destination buffer. 197 * Will not copy more than cMax bytes from pstrSrc into pstrDest. 201 IN DWORD cMax);
|
| /hardware/ti/omap3/dspbridge/libbridge/inc/ |
| csl.h | 190 * cMax: Size of destination buffer. 198 * Will not copy more than cMax bytes from pstrSrc into pstrDest. 202 IN DWORD cMax);
|
| /external/flac/libFLAC/ |
| lpc.c | 159 FLAC__double cmax; local 171 /* calc cmax = max( |lp_coeff[i]| ) */ 172 cmax = 0.0; 175 if(d > cmax) 176 cmax = d; 179 if(cmax <= 0.0) { 188 (void)frexp(cmax, &log2cmax); 213 fprintf(stderr,"FLAC__lpc_quantize_coefficients: quantizer overflow: q>qmax %d>%d shift=%d cmax=%f precision=%u lpc[%u]=%f\n",q,qmax,*shift,cmax,precision+1,i,lp_coeff[i]); 215 fprintf(stderr,"FLAC__lpc_quantize_coefficients: quantizer overflow: q<qmin %d<%d shift=%d cmax=%f precision=%u lpc[%u]=%f\n",q,qmin,*shift,cmax,precision+1,i,lp_coeff[i]) [all...] |
| /external/pixman/pixman/ |
| pixman-combine-float.c | 498 * space, with Cmax, Cmid, Cmin referring to the max, mid and min value 506 * max = Cmax 521 * if Cmax > Cmin 522 * Cmid = ( ( ( Cmid ? Cmin ) × s ) ? ( Cmax ? Cmin ) ) 523 * Cmax = s 525 * Cmid = Cmax = 0.0
|
| pixman-combine32.c | 831 * to operate in Hsl space, with Cmax, Cmid, Cmin referring to the max, mid 839 * max = Cmax 854 * if Cmax > Cmin 855 * Cmid = ( ( ( Cmid ? Cmin ) × s ) ? ( Cmax ? Cmin ) ) 856 * Cmax = s 858 * Cmid = Cmax = 0.0 [all...] |
| /external/chromium_org/third_party/opus/src/silk/fixed/ |
| pitch_analysis_core_FIX.c | 94 opus_int d_srch[ PE_D_SRCH_LENGTH ], Cmax, length_d_srch, length_d_comp; 244 Cmax = (opus_int)C[ 0 ][ min_lag_4kHz ]; /* Q-1 */ 245 threshold = silk_SMULBB( Cmax, Cmax ); /* Q-2 */ 256 threshold = silk_SMULWB( search_thres1_Q16, Cmax ); [all...] |
| /external/chromium_org/third_party/opus/src/silk/float/ |
| pitch_analysis_core_FLP.c | 94 silk_float Cmax, CCmax, CCmax_b, CCmax_new_b, CCmax_new; 216 Cmax = C[ 0 ][ min_lag_4kHz ]; 222 threshold = Cmax * Cmax; 231 threshold = search_thres1 * Cmax;
|
| /frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/jni/ |
| colorspace.cpp | 143 } else { // Cmax == b
|
| /external/jpeg/ |
| jquant2.c | 429 int c0,c1,c2,cmax; local 458 cmax = c1; n = 1; 459 if (c0 > cmax) { cmax = c0; n = 0; } 460 if (c2 > cmax) { n = 2; } 462 cmax = c1; n = 1; 463 if (c2 > cmax) { cmax = c2; n = 2; } 464 if (c0 > cmax) { n = 0; } [all...] |
| /external/qemu/distrib/jpeg-6b/ |
| jquant2.c | 429 int c0,c1,c2,cmax; local 458 cmax = c1; n = 1; 459 if (c0 > cmax) { cmax = c0; n = 0; } 460 if (c2 > cmax) { n = 2; } 462 cmax = c1; n = 1; 463 if (c2 > cmax) { cmax = c2; n = 2; } 464 if (c0 > cmax) { n = 0; } [all...] |
| /external/opencv/cv/src/ |
| cvhough.cpp | 231 int cmax = 0; local 326 if( cmax < caccum[i] ) 327 cmax = caccum[i]; [all...] |
| /external/chromium_org/third_party/skia/src/core/ |
| SkXfermode.cpp | 440 static inline void setSaturationComponents(int* Cmin, int* Cmid, int* Cmax, int s) { 441 if(*Cmax > *Cmin) { 442 *Cmid = SkMulDiv(*Cmid - *Cmin, s, *Cmax - *Cmin); 443 *Cmax = s; 445 *Cmax = 0; [all...] |
| /external/skia/src/core/ |
| SkXfermode.cpp | 440 static inline void setSaturationComponents(int* Cmin, int* Cmid, int* Cmax, int s) { 441 if(*Cmax > *Cmin) { 442 *Cmid = SkMulDiv(*Cmid - *Cmin, s, *Cmax - *Cmin); 443 *Cmax = s; 445 *Cmax = 0; [all...] |
| /external/libppp/src/ |
| command.c | 211 int n, cmax, dmax, cols, cxlen; local 230 cmax = dmax = 0; 233 if ((n = strlen(cmd->name) + strlen(showcx(cmd))) > cmax) 234 cmax = n; 239 cols = 80 / (dmax + cmax + 3); 246 cxlen = cmax - strlen(cmd->name); [all...] |
| /external/libvpx/libvpx/examples/includes/geshi/geshi/ |
| abap.php | 841 'cmax', [all...] |
| /external/llvm/lib/Transforms/InstCombine/ |
| InstCombineAndOrXor.cpp | 743 // (trunc x) == C1 & (and x, CA) == C2 -> (and x, CA|CMAX) == C1|C2 744 // where CMAX is the all ones value for the truncated type, [all...] |