Searched refs:out_space (Results 1 - 3 of 3) sorted by relevance

/haiku/src/add-ons/translators/ppm/
H A Dcolorspace.h15 status_t convert_space(color_space in_space, color_space out_space,
25 int collapse_data(unsigned char* in_buf, int num_bytes, color_space out_space,
H A DPPMTranslator.cpp85 color_space out_space; member in struct:ppm_settings
122 g_settings.out_space = B_NO_COLOR_SPACE;
157 if (sscanf(ptr, "%d", (int*) &g_settings.out_space)
213 fprintf(f, "color_space = %d\n", g_settings.out_space);
234 color_space out_space);
334 color_space out_space; local
338 out_space = B_RGB24_BIG;
344 (int32*) &out_space)
345 || (out_space == B_NO_COLOR_SPACE)) {
346 if (g_settings.out_space
937 copy_data(BDataIO* in, BDataIO* out, int rowbytes, int out_rowbytes, int height, int max, bool in_ascii, bool out_ascii, color_space in_space, color_space out_space) argument
[all...]
H A Dcolorspace.cpp263 collapse_data(unsigned char* in_buf, int num_bytes, color_space out_space,
276 switch (out_space) {
512 convert_space(color_space in_space, color_space out_space, argument
528 printf("convert_space(%x, %x, %x)\n", in_space, out_space, rowbytes);
533 if (in_space == out_space) {
540 n = collapse_data(in_data, rowbytes, out_space, out_data);
549 if (out_space == B_RGB32 || out_space == B_RGBA32) {
572 n = collapse_data(buf, n, out_space, out_data);

Completed in 41 milliseconds