Line | Source | Count |
1 | | - |
2 | | - |
3 | | - |
4 | | - |
5 | | - |
6 | const uint * convertRGB32FromARGB32PM_sse4(uint *buffer, const uint *src, int count, | - |
7 | const QPixelLayout *, const QRgb *) | - |
8 | { | - |
9 | for (int i = 0; i < countTRUE | never evaluated | FALSE | never evaluated |
; ++i) | 0 |
10 | buffer[i] = 0xff000000 | qUnpremultiply_sse4(src[i]); never executed: buffer[i] = 0xff000000 | qUnpremultiply_sse4(src[i]); | 0 |
11 | return never executed: return buffer; buffer;never executed: return buffer; | 0 |
12 | } | - |
13 | | - |
14 | void convert_ARGB_to_ARGB_PM_sse4(QImageData *dest, const QImageData *src, Qt::ImageConversionFlags) | - |
15 | { | - |
16 | ((!(src->format == QImage::Format_ARGB32 || src->format == QImage::Format_RGBA8888)) ? qt_assert("src->format == QImage::Format_ARGB32 || src->format == QImage::Format_RGBA8888",__FILE__,60) : qt_noop()); | - |
17 | ((!(dest->format == QImage::Format_ARGB32_Premultiplied || dest->format == QImage::Format_RGBA8888_Premultiplied)) ? qt_assert("dest->format == QImage::Format_ARGB32_Premultiplied || dest->format == QImage::Format_RGBA8888_Premultiplied",__FILE__,61) : qt_noop()); | - |
18 | ((!(src->width == dest->width)) ? qt_assert("src->width == dest->width",__FILE__,62) : qt_noop()); | - |
19 | ((!(src->height == dest->height)) ? qt_assert("src->height == dest->height",__FILE__,63) : qt_noop()); | - |
20 | | - |
21 | const uint *src_data = (uint *) src->data; | - |
22 | uint *dest_data = (uint *) dest->data; | - |
23 | for (int i = 0; i < src->heightTRUE | never evaluated | FALSE | never evaluated |
; ++i) { | 0 |
24 | qt_convertARGB32ToARGB32PM(dest_data, src_data, src->width); | - |
25 | src_data += src->bytes_per_line >> 2; | - |
26 | dest_data += dest->bytes_per_line >> 2; | - |
27 | } never executed: end of block | 0 |
28 | } never executed: end of block | 0 |
29 | | - |
30 | | - |
| | |