Searched refs:alpha (Results 1 - 25 of 1208) sorted by last modified time

1234567891011>>

/external/zxing/core/
H A Dcore.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/zxing/ com/google/zxing/aztec/ ...
/external/zopfli/src/zopflipng/lodepng/
H A Dlodepng.cpp2496 case 4: if(!( bd == 8 || bd == 16)) return 37; break; /*grey + alpha*/
2510 case 4: return 2; /*grey + alpha*/
2913 index for a color. It's like an octree, but because the alpha channel is used too, each
3475 unsigned char alpha; /*alpha channel, or alpha palette, required*/ member in struct:ColorProfile
3498 profile->alpha = 0;
3533 std::cout << "alpha: " << (int)p->alpha << std::endl;
3595 if(!profile->alpha
[all...]
/external/webrtc/src/common_audio/vad/
H A Dvad_sp.c67 int16_t alpha = 0; local
170 alpha = (int16_t) ALPHA1; // 0.2 in Q15.
172 alpha = (int16_t) ALPHA2; // 0.99 in Q15.
175 tmp32 = WEBRTC_SPL_MUL_16_16(alpha + 1, self->mean_value[channel]);
176 tmp32 += WEBRTC_SPL_MUL_16_16(WEBRTC_SPL_WORD16_MAX - alpha, current_median);
/external/webrtc/src/modules/audio_coding/codecs/isac/fix/source/
H A Dlpc_masking_model.c725 WebRtc_Word16 alpha=328; //0.01 in Q15 local
734 tmp = WEBRTC_SPL_MUL_16_32_RSFT15(alpha, tmp);
737 tmp = WEBRTC_SPL_MUL_16_32_RSFT15(WEBRTC_SPL_LSHIFT_W16(alpha, (sh-shMem)), tmp); // Shift alpha the number of times required to get tmp in QdomLO
740 tmp = WEBRTC_SPL_MUL_16_32_RSFT15(WEBRTC_SPL_LSHIFT_W16(alpha, 6), tmp); // Shift alpha as much as possible without overflow the number of times required to get tmp in QdomHI
772 WebRtc_Word16 alpha=328; //0.01 in Q15 local
780 tmp = WEBRTC_SPL_MUL_16_32_RSFT15(alpha, tmp);
787 tmp = WEBRTC_SPL_MUL_16_32_RSFT15(WEBRTC_SPL_LSHIFT_W16(alpha, (sh-shMem)), tmp); // Shift alpha th
[all...]
/external/webrtc/src/modules/audio_coding/codecs/isac/main/source/
H A Dlpc_analysis.c81 double sum, alpha; local
83 alpha = 0; //warning -DH
92 alpha = r[0] + r[1] * k[0];
98 k[m] = -sum / alpha;
99 alpha += k[m] * sum;
109 return alpha;
/external/webrtc/src/modules/audio_processing/aecm/
H A Daecm_core.c67 //Q15 alpha = 0.99439986968132 const Factor for magnitude approximation
71 //Q15 alpha = 0.94234827210087 const Factor for magnitude approximation
75 //Q15 alpha = 0.82247698684306 const Factor for magnitude approximation
1401 WebRtc_UWord16 alpha = 0; local
1439 // magn ~= alpha * max(|imag|,|real|) + beta * min(|imag|,|real|)
1441 // The parameters alpha and beta are stored in Q15
1460 alpha = kAlpha1;
1464 alpha = kAlpha2;
1468 alpha = kAlpha3;
1472 alpha,
[all...]
/external/webp/examples/
H A Ddwebp.c206 static int WritePPM(FILE* fout, const WebPDecBuffer* const buffer, int alpha) { argument
211 const size_t bytes_per_px = alpha ? 4 : 3;
214 if (alpha) {
359 " -alpha ....... only save the alpha plane.\n"
394 } else if (!strcmp(argv[c], "-alpha")) {
482 output_buffer->colorspace = MODE_RGB; // drops alpha for PPM
514 bitstream->has_alpha ? " (with alpha)" : "");
519 bitstream->has_alpha ? " (with alpha)" : "");
/external/webp/src/
H A DAndroid.mk20 enc/alpha.c \
81 dec/alpha.c \
/external/webp/src/dec/
H A Dio.c149 const uint8_t* alpha = io->a; local
156 if (alpha != NULL) {
158 memcpy(dst, alpha, mb_w * sizeof(*dst));
159 alpha += io->width;
163 // the user requested alpha, but there is none, set it to opaque.
173 const uint8_t** alpha, int* const num_rows) {
185 // Fortunately, *alpha data is persistent, so we can go back
186 // one row and finish alpha blending, now that the fancy upscaler
188 *alpha -= io->width;
199 const uint8_t* alpha local
172 GetAlphaSourceRow(const VP8Io* const io, const uint8_t** alpha, int* const num_rows) argument
232 const uint8_t* alpha = io->a; local
[all...]
H A Dvp8l.c35 // 2. alpha,
533 // Lastly, store alpha if needed.
654 // Special method for paletted alpha data.
710 // Row-processing for the special case when alpha data contains only one
716 // call to ReadSymbol() for red/blue/alpha channels.
855 int red, green, blue, alpha; local
860 alpha = ReadSymbol(&htree_group->htrees_[ALPHA], br);
861 *src = ((uint32_t)alpha << 24) | (red << 16) | (green << 8) | blue;
1194 // first row in the row-blocks. Not needed for paletted alpha.
1196 // Scratch buffer for temporary BGRA storage. Not needed for paletted alpha
[all...]
/external/webp/src/demux/
H A Ddemux.c233 if (alpha_chunks > 0) return PARSE_ERROR; // VP8L has its own alpha
438 // Clear any alpha when the alpha flag is missing.
446 // Also, set ALPHA_FLAG if this is a lossless image with alpha.
650 const ChunkData* const alpha = f->img_components_ + 1; local
657 if (alpha->size_ == 0 && image->size_ == 0) return 0;
658 // Ensure alpha precedes image bitstream.
659 if (alpha->size_ > 0 && alpha->offset_ > image->offset_) {
668 // Ensure alpha precede
824 const ChunkData* const alpha = frame->img_components_ + 1; local
[all...]
/external/webp/src/dsp/
H A Dalpha_processing.c35 { // (255u << MFIX) / alpha
79 { // alpha * KINV_255
141 if (argb < 0xff000000u) { // alpha < 255
142 if (argb <= 0x00ffffffu) { // alpha == 0
145 const uint32_t alpha = (argb >> 24) & 0xff; local
146 const uint32_t scale = GetScale(alpha, inverse);
157 static void MultRow(uint8_t* const ptr, const uint8_t* const alpha, argument
161 const uint32_t a = alpha[x];
178 void (*WebPMultRow)(uint8_t* const ptr, const uint8_t* const alpha,
194 const uint8_t* alpha, in
193 WebPMultRows(uint8_t* ptr, int stride, const uint8_t* alpha, int alpha_stride, int width, int num_rows, int inverse) argument
224 const uint8_t* const alpha = rgba + (alpha_first ? 0 : 3); local
[all...]
H A Ddsp.h238 // Apply alpha pre-multiply on an rgba, bgra or argb plane of size w * h.
239 // alpha_first should be 0 for argb, 1 for rgba or bgra (where alpha is last).
257 // Same for a row of single values, with side alpha values.
258 extern void (*WebPMultRow)(uint8_t* const ptr, const uint8_t* const alpha,
263 const uint8_t* alpha, int alpha_stride,
/external/webp/src/enc/
H A Dalpha.c24 // Encodes the given alpha data via specified compression method 'method'.
29 // 'method = 1' - Use lossless coder on the alpha plane only
36 // 'output' corresponds to the buffer containing compressed alpha data.
39 // 'output_size' corresponds to size of this compressed alpha buffer.
41 // Returns 1 on successfully encoding the alpha and
64 // Transfer the alpha values to the green channel.
81 // Set a low default quality for encoding alpha. Ensure that Alpha quality at
126 // TODO(skal): have a common function and #define's to validate alpha params.
192 static uint32_t GetFilterMap(const uint8_t* alpha, int width, int height, argument
200 const int num_colors = GetNumColors(alpha, widt
223 ApplyFiltersAndEncode(const uint8_t* alpha, int width, int height, size_t data_size, int method, int filter, int reduce_levels, int effort_level, uint8_t** const output, size_t* const output_size, WebPAuxStats* const stats) argument
[all...]
H A Danalysis.c92 const int alpha = 255 * (centers[n] - mid) / (max - min); local
94 enc->dqm_[n].alpha_ = clip(alpha, -127, 127);
104 #define ALPHA_SCALE (2 * MAX_ALPHA) // scaling factor for alpha.
106 #define IS_BETTER_ALPHA(alpha, best_alpha) ((alpha) > (best_alpha))
108 static int FinalAlphaValue(int alpha) { argument
109 alpha = MAX_ALPHA - alpha;
110 return clip(alpha, 0, MAX_ALPHA);
116 int alpha; local
211 const int alpha = mb->alpha_; local
245 int alpha; local
277 int alpha; local
311 int alpha; local
325 MBAnalyze(VP8EncIterator* const it, int alphas[MAX_ALPHA + 1], int* const alpha, int* const uv_alpha) argument
392 int alpha, uv_alpha; member in struct:__anon33363
[all...]
H A Dpicture_csp.c38 // Returns true if alpha[] has non-0xff values.
39 static int CheckNonOpaque(const uint8_t* alpha, int width, int height, argument
41 if (alpha == NULL) return 0;
45 if (alpha[x] != 0xff) return 1; // TODO(skal): check 4/8 bytes at a time.
47 alpha += y_step;
52 // Checking for the presence of non-opaque alpha.
64 if (argb[x] < 0xff000000u) return 1; // test any alpha values != 0xff
315 // Insert alpha values if needed, in replacement for the default 0xff ones.
H A Dpicture_tools.c10 // WebPPicture tools: alpha handling, etc.
150 const int alpha = a_ptr[x]; local
151 if (alpha < 0xff) {
162 // Average four alpha values into a single blending weight.
164 const int alpha = local
167 u[x] = BLEND_10BIT(U0, u[x], alpha);
168 v[x] = BLEND_10BIT(V0, v[x], alpha);
171 const int alpha = 2 * (a_ptr[2 * x + 0] + a_ptr2[2 * x + 0]); local
172 u[x] = BLEND_10BIT(U0, u[x], alpha);
173 v[x] = BLEND_10BIT(V0, v[x], alpha);
183 const int alpha = (argb[x] >> 24) & 0xff; local
[all...]
H A Dquant.c301 static double QualityToJPEGCompression(double c, double alpha) { argument
302 // We map the complexity 'alpha' and quality setting 'c' to a compression
313 const double expn = (alpha > amax) ? exp_min
314 : (alpha < amin) ? exp_max
315 : exp_max + slope * (alpha - amin);
/external/tcpdump/
H A Dconfig.guess221 alpha:OSF1:*:*)
234 ALPHA_CPU_TYPE=`/usr/sbin/psrinfo -v | sed -n -e 's/^ The alpha \(.*\) processor.*$/\1/p' | head -n 1`
237 UNAME_MACHINE="alpha" ;;
239 UNAME_MACHINE="alpha" ;;
241 UNAME_MACHINE="alpha" ;;
278 echo alpha-pc-interix
281 echo alpha-dec-winnt3.5
861 alpha:Linux:*:*)
1287 A*) echo alpha-dec-vms ; exit ;;
H A Dconfig.sub249 | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \
331 | alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \
H A Dconfigure7876 alpha*|arm*|bfin*|hp*|mips*|sh*|sparc*|ia64|nv1)
/external/stlport/src/
H A Dctype.cpp111 ctype_base::mask(alpha | print | upper | xdigit) /* A */,
112 ctype_base::mask(alpha | print | upper | xdigit) /* B */,
113 ctype_base::mask(alpha | print | upper | xdigit) /* C */,
114 ctype_base::mask(alpha | print | upper | xdigit) /* D */,
115 ctype_base::mask(alpha | print | upper | xdigit) /* E */,
116 ctype_base::mask(alpha | print | upper | xdigit) /* F */,
117 ctype_base::mask(alpha | print | upper) /* G */,
118 ctype_base::mask(alpha | print | upper) /* H */,
119 ctype_base::mask(alpha | print | upper) /* I */,
120 ctype_base::mask(alpha | prin
[all...]
H A Dfacets_byname.cpp138 ctype_base::alpha |
/external/stlport/stlport/
H A Dlocale104 { return (use_facet<ctype<_CharT> >(loc)).is(ctype_base::alpha, c); }
/external/stlport/stlport/stl/
H A D_ctype.h47 alpha = _Locale_ALPHA, enumerator in enum:ctype_base::mask
51 alnum = alpha | digit,

Completed in 255 milliseconds

1234567891011>>