Searched refs:CLAMP (Results 1 – 6 of 6) sorted by relevance
| /RvlSDK-3.1.4/build/demos/videmo/src/ |
| D | moving.c | 37 #define CLAMP(x, a, b) (CEIL(FLOOR(x, a), b)) macro 133 cb = CLAMP( (i + count*2) % 256, 16, 240); in draw() 134 cr = CLAMP( (j + count) % 256, 16, 240); in draw()
|
| D | moving.progressive.c | 32 #define CLAMP(x, a, b) (CEIL(FLOOR(x, a), b)) macro 133 cb = CLAMP( (i + count*2) % 256, 16, 240); in draw() 134 cr = CLAMP( (j + count) % 256, 16, 240); in draw()
|
| D | moving.30Hz.c | 37 #define CLAMP(x, a, b) (CEIL(FLOOR(x, a), b)) macro 133 cb = CLAMP( (i + count*2) % 256, 16, 240); in draw() 134 cr = CLAMP( (j + count) % 256, 16, 240); in draw()
|
| D | bmp.c | 40 #define CLAMP(x,l,h) ((x > h) ? h : ((x < l) ? l : x)) macro 168 Y = CLAMP(Y , 16, 235); in bmpToYCbCr() 169 Cb = CLAMP(Cb, 16, 240); in bmpToYCbCr() 170 Cr = CLAMP(Cr, 16, 240); in bmpToYCbCr()
|
| D | moving.regions.c | 31 #define CLAMP(x, a, b) (CEIL(FLOOR(x, a), b)) macro 182 cb = CLAMP( (i + count*2) % 256, 16, 240); in draw() 183 cr = CLAMP( (j + count) % 256, 16, 240); in draw()
|
| /RvlSDK-3.1.4/build/demos/hio2demo/src/ |
| D | dual-main.c | 355 #define CLAMP(x,l,h) ((x > h) ? h : ((x < l) ? l : x)) in myMakeColor() macro 367 Y = CLAMP(Y , 16, 235); in myMakeColor() 368 Cb = CLAMP(Cb, 16, 240); in myMakeColor() 369 Cr = CLAMP(Cr, 16, 240); in myMakeColor()
|