Lines Matching refs:outRowData
300 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()
365 outRowData[x] = kMagicTransparentColor; in convert_data_to_bits()
367 outRowData[x].alpha = 255; in convert_data_to_bits()
368 } else if (outRowData[x].alpha == 0) in convert_data_to_bits()
369 outRowData[x] = kMagicTransparentColor; in convert_data_to_bits()
372 ssize_t bytesWritten = target.Write(outRowData, outRowBytes); in convert_data_to_bits()