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

1234

/frameworks/base/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/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/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.java37 static boolean serializeViewState(OutputStream stream, WebView web) argument
43 DataOutputStream dos = new DataOutputStream(stream);
51 static DrawData deserializeViewState(InputStream stream, WebView web) argument
53 DataInputStream dis = new DataInputStream(stream);
76 OutputStream stream, byte[] storage);
80 InputStream stream, byte[] storage);
75 nativeSerializeViewState(int baseLayer, OutputStream stream, byte[] storage) argument
79 nativeDeserializeViewState( InputStream stream, byte[] storage) argument
/frameworks/base/libs/rs/
H A DrsAnimation.cpp24 void Animation::serialize(OStream *stream) const {
27 Animation *Animation::createFromStream(Context *rsc, IStream *stream) { argument
H A DrsComponent.cpp239 void Component::serialize(OStream *stream) const {
240 stream->addU8((uint8_t)mType);
241 stream->addU8((uint8_t)mKind);
242 stream->addU8((uint8_t)(mNormalized ? 1 : 0));
243 stream->addU32(mVectorSize);
246 void Component::loadFromStream(IStream *stream) { argument
247 mType = (RsDataType)stream->loadU8();
248 mKind = (RsDataKind)stream->loadU8();
249 uint8_t temp = stream->loadU8();
251 mVectorSize = stream
[all...]
H A DrsScriptC.h56 virtual void serialize(OStream *stream) const { }
58 static Type *createFromStream(Context *rsc, IStream *stream) { return NULL; } argument
H A DrsProgramRaster.cpp56 void ProgramRaster::serialize(OStream *stream) const {
59 ProgramRaster *ProgramRaster::createFromStream(Context *rsc, IStream *stream) { argument
H A DrsSampler.cpp71 void Sampler::serialize(OStream *stream) const {
74 Sampler *Sampler::createFromStream(Context *rsc, IStream *stream) { argument
/frameworks/base/media/libmedia/
H A DIAudioFlingerClient.cpp49 uint32_t stream = *(uint32_t *)param2; local
50 LOGV("ioConfigChanged stream %d", stream);
51 data.writeInt32(stream);
78 uint32_t stream; local
80 stream = data.readInt32();
81 param2 = &stream;
82 LOGV("STREAM_CONFIG_CHANGED stream %d", stream);
/frameworks/base/media/libstagefright/codecs/aacdec/
H A Dsbr_applied.cpp35 SBRBITSTREAM * stream,
157 SBRBITSTREAM * stream,
172 if (stream->NrElements)
178 stream);
197 self->setStreamType = 0; /* Disable Lock for AAC stream type setting */
217 * Do not downgrade stream type from eaac+, if it has been explicitly declared
293 eleChannels = (stream->sbrElement [LEFT].ElementID == SBR_ID_CPE) ? 2 : 1;
156 sbr_applied(SBRDECODER_DATA * self, SBRBITSTREAM * stream, Int16 *ch_left, Int16 *ch_right, Int16 *timeData, SBR_DEC *sbrDec, tDec_Int_File *pVars, Int32 numChannels) argument
H A Dsbr_read_data.cpp35 SBRBITSTREAM * stream,
151 SBRBITSTREAM *stream)
175 bitBuf.char_ptr = stream->sbrElement[0].Data;
176 bitBuf.bufferLen = (stream->sbrElement[0].Payload) << 3;
185 if ((stream->sbrElement[0].ExtensionType == SBR_EXTENSION_CRC) ||
188 int32_t CRCLen = ((stream->sbrElement[0].Payload - 1) << 3) + 4 - SI_SBR_CRC_BITS;
221 switch (stream->sbrElement[0].ElementID)
149 sbr_read_data(SBRDECODER_DATA * self, SBR_DEC * sbrDec, SBRBITSTREAM *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();
H A Djpeg_decoder_bench.cpp35 virtual bool onDecode(SkStream* stream, SkBitmap* bm, Mode);
52 int testDecodeBounds(SkImageDecoder* decoder, SkStream* stream, argument
58 // Decode the input stream and then use the bitmap.
59 if (!decoder->decode(stream, bitmap, prefConfig, decodeMode)) {
69 int testDecodePixels(SkImageDecoder* decoder, SkStream* stream, argument
75 // Decode the input stream and then use the bitmap.
76 if (!decoder->decode(stream, bitmap, prefConfig, decodeMode)) {
88 SkStream* stream = new SkFILEStream(filename); local
90 testDecodePixels(decoder, stream, bitmap);
94 stream
[all...]
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
H A DParserFactory.java46 public static XmlPullParser create(InputStream stream, String name) argument
49 parser.setInput(stream, ENCODING);
/frameworks/base/cmds/screencap/
H A Dscreencap.cpp168 SkDynamicMemoryWStream stream; local
169 SkImageEncoder::EncodeStream(&stream, b,
171 write(fd, stream.getStream(), stream.getOffset());
/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 quiteDispose(InputStream stream) { argument
85 if (null != stream) {
86 stream.close();
93 private static void quiteDispose(OutputStream stream) { argument
95 if (null != stream) {
96 stream.close();
/frameworks/base/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/media/libvideoeditor/vss/common/inc/
H A DM4SYS_AccessUnit.h63 M4SYS_StreamDescription* stream ; member in struct:__anon1463
/frameworks/base/core/java/android/gesture/
H A DGestureStore.java221 public void save(OutputStream stream) throws IOException { argument
222 save(stream, false);
225 public void save(OutputStream stream, boolean closeStream) throws IOException { argument
236 out = new DataOutputStream((stream instanceof BufferedOutputStream) ? stream :
237 new BufferedOutputStream(stream, GestureConstants.IO_BUFFER_SIZE));
274 public void load(InputStream stream) throws IOException { argument
275 load(stream, false);
278 public void load(InputStream stream, boolean closeStream) throws IOException { argument
281 in = new DataInputStream((stream instanceo
[all...]
/frameworks/base/graphics/java/android/graphics/
H A DPicture.java25 * The picture's contents can also be written to a stream, and then later
102 * Create a new picture (already recorded) from the data in the stream. This
105 public static Picture createFromStream(InputStream stream) { argument
107 nativeCreateFromStream(stream, new byte[WORKING_STREAM_STORAGE]));
111 * Write the picture contents to a stream. The data can be used to recreate
114 public void writeToStream(OutputStream stream) { argument
116 if (stream == null) {
119 if (!nativeWriteToStream(mNativePicture, stream,
142 private static native int nativeCreateFromStream(InputStream stream, argument
149 OutputStream stream, byt
148 nativeWriteToStream(int nativePicture, OutputStream stream, byte[] storage) argument
[all...]

Completed in 320 milliseconds

1234