OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:MAXJSAMPLE
(Results
1 - 16
of
16
) sorted by null
/external/jpeg/
jccolor.c
34
* normalized to the range 0..
MAXJSAMPLE
rather than -0.5 .. 0.5.
40
* Note: older versions of the IJG code used a zero offset of
MAXJSAMPLE
/2,
72
#define G_Y_OFF (1*(
MAXJSAMPLE
+1)) /* offset to G => Y section */
73
#define B_Y_OFF (2*(
MAXJSAMPLE
+1)) /* etc. */
74
#define R_CB_OFF (3*(
MAXJSAMPLE
+1))
75
#define G_CB_OFF (4*(
MAXJSAMPLE
+1))
76
#define B_CB_OFF (5*(
MAXJSAMPLE
+1))
78
#define G_CR_OFF (6*(
MAXJSAMPLE
+1))
79
#define B_CR_OFF (7*(
MAXJSAMPLE
+1))
80
#define TABLE_SIZE (8*(
MAXJSAMPLE
+1)
[
all
...]
rdcolmap.c
20
* Rescaling a PPM that has a maxval unequal to
MAXJSAMPLE
is not
63
if (ncolors >= (
MAXJSAMPLE
+1))
64
ERREXIT1(cinfo, JERR_QUANT_MANY_COLORS, (
MAXJSAMPLE
+1));
189
if (maxval != (unsigned int)
MAXJSAMPLE
)
236
(JDIMENSION) (
MAXJSAMPLE
+1), (JDIMENSION) 3);
jdmaster.c
225
* 0..
MAXJSAMPLE
; the input value may fall somewhat outside this range
233
* else if (x >
MAXJSAMPLE
) x =
MAXJSAMPLE
;
237
* of x is within
MAXJSAMPLE
+1 of the legal range, so a table running from
238
* -(
MAXJSAMPLE
+1) to 2*
MAXJSAMPLE
+1 is sufficient. But for the initial
251
* CENTERJSAMPLE,CENTERJSAMPLE+1,...,
MAXJSAMPLE
,
252
*
MAXJSAMPLE
(repeat 2*(
MAXJSAMPLE
+1)-CENTERJSAMPLE times),
253
* 0 (repeat 2*(
MAXJSAMPLE
+1)-CENTERJSAMPLE times)
[
all
...]
jquant1.c
66
* this to 0..
MAXJSAMPLE
, and then index into the colorindex table as usual.
247
/* The output values must fall in 0..
MAXJSAMPLE
in increasing order */
249
/* We always provide values 0 and
MAXJSAMPLE
for each component;
254
return (int) (((INT32) j *
MAXJSAMPLE
+ maxj/2) / maxj);
261
/* Must have largest(j=0) >= 0, and largest(j=maxj) >=
MAXJSAMPLE
*/
264
return (int) (((INT32) (2*j + 1) *
MAXJSAMPLE
+ maxj) / (2*maxj));
339
/* For ordered dither, we pad the color index tables by
MAXJSAMPLE
in
340
* each direction (input index values can be -
MAXJSAMPLE
.. 2*
MAXJSAMPLE
).
345
pad =
MAXJSAMPLE
*2
[
all
...]
jmorecfg.h
95
#define
MAXJSAMPLE
255
109
#define
MAXJSAMPLE
4095
jdct.h
69
* converting them to unsigned form (0..
MAXJSAMPLE
). The raw outputs could
78
#define RANGE_MASK (
MAXJSAMPLE
* 4 + 3) /* 2 bits wider than legal samples */
jdcolor.c
55
* normalized to the range 0..
MAXJSAMPLE
rather than -0.5 .. 0.5.
99
(
MAXJSAMPLE
+1) * SIZEOF(int));
102
(
MAXJSAMPLE
+1) * SIZEOF(int));
105
(
MAXJSAMPLE
+1) * SIZEOF(INT32));
108
(
MAXJSAMPLE
+1) * SIZEOF(INT32));
110
for (i = 0, x = -CENTERJSAMPLE; i <=
MAXJSAMPLE
; i++, x++) {
111
/* i is the actual input pixel value, in the range 0..
MAXJSAMPLE
*/
719
outptr[0] = range_limit[
MAXJSAMPLE
- (y + Crrtab[cr])]; /* red */
720
outptr[1] = range_limit[
MAXJSAMPLE
- (y + /* green */
723
outptr[2] = range_limit[
MAXJSAMPLE
- (y + Cbbtab[cb])]; /* blue *
[
all
...]
jquant2.c
127
#define MAXNUMCOLORS (
MAXJSAMPLE
+1) /* maximum size of colormap */
552
boxlist[0].c0max =
MAXJSAMPLE
>> C0_SHIFT;
554
boxlist[0].c1max =
MAXJSAMPLE
>> C1_SHIFT;
556
boxlist[0].c2max =
MAXJSAMPLE
>> C2_SHIFT;
[
all
...]
rdppm.c
136
* maxval =
MAXJSAMPLE
, which is the normal case for 8-bit data.
224
/* This version is for reading raw-byte-format files with maxval =
MAXJSAMPLE
.
360
} else if (maxval ==
MAXJSAMPLE
&& SIZEOF(JSAMPLE) == SIZEOF(U_CHAR)) {
375
} else if (maxval ==
MAXJSAMPLE
&& SIZEOF(JSAMPLE) == SIZEOF(U_CHAR)) {
421
source->rescale[val] = (JSAMPLE) ((val*
MAXJSAMPLE
+ half_maxval)/maxval);
jdmerge.c
110
(
MAXJSAMPLE
+1) * SIZEOF(int));
113
(
MAXJSAMPLE
+1) * SIZEOF(int));
116
(
MAXJSAMPLE
+1) * SIZEOF(INT32));
119
(
MAXJSAMPLE
+1) * SIZEOF(INT32));
121
for (i = 0, x = -CENTERJSAMPLE; i <=
MAXJSAMPLE
; i++, x++) {
122
/* i is the actual input pixel value, in the range 0..
MAXJSAMPLE
*/
/prebuilt/darwin-x86/swt/
swt.jar
/prebuilt/darwin-x86_64/swt/
swt.jar
/prebuilt/linux-x86/swt/
swt.jar
/prebuilt/linux-x86_64/swt/
swt.jar
/prebuilt/windows/swt/
swt.jar
/prebuilt/windows-x86_64/swt/
swt.jar
Completed in 575 milliseconds