Home
last modified time | relevance | path

Searched refs:stream (Results 1 – 25 of 100) sorted by relevance

1234

/device/asus/fugu/libaudio/
Daudio_hal_thunks.cpp43 struct audio_stream_out stream; member
49 struct audio_stream_in stream; member
59 static int out_set_volume(struct audio_stream_out *stream, in out_set_volume() argument
63 (void) stream; in out_set_volume()
69 static int out_add_audio_effect(const struct audio_stream *stream, effect_handle_t effect) in out_add_audio_effect() argument
71 (void) stream; in out_add_audio_effect()
76 static int out_remove_audio_effect(const struct audio_stream *stream, effect_handle_t effect) in out_remove_audio_effect() argument
78 (void) stream; in out_remove_audio_effect()
89 static uint32_t out_get_sample_rate(const struct audio_stream *stream) in out_get_sample_rate() argument
92 reinterpret_cast<const struct atv_stream_out*>(stream); in out_get_sample_rate()
[all …]
DHDMIAudioOutput.cpp42 status_t HDMIAudioOutput::setupForStream(const AudioStreamOut& stream) in setupForStream() argument
44 mFramesPerChunk = stream.framesPerChunk(); in setupForStream()
45 mFramesPerSec = stream.outputSampleRate(); in setupForStream()
46 mBufferChunks = stream.nomChunksInFlight(); in setupForStream()
47 mChannelCnt = audio_channel_count_from_out_mask(stream.chanMask()); in setupForStream()
49 ALOGI("setupForStream format %08x, rate = %u", stream.format(), mFramesPerSec); in setupForStream()
52 stream.format(), in setupForStream()
53 stream.sampleRate(), in setupForStream()
55 stream.isIec958NonAudio())) { in setupForStream()
57 stream.format(), mFramesPerSec, mChannelCnt); in setupForStream()
[all …]
/device/asus/flo/camera/QCamera2/stack/mm-camera-test/src/
Dmm_qcamera_rdi.c93 mm_camera_stream_t *stream = NULL; in mm_app_add_rdi_stream() local
98 stream = mm_app_add_stream(test_obj, channel); in mm_app_add_rdi_stream()
99 if (NULL == stream) { in mm_app_add_rdi_stream()
120 stream->s_config.mem_vtbl.get_bufs = mm_app_stream_initbuf; in mm_app_add_rdi_stream()
121 stream->s_config.mem_vtbl.put_bufs = mm_app_stream_deinitbuf; in mm_app_add_rdi_stream()
122 stream->s_config.mem_vtbl.clean_invalidate_buf = in mm_app_add_rdi_stream()
124 stream->s_config.mem_vtbl.invalidate_buf = mm_app_stream_invalidate_buf; in mm_app_add_rdi_stream()
125 stream->s_config.mem_vtbl.user_data = (void *)stream; in mm_app_add_rdi_stream()
126 stream->s_config.stream_cb = stream_cb; in mm_app_add_rdi_stream()
127 stream->s_config.userdata = userdata; in mm_app_add_rdi_stream()
[all …]
Dmm_qcamera_preview.c156 mm_camera_stream_t *stream = NULL; in mm_app_add_preview_stream() local
159 stream = mm_app_add_stream(test_obj, channel); in mm_app_add_preview_stream()
160 if (NULL == stream) { in mm_app_add_preview_stream()
165 stream->s_config.mem_vtbl.get_bufs = mm_app_stream_initbuf; in mm_app_add_preview_stream()
166 stream->s_config.mem_vtbl.put_bufs = mm_app_stream_deinitbuf; in mm_app_add_preview_stream()
167 stream->s_config.mem_vtbl.clean_invalidate_buf = in mm_app_add_preview_stream()
169 stream->s_config.mem_vtbl.invalidate_buf = mm_app_stream_invalidate_buf; in mm_app_add_preview_stream()
170 stream->s_config.mem_vtbl.user_data = (void *)stream; in mm_app_add_preview_stream()
171 stream->s_config.stream_cb = stream_cb; in mm_app_add_preview_stream()
172 stream->s_config.userdata = userdata; in mm_app_add_preview_stream()
[all …]
Dmm_qcamera_video.c63 mm_camera_stream_t *stream = NULL; in mm_app_add_video_stream() local
66 stream = mm_app_add_stream(test_obj, channel); in mm_app_add_video_stream()
67 if (NULL == stream) { in mm_app_add_video_stream()
72 stream->s_config.mem_vtbl.get_bufs = mm_app_stream_initbuf; in mm_app_add_video_stream()
73 stream->s_config.mem_vtbl.put_bufs = mm_app_stream_deinitbuf; in mm_app_add_video_stream()
74 stream->s_config.mem_vtbl.clean_invalidate_buf = in mm_app_add_video_stream()
76 stream->s_config.mem_vtbl.invalidate_buf = mm_app_stream_invalidate_buf; in mm_app_add_video_stream()
77 stream->s_config.mem_vtbl.user_data = (void *)stream; in mm_app_add_video_stream()
78 stream->s_config.stream_cb = stream_cb; in mm_app_add_video_stream()
79 stream->s_config.userdata = userdata; in mm_app_add_video_stream()
[all …]
Dmm_qcamera_snapshot.c267 mm_camera_stream_t *stream = NULL; in mm_app_add_snapshot_channel() local
279 stream = mm_app_add_snapshot_stream(test_obj, in mm_app_add_snapshot_channel()
285 if (NULL == stream) { in mm_app_add_snapshot_channel()
302 mm_camera_stream_t *stream = NULL; in mm_app_add_postview_stream() local
305 stream = mm_app_add_stream(test_obj, channel); in mm_app_add_postview_stream()
306 if (NULL == stream) { in mm_app_add_postview_stream()
311 stream->s_config.mem_vtbl.get_bufs = mm_app_stream_initbuf; in mm_app_add_postview_stream()
312 stream->s_config.mem_vtbl.put_bufs = mm_app_stream_deinitbuf; in mm_app_add_postview_stream()
313 stream->s_config.mem_vtbl.clean_invalidate_buf = in mm_app_add_postview_stream()
315 stream->s_config.mem_vtbl.invalidate_buf = mm_app_stream_invalidate_buf; in mm_app_add_postview_stream()
[all …]
/device/lge/hammerhead/camera/QCamera2/stack/mm-camera-test/src/
Dmm_qcamera_rdi.c93 mm_camera_stream_t *stream = NULL; in mm_app_add_rdi_stream() local
98 stream = mm_app_add_stream(test_obj, channel); in mm_app_add_rdi_stream()
99 if (NULL == stream) { in mm_app_add_rdi_stream()
120 stream->s_config.mem_vtbl.get_bufs = mm_app_stream_initbuf; in mm_app_add_rdi_stream()
121 stream->s_config.mem_vtbl.put_bufs = mm_app_stream_deinitbuf; in mm_app_add_rdi_stream()
122 stream->s_config.mem_vtbl.clean_invalidate_buf = in mm_app_add_rdi_stream()
124 stream->s_config.mem_vtbl.invalidate_buf = mm_app_stream_invalidate_buf; in mm_app_add_rdi_stream()
125 stream->s_config.mem_vtbl.user_data = (void *)stream; in mm_app_add_rdi_stream()
126 stream->s_config.stream_cb = stream_cb; in mm_app_add_rdi_stream()
127 stream->s_config.userdata = userdata; in mm_app_add_rdi_stream()
[all …]
Dmm_qcamera_preview.c156 mm_camera_stream_t *stream = NULL; in mm_app_add_preview_stream() local
159 stream = mm_app_add_stream(test_obj, channel); in mm_app_add_preview_stream()
160 if (NULL == stream) { in mm_app_add_preview_stream()
165 stream->s_config.mem_vtbl.get_bufs = mm_app_stream_initbuf; in mm_app_add_preview_stream()
166 stream->s_config.mem_vtbl.put_bufs = mm_app_stream_deinitbuf; in mm_app_add_preview_stream()
167 stream->s_config.mem_vtbl.clean_invalidate_buf = in mm_app_add_preview_stream()
169 stream->s_config.mem_vtbl.invalidate_buf = mm_app_stream_invalidate_buf; in mm_app_add_preview_stream()
170 stream->s_config.mem_vtbl.user_data = (void *)stream; in mm_app_add_preview_stream()
171 stream->s_config.stream_cb = stream_cb; in mm_app_add_preview_stream()
172 stream->s_config.userdata = userdata; in mm_app_add_preview_stream()
[all …]
Dmm_qcamera_video.c63 mm_camera_stream_t *stream = NULL; in mm_app_add_video_stream() local
66 stream = mm_app_add_stream(test_obj, channel); in mm_app_add_video_stream()
67 if (NULL == stream) { in mm_app_add_video_stream()
72 stream->s_config.mem_vtbl.get_bufs = mm_app_stream_initbuf; in mm_app_add_video_stream()
73 stream->s_config.mem_vtbl.put_bufs = mm_app_stream_deinitbuf; in mm_app_add_video_stream()
74 stream->s_config.mem_vtbl.clean_invalidate_buf = in mm_app_add_video_stream()
76 stream->s_config.mem_vtbl.invalidate_buf = mm_app_stream_invalidate_buf; in mm_app_add_video_stream()
77 stream->s_config.mem_vtbl.user_data = (void *)stream; in mm_app_add_video_stream()
78 stream->s_config.stream_cb = stream_cb; in mm_app_add_video_stream()
79 stream->s_config.userdata = userdata; in mm_app_add_video_stream()
[all …]
Dmm_qcamera_snapshot.c267 mm_camera_stream_t *stream = NULL; in mm_app_add_snapshot_channel() local
279 stream = mm_app_add_snapshot_stream(test_obj, in mm_app_add_snapshot_channel()
285 if (NULL == stream) { in mm_app_add_snapshot_channel()
302 mm_camera_stream_t *stream = NULL; in mm_app_add_postview_stream() local
305 stream = mm_app_add_stream(test_obj, channel); in mm_app_add_postview_stream()
306 if (NULL == stream) { in mm_app_add_postview_stream()
311 stream->s_config.mem_vtbl.get_bufs = mm_app_stream_initbuf; in mm_app_add_postview_stream()
312 stream->s_config.mem_vtbl.put_bufs = mm_app_stream_deinitbuf; in mm_app_add_postview_stream()
313 stream->s_config.mem_vtbl.clean_invalidate_buf = in mm_app_add_postview_stream()
315 stream->s_config.mem_vtbl.invalidate_buf = mm_app_stream_invalidate_buf; in mm_app_add_postview_stream()
[all …]
/device/moto/shamu/camera/QCamera2/stack/mm-camera-test/src/
Dmm_qcamera_rdi.c95 mm_camera_stream_t *stream = NULL; in mm_app_add_rdi_stream() local
100 stream = mm_app_add_stream(test_obj, channel); in mm_app_add_rdi_stream()
101 if (NULL == stream) { in mm_app_add_rdi_stream()
124 stream->s_config.mem_vtbl.get_bufs = mm_app_stream_initbuf; in mm_app_add_rdi_stream()
125 stream->s_config.mem_vtbl.put_bufs = mm_app_stream_deinitbuf; in mm_app_add_rdi_stream()
126 stream->s_config.mem_vtbl.clean_invalidate_buf = in mm_app_add_rdi_stream()
128 stream->s_config.mem_vtbl.invalidate_buf = mm_app_stream_invalidate_buf; in mm_app_add_rdi_stream()
129 stream->s_config.mem_vtbl.user_data = (void *)stream; in mm_app_add_rdi_stream()
130 stream->s_config.stream_cb = stream_cb; in mm_app_add_rdi_stream()
131 stream->s_config.userdata = userdata; in mm_app_add_rdi_stream()
[all …]
Dmm_qcamera_preview.c368 mm_camera_stream_t *stream = NULL; in mm_app_add_metadata_stream() local
371 stream = mm_app_add_stream(test_obj, channel); in mm_app_add_metadata_stream()
372 if (NULL == stream) { in mm_app_add_metadata_stream()
377 stream->s_config.mem_vtbl.get_bufs = mm_app_stream_initbuf; in mm_app_add_metadata_stream()
378 stream->s_config.mem_vtbl.put_bufs = mm_app_stream_deinitbuf; in mm_app_add_metadata_stream()
379 stream->s_config.mem_vtbl.clean_invalidate_buf = in mm_app_add_metadata_stream()
381 stream->s_config.mem_vtbl.invalidate_buf = mm_app_stream_invalidate_buf; in mm_app_add_metadata_stream()
382 stream->s_config.mem_vtbl.user_data = (void *)stream; in mm_app_add_metadata_stream()
383 stream->s_config.stream_cb = stream_cb; in mm_app_add_metadata_stream()
384 stream->s_config.userdata = userdata; in mm_app_add_metadata_stream()
[all …]
Dmm_qcamera_video.c63 mm_camera_stream_t *stream = NULL; in mm_app_add_video_stream() local
66 stream = mm_app_add_stream(test_obj, channel); in mm_app_add_video_stream()
67 if (NULL == stream) { in mm_app_add_video_stream()
72 stream->s_config.mem_vtbl.get_bufs = mm_app_stream_initbuf; in mm_app_add_video_stream()
73 stream->s_config.mem_vtbl.put_bufs = mm_app_stream_deinitbuf; in mm_app_add_video_stream()
74 stream->s_config.mem_vtbl.clean_invalidate_buf = in mm_app_add_video_stream()
76 stream->s_config.mem_vtbl.invalidate_buf = mm_app_stream_invalidate_buf; in mm_app_add_video_stream()
77 stream->s_config.mem_vtbl.user_data = (void *)stream; in mm_app_add_video_stream()
78 stream->s_config.stream_cb = stream_cb; in mm_app_add_video_stream()
79 stream->s_config.userdata = userdata; in mm_app_add_video_stream()
[all …]
Dmm_qcamera_reprocess.c115 mm_camera_stream_t *stream = NULL; in mm_app_add_reprocess_stream_from_source() local
128 stream = mm_app_add_stream(test_obj, channel); in mm_app_add_reprocess_stream_from_source()
129 if (NULL == stream) { in mm_app_add_reprocess_stream_from_source()
134 stream->s_config.mem_vtbl.get_bufs = mm_app_stream_initbuf; in mm_app_add_reprocess_stream_from_source()
135 stream->s_config.mem_vtbl.put_bufs = mm_app_stream_deinitbuf; in mm_app_add_reprocess_stream_from_source()
136 stream->s_config.mem_vtbl.clean_invalidate_buf = in mm_app_add_reprocess_stream_from_source()
138 stream->s_config.mem_vtbl.invalidate_buf = mm_app_stream_invalidate_buf; in mm_app_add_reprocess_stream_from_source()
139 stream->s_config.mem_vtbl.user_data = (void *)stream; in mm_app_add_reprocess_stream_from_source()
140 stream->s_config.stream_cb = stream_cb; in mm_app_add_reprocess_stream_from_source()
141 stream->s_config.userdata = userdata; in mm_app_add_reprocess_stream_from_source()
[all …]
/device/generic/goldfish/audio/
Daudio_hw.c54 struct audio_stream_out stream; member
60 struct audio_stream_in stream; member
66 static uint32_t out_get_sample_rate(const struct audio_stream *stream) in out_get_sample_rate() argument
71 static int out_set_sample_rate(struct audio_stream *stream, uint32_t rate) in out_set_sample_rate() argument
76 static size_t out_get_buffer_size(const struct audio_stream *stream) in out_get_buffer_size() argument
81 static audio_channel_mask_t out_get_channels(const struct audio_stream *stream) in out_get_channels() argument
86 static audio_format_t out_get_format(const struct audio_stream *stream) in out_get_format() argument
91 static int out_set_format(struct audio_stream *stream, audio_format_t format) in out_set_format() argument
96 static int out_standby(struct audio_stream *stream) in out_standby() argument
102 static int out_dump(const struct audio_stream *stream, int fd) in out_dump() argument
[all …]
/device/generic/goldfish/opengl/system/renderControl_enc/
DrenderControl_enc.cpp24 IOStream *stream = ctx->m_stream; in rcGetRendererVersion_enc() local
28 ptr = stream->alloc(packetSize); in rcGetRendererVersion_enc()
34 stream->readback(&retval, 4); in rcGetRendererVersion_enc()
42 IOStream *stream = ctx->m_stream; in rcGetEGLVersion_enc() local
48 ptr = stream->alloc(packetSize); in rcGetEGLVersion_enc()
54 stream->readback(major, __size_major); in rcGetEGLVersion_enc()
55 stream->readback(minor, __size_minor); in rcGetEGLVersion_enc()
58 stream->readback(&retval, 4); in rcGetEGLVersion_enc()
66 IOStream *stream = ctx->m_stream; in rcQueryEGLString_enc() local
71 ptr = stream->alloc(packetSize); in rcQueryEGLString_enc()
[all …]
/device/generic/goldfish/opengl/system/GLESv2_enc/
Dgl2_enc.cpp24 IOStream *stream = ctx->m_stream; in glActiveTexture_enc() local
28 ptr = stream->alloc(packetSize); in glActiveTexture_enc()
39 IOStream *stream = ctx->m_stream; in glAttachShader_enc() local
43 ptr = stream->alloc(packetSize); in glAttachShader_enc()
55 IOStream *stream = ctx->m_stream; in glBindAttribLocation_enc() local
60 ptr = stream->alloc(packetSize); in glBindAttribLocation_enc()
74 IOStream *stream = ctx->m_stream; in glBindBuffer_enc() local
78 ptr = stream->alloc(packetSize); in glBindBuffer_enc()
90 IOStream *stream = ctx->m_stream; in glBindFramebuffer_enc() local
94 ptr = stream->alloc(packetSize); in glBindFramebuffer_enc()
[all …]
/device/moto/shamu/camera/QCamera/stack/mm-camera-test/src/
Dmm_qcamera_pp.c186 pme->stream[MM_CAMERA_ISP_PIX_OUTPUT1].id = pme->cam->ops->add_stream( in prepareReprocess()
194 if (!pme->stream[MM_CAMERA_ISP_PIX_OUTPUT1].id) { in prepareReprocess()
201 pme->stream[MM_CAMERA_PREVIEW].id = pme->cam->ops->add_stream( in prepareReprocess()
209 if (!pme->stream[MM_CAMERA_PREVIEW].id) { in prepareReprocess()
214 pme->stream[MM_CAMERA_ISP_PIX_OUTPUT1].id); in prepareReprocess()
215 pme->stream[MM_CAMERA_ISP_PIX_OUTPUT1].id = 0; in prepareReprocess()
220 pme->stream[MM_CAMERA_VIDEO].id = pme->cam->ops->add_stream( in prepareReprocess()
228 if (!pme->stream[MM_CAMERA_VIDEO].id) { in prepareReprocess()
233 pme->stream[MM_CAMERA_PREVIEW].id); in prepareReprocess()
234 pme->stream[MM_CAMERA_PREVIEW].id = 0; in prepareReprocess()
[all …]
Dmm_qcamera_preview.c410 if (pme->stream[i].id == stream_id) { in mm_stream_initbuf()
411 app_bufs = &pme->stream [i].app_bufs; in mm_stream_initbuf()
459 if (pme->stream[i].id == stream_id) {
522 if (pme->stream[i].id == stream_id) { in mm_stream_deinitbuf()
523 app_bufs = &pme->stream [i].app_bufs; in mm_stream_deinitbuf()
554 if (pme->stream[i].id == stream_id) {
810 pme->stream[MM_CAMERA_SAEC].id = in mm_app_prepare_stats()
814 if (!pme->stream[MM_CAMERA_SAEC].id) { in mm_app_prepare_stats()
820 … CDBG_ERROR("%s :Add stream is successful stream ID = %d",__func__,pme->stream[MM_CAMERA_SAEC].id); in mm_app_prepare_stats()
822 mm_app_set_aec_stats_fmt(cam_id,&pme->stream[MM_CAMERA_SAEC].str_config.fmt); in mm_app_prepare_stats()
[all …]
Dmm_qcamera_rdi.c192 pme->stream[MM_CAMERA_RDI].id = pme->cam->ops->add_stream(pme->cam->camera_handle, in mm_app_prepare_rdi()
199 if (!pme->stream[MM_CAMERA_RDI].id) { in mm_app_prepare_rdi()
204 CDBG("%s :Add RDI stream is successfull stream ID = %d",__func__,pme->stream[MM_CAMERA_RDI].id); in mm_app_prepare_rdi()
206 mm_app_set_rdi_fmt(cam_id,&pme->stream[MM_CAMERA_RDI].str_config.fmt); in mm_app_prepare_rdi()
207 pme->stream[MM_CAMERA_RDI].str_config.need_stream_on = 1; in mm_app_prepare_rdi()
208 pme->stream[MM_CAMERA_RDI].str_config.num_of_bufs = num_buf; in mm_app_prepare_rdi()
212 pme->stream[MM_CAMERA_RDI].id, in mm_app_prepare_rdi()
213 … &pme->stream[MM_CAMERA_RDI].str_config))) { in mm_app_prepare_rdi()
230 uint32_t stream[2]; in mm_app_streamon_rdi() local
240 stream[0] = pme->stream[MM_CAMERA_RDI].id; in mm_app_streamon_rdi()
[all …]
Dmm_qcamera_video.c233 mm_app_set_video_fmt(cam_id,&pme->stream[MM_CAMERA_VIDEO].str_config.fmt); in mm_app_config_video()
234 pme->stream[MM_CAMERA_VIDEO].str_config.need_stream_on = 1; in mm_app_config_video()
235 pme->stream[MM_CAMERA_VIDEO].str_config.num_of_bufs = VIDEO_BUF_NUM; in mm_app_config_video()
237 …c = pme->cam->ops->config_stream(pme->cam->camera_handle,pme->ch_id,pme->stream[MM_CAMERA_VIDEO].i… in mm_app_config_video()
238 &pme->stream[MM_CAMERA_VIDEO].str_config))) { in mm_app_config_video()
245 pme->stream[MM_CAMERA_SNAPSHOT_MAIN].str_config.need_stream_on = pme->fullSizeSnapshot; in mm_app_config_video()
246 pme->stream[MM_CAMERA_SNAPSHOT_MAIN].str_config.num_of_bufs = 1; in mm_app_config_video()
248 mm_app_set_live_snapshot_fmt(cam_id,&pme->stream[MM_CAMERA_SNAPSHOT_MAIN].str_config.fmt); in mm_app_config_video()
250 …c = pme->cam->ops->config_stream(pme->cam->camera_handle,pme->ch_id,pme->stream[MM_CAMERA_SNAPSHOT… in mm_app_config_video()
251 &pme->stream[MM_CAMERA_SNAPSHOT_MAIN].str_config))) { in mm_app_config_video()
[all …]
/device/generic/goldfish/opengl/system/GLESv1_enc/
Dgl_enc.cpp24 IOStream *stream = ctx->m_stream; in glAlphaFunc_enc() local
28 ptr = stream->alloc(packetSize); in glAlphaFunc_enc()
40 IOStream *stream = ctx->m_stream; in glClearColor_enc() local
44 ptr = stream->alloc(packetSize); in glClearColor_enc()
58 IOStream *stream = ctx->m_stream; in glClearDepthf_enc() local
62 ptr = stream->alloc(packetSize); in glClearDepthf_enc()
73 IOStream *stream = ctx->m_stream; in glClipPlanef_enc() local
78 ptr = stream->alloc(packetSize); in glClipPlanef_enc()
91 IOStream *stream = ctx->m_stream; in glColor4f_enc() local
95 ptr = stream->alloc(packetSize); in glColor4f_enc()
[all …]
/device/moto/shamu/camera/QCamera/HAL2/core/src/
DQCameraHWI.cpp66 QCameraStream *stream = QCameraStream::getStreamAtId(streamId); in tryRestartStreams() local
67 if (!stream->mInit) { in tryRestartStreams()
69 if (stream->mFormat == CAMERA_YUV_420_NV12) in tryRestartStreams()
92 QCameraStream *stream = QCameraStream::getStreamAtId(streamId); in tryRestartStreams() local
93 if (!stream->mInit) { in tryRestartStreams()
94 rc = stream->prepareStream(); in tryRestartStreams()
103 QCameraStream *stream = QCameraStream::getStreamAtId(streamId); in tryRestartStreams() local
105 if (!stream->mActive) { in tryRestartStreams()
106 rc = stream->streamOn(); in tryRestartStreams()
167 QCameraStream *stream = QCameraStream::getStreamAtId(streamId); in runCommandThread() local
[all …]
/device/generic/goldfish/opengl/system/OpenglSystemCommon/
DHostConnection.cpp64 QemuPipeStream *stream = new QemuPipeStream(STREAM_BUFFER_SIZE); in get() local
65 if (!stream) { in get()
70 if (stream->connect() < 0) { in get()
72 delete stream; in get()
76 con->m_stream = stream; in get()
80 TcpStream *stream = new TcpStream(STREAM_BUFFER_SIZE); in get() local
81 if (!stream) { in get()
87 if (stream->connect("10.0.2.2", STREAM_PORT_NUM) < 0) { in get()
89 delete stream; in get()
93 con->m_stream = stream; in get()
/device/generic/goldfish/camera/
DJpegStub.cpp46 SkDynamicMemoryWStream* stream = in JpegStub_compress() local
48 if (encoder->encode(stream, pY, width, height, offsets, quality)) { in JpegStub_compress()
51 width, height, stream->getOffset()); in JpegStub_compress()
60 SkDynamicMemoryWStream* stream = in JpegStub_getCompressedImage() local
62 stream->copyTo(buff); in JpegStub_getCompressedImage()
66 SkDynamicMemoryWStream* stream = in JpegStub_getCompressedSize() local
68 return stream->getOffset(); in JpegStub_getCompressedSize()

1234