jpeg_decompress_struct::colormap is only used within LibJPEG.
 
Symbols
loading...
Files
loading...
CodeScopeSTM32 Libraries and SamplesLibJPEGjpeg_decompress_struct::colormap

jpeg_decompress_struct::colormap field

Syntax

JSAMPARRAY colormap;

References

LocationReferrerText
jpeglib.h:510
JSAMPARRAY colormap; /* The color map as a 2-D pixel array */
jdapimin.c:206default_decompress_parms()
cinfo->colormap = NULL;
jdmaster.c:307master_selection()
cinfo->colormap = NULL;
jdmaster.c:308master_selection()
} else if (cinfo->colormap != NULL) {
jdmaster.c:427prepare_for_output_pass()
if (cinfo->quantize_colors && cinfo->colormap == NULL) {
jquant1.c:749start_pass_1_quant()
cinfo->colormap = cquantize->sv_colormap;
jquant2.c:533compute_color()
cinfo->colormap[0][icolor] = (JSAMPLE) ((c0total + (total>>1)) / total);
jquant2.c:534compute_color()
cinfo->colormap[1][icolor] = (JSAMPLE) ((c1total + (total>>1)) / total);
jquant2.c:535compute_color()
cinfo->colormap[2][icolor] = (JSAMPLE) ((c2total + (total>>1)) / total);
jquant2.c:690find_nearby_colors()
x = GETJSAMPLE(cinfo->colormap[0][i]);
jquant2.c:713find_nearby_colors()
x = GETJSAMPLE(cinfo->colormap[1][i]);
jquant2.c:735find_nearby_colors()
x = GETJSAMPLE(cinfo->colormap[2][i]);
jquant2.c:815find_best_colors()
inc0 = (minc0 - GETJSAMPLE(cinfo->colormap[0][icolor])) * C0_SCALE;
jquant2.c:817find_best_colors()
inc1 = (minc1 - GETJSAMPLE(cinfo->colormap[1][icolor])) * C1_SCALE;
jquant2.c:819find_best_colors()
inc2 = (minc2 - GETJSAMPLE(cinfo->colormap[2][icolor])) * C2_SCALE;
jquant2.c:970pass2_fs_dither()
JSAMPROW colormap0 = cinfo->colormap[0];
jquant2.c:971pass2_fs_dither()
JSAMPROW colormap1 = cinfo->colormap[1];
jquant2.c:972pass2_fs_dither()
JSAMPROW colormap2 = cinfo->colormap[2];
jquant2.c:1149finish_pass1()
cinfo->colormap = cquantize->sv_colormap;

Data Use

Functions writing jpeg_decompress_struct::colormap
Functions reading jpeg_decompress_struct::colormap
jpeg_decompress_struct::colormap
Type of jpeg_decompress_struct::colormap
jpeg_decompress_struct::colormap
JSAMPLE
all items filtered out