Searched defs:inputStream (Results 1 - 25 of 28) sorted by relevance

12

/frameworks/av/media/libstagefright/codecs/mp3dec/src/
H A Dpvmp3_decode_header.cpp38 tbits *inputStream, bit stream
115 ERROR_CODE pvmp3_decode_header(tmp3Bits *inputStream, argument
128 if (inputStream->inputBufferCurrentLength < ((SYNC_WORD_LNGTH + 21) >> 3))
136 temp = getUpTo17bits(inputStream, SYNC_WORD_LNGTH);
139 err = pvmp3_header_sync(inputStream);
147 temp = getNbits(inputStream, 21); // to avoid multiple bitstream accesses
H A Dpvmp3_get_side_info.cpp114 ERROR_CODE pvmp3_get_side_info(tmp3Bits *inputStream, argument
128 tmp = getbits_crc(inputStream, 14, crc, info->error_protection);
134 tmp = getbits_crc(inputStream, 12, crc, info->error_protection);
142 tmp = getbits_crc(inputStream, 4, crc, info->error_protection);
153 si->ch[ch].gran[gr].part2_3_length = getbits_crc(inputStream, 12, crc, info->error_protection);
154 tmp = getbits_crc(inputStream, 22, crc, info->error_protection);
163 tmp = getbits_crc(inputStream, 22, crc, info->error_protection);
195 tmp = getbits_crc(inputStream, 22, crc, info->error_protection);
207 tmp = getbits_crc(inputStream, 3, crc, info->error_protection);
216 si->main_data_begin = getbits_crc(inputStream,
[all...]
H A Dpvmp3_crc.cpp44 tbits *inputStream, bit stream structure
123 uint32 getbits_crc(tmp3Bits *inputStream, /* bit stream structure */ argument
128 uint32 bits = getNbits(inputStream, neededBits);
H A Ds_tmp3dec_file.h96 tmp3Bits inputStream; member in struct:__anon462
H A Dpvmp3_seek_synch.cpp140 pVars->inputStream.pBuffer = pExt->pInputBuffer;
141 pVars->inputStream.usedBits = (pExt->inputBufferUsedLength << 3); // in bits
144 pVars->inputStream.inputBufferCurrentLength = (pExt->inputBufferCurrentLength); // in bits
146 err = pvmp3_header_sync(&pVars->inputStream);
153 uint32 temp = getNbits(&pVars->inputStream, 21);
155 pVars->inputStream.usedBits -= 21 + SYNC_WORD_LNGTH;
193 if (numBytes > (int32)pVars->inputStream.inputBufferCurrentLength)
199 else if (numBytes == (int32)pVars->inputStream.inputBufferCurrentLength)
202 pExt->inputBufferUsedLength = pVars->inputStream.usedBits >> 3;
208 int32 offset = pVars->inputStream
282 pvmp3_header_sync(tmp3Bits *inputStream) argument
[all...]
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/exif/
H A DExifReader.java38 * Parses the inputStream and and returns the EXIF data in an
44 protected ExifData read(InputStream inputStream) throws ExifInvalidFormatException, argument
46 ExifParser parser = ExifParser.parse(inputStream, mInterface);
H A DExifParser.java201 private ExifParser(InputStream inputStream, int options, ExifInterface iRef) argument
203 if (inputStream == null) {
204 throw new IOException("Null argument inputStream to ExifParser");
210 mContainExifData = seekTiffData(inputStream);
211 mTiffStream = new CountedDataInputStream(inputStream);
239 protected static ExifParser parse(InputStream inputStream, int options, ExifInterface iRef) argument
241 return new ExifParser(inputStream, options, iRef);
252 protected static ExifParser parse(InputStream inputStream, ExifInterface iRef) argument
254 return new ExifParser(inputStream, OPTION_IFD_0 | OPTION_IFD_1
752 private boolean seekTiffData(InputStream inputStream) throw argument
[all...]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/test/
H A DTestConferenceEventPackageParser.java74 * @param inputStream The input stream.
76 public TestConferenceEventPackageParser(InputStream inputStream) { argument
77 mInputStream = inputStream;
/frameworks/opt/bitmap/src/com/android/bitmap/util/
H A DExif.java34 * @param inputStream The input stream will not be closed for you.
39 public static int getOrientation(final InputStream inputStream, final long byteSize) { argument
40 if (inputStream == null) {
71 final InputStreamBuffer jpeg = new InputStreamBuffer(inputStream, lookAhead, false);
H A DInputStreamBuffer.java85 * @param inputStream The input stream to wrap. The input stream will not be closed by the
97 public InputStreamBuffer(final InputStream inputStream, int bufferSize, argument
99 mInputStream = inputStream;
/frameworks/opt/photoviewer/src/com/android/ex/photo/util/
H A DExif.java29 * @param inputStream The input stream will not be closed for you.
34 public static int getOrientation(final InputStream inputStream, final long byteSize) { argument
35 if (inputStream == null) {
66 final InputStreamBuffer jpeg = new InputStreamBuffer(inputStream, lookAhead, false);
H A DInputStreamBuffer.java85 * @param inputStream The input stream to wrap. The input stream will not be closed by the
97 public InputStreamBuffer(final InputStream inputStream, int bufferSize, argument
99 mInputStream = inputStream;
/frameworks/base/media/java/android/media/
H A DAmrInputStream.java54 * @param inputStream InputStream containing 16 bit PCM.
56 public AmrInputStream(InputStream inputStream) { argument
57 mInputStream = inputStream;
H A DResampleInputStream.java54 * @param inputStream InputStream containing 16 bit PCM.
59 public ResampleInputStream(InputStream inputStream, int rateIn, int rateOut) { argument
65 mInputStream = inputStream;
/frameworks/base/packages/services/Proxy/src/com/android/proxyhandler/
H A DProxyServer.java161 private String getLine(InputStream inputStream) throws IOException { argument
163 int byteBuffer = inputStream.read();
169 byteBuffer = inputStream.read();
/frameworks/ex/framesequence/jni/
H A DStream.h68 JavaInputStream(JNIEnv* env, jobject inputStream, jbyteArray byteArray) : argument
70 mInputStream(inputStream),
/frameworks/base/services/core/java/com/android/server/
H A DPersistentDataBlockService.java137 private int getTotalDataSizeLocked(DataInputStream inputStream) throws IOException { argument
139 inputStream.skipBytes(DIGEST_SIZE_BYTES);
142 int blockId = inputStream.readInt();
144 totalDataSize = inputStream.readInt();
204 DataInputStream inputStream;
206 inputStream = new DataInputStream(new FileInputStream(new File(mDataBlockFile)));
218 IoUtils.closeQuietly(inputStream);
224 inputStream.read(storedDigest);
226 inputStream.skipBytes(DIGEST_SIZE_BYTES);
232 while ((read = inputStream
[all...]
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
H A DResourceHelper.java278 private static Drawable getNinePatchDrawable(InputStream inputStream, Density density, argument
289 NinePatch ninePatch = NinePatch.load(inputStream, true /*is9Patch*/,
/frameworks/av/media/libstagefright/codecs/amrwbenc/inc/
H A Dcod_main.h87 unsigned char *inputStream; member in struct:__anon395
/frameworks/base/core/java/android/os/
H A DFileUtils.java181 public static boolean copyToFile(InputStream inputStream, File destFile) { argument
190 while ((bytesRead = inputStream.read(buffer)) >= 0) {
/frameworks/base/sax/tests/saxtests/src/android/sax/
H A DSafeSaxTest.java172 private static void pureSaxTest(InputStream inputStream) throws IOException, SAXException { argument
175 Xml.parse(inputStream, Xml.Encoding.UTF_8, new YouTubeContentHandler(videoAdapter));
180 private static void saxyModelTest(InputStream inputStream) throws IOException, SAXException { argument
183 Xml.parse(inputStream, Xml.Encoding.UTF_8, newContentHandler(videoAdapter));
188 private static void saxyModelTest(InputStream inputStream, ContentHandler contentHandler) argument
191 Xml.parse(inputStream, Xml.Encoding.UTF_8, contentHandler);
/frameworks/opt/vcard/tests/src/com/android/vcard/tests/testutils/
H A DVCardVerifier.java137 final InputStream inputStream =
139 if (inputStream == null) {
142 setInputStream(inputStream);
145 private void setInputStream(InputStream inputStream) { argument
151 mInputStream = inputStream;
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
H A DGraphReader.java463 public void parseInput(InputStream inputStream, CommandStack commandStack) argument
467 reader.parse(new InputSource(inputStream));
567 InputStream inputStream = context.getApplicationContext().getResources()
571 reader.parseInput(inputStream, commands);
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
H A DBridgeXmlBlockParser.java137 public void setInput(InputStream inputStream, String inputEncoding) argument
139 mParser.setInput(inputStream, inputEncoding);
/frameworks/base/core/java/android/content/res/
H A DXmlBlock.java111 public void setInput(InputStream inputStream, String inputEncoding) throws XmlPullParserException { argument

Completed in 4253 milliseconds

12