LibJPEG
jpeg_decompress_struct::colormap
is only used within LibJPEG.
Symbol previews are coming soon...
Symbols
loading...
Files
loading...
CodeScope
STM32 Libraries and Samples
LibJPEG
jpeg_decompress_struct::colormap
jpeg_decompress_struct::colormap field
Syntax
from
jpeglib.h:510
JSAMPARRAY
colormap
;
References
Location
Referrer
Text
jpeglib.h:510
JSAMPARRAY
colormap
;
/* The color map as a 2-D pixel array */
jdapimin.c:206
default_decompress_parms()
cinfo
->
colormap
=
NULL
;
jdmaster.c:307
master_selection()
cinfo
->
colormap
=
NULL
;
jdmaster.c:308
master_selection()
}
else
if
(
cinfo
->
colormap
!=
NULL
)
{
jdmaster.c:427
prepare_for_output_pass()
if
(
cinfo
->
quantize_colors
&&
cinfo
->
colormap
==
NULL
)
{
jquant1.c:749
start_pass_1_quant()
cinfo
->
colormap
=
cquantize
->
sv_colormap
;
jquant2.c:533
compute_color()
cinfo
->
colormap
[
0
]
[
icolor
]
=
(
JSAMPLE
)
(
(
c0total
+
(
total
>
>
1
)
)
/
total
)
;
jquant2.c:534
compute_color()
cinfo
->
colormap
[
1
]
[
icolor
]
=
(
JSAMPLE
)
(
(
c1total
+
(
total
>
>
1
)
)
/
total
)
;
jquant2.c:535
compute_color()
cinfo
->
colormap
[
2
]
[
icolor
]
=
(
JSAMPLE
)
(
(
c2total
+
(
total
>
>
1
)
)
/
total
)
;
jquant2.c:690
find_nearby_colors()
x
=
GETJSAMPLE
(
cinfo
->
colormap
[
0
]
[
i
]
)
;
jquant2.c:713
find_nearby_colors()
x
=
GETJSAMPLE
(
cinfo
->
colormap
[
1
]
[
i
]
)
;
jquant2.c:735
find_nearby_colors()
x
=
GETJSAMPLE
(
cinfo
->
colormap
[
2
]
[
i
]
)
;
jquant2.c:815
find_best_colors()
inc0
=
(
minc0
-
GETJSAMPLE
(
cinfo
->
colormap
[
0
]
[
icolor
]
)
)
*
C0_SCALE
;
jquant2.c:817
find_best_colors()
inc1
=
(
minc1
-
GETJSAMPLE
(
cinfo
->
colormap
[
1
]
[
icolor
]
)
)
*
C1_SCALE
;
jquant2.c:819
find_best_colors()
inc2
=
(
minc2
-
GETJSAMPLE
(
cinfo
->
colormap
[
2
]
[
icolor
]
)
)
*
C2_SCALE
;
jquant2.c:970
pass2_fs_dither()
JSAMPROW
colormap0
=
cinfo
->
colormap
[
0
]
;
jquant2.c:971
pass2_fs_dither()
JSAMPROW
colormap1
=
cinfo
->
colormap
[
1
]
;
jquant2.c:972
pass2_fs_dither()
JSAMPROW
colormap2
=
cinfo
->
colormap
[
2
]
;
jquant2.c:1149
finish_pass1()
cinfo
->
colormap
=
cquantize
->
sv_colormap
;
Data Use
Functions writing
jpeg_decompress_struct::colormap
Functions reading
jpeg_decompress_struct::colormap
default_decompress_parms()
master_selection()
start_pass_1_quant()
finish_pass1()
all items filtered out
jpeg_decompress_struct::colormap
master_selection()
prepare_for_output_pass()
compute_color()
find_nearby_colors()
find_best_colors()
pass2_fs_dither()
all items filtered out
Type of
jpeg_decompress_struct::colormap
jpeg_decompress_struct::colormap
JSAMPLE
all items filtered out