Re: [webkit-dev] image downscaling during decoding

2012-08-13 Thread Alpha Lam
I agree we should have a separate row-based downscaling phase. JPEGImageDecoder.cpp already supports downscaling with a given width and height, but it's using point sampling which has poor quality. It would be nice to have a callback based downscaling API that we can implement better algorithms.

Re: [webkit-dev] Status of multithreaded image decoding

2012-08-13 Thread Alpha Lam
That's a good point. I'm not sure but a safe bet would be after RenderView is layout'ed then iterate through images to start decoding. The same thing would be needed for scrolling too, as page scrolls need to iterate images in the viewport. Alpha 2012/8/13 Alpha (Hin-Chung) Lam hc...@google.com

Re: [webkit-dev] image downscaling during decoding

2012-08-13 Thread Alpha Lam
that we can implement better algorithms. On Mon, Aug 13, 2012 at 6:52 PM, Alpha Lam hc...@chromium.org wrote: I agree we should have a separate row-based downscaling phase. JPEGImageDecoder.cpp already supports downscaling with a given width and height, but it's using point sampling which

Re: [webkit-dev] Status of multithreaded image decoding

2012-08-13 Thread Alpha Lam
2012/8/13 KwangYul Seo sk...@company100.net This approach is probably safe (as far as I know) but would have the downside of an extra pass over the whole render tree, or else overhead of maintaining an up-to-date list of rendered images; and it would happen very close to painting. I agree

Re: [webkit-dev] Status of multithreaded image decoding

2012-08-10 Thread Alpha Lam
of the RenderBox intersect with viewport. Alpha 2012/8/10 James Robinson jam...@google.com On Thu, Aug 9, 2012 at 5:10 PM, Alpha Lam hc...@chromium.org wrote: Hi everyone! A few weeks ago some folks from company100.net have started a thread of multithreaded (parallel) image decoding in WebKit. We

[webkit-dev] Status of multithreaded image decoding

2012-08-09 Thread Alpha Lam
Hi everyone! A few weeks ago some folks from company100.net have started a thread of multithreaded (parallel) image decoding in WebKit. We have worked together since then to get a better idea how to complete this feature. I would like to report on the progress and our plan. (The goal for

Re: [webkit-dev] Parallel image decoders are up for review

2012-07-17 Thread Alpha Lam
2012/7/17 KwangYul Seo sk...@company100.net Thank you letting me know this information! On Tue, Jul 17, 2012 at 5:41 AM, Alpha Lam hc...@chromium.org wrote: Hi! This is great work! There's work in the Chromium port going on that has a similar goal as your parallel image decoding effort

Re: [webkit-dev] Parallel image decoders are up for review

2012-07-16 Thread Alpha Lam
Hi! This is great work! There's work in the Chromium port going on that has a similar goal as your parallel image decoding effort. There are some parts that we overlap that I think should be discussed to avoid clashes. Here's some background information of what we're doing. In Chromium port