Home
last modified time | relevance | path

Searched refs:outRowData (Results 1 – 1 of 1) sorted by relevance

/haiku/src/add-ons/translators/ico/
H A DICO.cpp300 rgba32_color *outRowData = (rgba32_color *)rowAllocator.Allocate(outRowBytes); in convert_data_to_bits() local
301 if (outRowData == NULL) in convert_data_to_bits()
337 outRowData[x] = palette[index]; in convert_data_to_bits()
343 outRowData[x].blue = (color >> 11) << 3; in convert_data_to_bits()
344 outRowData[x].green = ((color >> 5) & 0x3f) << 3; in convert_data_to_bits()
345 outRowData[x].red = (color & 0x1f) << 3; in convert_data_to_bits()
350 outRowData[x].blue = line[x * 3 + 0]; in convert_data_to_bits()
351 outRowData[x].green = line[x * 3 + 1]; in convert_data_to_bits()
352 outRowData[x].red = line[x * 3 + 2]; in convert_data_to_bits()
356 outRowData[x] = ((rgba32_color *)line)[x]; in convert_data_to_bits()
[all …]