Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(499)

Issue 2777683002: Move JPEGImageDecoder to SkCodec

Created:
3 years, 9 months ago by cblume
Modified:
3 years, 7 months ago
Reviewers:
CC:
chromium-reviews, blink-reviews, kinuko+watch
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Move JPEGImageDecoder to SkCodec SkCodec is gaining advantages over Blink's image decoders. scroggo@ has a nice summary: - Skia already has some features that Chromium is interested in: - decoding scaled versions of images - decoding subsets (i.e. issue 468914) - SIMD optimizations for writing pixels - In general, sharing code means that new features/bug fixes in Android benefit Chromium and vice versa - Skia's API is designed to allow the client to handle caching, so that the client that knows the bigger picture can make caching decisions in a more informed way than ImageDecoder can. BUG=715817

Patch Set 1 #

Patch Set 2 : Use shared SegmentStream #

Unified diffs Side-by-side diffs Delta from patch set Stats (+134 lines, -813 lines) Patch
M skia/BUILD.gn View 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/platform/image-decoders/jpeg/JPEGImageDecoder.h View 1 3 chunks +13 lines, -12 lines 0 comments Download
M third_party/WebKit/Source/platform/image-decoders/jpeg/JPEGImageDecoder.cpp View 5 chunks +120 lines, -801 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 1 (1 generated)
cblume
3 years, 7 months ago (2017-04-26 23:21:24 UTC) #1
Description was changed from

==========
Move jpeg image decoder to SkCodec

SkCodec is gaining advantages over Blink's image decoders.
scroggo@ has a nice summary:

- Skia already has some features that Chromium is interested in:
  - decoding scaled versions of images
  - decoding subsets (i.e. issue 468914)
  - SIMD optimizations for writing pixels
- In general, sharing code means that new features/bug fixes in Android
  benefit Chromium and vice versa
- Skia's API is designed to allow the client to handle caching, so that
  the client that knows the bigger picture can make caching decisions in
  a more informed way than ImageDecoder can.

BUG=663569
==========

to

==========
Move JPEGImageDecoder to SkCodec

SkCodec is gaining advantages over Blink's image decoders.
scroggo@ has a nice summary:

- Skia already has some features that Chromium is interested in:
  - decoding scaled versions of images
  - decoding subsets (i.e. issue 468914)
  - SIMD optimizations for writing pixels
- In general, sharing code means that new features/bug fixes in Android
  benefit Chromium and vice versa
- Skia's API is designed to allow the client to handle caching, so that
  the client that knows the bigger picture can make caching decisions in
  a more informed way than ImageDecoder can.

BUG=715817
==========

Powered by Google App Engine
This is Rietveld 408576698