Home | History | Annotate | Download | only in images

Lines Matching defs:numComponents

28  *  |numComponents| will be set to the number of components in the |jpegColorType|.
36 static bool set_encode_config(J_COLOR_SPACE* jpegColorType, int* numComponents,
42 *numComponents = 4;
46 *numComponents = 4;
51 *numComponents = 3;
56 *numComponents = 3;
61 *numComponents = 3;
66 *numComponents = 1;
75 *numComponents = 4;
116 int numComponents;
118 if (!set_encode_config(&jpegColorSpace, &numComponents, &proc, pixmap.info())) {
126 cinfo.input_components = numComponents;
155 storage.reset(numComponents * pixmap.width());
163 proc((char*)storage.get(), (const char*)srcRow, pixmap.width(), numComponents, colors);