Searched refs:max (Results 1 - 25 of 183) sorted by relevance

12345678

/frameworks/base/media/libstagefright/codecs/m4v_h263/dec/src/
H A Dfind_min_max.cpp142 register int min, max; local
147 max = min = *input_ptr;
154 if (*input_ptr > max)
156 max = *input_ptr;
169 *max_ptr = max;
H A Dpost_proc.h35 #define UPDATE_PV_MAXPV_MIN(p,max,min) if ((p) > max) max=(p); else if ((p) < min) min = (p);
/frameworks/base/graphics/java/android/graphics/
H A DTableMaskFilter.java35 public static TableMaskFilter CreateClipTable(int min, int max) { argument
36 return new TableMaskFilter(nativeNewClip(min, max));
44 private static native int nativeNewClip(int min, int max); argument
/frameworks/base/media/libstagefright/codecs/aacdec/
H A Dunpack_idx.h92 Int *max);
98 Int *max);
104 Int *max);
H A Dimdct_fxp.cpp41 max = Maximum value inside input vector "data_quant"
273 Int32 max)
298 if (max != 0)
336 shift1 = pv_normalize(max) - 1; /* -1 to leave room for addition */
338 max = 0;
363 max |= (temp1 >> 31) ^ temp1;
364 max |= (temp2 >> 31) ^ temp2;
386 max |= (temp1 >> 31) ^ temp1;
387 max |= (temp2 >> 31) ^ temp2;
414 max |
269 imdct_fxp(Int32 data_quant[], Int32 freq_2_time_buffer[], const Int n, Int Q_format, Int32 max) argument
[all...]
H A Dinv_long_complex_rot.h90 Int32 max);
H A Dinv_short_complex_rot.h83 Int32 max);
H A Dpulse_nc.h26 Description: Pass in max as input argument.
93 Int *max);
H A Dpulse_nc.cpp32 Description: Pass in max as input argument.
34 Description: Went back to the if-statement to check for max.
58 max = Pointer to the maximum value of coef[]
228 Int *max)
279 if (temp > *max)
281 *max = temp;
288 if (-temp > *max)
290 *max = -temp;
224 pulse_nc( Int16 coef[], const PulseInfo *pPulseInfo, const FrameInfo *pLongFrameInfo, Int *max) argument
H A Dtns_decode_coef.cpp314 Int32 max; local
389 max = tempInt32;
402 max |= tempInt32;
412 if (max >= 0x40000000L)
414 max >>= 1;
445 while (max > 32767)
447 max >>= 1;
456 if (max != 0)
458 while (max < 16384)
460 max <<
[all...]
H A Dfwd_long_complex_rot.h91 Int32 max);
H A Dfwd_short_complex_rot.h87 Int32 max);
H A Dunpack_idx.cpp54 Description: Put back if-statement to get the max.
56 Description: When searching for the max, there was some instances where the
57 max was compared against a negative number, so the max was never
77 Int *max = Pointer to maximum coefficient value.
335 Int *max)
359 if (temp_spec > *max)
361 *max = temp_spec;
374 if (temp_spec > *max)
376 *max
330 unpack_idx( Int16 quant_spec[], Int codeword_indx, const Hcb *pHuffCodebook, BITS *pInputStream, Int *max) argument
420 unpack_idx_sgn( Int16 quant_spec[], Int codeword_indx, const Hcb *pHuffCodebook, BITS *pInputStream, Int *max) argument
548 unpack_idx_esc( Int16 quant_spec[], Int codeword_indx, const Hcb *pHuffCodebook, BITS *pInputStream, Int *max) argument
[all...]
H A Dq_normalize.cpp44 (1) Included search for max in each frame, modified interface.
297 Int32 max = 0; local
336 max |= (tmp1 >> 31) ^ tmp1;
337 max |= (tmp2 >> 31) ^ tmp2;
341 max |= (tmp1 >> 31) ^ tmp1;
342 max |= (tmp2 >> 31) ^ tmp2;
361 max |= (tmp1 >> 31) ^ tmp1;
362 max |= (tmp2 >> 31) ^ tmp2;
369 max |= (tmp1 >> 31) ^ tmp1;
370 max |
[all...]
H A Dcalc_auto_corr.cpp149 int64_t max = 0; local
184 max |= temp_r01r ^(temp_r01r >> 63);
185 max |= temp_r02r ^(temp_r02r >> 63);
186 max |= temp_r11r;
187 max |= temp_r12r ^(temp_r12r >> 63);
188 max |= temp_r22r;
190 if (max)
192 temp1 = (UInt32)(max >> 32);
205 temp3 = pv_normalize(((UInt32)max) >> 1) - 2;
276 int64_t max local
[all...]
H A Dimdct_fxp.h111 Int32 max
H A Dlong_term_prediction.cpp51 Add max calculation on the filter implementation, this to eliminate
395 Int32 max = 0; local
496 max |= (test >> 31) ^ test;
528 max |= (test >> 31) ^ test;
559 max |= (test >> 31) ^ test;
633 shift = 16 - pv_normalize(max);
/frameworks/base/media/libstagefright/codecs/amrnb/common/src/
H A Dgmed_n.cpp131 Word16 max;
143 max = -32767;
146 if (sub (tmp2[j], max) >= 0)
148 max = tmp2[j];
189 register Word16 max; local
201 max = -32767;
204 if (*(tmp2 + j) >= max)
206 max = *(tmp2 + j);
/frameworks/base/media/libstagefright/codecs/aacenc/src/
H A Dspreading.c31 * higher frequencies thr(n) = max(thr(n), sh(n)*thr(n-1))
32 * lower frequencies thr(n) = max(thr(n), sl(n)*thr(n+1))
44 pbSpreadedEnergy[i] = max(pbSpreadedEnergy[i],
49 pbSpreadedEnergy[i] = max(pbSpreadedEnergy[i],
/frameworks/base/core/java/android/speech/srec/
H A DUlawEncoderInputStream.java50 byte[] ulawBuf, int ulawOffset, int length, int max) {
76 if (max <= 0) max = MAX_ULAW;
78 int coef = MAX_ULAW * (1 << SCALE_BITS) / max;
121 int max = 0;
125 if (pcm > max) max = pcm;
127 return max;
133 * @param max pcm value corresponding to maximum ulaw value.
135 public UlawEncoderInputStream(InputStream in, int max) { argument
49 encode(byte[] pcmBuf, int pcmOffset, byte[] ulawBuf, int ulawOffset, int length, int max) argument
[all...]
/frameworks/base/media/libstagefright/codecs/amrnb/enc/src/
H A Dcor_h_x.cpp189 Word32 s, y32[L_CODE], max, tot;
197 max = 0;
207 if (L_sub (s, max) > (Word32) 0L)
208 max = s;
210 tot = L_add (tot, L_shr (max, 1));
258 Word32 max; local
269 max = 0;
296 if (s > max)
298 max = s;
302 tot += (max >>
[all...]
H A Dcor_h_x2.cpp173 Word32 s, y32[L_CODE], max, tot;
181 max = 0;
191 if (L_sub (s, max) > (Word32) 0L)
192 max = s;
194 tot = L_add (tot, L_shr (max, 1));
244 Word32 max; local
252 max = 0;
266 if (s > max)
268 max = s;
271 tot = (tot + (max >>
[all...]
/frameworks/base/core/java/android/os/
H A DFileUtils.java171 * @param max length (positive for head, negative of tail, 0 for no limit)
176 public static String readTextFile(File file, int max, String ellipsis) throws IOException { argument
180 if (max > 0 || (size > 0 && max == 0)) { // "head" mode: read the first N bytes
181 if (size > 0 && (max == 0 || size < max)) max = (int) size;
182 byte[] data = new byte[max + 1];
185 if (length <= max) return new String(data, 0, length);
186 if (ellipsis == null) return new String(data, 0, max);
[all...]
/frameworks/base/core/tests/coretests/src/android/app/activity/
H A DSetTimeZonePermissionsTest.java51 int max = (mZones.length > 10) ? mZones.length : 10;
52 assertTrue("No system-defined time zones - test invalid", max > 0);
54 for (int i = 0; i < max; i++) {
/frameworks/base/core/tests/coretests/src/android/view/
H A DBigCacheTest.java58 final int max = ViewConfiguration.get(getActivity()).getScaledMaximumDrawingCacheSize();
59 assertTrue(mTiny.getWidth() * mTiny.getHeight() * 2 < max);
66 final int max = ViewConfiguration.get(getActivity()).getScaledMaximumDrawingCacheSize();
67 assertTrue(mLarge.getWidth() * mLarge.getHeight() * 2 > max);

Completed in 243 milliseconds

12345678