Home
last modified time | relevance | path

Searched refs:n (Results 1 – 25 of 168) sorted by relevance

1234567

/hardware/qcom/display/msm8998/gpu_tonemapper/
Drgba_inverse_tonemap.inl21 …tension GL_OES_EGL_image_external_essl3 : require \n"
22 …cision highp float; \n"
23 …cision highp sampler2D; \n"
24 …out(binding = 0) uniform samplerExternalOES externalTexture; \n"
25 …out(binding = 1) uniform sampler3D tonemapper; \n"
26 …out(binding = 2) uniform sampler2D xform; \n"
27 …out(location = 3) uniform vec2 tSO; \n"
28 … defined(USE_NONUNIFORM_SAMPLING) \n"
29 …out(location = 4) uniform vec2 xSO; \n"
30 …dif \n"
[all …]
Dforward_tonemap.inl21 "#extension GL_OES_EGL_image_external_essl3 : require \n"
22 "precision highp float; \n"
23 "precision highp sampler2D; \n"
24 "layout(binding = 0) uniform samplerExternalOES externalTexture; \n"
25 "layout(binding = 1) uniform sampler3D tonemapper; \n"
26 "layout(binding = 2) uniform sampler2D xform; \n"
27 "layout(location = 3) uniform vec2 tSO; \n"
28 "#ifdef USE_NONUNIFORM_SAMPLING \n"
29 "layout(location = 4) uniform vec2 xSO; \n"
30 "#endif \n"
[all …]
Dfullscreen_vertex_shader.inl21 "#version 300 es \n"
22 "precision highp float; \n"
23 "layout(location = 0) in vec2 iUV; \n"
24 "out vec2 uv; \n"
25 "void main() \n"
26 "{ \n"
27 " vec2 positions[3]; \n"
28 " positions[0] = vec2(-1.0f, 3.0f); \n"
29 " positions[1] = vec2(-1.0f, -1.0f); \n"
30 " positions[2] = vec2(3.0f, -1.0f); \n"
[all …]
/hardware/qcom/sdm845/display/gpu_tonemapper/
Drgba_inverse_tonemap.inl21 …tension GL_OES_EGL_image_external_essl3 : require \n"
22 …cision highp float; \n"
23 …cision highp sampler2D; \n"
24 …out(binding = 0) uniform samplerExternalOES externalTexture; \n"
25 …out(binding = 1) uniform sampler3D tonemapper; \n"
26 …out(binding = 2) uniform sampler2D xform; \n"
27 …out(location = 3) uniform vec2 tSO; \n"
28 … defined(USE_NONUNIFORM_SAMPLING) \n"
29 …out(location = 4) uniform vec2 xSO; \n"
30 …dif \n"
[all …]
Dforward_tonemap.inl21 "#extension GL_OES_EGL_image_external_essl3 : require \n"
22 "precision highp float; \n"
23 "precision highp sampler2D; \n"
24 "layout(binding = 0) uniform samplerExternalOES externalTexture; \n"
25 "layout(binding = 1) uniform sampler3D tonemapper; \n"
26 "layout(binding = 2) uniform sampler2D xform; \n"
27 "layout(location = 3) uniform vec2 tSO; \n"
28 "#ifdef USE_NONUNIFORM_SAMPLING \n"
29 "layout(location = 4) uniform vec2 xSO; \n"
30 "#endif \n"
[all …]
Dfullscreen_vertex_shader.inl21 "#version 300 es \n"
22 "precision highp float; \n"
23 "layout(location = 0) in vec2 iUV; \n"
24 "out vec2 uv; \n"
25 "void main() \n"
26 "{ \n"
27 " vec2 positions[3]; \n"
28 " positions[0] = vec2(-1.0f, 3.0f); \n"
29 " positions[1] = vec2(-1.0f, -1.0f); \n"
30 " positions[2] = vec2(3.0f, -1.0f); \n"
[all …]
/hardware/qcom/display/msm8909w_3100/gpu_tonemapper/
Drgba_inverse_tonemap.inl21 …tension GL_OES_EGL_image_external_essl3 : require \n"
22 …cision highp float; \n"
23 …cision highp sampler2D; \n"
24 …out(binding = 0) uniform samplerExternalOES externalTexture; \n"
25 …out(binding = 1) uniform sampler3D tonemapper; \n"
26 …out(binding = 2) uniform sampler2D xform; \n"
27 …out(location = 3) uniform vec2 tSO; \n"
28 … defined(USE_NONUNIFORM_SAMPLING) \n"
29 …out(location = 4) uniform vec2 xSO; \n"
30 …dif \n"
[all …]
Dforward_tonemap.inl21 "#extension GL_OES_EGL_image_external_essl3 : require \n"
22 "precision highp float; \n"
23 "precision highp sampler2D; \n"
24 "layout(binding = 0) uniform samplerExternalOES externalTexture; \n"
25 "layout(binding = 1) uniform sampler3D tonemapper; \n"
26 "layout(binding = 2) uniform sampler2D xform; \n"
27 "layout(location = 3) uniform vec2 tSO; \n"
28 "#ifdef USE_NONUNIFORM_SAMPLING \n"
29 "layout(location = 4) uniform vec2 xSO; \n"
30 "#endif \n"
[all …]
Dfullscreen_vertex_shader.inl21 "#version 300 es \n"
22 "precision highp float; \n"
23 "layout(location = 0) in vec2 iUV; \n"
24 "out vec2 uv; \n"
25 "void main() \n"
26 "{ \n"
27 " vec2 positions[3]; \n"
28 " positions[0] = vec2(-1.0f, 3.0f); \n"
29 " positions[1] = vec2(-1.0f, -1.0f); \n"
30 " positions[2] = vec2(3.0f, -1.0f); \n"
[all …]
/hardware/qcom/display/msm8909/gpu_tonemapper/
Drgba_inverse_tonemap.inl21 …tension GL_OES_EGL_image_external_essl3 : require \n"
22 …cision highp float; \n"
23 …cision highp sampler2D; \n"
24 …out(binding = 0) uniform samplerExternalOES externalTexture; \n"
25 …out(binding = 1) uniform sampler3D tonemapper; \n"
26 …out(binding = 2) uniform sampler2D xform; \n"
27 …out(location = 3) uniform vec2 tSO; \n"
28 … defined(USE_NONUNIFORM_SAMPLING) \n"
29 …out(location = 4) uniform vec2 xSO; \n"
30 …dif \n"
[all …]
Dforward_tonemap.inl21 "#extension GL_OES_EGL_image_external_essl3 : require \n"
22 "precision highp float; \n"
23 "precision highp sampler2D; \n"
24 "layout(binding = 0) uniform samplerExternalOES externalTexture; \n"
25 "layout(binding = 1) uniform sampler3D tonemapper; \n"
26 "layout(binding = 2) uniform sampler2D xform; \n"
27 "layout(location = 3) uniform vec2 tSO; \n"
28 "#ifdef USE_NONUNIFORM_SAMPLING \n"
29 "layout(location = 4) uniform vec2 xSO; \n"
30 "#endif \n"
[all …]
Dfullscreen_vertex_shader.inl21 "#version 300 es \n"
22 "precision highp float; \n"
23 "layout(location = 0) in vec2 iUV; \n"
24 "out vec2 uv; \n"
25 "void main() \n"
26 "{ \n"
27 " vec2 positions[3]; \n"
28 " positions[0] = vec2(-1.0f, 3.0f); \n"
29 " positions[1] = vec2(-1.0f, -1.0f); \n"
30 " positions[2] = vec2(3.0f, -1.0f); \n"
[all …]
/hardware/qcom/audio/legacy/libalsa-intf/
Dalsa_mixer.c99 static const char *elem_iface_name(snd_ctl_elem_iface_t n) in elem_iface_name() argument
101 switch (n) { in elem_iface_name()
113 static const char *elem_type_name(snd_ctl_elem_type_t n) in elem_type_name() argument
115 switch (n) { in elem_type_name()
129 unsigned n,m; in mixer_close() local
135 for (n = 0; n < mixer->count; n++) { in mixer_close()
136 if (mixer->ctl[n].ename) { in mixer_close()
137 unsigned max = mixer->ctl[n].info->value.enumerated.items; in mixer_close()
139 free(mixer->ctl[n].ename[m]); in mixer_close()
140 free(mixer->ctl[n].ename); in mixer_close()
[all …]
Dalsa_pcm.c195 static inline struct snd_interval *param_to_interval(struct snd_pcm_hw_params *p, int n) in param_to_interval() argument
197 return &(p->intervals[n - SNDRV_PCM_HW_PARAM_FIRST_INTERVAL]); in param_to_interval()
200 static inline struct snd_mask *param_to_mask(struct snd_pcm_hw_params *p, int n) in param_to_mask() argument
202 return &(p->masks[n - SNDRV_PCM_HW_PARAM_FIRST_MASK]); in param_to_mask()
205 void param_set_mask(struct snd_pcm_hw_params *p, int n, unsigned bit) in param_set_mask() argument
209 if (param_is_mask(n)) { in param_set_mask()
210 struct snd_mask *m = param_to_mask(p, n); in param_set_mask()
217 void param_set_min(struct snd_pcm_hw_params *p, int n, unsigned val) in param_set_min() argument
219 if (param_is_interval(n)) { in param_set_min()
220 struct snd_interval *i = param_to_interval(p, n); in param_set_min()
[all …]
/hardware/qcom/msm8998/json-c/
Dlinkhash.c110 #define hashsize(n) ((uint32_t)1<<(n)) argument
111 #define hashmask(n) (hashsize(n)-1) argument
495 unsigned long h, n; in lh_table_insert() local
501 n = h % t->size; in lh_table_insert()
504 if(t->table[n].k == LH_EMPTY || t->table[n].k == LH_FREED) break; in lh_table_insert()
506 if ((int)++n == t->size) n = 0; in lh_table_insert()
509 t->table[n].k = k; in lh_table_insert()
510 t->table[n].v = v; in lh_table_insert()
514 t->head = t->tail = &t->table[n]; in lh_table_insert()
515 t->table[n].next = t->table[n].prev = NULL; in lh_table_insert()
[all …]
/hardware/interfaces/health/2.0/default/
Dhealthd_common.cpp151 int n; in uevent_event() local
153 n = uevent_kernel_multicast_recv(uevent_fd, msg, UEVENT_MSG_LEN); in uevent_event()
154 if (n <= 0) return; in uevent_event()
155 if (n >= UEVENT_MSG_LEN) /* overflow -- discard */ in uevent_event()
158 msg[n] = '\0'; in uevent_event()
159 msg[n + 1] = '\0'; in uevent_event()
232 for (int n = 0; n < nevents; ++n) { in healthd_mainloop() local
233 if (events[n].data.ptr) (*(void (*)(int))events[n].data.ptr)(events[n].events); in healthd_mainloop()
/hardware/ril/libril/
Dril_event.cpp143 int n = 0; in removeWatch() local
148 if ((rev != NULL) && (rev->fd > n)) { in removeWatch()
149 n = rev->fd; in removeWatch()
152 nfds = n + 1; in removeWatch()
182 static void processReadReadies(fd_set * rfds, int n) in processReadReadies() argument
184 dlog("~~~~ +processReadReadies (%d) ~~~~", n); in processReadReadies()
187 for (int i = 0; (i < MAX_FD_EVENTS) && (n > 0); i++) { in processReadReadies()
194 n--; in processReadReadies()
199 dlog("~~~~ -processReadReadies (%d) ~~~~", n); in processReadReadies()
347 int n; in ril_event_loop() local
[all …]
/hardware/interfaces/bluetooth/1.0/default/test/
Dasync_fd_watcher_unittest.cc84 int n = TEMP_FAILURE_RETRY(read(fd, server_buffer_, kBufferSize - 1)); in ReadIncomingMessage() local
85 EXPECT_FALSE(n < 0); in ReadIncomingMessage()
87 if (n == 0) { // got EOF in ReadIncomingMessage()
91 n = write(fd, "1", 1); in ReadIncomingMessage()
179 int n = write(socket_cli_fd, client_buffer_, strlen(client_buffer_)); in WriteFromClient() local
180 EXPECT_TRUE(n > 0); in WriteFromClient()
185 int n = read(socket_cli_fd, client_buffer_, 1); in AwaitServerResponse() local
187 EXPECT_TRUE(n > 0); in AwaitServerResponse()
286 int n = TEMP_FAILURE_RETRY(read(fd, read_buf, sizeof(read_buf))); in TEST_F() local
287 ASSERT_TRUE(n == sizeof(read_buf)); in TEST_F()
[all …]
/hardware/qcom/data/ipacfg-mgr/msm8998/ipanat/test/
DREADME.txt2 - To execute test suite nt times with n entries, command "ipanatest sep nt n"
8 - To execute test suite nt times with n entries, command "ipanatest reg nt n"
/hardware/qcom/sdm845/data/ipacfg-mgr/ipanat/test/
DREADME.txt2 - To execute test suite nt times with n entries, command "ipanatest sep nt n"
8 - To execute test suite nt times with n entries, command "ipanatest reg nt n"
/hardware/invensense/65xx/libsensors_iio/software/core/mllite/
Dml_math_func.c440 void inv_matrix_det_inc(float *a, float *b, int *n, int x, int y) in inv_matrix_det_inc() argument
443 for (i = 0, k = 0; i < *n; i++, k++) { in inv_matrix_det_inc()
444 for (j = 0, l = 0; j < *n; j++, l++) { in inv_matrix_det_inc()
452 *n = *n - 1; in inv_matrix_det_inc()
455 void inv_matrix_det_incd(double *a, double *b, int *n, int x, int y) in inv_matrix_det_incd() argument
458 for (i = 0, k = 0; i < *n; i++, k++) { in inv_matrix_det_incd()
459 for (j = 0, l = 0; j < *n; j++, l++) { in inv_matrix_det_incd()
467 *n = *n - 1; in inv_matrix_det_incd()
470 float inv_matrix_det(float *p, int *n) in inv_matrix_det() argument
474 m = *n; in inv_matrix_det()
[all …]
/hardware/invensense/6515/libsensors_iio/software/core/mllite/
Dml_math_func.c440 void inv_matrix_det_inc(float *a, float *b, int *n, int x, int y) in inv_matrix_det_inc() argument
443 for (i = 0, k = 0; i < *n; i++, k++) { in inv_matrix_det_inc()
444 for (j = 0, l = 0; j < *n; j++, l++) { in inv_matrix_det_inc()
452 *n = *n - 1; in inv_matrix_det_inc()
455 void inv_matrix_det_incd(double *a, double *b, int *n, int x, int y) in inv_matrix_det_incd() argument
458 for (i = 0, k = 0; i < *n; i++, k++) { in inv_matrix_det_incd()
459 for (j = 0, l = 0; j < *n; j++, l++) { in inv_matrix_det_incd()
467 *n = *n - 1; in inv_matrix_det_incd()
470 float inv_matrix_det(float *p, int *n) in inv_matrix_det() argument
474 m = *n; in inv_matrix_det()
[all …]
/hardware/google/pixel/thermal/utils/
Dthermal_watcher.cpp92 int n = uevent_kernel_multicast_recv(uevent_fd_.get(), msg, kUeventMsgLen); in parseUevent() local
93 if (n <= 0) { in parseUevent()
100 if (n >= kUeventMsgLen) { in parseUevent()
105 msg[n] = '\0'; in parseUevent()
106 msg[n + 1] = '\0'; in parseUevent()
/hardware/interfaces/usb/1.0/default/
DUsb.cpp322 int n; in uevent_event() local
324 n = uevent_kernel_multicast_recv(payload->uevent_fd, msg, UEVENT_MSG_LEN); in uevent_event()
325 if (n <= 0) in uevent_event()
327 if (n >= UEVENT_MSG_LEN) /* overflow -- discard */ in uevent_event()
330 msg[n] = '\0'; in uevent_event()
331 msg[n + 1] = '\0'; in uevent_event()
397 for (int n = 0; n < nevents; ++n) { in work() local
398 if (events[n].data.ptr) in work()
399 (*(void (*)(int, struct data *payload))events[n].data.ptr) in work()
400 (events[n].events, &payload); in work()
/hardware/qcom/audio/legacy/alsa_sound/
DAudioStreamInALSA.cpp132 int n; in read() local
370 n = pcm_read(mHandle->handle, &mSurroundInputBuffer[read], in read()
372 …ALOGV("pcm_read() returned n = %d buffer:%p size:%d", n, &mSurroundInputBuffer[read], period_bytes… in read()
373 if (n && n != -EAGAIN) { in read()
375 return static_cast<ssize_t>(n); in read()
377 else if (n < 0) { in read()
379 return static_cast<ssize_t>(n); in read()
425 n = pcm_read(mHandle->handle, buffer, in read()
427 ALOGV("pcm_read() returned n = %d", n); in read()
428 if (n && (n == -EIO || n == -EAGAIN || n == -EPIPE || n == -EBADFD)) { in read()
[all …]

1234567