| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The code tries to expand a 16-bit value of the form 0bABBBBBGGGGGRRRRR
into a 32-bit QRgb, but got the operator precedence wrong:
<< has higher precedence than binary &
This made the first operand of the |-chain (BBBBB) unconditionally
zero. The second operand had the same precedence problem, but didn't
decay into a tautological value like the first one did.
Fix by adding another set of parentheses.
The test coverage for this security-relevant piece of code is quite
obviously insufficient, and should be increased, or else the format be
dropped.
[ChangeLog][TGA] Fixed reading of TGA-16 formats.
Coverity-Id: 21782
Change-Id: I7019be8fe22e480c40192e0c1916b1d2bebf71cc
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Reviewed-by: Giuseppe D'Angelo <giuseppe.dangelo@kdab.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
Coverity complained about uninitialised members of m_features in
QWebpHandler, and m_header and m_header10 in QDDSHandler, so force
value-initialization, in this case zero-initialization, by explicitly
adding the fields to the ctor-init-list.
Coverity-Id: 21998
Coverity-Id: 22032
Change-Id: Ie45023eda82b7034a0b3e33bab4fb23465cdc7cf
Reviewed-by: Giuseppe D'Angelo <giuseppe.dangelo@kdab.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
As it stands right now, it's severely bugged and a security minefield (crashes).
It is also pretty useless in combination with QImage: DDS files are supposed to
carry multiple individual textures, texture arrays, cubemaps; mipmap chains;
and may use specific texture compression formats. All these features are not
supported at all by QImage.
[ChangeLog][QtImageFormats] The DDS image plugin has been disabled
due to lack of maintenance.
Change-Id: I6e53b1b14de316389813ddd3e34a644065937b4a
Reviewed-by: Eirik Aavitsland <eirik.aavitsland@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
| |
Coverity was clever enough to see that the arguments to qRgba()
were swapped, but too dumb to understand the comment right above.
Fix the warning by explicitly swapping b and r, and then passing
the arguments in the correct order.
Coverity-Id: 22421
Change-Id: I87f98ea2bc8745c85fda5dbf0b03a505866ed4ae
Reviewed-by: Giuseppe D'Angelo <giuseppe.dangelo@kdab.com>
|
|
|
|
|
|
|
|
|
|
|
| |
While the repository still contains bundled copies of 3rd party codecs
for these formats, they are not part of the build process anymore;
the corresponding plugins are built only when the system libraries
are found.
Change-Id: Ib658b921bd08b63e68886922fc6bc45c5c3cc637
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
Reviewed-by: Eirik Aavitsland <eirik.aavitsland@qt.io>
|
|
|
|
|
|
|
|
|
| |
QT_ARCH for tvOS is arm64 (not arm, since it’s 64bits only)
Change-Id: Ia03d3ee07d2543a0e70ee7d77448aff9382d8fc8
(cherry picked from commit e4c1d9ece74de212ebe5c55b134de7cb23469e2d)
Reviewed-by: Mike Krus <mike.krus@kdab.com>
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
|
|
|
|
|
|
| |
Change-Id: Ib10e37f32e3b83c767a6b0ef2d0ae527e2435f49
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Reviewed-by: Marc Mutz <marc.mutz@kdab.com>
|
|
|
|
|
|
|
|
| |
this fixes static builds by ensuring that all dependencies are exported.
Task-number: QTBUG-51071
Change-Id: I1970c3588d4ef3140adb655c01291e585b4f25b3
Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
|
|\
| |
| |
| | |
Change-Id: I0314084af3028bd840b1b46f35134c464de51841
|
| |\
| | |
| | |
| | | |
Change-Id: I19a0c02f6cb3731d4b99d158106b6a1a29862dbb
|
| |\ \
| | | |
| | | |
| | | | |
Change-Id: Iaa0f274e35fd48dc6767a458fd0ee24c8b48e87a
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
This is already the case for qtbase and qtwebkit, while here only
hard-coded "zdll.lib" was used on Windows.
Change-Id: I6592ed8cfc667db58cb7ab65f97f00fc83e8e7d5
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
|
| |_|/
|/| |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Libtiff does not process the alpha-channel if its definition is not
specified. However to match how Qt used to save TIFF images and how
tested image viewers interpret them, we need to treat unspecified alpha
channels as unpremultiplied.
Task-number: QTBUG-50902
Change-Id: Id72218ed5bf702b54ffa3b5b47d6230facbfa0c4
Reviewed-by: aavit <eirik.aavitsland@theqtcompany.com>
|
|/ /
| |
| |
| |
| |
| |
| | |
Task-number: QTBUG-50394
Change-Id: If57e650423fcd715b8143e59958dc756f7aea023
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@theqtcompany.com>
|
| |
| |
| |
| |
| |
| |
| |
| | |
Upstream changes since 4.0.3 have been merged in. Our local tif_conf.h
have been updated according to the upstream changes in tif_conf.h.in.
Change-Id: I1c2aef6f0f60377de4876e25df723c32a6f95ea6
Reviewed-by: Liang Qi <liang.qi@theqtcompany.com>
|
| |
| |
| |
| |
| |
| | |
Change-Id: I995c765a0bd200f87c686a58778e94ec5e755809
Reviewed-by: Lars Knoll <lars.knoll@theqtcompany.com>
Reviewed-by: aavit <eirik.aavitsland@theqtcompany.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This commit imports libwebp 0.4.4, including AUTHORS, COPYING, ChangeLog,
NEWS, PATENTS, README and src directories. In src, only includes header
and source files.
The patches required to build it in Qt will follow in separate
commit(s).
Change-Id: Ib12593f56553e5358548c224d1855273f3fd2318
Reviewed-by: Lars Knoll <lars.knoll@theqtcompany.com>
Reviewed-by: aavit <eirik.aavitsland@theqtcompany.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Upstream development libmng and libjasper is mostly stalled,
so security issues are dealt with by the linux distributions
instead. Hence, the stale bundled copy of the 3rd party source code of
those libraries can not be generally recommended.
Leave the bundled versions in the repo for now as a transitional
measure, so that the bundled-lib plugins still can be built manually
(by doing qmake & make in the relevant src/plugins/imageformats
subdirectory). In a later Qt version, the bundled copies of those libs
should be removed.
Change-Id: I651417d91ef0f43cb6abe638f97968576a78e2f0
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
Reviewed-by: Lars Knoll <lars.knoll@theqtcompany.com>
|
| |
| |
| |
| |
| | |
Change-Id: I5c8e220d21bf2110f8382187c55c42379f1e7873
Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
|
|\ \
| |/
| |
| | |
Change-Id: Ie19ac1c5d61d14938ea9457cb9d5944931e046d2
|
| |
| |
| |
| |
| |
| | |
Task-number: QTBUG-48851
Change-Id: Iaf2c2b36539412a341edb721a135f36a97be4b83
Reviewed-by: aavit <eirik.aavitsland@theqtcompany.com>
|
|\ \
| |/
| |
| | |
Change-Id: Iab58d8196ae737c506125f37117c44e90dc1fb7a
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
jas_image_create will return null if the image create fails, so the
return value must be checked.
Task-number: QTBUG-47998
Change-Id: I4cb8a44742ca30d1f0b335b2db2c7f283c968c78
Reviewed-by: aavit <eirik.aavitsland@theqtcompany.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The documentation template with outdated copyright
information is removed, it's not used anymore.
Change-Id: Idc93bee04339739807c15f37c5bbbee1bbdd34c4
Reviewed-by: Julien Brianceau <jbriance@cisco.com>
Reviewed-by: Jani Heikkinen <jani.heikkinen@theqtcompany.com>
Reviewed-by: Topi Reiniö <topi.reinio@digia.com>
|
|\ \
| |/
| |
| | |
Change-Id: Ief86005c1309fdd08f32513782ee75f7e9751bc1
|
| |
| |
| |
| |
| |
| |
| |
| | |
Previous work for Android appears to have fixed iOS related issues. Works fine for loading textures in Qt3d
Change-Id: I54dbc0b57035e2777bac9e05842a64d4283efbd8
Reviewed-by: James Turner <james.turner@kdab.com>
Reviewed-by: Laszlo Agocs <laszlo.agocs@theqtcompany.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Similar to commit 954fa54a88cff31a7fc869a49d17474ab1da8459 we also
need to include the header that provides the jas_eprintf function
declaration.
Change-Id: I5f1e2e44bccf960ac88a21847e796e4548fcc4be
Reviewed-by: Lars Knoll <lars.knoll@theqtcompany.com>
|
|\ \
| |/
| |
| | |
Change-Id: Id8a59a58c7e5ca2f977c1e7408ff05033a9cc16b
|
| |
| |
| |
| |
| |
| |
| |
| | |
Correctly read and write Grayscale8 image format.
Change-Id: I537c68f94077458c69ee1de08b5b37986b54aa26
Reviewed-by: Ivan Komissarov <ABBAPOH@gmail.com>
Reviewed-by: Gunnar Sletta <gunnar@sletta.org>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
We need to include the cpufeatures module in the build for
Android, and we need to make sure the neon files are compiled
with neon flags turned on. Since these are .c files, we
cannot use the regular simd.prf approach, which only supports
.cpp, so the compiler is basically copy-pasted from simd.prf,
but using QMAKE_CC instead of QMAKE_CXX.
[ChangeLog][Android] Added support for webp image format.
Change-Id: Id702b8202bee963d23beb02a7dc163756c8ca712
Task-number: QTBUG-38715
Reviewed-by: Liang Qi <liang.qi@theqtcompany.com>
Reviewed-by: aavit <eirik.aavitsland@theqtcompany.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Make the image orientation only optionally applied for TIFF images
to match the new image handler flags.
The default however remains to apply transformation, as opposed
to JPEGs.
The patch also adds the capability to write metadata orientation.
Change-Id: Ie24664516138641342ab6d7559d591f38b9f1e8a
Reviewed-by: Gunnar Sletta <gunnar@sletta.org>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The TIFFReadRGBAImageOriented method turns out to return colors with
alpha premultiplied by default. The only reason we pass our own tests
is because we also save the colors incorrectly unpremultiplied.
The patch fixes the format type of the returned images, and explictily
writes the how alpha should be interpreted in the saved files.
Change-Id: Ie1c3881acfe07eae25ca735adf243c1636f656a0
Reviewed-by: Gunnar Sletta <gunnar@sletta.org>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Split reading TIFF headers from the decoding to make it
possible to read correct metadata on undecoded images.
This fixes reading the image format from the QImageReader,
and is necessary for later patches.
Change-Id: Ida27e98252bf95459d87354586d4a5fba348efcb
Reviewed-by: Ivan Komissarov <ABBAPOH@gmail.com>
Reviewed-by: Konstantin Ritt <ritt.ks@gmail.com>
|
| |\
| | |
| | |
| | | |
Change-Id: Ib6f1512a15f2714a712ff82df55a9d3de8e46ffd
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Replace duplicated bBitMask check by the intended gBitMask check.
Change-Id: I6d1780a4112e88484de661f07a15f2121602b86c
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@theqtcompany.com>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Basic cleanup using proper Qt classes instead of malloc.
Change-Id: I532b47aac7cfe15a5963371224288bec08135f25
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Green mask is missing an F.
Change-Id: I7387ef01ee414abc1a48efec71d71f46922c1bed
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
Reviewed-by: Frederik Gladhorn <frederik.gladhorn@theqtcompany.com>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
They are HOWTO-RELEASE, SConstruct, nmake.opt and html sub directory.
Change-Id: If7d3aad3a353caa14239b1faf0af8b9cd393bcf7
Reviewed-by: Liang Qi <liang.qi@theqtcompany.com>
|
| | |
| | |
| | |
| | |
| | |
| | | |
Change-Id: I1b333671e778824cc29b9c2125121fc7f1889b4d
Reviewed-by: Lars Knoll <lars.knoll@digia.com>
Reviewed-by: aavit <eirik.aavitsland@theqtcompany.com>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This commit imports libwebp 0.4.3, including AUTHORS, COPYING, ChangeLog,
NEWS, PATENTS, README and src directories. In src, only includes header
and source files.
The patches required to build it in Qt will follow in separate
commit(s).
Change-Id: I23ebfd69e47a468c91a9e9b109e9cb8ac63705d4
Reviewed-by: Lars Knoll <lars.knoll@digia.com>
Reviewed-by: Konstantin Ritt <ritt.ks@gmail.com>
Reviewed-by: aavit <eirik.aavitsland@theqtcompany.com>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This macro has been defined in the jasper.pri file:
msvc: DEFINES += JAS_WIN_MSVC_BUILD
Change-Id: I3ac06e4f373c59ded4e3c2ebfa6f50e40a3c83ae
Reviewed-by: aavit <eirik.aavitsland@theqtcompany.com>
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| | |
This fix changes range of values for Z coordinate to 0..255
instead of 127.5..255 for ATI2 textures
Change-Id: I53e7243c913483043599442ce13e42b07ee22ce6
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@theqtcompany.com>
Reviewed-by: Konstantin Ritt <ritt.ks@gmail.com>
|
| |
| |
| |
| |
| |
| |
| |
| | |
The jas_image_coord_t is typedef'ed to int_fast32_t, which can be
long.
Change-Id: I78ed4731d9adf3ea9bd63092edd3f96a185d9c79
Reviewed-by: Jake Petroules <jake.petroules@petroules.com>
|
| |
| |
| |
| |
| |
| |
| |
| | |
Required to build on QNX 6.6.
Change-Id: If45aef4e3c0488f390187858e8ecafb18d7f5960
Reviewed-by: Rafael Roquetto <rafael.roquetto@kdab.com>
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@theqtcompany.com>
|
| |
| |
| |
| |
| |
| |
| | |
Return a real grayscale qimage instead of an 8-bit indexed qimage.
Change-Id: I6f47bfe4268a675f8ce54f9daed10e94feb9e309
Reviewed-by: Gunnar Sletta <gunnar@sletta.org>
|
| |
| |
| |
| |
| |
| |
| | |
Use cmath methods
Change-Id: I8e2f76f78440b6db84174e3f56e734db35abad68
Reviewed-by: Rafael Roquetto <rafael.roquetto@kdab.com>
|
|/
|
|
|
|
|
|
|
|
| |
Qt copyrights are now in The Qt Company, so we could update the source
code headers accordingly. In the same go we should also fix the links to
point to qt.io.
Change-Id: I6aafb5f38bfaf68a9f4eaca69a56006db5cd8843
Reviewed-by: Jani Heikkinen <jani.heikkinen@theqtcompany.com>
Reviewed-by: aavit <eirik.aavitsland@theqtcompany.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
Compilation for macx-ios-clang_OSX_10.9 would fail since the
jas_eprintf function was used undeclared. Fix by #including
jas_debug.h before4 use of that function.
Also restructure some code in jpc_tsfb.c to prevent the same
issue for jpc_tsfb_synthesize2 and jpc_tsfb_analyze2.
Change-Id: Ib5b444873af6aa756d1c77145acdd863eaca0bd2
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@digia.com>
|
|
|
|
|
|
|
|
| |
Already disabled for android and winrt; seems that libwebp's use of
neon does not compile.
Change-Id: Ia119244da1ae3c92f69dfe5ed91d20e665102958
Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@digia.com>
|
|
|
|
|
|
|
|
|
| |
In case the animation only has one frame, like Waves1.mng in the bug
report.
Task-number: QTBUG-42321
Change-Id: Id6616f4f51c1b6f06f7e4677cbd9e56135d2a52b
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
|