Searched refs:stream (Results 1 - 25 of 306) sorted by relevance

1234567891011>>

/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 Dbitstream.cpp49 PV_STATUS BitstreamFillCache(BitstreamDecVideo *stream) argument
51 uint8 *bitstreamBuffer = stream->bitstreamBuffer;
55 stream->curr_word |= (stream->next_word >> stream->incnt); // stream->incnt cannot be 32
56 stream->next_word <<= (31 - stream->incnt);
57 stream->next_word <<= 1;
58 num_bits = stream
124 BitstreamReset(BitstreamDecVideo *stream, uint8 *buffer, int32 buffer_size) argument
140 BitstreamOpen(BitstreamDecVideo *stream, int) argument
175 BitstreamShowBits32HC(BitstreamDecVideo *stream, uint32 *code) argument
193 BitstreamShowBits32(BitstreamDecVideo *stream, int nbits, uint32 *code) argument
215 BitstreamShowBits16(BitstreamDecVideo *stream, int nbits, uint *code) argument
238 BitstreamShow15Bits(BitstreamDecVideo *stream, uint *code) argument
257 BitstreamShow13Bits(BitstreamDecVideo *stream, uint *code) argument
270 BitstreamReadBits16_INLINE(BitstreamDecVideo *stream, int nbits) argument
286 BitstreamRead1Bits_INLINE(BitstreamDecVideo *stream) argument
311 BitstreamReadBits16(BitstreamDecVideo *stream, int nbits) argument
333 BitstreamRead1Bits(BitstreamDecVideo *stream) argument
355 PV_BitstreamFlushBitsCheck(BitstreamDecVideo *stream, int nbits) argument
382 BitstreamReadBits32(BitstreamDecVideo *stream, int nbits) argument
396 BitstreamReadBits32HC(BitstreamDecVideo *stream) argument
415 BitstreamCheckEndBuffer(BitstreamDecVideo *stream) argument
422 PV_BitstreamShowBitsByteAlign(BitstreamDecVideo *stream, int nbits, uint32 *code) argument
441 PV_BitstreamShowBitsByteAlignNoForceStuffing(BitstreamDecVideo *stream, int nbits, uint32 *code) argument
460 PV_BitstreamByteAlign(BitstreamDecVideo *stream) argument
487 BitstreamByteAlignNoForceStuffing(BitstreamDecVideo *stream) argument
513 getPointer(BitstreamDecVideo *stream) argument
529 movePointerTo(BitstreamDecVideo *stream, int32 pos) argument
565 validStuffing(BitstreamDecVideo *stream) argument
577 validStuffing_h263(BitstreamDecVideo *stream) argument
603 PVSearchNextH263Frame(BitstreamDecVideo *stream) argument
632 PVSearchNextM4VFrame(BitstreamDecVideo *stream) argument
652 PVLocateM4VFrameBoundary(BitstreamDecVideo *stream) argument
663 PVLocateH263FrameBoundary(BitstreamDecVideo *stream) argument
682 quickSearchVideoPacketHeader(BitstreamDecVideo *stream, int marker_length) argument
706 quickSearchH263SliceHeader(BitstreamDecVideo *stream) argument
784 quickSearchMotionMarker(BitstreamDecVideo *stream) argument
875 quickSearchDCM(BitstreamDecVideo *stream) argument
950 quickSearchGOBHeader(BitstreamDecVideo *stream) argument
[all...]
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 Dvlc_decode.h94 PV_STATUS DecodeUserData(BitstreamDecVideo *stream);
96 PV_STATUS PV_DecodeMBVec(BitstreamDecVideo *stream, MOT *mv_x, MOT *mv_y, int f_code_f);
99 PV_STATUS PV_VlcDecMV(BitstreamDecVideo *stream, int *mv);
100 int PV_VlcDecMCBPC_com_intra(BitstreamDecVideo *stream);
101 int PV_VlcDecMCBPC_com_inter(BitstreamDecVideo *stream);
103 int PV_VlcDecMCBPC_com_inter_H263(BitstreamDecVideo *stream);
104 PV_STATUS VlcDecTCOEFShortHeader_AnnexI(BitstreamDecVideo *stream, Tcoef *pTcoef);
105 PV_STATUS VlcDecTCOEFShortHeader_AnnexT(BitstreamDecVideo *stream, Tcoef *pTcoef); /* ANNEX_T */
106 PV_STATUS VlcDecTCOEFShortHeader_AnnexIT(BitstreamDecVideo *stream, Tcoef *pTcoef);
108 int PV_VlcDecCBPY(BitstreamDecVideo *stream, in
[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...]
H A Dvop.cpp84 BitstreamDecVideo *stream; local
97 stream = currVol->bitstream;
101 status = BitstreamShowBits32HC(stream, &startCode);
107 (void) BitstreamReadBits32HC(stream);
108 tmpvar = (uint32) BitstreamReadBits16(stream, 8); /* profile */
142 status = BitstreamShowBits32HC(stream, &tmpvar);
146 status = DecodeUserData(stream);
150 BitstreamShowBits32HC(stream, &tmpvar);
156 status = PVSearchNextM4VFrame(stream); /* search 0x00 0x00 0x01 */
158 BitstreamShowBits32(stream, VOL_START_CODE_LENGT
742 DecodeGOVHeader(BitstreamDecVideo *stream, uint32 *time_base) argument
810 BitstreamDecVideo *stream = currVol->bitstream; local
1020 BitstreamDecVideo *stream = currVol->bitstream; local
[all...]
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 Dvlc_decode.cpp103 PV_STATUS DecodeUserData(BitstreamDecVideo *stream) argument
108 BitstreamReadBits32HC(stream);
109 BitstreamShowBits32(stream, 24, &code);
114 BitstreamReadBits16(stream, 8);
115 BitstreamShowBits32(stream, 24, &code);
116 status = BitstreamCheckEndBuffer(stream);
135 BitstreamDecVideo *stream = video->bitstream; local
164 status = PV_VlcDecMV(stream, &vlc_code_mag);
174 status = PV_VlcDecMV(stream, &vlc_code_mag);
191 status = PV_VlcDecMV(stream,
267 PV_DecodeMBVec(BitstreamDecVideo *stream, MOT *mv_x, MOT *mv_y, int f_code_f) argument
452 PV_VlcDecMV(BitstreamDecVideo *stream, int *mv) argument
503 PV_VlcDecMCBPC_com_intra(BitstreamDecVideo *stream) argument
536 PV_VlcDecMCBPC_com_inter(BitstreamDecVideo *stream) argument
557 PV_VlcDecMCBPC_com_inter_H263(BitstreamDecVideo *stream) argument
590 PV_VlcDecCBPY(BitstreamDecVideo *stream, int intra) argument
628 PV_VlcDecIntraDCPredSize(BitstreamDecVideo *stream, int compnum, uint *DC_size) argument
839 VlcDecTCOEFIntra(BitstreamDecVideo *stream, Tcoef *pTcoef) argument
1022 VlcDecTCOEFInter(BitstreamDecVideo *stream, Tcoef *pTcoef) argument
1201 VlcDecTCOEFShortHeader(BitstreamDecVideo *stream, Tcoef *pTcoef ) argument
1261 VlcDecTCOEFShortHeader_AnnexI(BitstreamDecVideo *stream, Tcoef *pTcoef ) argument
1316 VlcDecTCOEFShortHeader_AnnexT(BitstreamDecVideo *stream, Tcoef *pTcoef ) argument
1389 VlcDecTCOEFShortHeader_AnnexIT(BitstreamDecVideo *stream, Tcoef *pTcoef ) argument
1471 RvlcDecTCOEFInter(BitstreamDecVideo *stream, Tcoef *pTcoef) argument
1554 RvlcDecTCOEFIntra(BitstreamDecVideo *stream, Tcoef *pTcoef) argument
[all...]
/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...]
/frameworks/base/libs/hwui/tests/unit/
H A DOpDumperTests.cpp29 std::stringstream stream; local
30 OpDumper::dump(op, stream);
31 EXPECT_STREQ("RectOp [100 x 100]", stream.str().c_str());
33 stream.str("");
34 OpDumper::dump(op, stream, 2);
35 EXPECT_STREQ(" RectOp [100 x 100]", stream.str().c_str());
40 stream.str("");
41 OpDumper::dump(op, stream, 2);
42 EXPECT_STREQ(" RectOp [100 x 100] clip=[50 x 50] mode=0", stream.str().c_str());
/frameworks/compile/slang/
H A Dslang_diagnostic_buffer.cpp41 llvm::raw_string_ostream stream(Message);
44 SrcLoc.print(stream, Info.getSourceManager());
45 stream << ": ";
50 stream << "note: ";
54 stream << "warning: ";
58 stream << "error: ";
62 stream << "fatal: ";
72 stream << Buf.str() << '\n';
73 stream.flush();
/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/amrwbenc/inc/
H A Dstream.h20 File: stream.h
43 void voAWB_UpdateFrameBuffer(FrameStream *stream, VO_MEM_OPERATOR *pMemOP);
44 void voAWB_InitFrameBuffer(FrameStream *stream);
45 void voAWB_FlushFrameBuffer(FrameStream *stream);
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/
H A DIVolumeCurvesCollection.h28 virtual void clearCurrentVolumeIndex(audio_stream_type_t stream) = 0;
29 virtual void addCurrentVolumeIndex(audio_stream_type_t stream, audio_devices_t device,
31 virtual bool canBeMuted(audio_stream_type_t stream) = 0;
32 virtual int getVolumeIndexMin(audio_stream_type_t stream) const = 0;
33 virtual int getVolumeIndex(audio_stream_type_t stream, audio_devices_t device) = 0;
34 virtual int getVolumeIndexMax(audio_stream_type_t stream) const = 0;
35 virtual float volIndexToDb(audio_stream_type_t stream, device_category device,
37 virtual status_t initStreamVolume(audio_stream_type_t stream, int indexMin, int indexMax) = 0;
41 virtual void restoreOriginVolumeCurve(audio_stream_type_t stream) argument
43 switchVolumeCurve(stream, strea
[all...]
H A DStreamDescriptor.h27 // stream descriptor used for volume control
60 bool mCanBeMuted; /**< true is the stream can be muted. */
64 * stream descriptors collection for volume control
72 virtual void clearCurrentVolumeIndex(audio_stream_type_t stream);
73 virtual void addCurrentVolumeIndex(audio_stream_type_t stream, audio_devices_t device,
75 virtual bool canBeMuted(audio_stream_type_t stream);
76 virtual int getVolumeIndexMin(audio_stream_type_t stream) const
78 return valueFor(stream).getVolumeIndexMin();
80 virtual int getVolumeIndex(audio_stream_type_t stream, audio_devices_t device) argument
82 return valueFor(stream)
93 hasVolumeIndexForDevice(audio_stream_type_t stream, audio_devices_t device) const argument
[all...]
/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.h30 FrameSequence* (*createFrameSequence)(Stream* stream);
31 Decoder* (*createDecoder)(Stream* stream);
46 static const RegistryEntry* Find(Stream* stream);
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/
H A Dbitstream_io.cpp54 BitstreamEncVideo *stream; local
55 stream = (BitstreamEncVideo *) M4VENC_MALLOC(sizeof(BitstreamEncVideo));
56 if (stream == NULL)
60 stream->bufferSize = bufferSize;
61 stream->bitstreamBuffer = (UChar *) M4VENC_MALLOC(stream->bufferSize * sizeof(UChar));
62 if (stream->bitstreamBuffer == NULL)
64 M4VENC_FREE(stream);
65 stream = NULL;
68 M4VENC_MEMSET(stream
93 BitstreamCloseEnc(BitstreamEncVideo *stream) argument
120 BitstreamPutBits(BitstreamEncVideo *stream, Int Length, UInt Value) argument
168 BitstreamPutGT16Bits(BitstreamEncVideo *stream, Int Length, ULong Value) argument
207 BitstreamSaveWord(BitstreamEncVideo *stream) argument
257 BitstreamSavePartial(BitstreamEncVideo *stream, Int *fraction) argument
326 BitstreamShortHeaderByteAlignStuffing(BitstreamEncVideo *stream) argument
355 BitstreamMpeg4ByteAlignStuffing(BitstreamEncVideo *stream) argument
760 BitstreamGetPos(BitstreamEncVideo *stream) argument
766 BitstreamEncReset(BitstreamEncVideo *stream) argument
776 BitstreamSetOverrunBuffer(BitstreamEncVideo* stream, UChar* overrunBuffer, Int oBSize, VideoEncData *video) argument
787 BitstreamUseOverrunBuffer(BitstreamEncVideo* stream, Int numExtraBytes) argument
[all...]
H A Dbitstream_io.h31 Void BitstreamCloseEnc(BitstreamEncVideo *stream);
32 PV_STATUS BitstreamPutBits(BitstreamEncVideo *stream, Int Length, UInt Value);
33 PV_STATUS BitstreamPutGT16Bits(BitstreamEncVideo *stream, Int Length, ULong Value);
34 PV_STATUS BitstreamSaveWord(BitstreamEncVideo *stream);
35 PV_STATUS BitstreamSavePartial(BitstreamEncVideo *stream, Int *fraction);
36 Int BitstreamGetPos(BitstreamEncVideo *stream);
37 void BitstreamEncReset(BitstreamEncVideo *stream);
39 Int BitstreamShortHeaderByteAlignStuffing(BitstreamEncVideo *stream);
40 Int BitstreamMpeg4ByteAlignStuffing(BitstreamEncVideo *stream);
49 Void BitstreamSetOverrunBuffer(BitstreamEncVideo *stream, UCha
[all...]
H A Dvop.cpp24 PV_STATUS EncodeShortHeader(BitstreamEncVideo *stream, Vop *currVop);
25 PV_STATUS EncodeVOPHeader(BitstreamEncVideo *stream, Vol *currVol, Vop *currVop);
26 PV_STATUS EncodeGOVHeader(BitstreamEncVideo *stream, UInt seconds);
46 // BitstreamEncVideo *stream=video->bitstream1;
128 BitstreamEncVideo *stream = video->bitstream1; local
135 status = EncodeShortHeader(stream, currVop); /* Encode Short Header */
137 video->header_bits = BitstreamGetPos(stream); /* Header Bits */
147 status = EncodeGOVHeader(stream, time); /* Encode GOV Header */
149 status = EncodeVOPHeader(stream, currVol, currVop); /* Encode VOP Header */
151 video->header_bits = BitstreamGetPos(stream); /* Heade
197 BitstreamEncVideo *stream = video->bitstream1; /* different from frame-based */ local
276 EncodeGOVHeader(BitstreamEncVideo *stream, UInt seconds) argument
314 BitstreamEncVideo *stream = currVol->stream; local
353 EncodeVOPHeader(BitstreamEncVideo *stream, Vol *currVol, Vop *currVop) argument
412 EncodeShortHeader(BitstreamEncVideo *stream, Vop *currVop) argument
[all...]
/frameworks/opt/net/voip/src/java/android/net/rtp/
H A DAudioGroup.java83 * encoded and sent back to each stream.
147 synchronized void add(AudioStream stream) { argument
148 if (!mStreams.containsKey(stream)) {
150 AudioCodec codec = stream.getCodec();
153 long id = nativeAdd(stream.getMode(), stream.getSocket(),
154 stream.getRemoteAddress().getHostAddress(),
155 stream.getRemotePort(), codecSpec, stream.getDtmfType(),
157 mStreams.put(stream, i
168 remove(AudioStream stream) argument
[all...]
/frameworks/av/services/audioflinger/
H A DAudioStreamOut.cpp32 , stream(NULL)
50 if (stream == NULL) {
55 status_t status = stream->get_render_position(stream, &halPosition);
87 if (stream == NULL) {
92 status_t status = stream->get_presentation_position(stream, &halPosition, timestamp);
133 " stream %p, sampleRate %d, Format %#x, "
159 stream = outStream;
161 mHalFrameSize = audio_stream_out_frame_size(stream);
[all...]
/frameworks/base/core/jni/android/graphics/
H A DCreateJavaOutputStreamAdaptor.h16 * @param stream Pointer to Java InputStream.
24 SkStream* CreateJavaInputStreamAdaptor(JNIEnv* env, jobject stream,
30 * @param stream Pointer to Java InputStream.
33 * @return SkStreamRewindable The data in stream will be copied
36 SkStreamRewindable* CopyJavaInputStream(JNIEnv* env, jobject stream,
39 SkWStream* CreateJavaOutputStreamAdaptor(JNIEnv* env, jobject stream,
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/bars/
H A DIconLoader.java47 InputStream stream = getIcon(resourceDir);
48 if (stream != null) {
49 return stream;
77 InputStream stream = getIcon(resourceDir, mDesiredDensity);
78 if (stream != null) {
80 return stream;
88 stream = getIcon(resourceDir, density);
89 if (stream != null) {
91 return stream;
113 InputStream stream
[all...]

Completed in 397 milliseconds

1234567891011>>