/external/webp/src/enc/ |
frame.c | 4 // that can be found in the COPYING file in the root of the source 6 // in the file PATENTS. All contributing project authors may 7 // be found in the AUTHORS file in the root of the source tree. 30 // we allow 2k of extra head-room in PARTITION0 limit. 33 typedef struct { // struct for organizing convergence in either size or PSNR 52 : 40.; // default, just in case 476 const uint8_t* const in = it->yuv_in_; local 478 // Note: not totally accurate at boundary. And doesn't include in-loop filter [all...] |
/frameworks/av/media/libeffects/lvm/wrapper/Bundle/ |
EffectBundle.cpp | 6 * you may not use this file except in compliance with the License. 11 * Unless required by applicable law or agreed to in writing, software 38 "null pointer returned by %s in %s\n\n\n\n", callingFunc, calledFunc);\ 42 "bad alignment returned by %s in %s\n\n\n\n", callingFunc, calledFunc);\ 46 "bad number of samples returned by %s in %s\n\n\n\n", callingFunc, calledFunc);\ 50 "out of range returned by %s in %s\n", callingFunc, calledFunc);\ 207 // If this is the first create in this session 209 ALOGV("\tEffectCreate - This is the first effect in current sessionId %d sessionNo %d", 254 /* Saved strength is used to return the exact strength that was used in the set to the get 395 // Disable effect, in this case ignore errors (return codes 2838 LVM_INT16 *in = (LVM_INT16 *)inBuffer->raw; local [all...] |
/frameworks/av/media/libmediaplayerservice/nuplayer/ |
NuPlayer.cpp | 5 * you may not use this file except in compliance with the License. 10 * Unless required by applicable law or agreed to in writing, software 145 // Use this if there's no state necessary to save in order to execute 253 // The correct flags will be updated in Source::kWhatFlagsChanged 531 msg->post(1000000ll); // poll again in a second. 559 // If the video decoder is not set (perhaps audio only in this case) 814 getDecoder(audio)->initiateShutdown(); // In the middle of a seek. 1922 Parcel in; local [all...] |
/frameworks/av/services/audioflinger/ |
AudioMixer.cpp | 6 ** you may not use this file except in compliance with the License. 11 ** Unless required by applicable law or agreed to in writing, software 81 // Set to default copy buffer size in frames for input processing. 193 bufferFrameCount) // set bufferFrameCount to 0 to do in-place 291 // may be in-place if src == dst. 297 /* call once in a pthread_once handler. */ 344 // TODO: consider channel representation in index array formulation 379 // The value of 1 << x is undefined in C when x >= 32. 486 t->in = NULL; 731 * even if there is a nonzero floating point increment (in that case, the volum 1325 const int16_t *in = static_cast<const int16_t *>(t->in); local 1417 const int16_t *in = static_cast<int16_t const *>(t->in); local 1752 const int16_t *in = b.i16; local 1989 const TI *in = reinterpret_cast<TI*>(b.raw); local 2064 const TI *in = static_cast<const TI *>(t->in); local [all...] |
AudioMixer.h | 6 ** you may not use this file except in compliance with the License. 11 ** Unless required by applicable law or agreed to in writing, software 33 // FIXME This is actually unity gain, which might not be max in future, expressed in U.12 87 // parameter 'value' is the new sample rate in Hz. 198 const void* in; // current location in buffer member in struct:android::AudioMixer::track_t 259 // It handles a private buffer for use in converting format or channel masks from the 266 // If bufferFrameCount is 0, no private buffer is created and in-place modification of 283 // #frames in the *src pointer to the *dst pointer. It is public becaus [all...] |
Effects.cpp | 6 ** you may not use this file except in compliance with the License. 11 ** Unless required by applicable law or agreed to in writing, software 34 // Note: the following macro is used for extremely verbose logging message. In 121 // first non destroyed handle is considered in control 129 // if inserted in first place, move effect control from previous owner to this handle 141 ALOGV("addHandle() %p added handle %p in position %d", this, handle, i); 159 ALOGV("removeHandle() %p removed handle %p in position %d", this, handle, i); 162 // if removed from first place, move effect control from this handle to next in line 183 // the first valid handle in the list has control over the module 279 // do the actual processing in the effect engin 301 int16_t *in = mConfig.inputCfg.buffer.s16; local [all...] |
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/ |
CodecTest.java | 5 * you may not use this file except in compliance with the License. 10 * Unless required by applicable law or agreed to in writing, software 75 InputStream in = p.getInputStream(); local 77 while ( ( ch = in.read() ) != -1 ){ 184 //in here
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/performance/ |
MediaPlayerPerformance.java | 5 * use this file except in compliance with the License. You may obtain a copy of 10 * Unless required by applicable law or agreed to in writing, software 163 // preview callbacks in the queue after quit is called. The preview 327 InputStream in = p.getInputStream(); local 329 while ((ch = in.read()) != -1) { 339 // media.log process in the first line. Update the parsing
|
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ui/ |
FusedPrintersProvider.java | 5 * you may not use this file except in compliance with the License. 10 * Unless required by applicable law or agreed to in writing, software 214 // Some of the found printers may have be a printer that is in the 552 final FileInputStream in; local 554 in = mStatePersistFile.openRead(); 565 parser.setInput(in, null); 578 IoUtils.closeQuietly(in);
|
/frameworks/base/services/backup/java/com/android/server/backup/ |
PackageManagerBackupAgent.java | 5 * you may not use this file except in compliance with the License. 10 * Unless required by applicable law or agreed to in writing, software 79 // version & signature info of each app in a restore set 110 // in backup. This set changes as apps are installed & removed. 247 * String incremental -- the incremental release name of the OS stored in 285 // metadata again. In either case, take it out of mExisting so that 308 // marshal the version code in a canonical form 325 // At this point, the only entries in 'existing' are apps that were 326 // mentioned in the saved state file, but appear to no longer be present 354 // set of app signatures associated with each backed-up app in this restor 523 DataInputStream in = new DataInputStream(inbuffer); local [all...] |
/frameworks/base/services/core/java/com/android/server/display/ |
AutomaticBrightnessController.java | 5 * you may not use this file except in compliance with the License. 10 * Unless required by applicable law or agreed to in writing, software 55 // Light sensor event rate in milliseconds. 58 // Period of time in which to consider light samples in milliseconds. 61 // Stability requirements in milliseconds for accepting a new brightness level. This is used 64 // brightness changes occur in response to an observed change in light level that exceeds the 75 // The intercept used for the weighting calculation. This is used in order to keep all possible 81 // non-zero, which in turn ensures that the total weight is non-zero 466 final float in = value; local [all...] |
/frameworks/base/services/core/java/com/android/server/net/ |
NetworkStatsCollection.java | 5 * you may not use this file except in compliance with the License. 10 * Unless required by applicable law or agreed to in writing, software 103 * Return first atomic bucket in this collection, which is more conservative 135 * Combine all {@link NetworkStatsHistory} in this collection which match 144 * Combine all {@link NetworkStatsHistory} in this collection which match 164 * Summarize all {@link NetworkStatsHistory} in this collection which match 228 * Record all {@link NetworkStatsHistory} contained in the given collection 261 public void read(InputStream in) throws IOException { 262 read(new DataInputStream(in)); 265 public void read(DataInputStream in) throws IOException 336 DataInputStream in = null; local 375 DataInputStream in = null; local [all...] |
/frameworks/native/opengl/libagl/ |
primitives.cpp | 6 ** you may not use this file except in compliance with the License. 11 ** Unless required by applicable law or agreed to in writing, software 601 // in a few cases we won't render the triangle (if culled). 866 // original list of vertices (polygon to clip, in fact this 868 vertex_t* in[3] = { v0, v1, v2 }; local 877 vertex_t** ivl = in; 879 // 3 input vertices, 0 in the output list, first plane 882 // User clip-planes first, the clipping is always done in eye-coordinate [all...] |
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/common/x86/ |
vp9_loopfilter_intrin_sse2.c | 5 * that can be found in the LICENSE file in the root of the source 7 * in the file PATENTS. All contributing project authors may 8 * be found in the AUTHORS file in the root of the source tree. 1539 unsigned char *in = src[idx8x8]; local [all...] |
/hardware/libhardware/modules/usbaudio/ |
audio_hw.c | 5 * you may not use this file except in compliance with the License. 10 * Unless required by applicable law or agreed to in writing, software 93 size_t conversion_buffer_size; /* in bytes */ 112 /* We may need to read more data from the device in order to data reduce to 16bit, 4chan */ 116 size_t conversion_buffer_size; /* in bytes */ 125 * num_in_samples size of input buffer in SAMPLES 132 * This conversion is safe to do in-place (in_buff == out_buff). 139 * Move from front to back so that the conversion can be done in-place 142 /* we need 2 bytes in the output for every 3 bytes in the input * 627 const struct stream_in * in = ((const struct stream_in*)stream); local 633 const struct stream_in *in = (const struct stream_in*)stream; local 660 struct stream_in *in = (struct stream_in *)stream; local 685 struct stream_in *in = (struct stream_in *)stream; local 735 struct stream_in *in = (struct stream_in *)stream; local 780 struct stream_in * in = (struct stream_in *)stream; local 897 struct stream_in *in = (struct stream_in *)calloc(1, sizeof(struct stream_in)); local 983 struct stream_in *in = (struct stream_in *)stream; local [all...] |
/hardware/qcom/audio/hal/ |
audio_hw.h | 5 * you may not use this file except in compliance with the License. 10 * Unless required by applicable law or agreed to in writing, software 181 struct stream_in *in; member in union:stream_ptr
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/math/ |
BigDecimalTest.java | 6 * (the "License"); you may not use this file except in compliance with 11 * Unless required by applicable law or agreed to in writing, software 115 * BigDecimal does not support a + sign in the exponent when converting 731 assertTrue("123E-104 is not positive in signum()", sign.signum() == 1); 733 assertTrue("-1234.3959 is not negative in signum()", 736 assertTrue("000D is not zero in signum()", sign.signum() == 0); 884 char[] in = { '1', '5', '6', '7', '8', '7', '.', '0', '0' }; local [all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/charset/ |
CharsetTest.java | 5 * (the "License"); you may not use this file except in compliance with 10 * Unless required by applicable law or agreed to in writing, software 175 // This test uses REPLACE mode, so we get the U+FFFD replacement character in the result. 177 // Accepts a big-endian BOM and includes U+FEFF in the decoded output. 187 // Accepts a little-endian BOM and includes U+FEFF in the decoded output. 190 // This test uses REPLACE mode, so we get the U+FFFD replacement character in the result. 224 // This test uses REPLACE mode, so we get the U+FFFD replacement character in the result. 239 // This test uses REPLACE mode, so we get the U+FFFD replacement character in the result. 250 // This test uses REPLACE mode, so we get the U+FFFD replacement character in the result. 265 // This test uses REPLACE mode, so we get the U+FFFD replacement character in the result 287 ByteBuffer in = ByteBuffer.wrap(toByteArray(byteInts)); local [all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/ |
MessageFormatTest.java | 6 * (the "License"); you may not use this file except in compliance with 11 * Unless required by applicable law or agreed to in writing, software 56 ObjectInputStream in = new ObjectInputStream( local 58 MessageFormat read = (MessageFormat) in.readObject(); [all...] |
/libcore/luni/src/main/java/java/math/ |
BigInteger.java | 6 * (the "License"); you may not use this file except in compliance with 11 * Unless required by applicable law or agreed to in writing, software 30 * This implementation is efficient for operations traditionally used in 35 * This API includes operations for bitwise operations in two's complement 53 /** The magnitude of this in the little-endian representation. */ 57 * The length of this in measured in ints. Can be less than 77 /** All the {@code BigInteger} numbers in the range [0,10] are cached. */ 120 * Constructs a random non-negative {@code BigInteger} instance in the range 123 * @param numBits maximum length of the new {@code BigInteger} in bits [all...] |
/libcore/luni/src/main/java/java/net/ |
URI.java | 6 * (the "License"); you may not use this file except in compliance with 11 * Unless required by applicable law or agreed to in writing, software 102 * characters must first be <i>encoded</i> before they can be embedded in a URI. 110 * <tr><td>Scheme </td><td>{@code 0-9}, {@code a-z}, {@code A-Z}, {@code +-.} </td><td>First character must be in {@code a-z}, {@code A-Z}</td><td> </td><td>{@code http}</td></tr> 160 * <li>Unreserved characters in <a href="http://www.ietf.org/rfc/rfc2396.txt">RFC 2396</a>. 263 // check for IPv6 addresses that hasn't been enclosed in square brackets 419 throw new URISyntaxException(uri, "Illegal character in scheme", 0); 499 // fill in the userInfo, host and port fields 511 throw new URISyntaxException(uri, "Illegal character in userInfo", index + i); 541 throw new URISyntaxException(host, "Illegal character in host name", 0) [all...] |
URLClassLoader.java | 6 * (the "License"); you may not use this file except in compliance with 11 * Unless required by applicable law or agreed to in writing, software 52 * URLs contained in the URL search list. 72 BufferedReader in = null; local 79 in = new BufferedReader(new InputStreamReader(is, StandardCharsets.UTF_8)); 82 if (in.readLine() == null) return null; 83 if (in.readLine() == null) return null; 86 String line = in.readLine(); 92 line = in.readLine(); 117 IoUtils.closeQuietly(in); [all...] |
/libcore/luni/src/main/java/java/security/ |
Provider.java | 6 * (the "License"); you may not use this file except in compliance with 11 * Unless required by applicable law or agreed to in writing, software 39 * {@code Provider} is the abstract superclass for all security providers in the 768 * These attributes should be placed in each Provider object: 780 * Returns the property with the specified key in the provider properties. 802 * {@code Service} represents a service in the Java Security infrastructure. [all...] |
/libcore/luni/src/main/java/org/apache/harmony/xml/ |
ExpatParser.java | 5 * you may not use this file except in compliance with the License. 10 * Unless required by applicable law or agreed to in writing, software 44 private static final int BUFFER_SIZE = 8096; // in bytes 73 /** Timeout for HTTP connections (in ms) */ 292 * Downloading external entities by default would result in several 354 InputStream in = inputSource.getByteStream(); local 355 if (in != null) { 359 entityParser.parseFragment(in); 363 IoUtils.closeQuietly(in); 376 in = openUrl(systemId) [all...] |
/libcore/luni/src/test/java/libcore/xml/ |
ExpatSaxParserTest.java | 5 * you may not use this file except in compliance with the License. 10 * Unless required by applicable law or agreed to in writing, software 360 Reader in = new StringReader(s); local 366 reader.parse(new InputSource(in)); 459 Reader in = new StringReader( local 467 reader.parse(new InputSource(in)); 496 Reader in = new StringReader( local 504 reader.parse(new InputSource(in)); 566 Reader in = new StringReader("<?xml version=\"1.0\"?>\n" local 579 reader.parse(new InputSource(in)); 612 Reader in = new StringReader("<?xml version=\\"1.0\\"?>\\n" local [all...] |