Searched defs:dithering (Results 1 - 6 of 6) sorted by relevance

/external/chromium_org/third_party/libwebp/utils/
H A Drandom.c33 void VP8InitRandom(VP8Random* const rg, float dithering) { argument
37 rg->amp_ = (dithering < 0.0) ? 0
38 : (dithering > 1.0) ? (1 << VP8_RANDOM_DITHER_FIX)
39 : (uint32_t)((1 << VP8_RANDOM_DITHER_FIX) * dithering);
/external/webp/src/utils/
H A Drandom.c33 void VP8InitRandom(VP8Random* const rg, float dithering) { argument
37 rg->amp_ = (dithering < 0.0) ? 0
38 : (dithering > 1.0) ? (1 << VP8_RANDOM_DITHER_FIX)
39 : (uint32_t)((1 << VP8_RANDOM_DITHER_FIX) * dithering);
/external/chromium_org/third_party/libwebp/enc/
H A Dwebpenc.c331 float dithering = 0.f; local
335 // slowly decreasing from max dithering at low quality (q->0)
336 // to 0.5 dithering amplitude at high quality (q->100)
337 dithering = 1.0f + (0.5f - 1.0f) * x2 * x2;
339 if (!WebPPictureARGBToYUVADithered(pic, WEBP_YUV420, dithering)) {
H A Dpicture_csp.c177 float dithering,
194 VP8InitRandom(&rg, dithering);
247 float dithering) {
260 dithering, picture);
346 0.f /* no dithering */, picture);
171 ImportYUVAFromRGBA(const uint8_t* const r_ptr, const uint8_t* const g_ptr, const uint8_t* const b_ptr, const uint8_t* const a_ptr, int step, int rgb_stride, float dithering, WebPPicture* const picture) argument
246 WebPPictureARGBToYUVADithered(WebPPicture* picture, WebPEncCSP colorspace, float dithering) argument
/external/webp/src/enc/
H A Dwebpenc.c331 float dithering = 0.f; local
335 // slowly decreasing from max dithering at low quality (q->0)
336 // to 0.5 dithering amplitude at high quality (q->100)
337 dithering = 1.0f + (0.5f - 1.0f) * x2 * x2;
339 if (!WebPPictureARGBToYUVADithered(pic, WEBP_YUV420, dithering)) {
H A Dpicture_csp.c177 float dithering,
194 VP8InitRandom(&rg, dithering);
247 float dithering) {
260 dithering, picture);
346 0.f /* no dithering */, picture);
171 ImportYUVAFromRGBA(const uint8_t* const r_ptr, const uint8_t* const g_ptr, const uint8_t* const b_ptr, const uint8_t* const a_ptr, int step, int rgb_stride, float dithering, WebPPicture* const picture) argument
246 WebPPictureARGBToYUVADithered(WebPPicture* picture, WebPEncCSP colorspace, float dithering) argument

Completed in 170 milliseconds