Searched defs:stream (Results 1 - 25 of 143) sorted by relevance

123456

/frameworks/ex/framesequence/jni/
H A DFrameSequence.cpp21 FrameSequence* FrameSequence::create(Stream* stream) { argument
22 const RegistryEntry* entry = Registry::Find(stream);
26 FrameSequence* frameSequence = entry->createFrameSequence(stream);
H A DRegistry.cpp35 const RegistryEntry* Registry::Find(Stream* stream) { argument
39 headerSize = stream->peek(header, headerSize);
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/
H A Dstream.c18 * File: stream.c *
24 #include "stream.h"
26 void voAWB_InitFrameBuffer(FrameStream *stream) argument
28 stream->set_ptr = NULL;
29 stream->frame_ptr_bk = stream->frame_ptr;
30 stream->set_len = 0;
31 stream->framebuffer_len = 0;
32 stream->frame_storelen = 0;
36 FrameStream *stream,
35 voAWB_UpdateFrameBuffer( FrameStream *stream, VO_MEM_OPERATOR *pMemOP ) argument
50 voAWB_FlushFrameBuffer(FrameStream *stream) argument
[all...]
/frameworks/base/tools/aapt/tests/
H A DTestHelper.h27 inline std::ostream& operator<<(std::ostream& stream, const String8& str) { argument
28 return stream << str.string();
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/
H A Ddec_pred_intra_dc.cpp25 BitstreamDecVideo *stream,
41 status = PV_VlcDecIntraDCPredSize(stream, compnum, &DC_size);
52 code = (int) BitstreamReadBits16_INLINE(stream, DC_size);
66 if (DC_size > 8) BitstreamRead1Bits_INLINE(stream);
23 PV_DecodePredictedIntraDC( int compnum, BitstreamDecVideo *stream, int16 *INTRADC_delta) argument
H A Dbitstream.h33 PV_STATUS BitstreamFillBuffer(BitstreamDecVideo *stream);
34 PV_STATUS BitstreamFillCache(BitstreamDecVideo *stream);
35 void BitstreamReset(BitstreamDecVideo *stream, uint8 *buffer, int32 buffer_size);
36 int BitstreamOpen(BitstreamDecVideo *stream, int layer);
37 void BitstreamClose(BitstreamDecVideo *stream);
39 PV_STATUS BitstreamShowBits32(BitstreamDecVideo *stream, int nbits, uint32 *code);
40 uint32 BitstreamReadBits32(BitstreamDecVideo *stream, int nbits);
42 uint BitstreamReadBits16(BitstreamDecVideo *stream, int nbits);
43 uint BitstreamRead1Bits(BitstreamDecVideo *stream);
45 PV_STATUS BitstreamShowBits16(BitstreamDecVideo *stream, in
51 BitstreamShowBits16(BitstreamDecVideo *stream, int nbits, uint *code) argument
69 BitstreamShow15Bits(BitstreamDecVideo *stream, uint *code) argument
83 BitstreamShow13Bits(BitstreamDecVideo *stream, uint *code) argument
95 BitstreamReadBits16_INLINE(BitstreamDecVideo *stream, int nbits) argument
110 BitstreamRead1Bits_INLINE(BitstreamDecVideo *stream) argument
[all...]
H A Dpacket_util.cpp33 BitstreamDecVideo *stream = video->bitstream; local
47 status = PV_BitstreamShowBitsByteAlign(stream, resync_marker_length, &tmpvar32);
51 // DecNextStartCode(stream);
52 PV_BitstreamByteAlign(stream);
53 BitstreamReadBits32(stream, resync_marker_length);
55 *next_MB = (int) BitstreamReadBits16(stream, nbits);
65 quantizer = (int16) BitstreamReadBits16(stream, currVol->quantPrecision);
72 if (BitstreamRead1Bits(stream))
80 tmpvar16 = BitstreamRead1Bits(stream);
85 BitstreamRead1Bits(stream);
148 BitstreamDecVideo *stream = video->bitstream; local
199 BitstreamDecVideo *stream = video->bitstream; local
[all...]
/frameworks/wilhelm/src/desktop/
H A DSDL.c24 static void SDLCALL SDL_callback(void *context, Uint8 *stream, int len) argument
36 IOutputMixExt_FillBuffer(OutputMixExt, stream, (SLuint32) len);
38 memset(stream, 0, (size_t) len);
/frameworks/av/media/libmedia/
H A DIAudioFlingerClient.cpp49 uint32_t stream = *(const uint32_t *)param2; local
50 ALOGV("ioConfigChanged stream %d", stream);
51 data.writeInt32(stream);
79 uint32_t stream; local
81 stream = data.readInt32();
82 param2 = &stream;
83 ALOGV("STREAM_CONFIG_CHANGED stream %d", stream);
/frameworks/base/core/java/android/webkit/
H A DPluginData.java26 * HTTP response. For this, it needs a stream with the response body,
38 * The content stream.
61 * @param stream The stream that supplies content for the plugin.
73 InputStream stream,
77 mStream = stream;
84 * Returns the input stream that contains the plugin content.
72 PluginData( InputStream stream, long length, Map<String, String[]> headers, int code) argument
/frameworks/base/tools/aapt/
H A DIndentPrinter.h6 IndentPrinter(FILE* stream, int indentSize=2) argument
7 : mStream(stream)
/frameworks/base/tools/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/setup/
H A DLayoutPullParser.java66 private void init(InputStream stream) throws XmlPullParserException { argument
68 setInput(stream, null);
/frameworks/opt/bluetooth/src/android/bluetooth/client/map/
H A DBluetoothMasRequestGetFolderListing.java59 protected void readResponse(InputStream stream) { argument
60 mResponse = new BluetoothMapFolderListing(stream);
H A DBluetoothMasRequestGetMessage.java58 protected void readResponse(InputStream stream) { argument
65 while ((len = stream.read(buf)) != -1) {
/frameworks/rs/
H A DrsAnimation.cpp24 void Animation::serialize(Context *rsc, OStream *stream) const {
27 Animation *Animation::createFromStream(Context *rsc, IStream *stream) { argument
H A DrsScriptC.h62 virtual void serialize(Context *rsc, OStream *stream) const { }
64 static Type *createFromStream(Context *rsc, IStream *stream) { return NULL; } argument
H A DrsComponent.cpp259 void Component::serialize(OStream *stream) const {
260 stream->addU8((uint8_t)mType);
261 stream->addU8((uint8_t)mKind);
262 stream->addU8((uint8_t)(mNormalized ? 1 : 0));
263 stream->addU32(mVectorSize);
266 void Component::loadFromStream(IStream *stream) { argument
267 mType = (RsDataType)stream->loadU8();
268 mKind = (RsDataKind)stream->loadU8();
269 uint8_t temp = stream->loadU8();
271 mVectorSize = stream
[all...]
/frameworks/base/core/jni/android/graphics/
H A DPicture.cpp77 Picture* Picture::CreateFromStream(SkStream* stream) { argument
80 newPict->mPicture.reset(SkPicture::CreateFromStream(stream));
89 void Picture::serialize(SkWStream* stream) const {
92 tempPict->serialize(stream);
94 mPicture->serialize(stream);
97 empty.serialize(stream);
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
H A DParserFactory.java44 InputStream stream = new FileInputStream(f);
45 return create(stream, f.getName(), f.length());
48 public static XmlPullParser create(InputStream stream, String name) argument
50 return create(stream, name, -1);
53 private static XmlPullParser create(InputStream stream, String name, long size) argument
57 stream = readAndClose(stream, name, size);
59 parser.setInput(stream, ENCODING);
74 private static InputStream readAndClose(InputStream stream, String name, long size) argument
83 BufferedInputStream bufferedStream = new BufferedInputStream(stream);
[all...]
/frameworks/opt/bluetooth/src/android/bluetooth/client/pbap/
H A DBluetoothPbapRequestPullVcardEntry.java64 protected void readResponse(InputStream stream) throws IOException { argument
67 mResponse = new BluetoothPbapVcardList(stream, mFormat);
/frameworks/support/v4/java/android/support/v4/util/
H A DAtomicFile.java116 * Call when you have successfully finished writing to the stream
119 * will return the new file stream.
134 * Call when you have failed for some reason at writing to the stream
136 * write stream, and roll back to the previous state of the file.
176 FileInputStream stream = openRead();
179 int avail = stream.available();
182 int amt = stream.read(data, pos, data.length-pos);
191 avail = stream.available();
199 stream.close();
203 static boolean sync(FileOutputStream stream) { argument
[all...]
/frameworks/av/media/libnbaio/
H A DAudioStreamInSource.cpp26 AudioStreamInSource::AudioStreamInSource(audio_stream_in *stream) : argument
28 mStream(stream),
33 ALOG_ASSERT(stream != NULL);
H A DAudioStreamOutSink.cpp25 AudioStreamOutSink::AudioStreamOutSink(audio_stream_out *stream) : argument
27 mStream(stream),
30 ALOG_ASSERT(stream != NULL);
/frameworks/av/media/libstagefright/codecs/avc/enc/src/
H A Dbitstream_io.cpp45 AVCEnc_Status BitstreamEncInit(AVCEncBitstream *stream, uint8 *buffer, int buf_size, argument
48 if (stream == NULL || buffer == NULL || buf_size <= 0)
53 stream->bitstreamBuffer = buffer;
55 stream->buf_size = buf_size;
57 stream->write_pos = 0;
59 stream->count_zeros = 0;
61 stream->current_word = 0;
63 stream->bit_left = WORD_SIZE;
65 stream->overrunBuffer = overrunBuffer;
67 stream
82 AVCBitstreamSaveWord(AVCEncBitstream *stream) argument
145 BitstreamWriteBits(AVCEncBitstream *stream, int nBits, uint code) argument
197 BitstreamWrite1Bit(AVCEncBitstream *stream, uint code) argument
255 byte_aligned(AVCEncBitstream *stream) argument
265 AVCBitstreamUseOverrunBuffer(AVCEncBitstream* stream, int numExtraBytes) argument
[all...]
H A Dheader.cpp25 AVCEnc_Status EncodeSPS(AVCEncObject *encvid, AVCEncBitstream *stream) argument
35 status = BitstreamWriteBits(stream, 8, seqParam->profile_idc);
36 status = BitstreamWrite1Bit(stream, seqParam->constrained_set0_flag);
37 status = BitstreamWrite1Bit(stream, seqParam->constrained_set1_flag);
38 status = BitstreamWrite1Bit(stream, seqParam->constrained_set2_flag);
39 status = BitstreamWrite1Bit(stream, seqParam->constrained_set3_flag);
40 status = BitstreamWriteBits(stream, 4, 0); /* forbidden zero bits */
46 status = BitstreamWriteBits(stream, 8, seqParam->level_idc);
47 status = ue_v(stream, seqParam->seq_parameter_set_id);
48 status = ue_v(stream, seqPara
113 EncodeVUI(AVCEncBitstream* stream, AVCVUIParams* vui) argument
200 EncodeHRD(AVCEncBitstream* stream, AVCHRDParams* hrd) argument
227 EncodePPS(AVCEncObject *encvid, AVCEncBitstream *stream) argument
316 EncodeSliceHeader(AVCEncObject *encvid, AVCEncBitstream *stream) argument
506 ref_pic_list_reordering(AVCCommonObj *video, AVCEncBitstream *stream, AVCSliceHeader *sliceHdr, int slice_type) argument
587 dec_ref_pic_marking(AVCCommonObj *video, AVCEncBitstream *stream, AVCSliceHeader *sliceHdr) argument
[all...]

Completed in 488 milliseconds

123456