qimage_avx2.cpp

Absolute File Name:/home/qt/qt5_coco/qt5/qtbase/src/gui/image/qimage_avx2.cpp
Switch to Source codePreprocessed file
LineSourceCount
1-
2-
3-
4-
5-
6void convert_ARGB_to_ARGB_PM_avx2(QImageData *dest, const QImageData *src, Qt::ImageConversionFlags)-
7{-
8 ((!(src->format == QImage::Format_ARGB32 || src->format == QImage::Format_RGBA8888)) ? qt_assert("src->format == QImage::Format_ARGB32 || src->format == QImage::Format_RGBA8888",__FILE__,51) : qt_noop());-
9 ((!(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__,52) : qt_noop());-
10 ((!(src->width == dest->width)) ? qt_assert("src->width == dest->width",__FILE__,53) : qt_noop());-
11 ((!(src->height == dest->height)) ? qt_assert("src->height == dest->height",__FILE__,54) : qt_noop());-
12-
13 const uint *src_data = (uint *) src->data;-
14 uint *dest_data = (uint *) dest->data;-
15 for (int i = 0; i < src->height
i < src->heightDescription
TRUEnever evaluated
FALSEnever evaluated
; ++i) {
0
16 qt_convertARGB32ToARGB32PM(dest_data, src_data, src->width);-
17 src_data += src->bytes_per_line >> 2;-
18 dest_data += dest->bytes_per_line >> 2;-
19 }
never executed: end of block
0
20}
never executed: end of block
0
21-
22-
Switch to Source codePreprocessed file

Generated by Squish Coco Non-Commercial 4.3.0-BETA-master-30-08-2018-4cb69e9