Lines Matching full:alpha
10 // Alpha-plane compression.
25 // Encodes the given alpha data via specified compression method 'method'.
30 // 'method = 1' - Use lossless coder on the alpha plane only
37 // 'output' corresponds to the buffer containing compressed alpha data.
40 // 'output_size' corresponds to size of this compressed alpha buffer.
42 // Returns 1 on successfully encoding the alpha and
64 // Transfer the alpha values to the green channel.
70 // Enable exact, or it would alter RGB values of transparent alpha, which is
76 // Set a low default quality for encoding alpha. Ensure that Alpha quality at
83 // a decoder bug related to alpha with color cache.
199 static uint32_t GetFilterMap(const uint8_t* alpha, int width, int height,
207 const int num_colors = GetNumColors(alpha, width, height, width);
211 : WebPEstimateBestFilter(alpha, width, height, width);
231 static int ApplyFiltersAndEncode(const uint8_t* alpha, int width, int height,
240 GetFilterMap(alpha, width, height, filter, effort_level);
250 ok = EncodeAlphaInternal(alpha, width, height, method, filter,
263 ok = EncodeAlphaInternal(alpha, width, height, method, WEBP_FILTER_NONE,
325 // Extract alpha data (width x height) from raw_data (stride x height).
329 // 16 alpha levels gives quite a low MSE w.r.t original alpha plane hence