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

12345

/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/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);
78 uint32_t stream; local
80 stream = data.readInt32();
81 param2 = &stream;
82 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
H A DViewStateSerializer.java36 static boolean serializeViewState(OutputStream stream, DrawData draw) argument
42 DataOutputStream dos = new DataOutputStream(stream);
50 static DrawData deserializeViewState(InputStream stream) argument
52 DataInputStream dis = new DataInputStream(stream);
66 stream.close();
80 OutputStream stream, byte[] storage);
84 InputStream stream, byte[] storage);
79 nativeSerializeViewState(int baseLayer, OutputStream stream, byte[] storage) argument
83 nativeDeserializeViewState(int version, InputStream stream, byte[] storage) argument
/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 DrsComponent.cpp246 void Component::serialize(OStream *stream) const {
247 stream->addU8((uint8_t)mType);
248 stream->addU8((uint8_t)mKind);
249 stream->addU8((uint8_t)(mNormalized ? 1 : 0));
250 stream->addU32(mVectorSize);
253 void Component::loadFromStream(IStream *stream) { argument
254 mType = (RsDataType)stream->loadU8();
255 mKind = (RsDataKind)stream->loadU8();
256 uint8_t temp = stream->loadU8();
258 mVectorSize = stream
[all...]
H A DrsScriptC.h53 virtual void serialize(Context *rsc, OStream *stream) const { }
55 static Type *createFromStream(Context *rsc, IStream *stream) { return NULL; } argument
H A DrsProgramRaster.cpp56 void ProgramRaster::serialize(Context *rsc, OStream *stream) const {
59 ProgramRaster *ProgramRaster::createFromStream(Context *rsc, IStream *stream) { argument
H A DrsSampler.cpp71 void Sampler::serialize(Context *rsc, OStream *stream) const {
74 Sampler *Sampler::createFromStream(Context *rsc, IStream *stream) { argument
/frameworks/base/media/tests/omxjpegdecoder/
H A DStreamSource.cpp23 StreamSource::StreamSource(SkStream *stream) argument
24 : mStream(stream) {
25 CHECK(stream != NULL);
26 mSize = stream->getLength();
/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/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/support/renderscript/v8/rs_support/
H A DrsComponent.cpp246 void Component::serialize(OStream *stream) const {
247 stream->addU8((uint8_t)mType);
248 stream->addU8((uint8_t)mKind);
249 stream->addU8((uint8_t)(mNormalized ? 1 : 0));
250 stream->addU32(mVectorSize);
253 void Component::loadFromStream(IStream *stream) { argument
254 mType = (RsDataType)stream->loadU8();
255 mKind = (RsDataKind)stream->loadU8();
256 uint8_t temp = stream->loadU8();
258 mVectorSize = stream
[all...]
H A DrsScriptC.h49 virtual void serialize(Context *rsc, OStream *stream) const { }
51 static Type *createFromStream(Context *rsc, IStream *stream) { return NULL; } argument
/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/libvideoeditor/vss/common/inc/
H A DM4SYS_AccessUnit.h63 M4SYS_StreamDescription* stream ; member in struct:__anon179
/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
142 BitstreamWriteBits(AVCEncBitstream *stream, int nBits, uint code) argument
194 BitstreamWrite1Bit(AVCEncBitstream *stream, uint code) argument
252 byte_aligned(AVCEncBitstream *stream) argument
262 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...]
/frameworks/base/core/java/com/android/internal/util/
H A DProcFileReader.java26 * through the stream using a single space {@code ' '} as token separator, and
42 public ProcFileReader(InputStream stream) throws IOException { argument
43 this(stream, 4096);
46 public ProcFileReader(InputStream stream, int bufferSize) throws IOException { argument
47 mStream = stream;
108 throw new IOException("end of stream while looking for token boundary");
112 * Check if stream has more data to be parsed.
139 throw new IOException("end of stream while looking for line boundary");
/frameworks/base/drm/java/android/drm/
H A DDrmUtils.java83 private static void quietlyDispose(InputStream stream) { argument
85 if (null != stream) {
86 stream.close();
93 private static void quietlyDispose(OutputStream stream) { argument
95 if (null != stream) {
96 stream.close();

Completed in 1018 milliseconds

12345