OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:dithering
(Results
1 - 11
of
11
) sorted by null
/external/chromium_org/third_party/libwebp/utils/
random.c
33
void VP8InitRandom(VP8Random* const rg, float
dithering
) {
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
);
random.h
24
#define VP8_RANDOM_DITHER_FIX 8 // fixed-point precision for
dithering
33
// Initializes random generator with an amplitude '
dithering
' in range [0..1].
34
void VP8InitRandom(VP8Random* const rg, float
dithering
);
/external/webp/src/utils/
random.c
33
void VP8InitRandom(VP8Random* const rg, float
dithering
) {
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
);
random.h
24
#define VP8_RANDOM_DITHER_FIX 8 // fixed-point precision for
dithering
33
// Initializes random generator with an amplitude '
dithering
' in range [0..1].
34
void VP8InitRandom(VP8Random* const rg, float
dithering
);
/external/chromium_org/third_party/libwebp/enc/
webpenc.c
331
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
)) {
picture_csp.c
177
float
dithering
,
194
VP8InitRandom(&rg,
dithering
);
247
float
dithering
) {
260
dithering
, picture);
346
0.f /* no
dithering
*/, picture);
/external/webp/src/enc/
webpenc.c
331
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
)) {
picture_csp.c
177
float
dithering
,
194
VP8InitRandom(&rg,
dithering
);
247
float
dithering
) {
260
dithering
, picture);
346
0.f /* no
dithering
*/, picture);
/system/core/libpixelflinger/codeflinger/
load_store.cpp
262
int
dithering
= 0;
local
268
dithering
= mDithering;
284
if (!
dithering
) {
299
// in the
dithering
case though, we need to preserve the lower bits
334
// but better one (needed for
dithering
) is:
340
//
Dithering
is done here
341
if (
dithering
) {
342
comment("
dithering
");
358
if ((maskLoBits|
dithering
) && (sh > dbits)) {
/external/chromium_org/third_party/libwebp/webp/
encode.h
121
// 0=none, 1=segment-smooth, 2=pseudo-random
dithering
458
// pseudo-random
dithering
with a strength '
dithering
' between
459
// 0.0 (no
dithering
) and 1.0 (maximum
dithering
). This is useful
462
WebPPicture* picture, WebPEncCSP colorspace, float
dithering
);
/external/webp/include/webp/
encode.h
121
// 0=none, 1=segment-smooth, 2=pseudo-random
dithering
458
// pseudo-random
dithering
with a strength '
dithering
' between
459
// 0.0 (no
dithering
) and 1.0 (maximum
dithering
). This is useful
462
WebPPicture* picture, WebPEncCSP colorspace, float
dithering
);
Completed in 132 milliseconds