zzxxpp1011239740 / webp

Automatically exported from code.google.com/p/webp
0 stars 0 forks source link

API to disable loop filter #29

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
While working on the javavp8decoder it's useful to be able to get output from 
libwebp/dwebp with no 'loop filtering' applied.

I can imagine a few other situations where this might be useful, such as when 
the output is to be downscaled to generate previews/thumbnails etc where speed 
is important.

It could also provide a set of tests that isolate the filter code.

Are there any plans to add this functionality to the official api?

My current patch is attached.

Original issue reported on code.google.com by brooss.t...@gmail.com on 14 Nov 2010 at 3:31

Attachments:

GoogleCodeExporter commented 9 years ago

Original comment by rab...@google.com on 15 Nov 2010 at 5:58

GoogleCodeExporter commented 9 years ago
add an option in VP8Io to bypass_filtering

https://review.webmproject.org/1827

this is quite an advance feature, so better try to avoid multiplying the
functions at the "Simple API" level (decode.h) and make it available in
the 2nd-level one (decode_vp8.h) instead

Original comment by pascal.m...@gmail.com on 27 Feb 2011 at 7:01

GoogleCodeExporter commented 9 years ago
Following are the relevant filtering options exposed in webp encoder (cwebp)

  -strong ................ use strong filter instead of simple.
  -f <int> ............... filter strength (0=off..100)
  -sharpness <int> ....... filter sharpness (0:most .. 7:least sharp)

There are two filter levels simple (default) and strong.
For each of these level, you can choose filter strength (0..100), with 0 
effectively means shutting off the filtering.

Original comment by vikaas.a...@gmail.com on 21 Mar 2011 at 5:01