Home
last modified time | relevance | path

Searched refs:stream_ptr (Results 1 – 15 of 15) sorted by relevance

/external/webrtc/modules/audio_coding/codecs/isac/main/source/
Darith_routines_hist.c25 uint8_t *stream_ptr; in WebRtcIsac_EncHistMulti() local
32 stream_ptr = streamdata->stream + streamdata->stream_index; in WebRtcIsac_EncHistMulti()
59 stream_ptr_carry = stream_ptr; in WebRtcIsac_EncHistMulti()
67 *stream_ptr++ = (uint8_t) (streamdata->streamval >> 24); in WebRtcIsac_EncHistMulti()
73 streamdata->stream_index = (int)(stream_ptr - streamdata->stream); in WebRtcIsac_EncHistMulti()
95 const uint8_t *stream_ptr; in WebRtcIsac_DecHistBisectMulti() local
101 stream_ptr = streamdata->stream + streamdata->stream_index; in WebRtcIsac_DecHistBisectMulti()
110 streamval = *stream_ptr << 24; in WebRtcIsac_DecHistBisectMulti()
111 streamval |= *++stream_ptr << 16; in WebRtcIsac_DecHistBisectMulti()
112 streamval |= *++stream_ptr << 8; in WebRtcIsac_DecHistBisectMulti()
[all …]
Darith_routines.c21 uint8_t *stream_ptr; in WebRtcIsac_EncTerminate() local
25 stream_ptr = streamdata->stream + streamdata->stream_index; in WebRtcIsac_EncTerminate()
35 while ( !(++(*--stream_ptr)) ); in WebRtcIsac_EncTerminate()
37 stream_ptr = streamdata->stream + streamdata->stream_index; in WebRtcIsac_EncTerminate()
40 *stream_ptr++ = (uint8_t) (streamdata->streamval >> 24); in WebRtcIsac_EncTerminate()
49 while ( !(++(*--stream_ptr)) ); in WebRtcIsac_EncTerminate()
51 stream_ptr = streamdata->stream + streamdata->stream_index; in WebRtcIsac_EncTerminate()
54 *stream_ptr++ = (uint8_t) (streamdata->streamval >> 24); in WebRtcIsac_EncTerminate()
55 *stream_ptr++ = (uint8_t) ((streamdata->streamval >> 16) & 0x00FF); in WebRtcIsac_EncTerminate()
59 return (int)(stream_ptr - streamdata->stream); in WebRtcIsac_EncTerminate()
Darith_routines_logist.c89 uint8_t *stream_ptr; in WebRtcIsac_EncLogisticMulti2() local
96 stream_ptr = streamdata->stream + streamdata->stream_index; in WebRtcIsac_EncLogisticMulti2()
144 stream_ptr_carry = stream_ptr; in WebRtcIsac_EncLogisticMulti2()
152 *stream_ptr++ = (uint8_t) (streamdata->streamval >> 24); in WebRtcIsac_EncLogisticMulti2()
154 if(stream_ptr > maxStreamPtr) in WebRtcIsac_EncLogisticMulti2()
163 streamdata->stream_index = (int)(stream_ptr - streamdata->stream); in WebRtcIsac_EncLogisticMulti2()
183 const uint8_t *stream_ptr; in WebRtcIsac_DecLogisticMulti2() local
193 stream_ptr = streamdata->stream + streamdata->stream_index; in WebRtcIsac_DecLogisticMulti2()
198 if (stream_ptr + 3 >= stream_end) in WebRtcIsac_DecLogisticMulti2()
200 streamval = *stream_ptr << 24; in WebRtcIsac_DecLogisticMulti2()
[all …]
/external/adhd/cras/src/tests/
Dcras_client_unittest.cc261 struct client_stream* stream_ptr = in TEST_F() local
262 (struct client_stream*)malloc(sizeof(*stream_ptr)); in TEST_F()
263 memcpy(stream_ptr, &stream_, sizeof(client_stream)); in TEST_F()
265 stream_ptr->config = in TEST_F()
266 (struct cras_stream_params*)malloc(sizeof(*(stream_ptr->config))); in TEST_F()
267 memcpy(stream_ptr->config, stream_.config, sizeof(*(stream_.config))); in TEST_F()
269 stream_ptr->wake_fds[0] = -1; in TEST_F()
270 stream_ptr->wake_fds[1] = -1; in TEST_F()
273 EXPECT_EQ(-ETIMEDOUT, client_thread_add_stream(&client_, stream_ptr, in TEST_F()
280 0, client_thread_add_stream(&client_, stream_ptr, &stream_id, NO_DEVICE)); in TEST_F()
[all …]
Dapm_list_unittest.cc23 static void* stream_ptr = reinterpret_cast<void*>(0x123); variable
41 list = cras_apm_list_create(stream_ptr, 0); in TEST()
44 list = cras_apm_list_create(stream_ptr, APM_ECHO_CANCELLATION); in TEST()
110 list = cras_apm_list_create(stream_ptr, APM_ECHO_CANCELLATION); in TEST()
154 list = cras_apm_list_create(stream_ptr, APM_ECHO_CANCELLATION); in TEST()
161 EXPECT_EQ((void*)NULL, cras_apm_list_get_active_apm(stream_ptr, dev_ptr)); in TEST()
164 EXPECT_NE((void*)NULL, cras_apm_list_get_active_apm(stream_ptr, dev_ptr)); in TEST()
165 EXPECT_EQ((void*)NULL, cras_apm_list_get_active_apm(stream_ptr, dev_ptr2)); in TEST()
174 EXPECT_EQ((void*)NULL, cras_apm_list_get_active_apm(stream_ptr, dev_ptr)); in TEST()
175 EXPECT_NE((void*)NULL, cras_apm_list_get_active_apm(stream_ptr, dev_ptr2)); in TEST()
[all …]
Dinput_data_unittest.cc118 struct cras_apm* cras_apm_list_get_active_apm(void* stream_ptr, void* dev_ptr) { in cras_apm_list_get_active_apm() argument
Drstream_unittest.cc418 struct cras_apm_list* cras_apm_list_create(void* stream_ptr, uint64_t effects) { in cras_apm_list_create() argument
421 struct cras_apm* cras_apm_list_get_active_apm(void* stream_ptr, void* dev_ptr) { in cras_apm_list_get_active_apm() argument
/external/adhd/cras/src/server/
Dcras_apm_list.c93 void *stream_ptr; member
110 void *stream_ptr; member
172 struct cras_apm_list *cras_apm_list_create(void *stream_ptr, uint64_t effects) in cras_apm_list_create() argument
184 list->stream_ptr = stream_ptr; in cras_apm_list_create()
191 static struct active_apm *get_active_apm(void *stream_ptr, void *dev_ptr) in get_active_apm() argument
197 (active->stream_ptr == stream_ptr)) in get_active_apm()
203 struct cras_apm *cras_apm_list_get_active_apm(void *stream_ptr, void *dev_ptr) in cras_apm_list_get_active_apm() argument
205 struct active_apm *active = get_active_apm(stream_ptr, dev_ptr); in cras_apm_list_get_active_apm()
343 apm = cras_apm_list_get_active_apm(list->stream_ptr, dev_ptr); in cras_apm_list_start_apm()
357 active->stream_ptr = list->stream_ptr; in cras_apm_list_start_apm()
[all …]
Dcras_apm_list.h53 struct cras_apm_list *cras_apm_list_create(void *stream_ptr, uint64_t effects);
78 struct cras_apm *cras_apm_list_get_active_apm(void *stream_ptr, void *dev_ptr);
175 static inline struct cras_apm_list *cras_apm_list_create(void *stream_ptr, in cras_apm_list_create() argument
186 static inline struct cras_apm *cras_apm_list_get_active_apm(void *stream_ptr, in cras_apm_list_get_active_apm() argument
/external/llvm-project/llvm/test/Transforms/IndVarSimplify/
D2007-06-06-DeleteDanglesPtr.ll93 …%stream_ptr.142038.us.ph = phi i32 [ %tmp1339.us, %bb1347.loopexit.us ], [ %stream_ptr.142038.us.p…
96 %stream_ptr.132032.us = add i32 %pixel_x.232031.us, %stream_ptr.142038.us.ph ; <i32> [#uses=1]
102 %tmp1339.us = add i32 %stream_ptr.132032.us, 1 ; <i32> [#uses=2]
112 …%stream_ptr.142038.us.ph.ph = phi i32 [ %tmp1339.us, %bb1358 ], [ 0, %cond_next188.us503.us ] ; <…
/external/llvm/test/Transforms/IndVarSimplify/
D2007-06-06-DeleteDanglesPtr.ll93 …%stream_ptr.142038.us.ph = phi i32 [ %tmp1339.us, %bb1347.loopexit.us ], [ %stream_ptr.142038.us.p…
96 %stream_ptr.132032.us = add i32 %pixel_x.232031.us, %stream_ptr.142038.us.ph ; <i32> [#uses=1]
102 %tmp1339.us = add i32 %stream_ptr.132032.us, 1 ; <i32> [#uses=2]
112 …%stream_ptr.142038.us.ph.ph = phi i32 [ %tmp1339.us, %bb1358 ], [ 0, %cond_next188.us503.us ] ; <…
/external/tensorflow/tensorflow/compiler/xla/tests/
Dxla_hlo_profile_test.cc141 StreamPool::Ptr stream_ptr, in ExecuteAndFetchProfile()
149 stream_ptr.get(), Literal::CreateFromShape(lhs_arg_shape), lhs_arg)); in ExecuteAndFetchProfile()
156 stream_ptr.get(), Literal::CreateFromShape(rhs_arg_shape), rhs_arg)); in ExecuteAndFetchProfile()
171 exec_run_options.set_stream(stream_ptr.get()); in ExecuteAndFetchProfile()
181 TF_ASSERT_OK(stream_ptr->BlockHostUntilDone()); in ExecuteAndFetchProfile()
/external/libbrillo/brillo/streams/
Dinput_stream_set.cc149 for (StreamPtr& stream_ptr : owned_source_streams_) { in CloseBlocking()
150 if (!stream_ptr->CloseBlocking(error)) in CloseBlocking()
/external/tensorflow/tensorflow/core/common_runtime/device/
Ddevice_event_mgr_test.cc451 se::Stream* stream_ptr = stream.get(); in BM_no_ops() local
452 auto runner = [&em, &counter, stream_ptr, iters]() { in BM_no_ops()
455 em.ThenExecute(stream_ptr, callback); in BM_no_ops()
/external/vboot_reference/firmware/include/
Dvboot_api.h675 uint64_t lba_count, VbExStream_t *stream_ptr);