Andrew Osmond
b0c34dc158
Bug 1641389 - Remove image.webp.enabled pref, always on by default. r=necko-reviewers,tnikkel,valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D188276
2023-09-15 19:36:34 +00:00
Cosmin Sabou
f16a7cb04c
Backed out changeset 106a8fb08a87 (bug 1641389) for causing bc failures on browser_persist_image_accept.js.
2023-09-15 17:42:46 +03:00
Andrew Osmond
1d368d5e01
Bug 1641389 - Remove image.webp.enabled pref, always on by default. r=necko-reviewers,tnikkel,valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D188276
2023-09-15 11:57:53 +00:00
zaggy1024
7cc4b592b1
Bug 1813466 - Store AVIF prefs as default decoder flags in RasterImage. r=tnikkel
...
This prevents a crash that would occur if a redecode of an animated AVIF happened after changing the `sequences.enabled` pref from `true` to `false`.
Differential Revision: https://phabricator.services.mozilla.com/D170190
2023-03-17 00:50:07 +00:00
zaggy1024
2b3dab2017
Bug 1788119 - Part 3 - Add initial support for animated AVIF sequences. r=tnikkel
...
Depends on D156651
Differential Revision: https://phabricator.services.mozilla.com/D156652
2023-01-27 21:25:50 +00:00
Butkovits Atila
cc4ca5ffff
Backed out 5 changesets (bug 1788119) for causing bustages complaining about AVIFDecodedData. CLOSED TREE
...
Backed out changeset 430e71478ff5 (bug 1788119)
Backed out changeset 9493029c76b9 (bug 1788119)
Backed out changeset 7d5cc211e3f5 (bug 1788119)
Backed out changeset 3eaac75dde3c (bug 1788119)
Backed out changeset 1f8eacf96c71 (bug 1788119)
2023-01-27 22:54:08 +02:00
zaggy1024
52fd176d40
Bug 1788119 - Part 3 - Add initial support for animated AVIF sequences. r=tnikkel
...
Depends on D156651
Differential Revision: https://phabricator.services.mozilla.com/D156652
2023-01-27 19:54:29 +00:00
Norisz Fay
ea30079848
Backed out 5 changesets (bug 1788119) for causing build bustages on DecoderData.cpp CLOSED TREE
...
Backed out changeset 56abc66f7e84 (bug 1788119)
Backed out changeset 00d82acfaa2f (bug 1788119)
Backed out changeset 4ba88410cdf6 (bug 1788119)
Backed out changeset eeb1461933aa (bug 1788119)
Backed out changeset 8dce9350abb8 (bug 1788119)
2023-01-27 21:11:42 +02:00
zaggy1024
d52eea0310
Bug 1788119 - Part 3 - Add initial support for animated AVIF sequences. r=tnikkel
...
Depends on D156651
Differential Revision: https://phabricator.services.mozilla.com/D156652
2023-01-27 18:35:14 +00:00
Andrew Osmond
081e8ef9c8
Bug 1732115 - Part 3. Refactor decoder pipeline to partially use Unoriented/OrientedPixel. r=tnikkel
...
Rather than change every use of IntSize/Rect/Point in image/, this patch
attempts to draw the line at the relevant parts of the decoding pipeline
to prevent confusion about which size and orientation we are working
with.
Differential Revision: https://phabricator.services.mozilla.com/D126381
2021-10-06 14:41:17 +00:00
Kagami Sascha Rosylight
8897bfb09e
Bug 1707590 - Part 2: Implement nsJXLDecoder r=tnikkel
...
Differential Revision: https://phabricator.services.mozilla.com/D113359
2021-05-06 02:00:57 +00:00
Noemi Erli
026935c40a
Backed out 4 changesets (bug 1707590) for causing gtest crashes CLOSED TREE
...
Backed out changeset 3bd322893127 (bug 1707590)
Backed out changeset 8cc3eaf728b6 (bug 1707590)
Backed out changeset 21f41a9df048 (bug 1707590)
Backed out changeset 3201d860afef (bug 1707590)
2021-05-06 04:57:44 +03:00
Kagami Sascha Rosylight
b5bd9f27ae
Bug 1707590 - Part 2: Implement nsJXLDecoder r=tnikkel
...
Differential Revision: https://phabricator.services.mozilla.com/D113359
2021-05-06 01:14:21 +00:00
Noemi Erli
2340b5899b
Backed out 4 changesets (bug 1707590) for causing gtest crashes CLOSED TREE
...
Backed out changeset 6edab66fe2c5 (bug 1707590)
Backed out changeset e5d2d6824408 (bug 1707590)
Backed out changeset 9c7204c3f03c (bug 1707590)
Backed out changeset 25da391baa22 (bug 1707590)
2021-05-06 02:07:42 +03:00
Kagami Sascha Rosylight
74e7193cb3
Bug 1707590 - Part 2: Implement nsJXLDecoder r=tnikkel
...
Differential Revision: https://phabricator.services.mozilla.com/D113359
2021-05-05 21:44:08 +00:00
Csoregi Natalia
ed46670cc5
Backed out 4 changesets (bug 1707590) for causing gtest crashes. CLOSED TREE
...
Backed out changeset fec7b65cc3d7 (bug 1707590)
Backed out changeset 3a7e5c98dd13 (bug 1707590)
Backed out changeset 9dfd0d516062 (bug 1707590)
Backed out changeset 9ab607973f20 (bug 1707590)
2021-05-05 22:23:06 +03:00
Kagami Sascha Rosylight
6c8130c399
Bug 1707590 - Part 2: Implement nsJXLDecoder r=tnikkel
...
Differential Revision: https://phabricator.services.mozilla.com/D113359
2021-05-05 17:33:53 +00:00
Dorel Luca
11b35f1b49
Backed out 4 changesets (bug 1707590) for worker/checkouts/gecko/config/rules.mk. CLOSED TREE
...
Backed out changeset 4ccdb31e1c5a (bug 1707590)
Backed out changeset 4b69f99caf69 (bug 1707590)
Backed out changeset a3f23a20b532 (bug 1707590)
Backed out changeset f591c3da4311 (bug 1707590)
2021-05-04 20:29:51 +03:00
Kagami Sascha Rosylight
7cb2d5f043
Bug 1707590 - Part 2: Implement nsJXLDecoder r=tnikkel
...
Differential Revision: https://phabricator.services.mozilla.com/D113359
2021-05-04 15:24:54 +00:00
Iulian Moraru
06e493e53f
Backed out 4 changesets (bug 1707590) for causing build bustages. CLOSED TREE
...
Backed out changeset f3f40c6fb8e2 (bug 1707590)
Backed out changeset 3e76ff83ebe2 (bug 1707590)
Backed out changeset 40a3f43a2306 (bug 1707590)
Backed out changeset 01bb0e75cb82 (bug 1707590)
2021-05-04 17:11:54 +03:00
Kagami Sascha Rosylight
747ae3d786
Bug 1707590 - Part 2: Implement nsJXLDecoder r=tnikkel
...
Differential Revision: https://phabricator.services.mozilla.com/D113359
2021-05-04 13:29:08 +00:00
Razvan Maries
a016d5a0d7
Backed out changeset 6c865ed1f998 (bug 1641389) for perma failures on test_animation_operators.html. CLOSED TREE
2020-05-28 05:43:40 +03:00
Andrew Osmond
dbeb242310
Bug 1641389 - Remove image.webp.enabled pref, always on by default. r=tnikkel
...
Differential Revision: https://phabricator.services.mozilla.com/D77182
2020-05-28 01:39:01 +00:00
Razvan Maries
2f9492658f
Backed out changeset fd4e161666b0 (bug 1641389) for build bustages on nsImageModule.cpp. CLOSED TREE
2020-05-28 02:44:42 +03:00
Andrew Osmond
79be403301
Bug 1641389 - Remove image.webp.enabled pref, always on by default. r=tnikkel
...
Differential Revision: https://phabricator.services.mozilla.com/D77182
2020-05-27 23:08:38 +00:00
Sylvestre Ledru
f3c69f480a
Bug 1519636 - Reformat recent changes to the Google coding style r=andi
...
# ignore-this-changeset
Differential Revision: https://phabricator.services.mozilla.com/D73347
2020-05-09 14:51:53 +00:00
Nathan Froyd
227e972ad6
Bug 1634994 - fix --disable-av1; r=tnikkel
...
Some files are incorrectly built/included, as well as some code, when
`--disable-av1` is passed. Let's fix that.
Differential Revision: https://phabricator.services.mozilla.com/D73744
2020-05-04 20:30:58 +00:00
Jon Bauman
bd33b0eb61
Bug 1625363 - AVIF (AV1 Image File Format): experimental support. r=aosmond,necko-reviewers,valentin
...
There are many limitations currently, but this prototype should successfully
render most basic AVIF images. Known limitations:
- No support for any derived image items (crop, rotate, etc.)
- No support for alpha planes
- No support for ICC profiles (bug 1634741)
- The primary image item must be an av01 (no grid support)
- HDR images aren't tone-mapped
Differential Revision: https://phabricator.services.mozilla.com/D68498
2020-05-01 22:56:04 +00:00
Razvan Maries
260d5495ac
Backed out changeset 8cb47e0e268d (bug 1625363) for causing gtest failures at ImageDecoders.AVIFSingleChunk. CLOSED TREE
2020-04-30 08:26:53 +03:00
Jon Bauman
594bb4e032
Bug 1625363 - AVIF (AV1 Image File Format): experimental support. r=aosmond,necko-reviewers,valentin
...
There are many limitations currently, but this prototype should successfully
render most basic AVIF images. Known limitations:
- No support for any derived image items (crop, rotate, etc.)
- No support for alpha planes
- The primary image item must be an av01 (no grid support)
- HDR images aren't tone-mapped
Differential Revision: https://phabricator.services.mozilla.com/D68498
2020-04-30 01:31:17 +00:00
Bogdan Tara
44322d7a53
Backed out changeset 9804951497f9 (bug 1625363) for bustages complaining about nsAVIFDecoder.cpp CLOSED TREE
2020-04-29 19:46:12 +03:00
Jon Bauman
d8eb36440f
Bug 1625363 - AVIF (AV1 Image File Format): experimental support. r=aosmond,necko-reviewers,valentin
...
There are many limitations currently, but this prototype should successfully
render most basic AVIF images. Known limitations:
- No support for any derived image items (crop, rotate, etc.)
- No support for alpha planes
- The primary image item must be an av01 (no grid support)
- HDR images aren't tone-mapped
Differential Revision: https://phabricator.services.mozilla.com/D68498
2020-04-29 16:30:54 +00:00
Nicholas Nethercote
f8c70ff889
Bug 1561491 - Make image.* static prefs follow the naming convention. r=KrisWright
...
Differential Revision: https://phabricator.services.mozilla.com/D35977
2019-06-26 13:24:21 +10:00
Jean-Yves Avenard
8243c6f5ef
Bug 1550422 - P23. Remove now unused gfxPrefs. r=jrmuizel
...
And with some tidying some comments and removing stray #include "gfxPrefs.h"
Differential Revision: https://phabricator.services.mozilla.com/D31468
2019-05-26 14:31:53 +00:00
Jean-Yves Avenard
b66b1a5a50
Bug 1550422 - P12. Convert Live gfxPrefs into StaticPrefs. r=jrmuizel
...
gfxPrefs Live preferences are almost identical to StaticPrefs.
We leave aside for now those that set a custom change callback as this feature isn't yet supported in StaticPrefs.
Differential Revision: https://phabricator.services.mozilla.com/D31256
2019-05-26 14:29:42 +00:00
Gurzau Raul
938877e121
Backed out 31 changesets (bug 1552643, bug 1550422) for xpcshell crash on a CLOSED TREE.
...
Backed out changeset e30c1aa75529 (bug 1552643)
Backed out changeset caadcd7e02d3 (bug 1552643)
Backed out changeset aa7086ab09be (bug 1552643)
Backed out changeset 0b4029671710 (bug 1550422 )
Backed out changeset a16295296035 (bug 1550422 )
Backed out changeset 3b70307c0db5 (bug 1550422 )
Backed out changeset 69df7818d4a3 (bug 1550422 )
Backed out changeset d98dfc565927 (bug 1550422 )
Backed out changeset 6f0997976944 (bug 1550422 )
Backed out changeset 0edd264464c2 (bug 1550422 )
Backed out changeset 9ea6da7a74ec (bug 1550422 )
Backed out changeset f855f9309c8b (bug 1550422 )
Backed out changeset 1033546224a7 (bug 1550422 )
Backed out changeset ade7384c6186 (bug 1550422 )
Backed out changeset 75b04de7e99c (bug 1550422 )
Backed out changeset 91c3acdb2454 (bug 1550422 )
Backed out changeset 77d2f80257d1 (bug 1550422 )
Backed out changeset e0cd10d35327 (bug 1550422 )
Backed out changeset 097091082423 (bug 1550422 )
Backed out changeset 2f328853c1ab (bug 1550422 )
Backed out changeset f92f2cc29cb1 (bug 1550422 )
Backed out changeset 6dc82f88333d (bug 1550422 )
Backed out changeset c20f66494d69 (bug 1550422 )
Backed out changeset 2ba22cddeb6f (bug 1550422 )
Backed out changeset 3aa72f89e295 (bug 1550422 )
Backed out changeset ab4c4e806977 (bug 1550422 )
Backed out changeset 72e5de040dda (bug 1550422 )
Backed out changeset 7d3c2d486706 (bug 1550422 )
Backed out changeset 132e0b8d8468 (bug 1550422 )
Backed out changeset 54c85ac75dd0 (bug 1550422 )
Backed out changeset d7ba4a18dd54 (bug 1550422 )
2019-05-25 09:07:49 +03:00
Jean-Yves Avenard
fc3febfda2
Bug 1550422 - P23. Remove now unused gfxPrefs. r=jrmuizel
...
And with some tidying some comments and removing stray #include "gfxPrefs.h"
Differential Revision: https://phabricator.services.mozilla.com/D31468
2019-05-24 11:37:50 +00:00
Jean-Yves Avenard
3816a05854
Bug 1550422 - P12. Convert Live gfxPrefs into StaticPrefs. r=jrmuizel
...
gfxPrefs Live preferences are almost identical to StaticPrefs.
We leave aside for now those that set a custom change callback as this feature isn't yet supported in StaticPrefs.
Differential Revision: https://phabricator.services.mozilla.com/D31256
2019-05-25 00:03:32 +00:00
Gurzau Raul
8d7b43d90a
Backed out 28 changesets (bug 1550422) for marionette AssertionError and failing browser_policy_hardware_acceleration.js on a CLOSED TREE.
...
Backed out changeset 5dd10a365ba9 (bug 1550422 )
Backed out changeset 529f5be01ab9 (bug 1550422 )
Backed out changeset b6861d3badf8 (bug 1550422 )
Backed out changeset 059cff1a3dde (bug 1550422 )
Backed out changeset 6ada1116b241 (bug 1550422 )
Backed out changeset ca67e8e45262 (bug 1550422 )
Backed out changeset a1961a51ae44 (bug 1550422 )
Backed out changeset 1c90b9cb3ad4 (bug 1550422 )
Backed out changeset 285fa46e4f26 (bug 1550422 )
Backed out changeset e2938a444234 (bug 1550422 )
Backed out changeset 7a930fc51125 (bug 1550422 )
Backed out changeset 898ed02804fe (bug 1550422 )
Backed out changeset e1b7abc99ae9 (bug 1550422 )
Backed out changeset f781d415cef6 (bug 1550422 )
Backed out changeset 2fef10a7cce5 (bug 1550422 )
Backed out changeset ea64b4d8d4ff (bug 1550422 )
Backed out changeset 86a8ba1b755c (bug 1550422 )
Backed out changeset 9c0c9e80f309 (bug 1550422 )
Backed out changeset 10c153ddbaea (bug 1550422 )
Backed out changeset 60fe635ec2c9 (bug 1550422 )
Backed out changeset a38796266b28 (bug 1550422 )
Backed out changeset 2db647dcdf1c (bug 1550422 )
Backed out changeset 952ddac02972 (bug 1550422 )
Backed out changeset ba46b53643ec (bug 1550422 )
Backed out changeset ca47ef6c59f7 (bug 1550422 )
Backed out changeset f45f471a1a40 (bug 1550422 )
Backed out changeset 371b4da5b771 (bug 1550422 )
Backed out changeset 02fc78890032 (bug 1550422 )
2019-05-23 05:59:44 +03:00
Jean-Yves Avenard
846a72c649
Bug 1550422 - P23. Remove now unused gfxPrefs. r=jrmuizel
...
And with some tidying some comments and removing stray #include "gfxPrefs.h"
Differential Revision: https://phabricator.services.mozilla.com/D31468
2019-05-22 12:46:30 +00:00
Jean-Yves Avenard
935940dd3f
Bug 1550422 - P12. Convert Live gfxPrefs into StaticPrefs. r=jrmuizel
...
gfxPrefs Live preferences are almost identical to StaticPrefs.
We leave aside for now those that set a custom change callback as this feature isn't yet supported in StaticPrefs.
Differential Revision: https://phabricator.services.mozilla.com/D31256
2019-05-22 12:43:42 +00:00
Ryan Hunt
f703c76ee2
Bug 1523969 part 10 - Move method definition inline comments to new line in 'image/'. r=aosmond
...
Differential Revision: https://phabricator.services.mozilla.com/D21110
2019-02-25 16:07:58 -06:00
Sylvestre Ledru
e5a134f73a
Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format
...
# ignore-this-changeset
2018-11-30 11:46:48 +01:00
Andrew Osmond
283422a564
Bug 1501482. r=tnikkel
...
Differential Revision: https://phabricator.services.mozilla.com/D11897
2018-11-16 09:41:27 -05:00
Andrew Osmond
38813726fd
Bug 1503935 - Fix some WebP decoder implementation bugs. r=tnikkel
...
First we did not handle the SourceBufferIterator::WAITING state which
can happen when we get woken up but there is no data to read from the
SourceBufferIterator. StreamingLexer handled this properly by yielding
with NEED_MORE_DATA, and properly scheduling the decoder to resume. This
patch does the same in the WebP decoder.
Second nsWebPDecoder::GetType was not implemented. This meant it would
return DecoderType::UNKNOWN, and would fail to recreate the decoder if
we are discarding frames and need to restart from the beginning. In
addition to implementing that method, this patch also corrects an assert
in DecoderFactory::CloneAnimationDecoder which failed to check for WebP
as a supported animated decoder.
This patch also modestly improves the logging output and library method
checks.
Differential Revision: https://phabricator.services.mozilla.com/D10624
2018-11-01 19:26:14 -04:00
Andrew Osmond
ea3496614c
Bug 1294490 - Part 3. Implement WebP decoder. r=tnikkel
...
Differential Revision: https://phabricator.services.mozilla.com/D8116
2018-10-31 15:01:08 -04:00
Andrew Osmond
5d780ad614
Bug 1465619 - Part 7. Add support for recycling to image::Decoder. r=tnikkel
...
The owner for the decoder may implement IDecoderFrameRecycler to allow
the decoder to request a recycled frame instead of allocating a new one.
If none are available, it will fallback to allocating a new frame.
Not only may the IDecoderFrameRecycler not have any frames available for
recycling, the recycled frame itself may still be in use by other
entities outside of imagelib. Additionally it may still be required by
BlendAnimationFilter to restore the previous frame's data. It may even
be the same frame as to restore. In the worst case, we will simply
choose to allocate an entirely new frame, just like before.
When we allocate a new frame, that means the old frame we tried to
recycle will be taken out of circulation and not reused again,
regardless of why it failed.
Differential Revision: https://phabricator.services.mozilla.com/D7512
2018-10-22 13:40:35 -04:00
Andrew Osmond
0066c1d8fb
Bug 1337111 - Part 3. Land groundwork for new blended animation gtests. r=tnikkel
2018-09-17 15:06:29 -04:00
Coroiu Cristina
23659dbd32
Backed out 6 changesets (bug 1337111) for build bustages at builds/worker/workspace/build/src/image/SurfaceFilters.h on a CLOSED TREE
...
Backed out changeset ca0caa556dc9 (bug 1337111)
Backed out changeset d7d7fa868d0d (bug 1337111)
Backed out changeset 93e956e89a21 (bug 1337111)
Backed out changeset f36337c1309b (bug 1337111)
Backed out changeset 1b1e25b0b345 (bug 1337111)
Backed out changeset 3785cdebe6a3 (bug 1337111)
2018-09-17 20:42:30 +03:00
Andrew Osmond
8e220a9ff4
Bug 1337111 - Part 3. Land groundwork for new blended animation gtests. r=tnikkel
2018-09-17 13:21:38 -04:00