Home
last modified time | relevance | path

Searched refs:CLAMP (Results 1 – 6 of 6) sorted by relevance

/RvlSDK-3.1.4/build/demos/videmo/src/
Dmoving.c37 #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()
Dmoving.progressive.c32 #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()
Dmoving.30Hz.c37 #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()
Dbmp.c40 #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()
Dmoving.regions.c31 #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/
Ddual-main.c355 #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()