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

/frameworks/base/media/libstagefright/codecs/mp3dec/src/
H A Dpvmp3_decode_header.cpp38 tbits *inputStream, bit stream
115 ERROR_CODE pvmp3_decode_header(tmp3Bits *inputStream, argument
126 if (inputStream->inputBufferCurrentLength < (SYNC_WORD_LNGTH + 21))
134 temp = getUpTo17bits(inputStream, SYNC_WORD_LNGTH);
137 err = pvmp3_header_sync(inputStream);
145 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:__anon376
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/media/java/android/media/
H A DAmrInputStream.java57 * @param inputStream InputStream containing 16 bit PCM.
59 public AmrInputStream(InputStream inputStream) { argument
60 mInputStream = inputStream;
H A DResampleInputStream.java57 * @param inputStream InputStream containing 16 bit PCM.
62 public ResampleInputStream(InputStream inputStream, int rateIn, int rateOut) { argument
68 mInputStream = inputStream;
/frameworks/base/packages/DefaultContainerService/src/com/android/defcontainer/
H A DDefaultContainerService.java230 public static boolean copyToFile(InputStream inputStream, FileOutputStream out) { argument
234 while ((bytesRead = inputStream.read(buffer)) >= 0) {
245 InputStream inputStream = null;
247 inputStream = new FileInputStream(srcFile);
248 return copyToFile(inputStream, out);
252 try { if (inputStream != null) inputStream.close(); } catch (IOException e) {}
/frameworks/base/awt/org/apache/harmony/awt/gl/image/
H A DImageDecoder.java55 protected InputStream inputStream; field in class:ImageDecoder
127 inputStream = is;
133 if (inputStream != null) {
135 inputStream.close();
/frameworks/base/core/java/android/os/
H A DFileUtils.java116 public static boolean copyToFile(InputStream inputStream, File destFile) { argument
125 while ((bytesRead = inputStream.read(buffer)) >= 0) {
/frameworks/base/core/tests/coretests/src/android/pim/vcard/
H A DVCardVerifier.java116 InputStream inputStream = mTestCase.getContext().getResources().openRawResource(resId);
117 if (inputStream == null) {
120 setInputStream(inputStream);
123 private void setInputStream(InputStream inputStream) { argument
129 mInputStream = inputStream;
/frameworks/base/media/libstagefright/codecs/aacdec/
H A Ds_tdec_int_file.h156 BITS inputStream; member in struct:__anon302
/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/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/
H A DBridgeXmlBlockParser.java108 public void setInput(InputStream inputStream, String inputEncoding) argument
110 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
/frameworks/base/media/libdrm/mobile1/src/jni/
H A Ddrm1_jni.c658 jobject inputStream; local
701 inputStream = (*env)->GetObjectField(env, rawContent, field);
704 p->pInData = &inputStream;

Completed in 801 milliseconds