Searched refs:stream (Results 76 - 100 of 207) sorted by relevance

123456789

/frameworks/rs/
H A DrsSampler.h66 virtual void serialize(Context *rsc, OStream *stream) const;
68 static Sampler *createFromStream(Context *rsc, IStream *stream);
H A DrsScriptC.h55 virtual void serialize(Context *rsc, OStream *stream) const { }
57 static Type *createFromStream(Context *rsc, IStream *stream) { return NULL; } argument
H A DrsAdapter.cpp44 void Adapter1D::serialize(Context *rsc, OStream *stream) const {
47 Adapter1D *Adapter1D::createFromStream(Context *rsc, IStream *stream) { argument
117 void Adapter2D::serialize(Context *rsc, OStream *stream) const {
120 Adapter2D *Adapter2D::createFromStream(Context *rsc, IStream *stream) { argument
H A DrsElement.cpp100 void Element::serialize(Context *rsc, OStream *stream) const {
102 stream->addU32((uint32_t)getClassId());
103 stream->addString(getName());
105 mComponent.serialize(stream);
108 stream->addU32(mFieldCount);
110 stream->addString(mFields[ct].name);
111 stream->addU32(mFields[ct].arraySize);
112 mFields[ct].e->serialize(rsc, stream);
116 Element *Element::createFromStream(Context *rsc, IStream *stream) { argument
118 RsA3DClassID classID = (RsA3DClassID)stream
[all...]
H A DrsPath.h46 virtual void serialize(Context *rsc, OStream *stream) const;
H A DrsScriptIntrinsic.h39 virtual void serialize(Context *rsc, OStream *stream) const;
/frameworks/native/opengl/include/EGL/
H A Deglext.h348 EGLAPI EGLBoolean EGLAPIENTRY eglDestroyStreamKHR(EGLDisplay dpy, EGLStreamKHR stream);
349 EGLAPI EGLBoolean EGLAPIENTRY eglStreamAttribKHR(EGLDisplay dpy, EGLStreamKHR stream, EGLenum attribute, EGLint value);
350 EGLAPI EGLBoolean EGLAPIENTRY eglQueryStreamKHR(EGLDisplay dpy, EGLStreamKHR stream, EGLenum attribute, EGLint *value);
351 EGLAPI EGLBoolean EGLAPIENTRY eglQueryStreamu64KHR(EGLDisplay dpy, EGLStreamKHR stream, EGLenum attribute, EGLuint64KHR *value);
354 typedef EGLBoolean (EGLAPIENTRYP PFNEGLDESTROYSTREAMKHRPROC)(EGLDisplay dpy, EGLStreamKHR stream);
355 typedef EGLBoolean (EGLAPIENTRYP PFNEGLSTREAMATTRIBKHRPROC)(EGLDisplay dpy, EGLStreamKHR stream, EGLenum attribute, EGLint value);
356 typedef EGLBoolean (EGLAPIENTRYP PFNEGLQUERYSTREAMKHRPROC)(EGLDisplay dpy, EGLStreamKHR stream, EGLenum attribute, EGLint *value);
357 typedef EGLBoolean (EGLAPIENTRYP PFNEGLQUERYSTREAMU64KHRPROC)(EGLDisplay dpy, EGLStreamKHR stream, EGLenum attribute, EGLuint64KHR *value);
366 EGLAPI EGLBoolean EGLAPIENTRY eglStreamConsumerGLTextureExternalKHR(EGLDisplay dpy, EGLStreamKHR stream);
367 EGLAPI EGLBoolean EGLAPIENTRY eglStreamConsumerAcquireKHR(EGLDisplay dpy, EGLStreamKHR stream);
[all...]
/frameworks/av/media/libstagefright/codecs/avc/enc/src/
H A Dslice.cpp28 AVCEncBitstream *stream = encvid->bitstream; local
140 ue_v(stream, video->mb_skip_run);
161 AVCEncBitstream *stream = encvid->bitstream; local
419 ue_v(stream, video->mb_skip_run);
555 AVCEncBitstream *stream = encvid->bitstream; local
564 status = ue_v(stream, mb_type);
568 status = sub_mb_pred(video, currMB, stream);
572 status = mb_pred(video, currMB, stream) ;
578 status = EncodeCBP(currMB, stream);
584 status = se_v(stream, currM
686 mb_pred(AVCCommonObj *video, AVCMacroblock *currMB, AVCEncBitstream *stream) argument
772 sub_mb_pred(AVCCommonObj *video, AVCMacroblock *currMB, AVCEncBitstream *stream) argument
920 EncodeIntra4x4Mode(AVCCommonObj *video, AVCMacroblock *currMB, AVCEncBitstream *stream) argument
[all...]
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/
H A Dmp4enc_api.cpp702 video->bitstream1 = BitStreamCreateEnc(2 * 4096); /*allocate working stream 1*/
704 video->bitstream2 = BitStreamCreateEnc(2 * 4096); /*allocate working stream 2*/
706 video->bitstream3 = BitStreamCreateEnc(2 * 4096); /*allocate working stream 3*/
876 pVol->stream = (BitstreamEncVideo *)M4VENC_MALLOC(sizeof(BitstreamEncVideo)); /* allocate BitstreamEncVideo Instance */
877 if (pVol->stream == NULL) goto CLEAN_UP;
1230 if (video->vol[idx]->stream)
1231 M4VENC_FREE(video->vol[idx]->stream);
1331 if (currVol->stream->bitstreamBuffer != video->overrunBuffer) // not used
1416 *size = video->vol[0]->stream->byteCount;
1429 /* Initialize Vol stream structur
2409 BitstreamEncVideo *stream = video->bitstream1; local
2572 BitstreamEncVideo *stream = currVol->stream; local
[all...]
/frameworks/base/media/java/android/media/
H A DAudioSystem.java35 /* The audio stream for phone calls */
37 /* The audio stream for system sounds */
39 /* The audio stream for the phone ring and message alerts */
41 /* The audio stream for music playback */
43 /* The audio stream for alarms */
45 /* The audio stream for notifications */
47 /* @hide The audio stream for phone calls when connected on bluetooth */
49 /* @hide The audio stream for enforced system sounds in certain countries (e.g camera in Japan) */
51 /* @hide The audio stream for DTMF tones */
53 /* @hide The audio stream fo
111 isStreamActive(int stream, int inPastMs) argument
119 isStreamActiveRemotely(int stream, int inPastMs) argument
390 initStreamVolume(int stream, int indexMin, int indexMax) argument
391 setStreamVolumeIndex(int stream, int index, int device) argument
392 getStreamVolumeIndex(int stream, int device) argument
397 getDevicesForStream(int stream) argument
402 getOutputLatency(int stream) argument
[all...]
/frameworks/base/samples/training/network-usage/src/com/example/android/networkusage/
H A DNetworkActivity.java216 InputStream stream = null;
235 stream = downloadUrl(urlString);
236 entries = stackOverflowXmlParser.parse(stream);
240 if (stream != null) {
241 stream.close();
264 // an input stream.
274 InputStream stream = conn.getInputStream();
275 return stream;
/frameworks/ml/bordeaux/learning/stochastic_linear_ranker/native/
H A Dsparse_weight_vector.h161 std::stringstream stream; local
162 stream << *this;
163 return stream.str();
190 std::ostream& operator<<(std::ostream &stream, argument
193 stream << "[[ ";
197 stream << "<" << iter->first << ", " << iter->second << "> ";
199 return stream << " ]]";
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/bars/
H A DCustomBar.java103 InputStream stream = getClass().getResourceAsStream(pathOut[0]);
104 if (stream == null && tryOtherDensities) {
108 stream = getIcon(iconName, densityInOut, direction, pathOut,
110 if (stream != null) {
111 return stream;
121 return stream;
136 InputStream stream = getIcon(iconName, densityInOut, dir, pathOut,
140 if (stream != null) {
145 bitmap = Bitmap_Delegate.createBitmap(stream, false /*isMutable*/, density);
/frameworks/av/services/audioflinger/
H A DAudioPolicyService.cpp224 audio_io_handle_t AudioPolicyService::getOutput(audio_stream_type_t stream, argument
236 return mpAudioPolicy->get_output(mpAudioPolicy, stream, samplingRate,
241 audio_stream_type_t stream,
249 return mpAudioPolicy->start_output(mpAudioPolicy, output, stream, session);
253 audio_stream_type_t stream,
260 mOutputCommandThread->stopOutputCommand(output, stream, session);
265 audio_stream_type_t stream,
270 return mpAudioPolicy->stop_output(mpAudioPolicy, output, stream, session);
389 status_t AudioPolicyService::initStreamVolume(audio_stream_type_t stream, argument
399 if (uint32_t(stream) >
240 startOutput(audio_io_handle_t output, audio_stream_type_t stream, int session) argument
252 stopOutput(audio_io_handle_t output, audio_stream_type_t stream, int session) argument
264 doStopOutput(audio_io_handle_t output, audio_stream_type_t stream, int session) argument
407 setStreamVolumeIndex(audio_stream_type_t stream, int index, audio_devices_t device) argument
431 getStreamVolumeIndex(audio_stream_type_t stream, int *index, audio_devices_t device) argument
452 getStrategyForStream(audio_stream_type_t stream) argument
462 getDevicesForStream(audio_stream_type_t stream) argument
507 isStreamActive(audio_stream_type_t stream, uint32_t inPastMs) const argument
516 isStreamActiveRemotely(audio_stream_type_t stream, uint32_t inPastMs) const argument
844 startToneCommand(ToneGenerator::tone_type type, audio_stream_type_t stream) argument
870 volumeCommand(audio_stream_type_t stream, float volume, audio_io_handle_t output, int delayMs) argument
943 stopOutputCommand(audio_io_handle_t output, audio_stream_type_t stream, int session) argument
1105 setStreamVolume(audio_stream_type_t stream, float volume, audio_io_handle_t output, int delayMs) argument
1114 startTone(audio_policy_tone_t tone, audio_stream_type_t stream) argument
1582 aps_set_stream_output(void *service, audio_stream_type_t stream, audio_io_handle_t output) argument
1618 aps_set_stream_volume(void *service, audio_stream_type_t stream, float volume, audio_io_handle_t output, int delay_ms) argument
1628 aps_start_tone(void *service, audio_policy_tone_t tone, audio_stream_type_t stream) argument
[all...]
H A DThreads.cpp1051 for (audio_stream_type_t stream = (audio_stream_type_t) 0; stream < AUDIO_STREAM_CNT;
1052 stream = (audio_stream_type_t) (stream + 1)) {
1053 mStreamTypes[stream].volume = mAudioFlinger->streamVolume_l(stream);
1054 mStreamTypes[stream].mute = mAudioFlinger->streamMute_l(stream);
1079 result.appendFormat("Output thread %p stream volumes in dB:\n ", this);
1175 mOutput->stream
1404 setStreamVolume(audio_stream_type_t stream, float value) argument
1411 setStreamMute(audio_stream_type_t stream, bool muted) argument
1799 audio_stream_t* AudioFlinger::PlaybackThread::stream() const function in class:android::AudioFlinger::PlaybackThread
5300 audio_stream_t* AudioFlinger::RecordThread::stream() const function in class:android::AudioFlinger::RecordThread
[all...]
H A DAudioFlinger.h138 virtual status_t setStreamVolume(audio_stream_type_t stream, float value,
140 virtual status_t setStreamMute(audio_stream_type_t stream, bool muted);
142 virtual float streamVolume(audio_stream_type_t stream,
144 virtual bool streamMute(audio_stream_type_t stream) const;
185 virtual status_t setStreamOutput(audio_stream_type_t stream, audio_io_handle_t output);
447 bool streamMute_l(audio_stream_type_t stream) const
448 { return mStreamTypes[stream].mute; }
449 // no range check, doesn't check per-thread stream volume, AudioFlinger::mLock held
450 float streamVolume_l(audio_stream_type_t stream) const
451 { return mStreamTypes[stream]
511 audio_stream_out_t* const stream; member in struct:android::AudioFlinger::AudioStreamOut
522 audio_stream_in_t* const stream; member in struct:android::AudioFlinger::AudioStreamIn
[all...]
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/
H A DvoAMRWBEnc.c1600 FrameStream *stream; local
1650 st->stream = (FrameStream *)mem_malloc(pMemOP, sizeof(FrameStream), 32, VO_INDEX_ENC_AMRWB);
1651 if(st->stream == NULL)
1654 st->stream->frame_ptr = (unsigned char *)mem_malloc(pMemOP, Frame_Maxsize, 32, VO_INDEX_ENC_AMRWB);
1655 if(st->stream->frame_ptr == NULL)
1658 stream = st->stream;
1659 voAWB_InitFrameBuffer(stream);
1695 FrameStream *stream; local
1703 stream
1732 FrameStream *stream = (FrameStream *)gData->stream; local
1787 FrameStream *stream = (FrameStream *)(gData->stream); local
[all...]
/frameworks/av/libvideoeditor/vss/common/inc/
H A DM4SYS_AccessUnit.h63 M4SYS_StreamDescription* stream ; member in struct:__anon192
/frameworks/base/core/java/android/app/backup/
H A DBackupHelperDispatcher.java110 BackupDataInputStream stream = new BackupDataInputStream(input);
119 stream.dataSize = input.getDataSize();
120 stream.key = rawKey.substring(pos+1);
121 helper.restoreEntity(stream);
/frameworks/base/core/java/android/webkit/
H A DCacheManager.java184 * Gets the input stream to the content of this cache entry, to allow
188 * @return an input stream to the content of this cache entry
195 * Gets an output stream to the content of this cache entry, to allow
199 * @return an output stream to the content of this cache entry
208 * Sets an input stream to the content of this cache entry.
210 * @param stream an input stream to the content of this cache entry
212 public void setInputStream(InputStream stream) { argument
213 this.inStream = stream;
286 * The input stream o
[all...]
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/
H A Dmp4dec_lib.h76 PV_STATUS FillFrameBufferNew(BitstreamDecVideo *stream);
77 PV_STATUS FillFrameBuffer(BitstreamDecVideo *stream, int short_header);
82 PV_STATUS PV_DecodePredictedIntraDC(int compnum, BitstreamDecVideo *stream,
118 PV_STATUS RecoverPacketError(BitstreamDecVideo *stream, int marker_length, int32 *nextVop);
119 PV_STATUS RecoverGOBError(BitstreamDecVideo *stream, int marker_length, int32 *vopPos);
273 PV_STATUS DecodeGOVHeader(BitstreamDecVideo *stream, uint32 *time_base);
/frameworks/base/media/tests/EffectsTest/src/com/android/effectstest/
H A DSimplePlayer.java65 int stopButtonId, ImageView stopButton, TextView sessionText, String fileName, int stream, int session)
67 set(context, playPausebuttonId, playPausebutton, stopButtonId, stopButton, sessionText, stream, session);
72 int stopButtonId, ImageView stopButton, TextView sessionText, int fileResId, int stream, int session) {
73 set(context, playPausebuttonId, playPausebutton, stopButtonId, stopButton, sessionText, stream, session);
79 int stopButtonId, ImageView stopButton, TextView sessionText, int stream, int session) {
92 mStreamType = stream;
64 SimplePlayer(Context context, int playPausebuttonId, ImageView playPausebutton, int stopButtonId, ImageView stopButton, TextView sessionText, String fileName, int stream, int session) argument
71 SimplePlayer(Context context, int playPausebuttonId, ImageView playPausebutton, int stopButtonId, ImageView stopButton, TextView sessionText, int fileResId, int stream, int session) argument
78 set(Context context, int playPausebuttonId, ImageView playPausebutton, int stopButtonId, ImageView stopButton, TextView sessionText, int stream, int session) argument
/frameworks/native/opengl/libs/GLES_trace/src/
H A Dgltrace_context.cpp59 GLTraceState::GLTraceState(TCPStream *stream) { argument
61 mStream = stream;
121 BufferedOutputStream *stream = new BufferedOutputStream(mStream, DEFAULT_BUFFER_SIZE); local
122 GLTraceContext *traceContext = new GLTraceContext(id, version, this, stream);
133 BufferedOutputStream *stream) :
137 mBufferedOutputStream(stream),
132 GLTraceContext(int id, int version, GLTraceState *state, BufferedOutputStream *stream) argument
/frameworks/av/include/media/
H A DIAudioFlinger.h113 /* set/get stream type state. This will probably be used by
116 virtual status_t setStreamVolume(audio_stream_type_t stream, float value,
118 virtual status_t setStreamMute(audio_stream_type_t stream, bool muted) = 0;
120 virtual float streamVolume(audio_stream_type_t stream,
122 virtual bool streamMute(audio_stream_type_t stream) const = 0;
166 virtual status_t setStreamOutput(audio_stream_type_t stream, audio_io_handle_t output) = 0;
204 // that looks on primary device for a stream with fast flag, primary flag, or first one.
/frameworks/base/graphics/java/android/graphics/
H A DBitmapFactory.java80 * resource or as a stream) must be in jpeg or png format. Only equal
366 InputStream stream = null;
368 stream = new FileInputStream(pathName);
369 bm = decodeStream(stream, null, opts);
374 Log.e("BitmapFactory", "Unable to decode stream: " + e);
376 if (stream != null) {
378 stream.close();
552 * Decode an input stream into a bitmap. If the input stream is null, or
554 * The stream'
[all...]

Completed in 670 milliseconds

123456789