/external/libvorbis/lib/ |
D | envelope.c | 90 static int _ve_amp(envelope_lookup *ve, in _ve_amp() argument 95 long n=ve->winlength; in _ve_amp() 104 float minV=ve->minenergy; in _ve_amp() 109 int stretch=max(VE_MINSTRETCH,ve->stretch/2); in _ve_amp() 110 float penalty=gi->stretch_penalty-(ve->stretch/2-VE_MINSTRETCH); in _ve_amp() 119 vec[i]=data[i]*ve->mdct_win[i]; in _ve_amp() 120 mdct_forward(&ve->mdct,vec,vec); in _ve_amp() 220 envelope_lookup *ve=((private_state *)(v->backend_state))->ve; in _ve_envelope_search() local 223 int first=ve->current/ve->searchstep; in _ve_envelope_search() 224 int last=v->pcm_current/ve->searchstep-VE_WIN; in _ve_envelope_search() [all …]
|
/external/mesa3d/src/gallium/auxiliary/util/ |
D | u_vbuf.c | 42 struct pipe_vertex_element ve[PIPE_MAX_ATTRIBS]; member 108 struct u_vbuf_elements *ve, *ve_saved; member 202 struct u_vbuf_elements *ve; in u_vbuf_set_vertex_elements_internal() local 222 ve = cso->data; in u_vbuf_set_vertex_elements_internal() 224 ve = ((struct cso_velements *)cso_hash_iter_data(iter))->data; in u_vbuf_set_vertex_elements_internal() 227 assert(ve); in u_vbuf_set_vertex_elements_internal() 229 if (ve != mgr->ve) in u_vbuf_set_vertex_elements_internal() 230 pipe->bind_vertex_elements_state(pipe, ve->driver_cso); in u_vbuf_set_vertex_elements_internal() 231 return ve; in u_vbuf_set_vertex_elements_internal() 237 mgr->ve = u_vbuf_set_vertex_elements_internal(mgr, count, states); in u_vbuf_set_vertex_elements() [all …]
|
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/util/ |
D | u_vbuf.c | 42 struct pipe_vertex_element ve[PIPE_MAX_ATTRIBS]; member 108 struct u_vbuf_elements *ve, *ve_saved; member 202 struct u_vbuf_elements *ve; in u_vbuf_set_vertex_elements_internal() local 222 ve = cso->data; in u_vbuf_set_vertex_elements_internal() 224 ve = ((struct cso_velements *)cso_hash_iter_data(iter))->data; in u_vbuf_set_vertex_elements_internal() 227 assert(ve); in u_vbuf_set_vertex_elements_internal() 229 if (ve != mgr->ve) in u_vbuf_set_vertex_elements_internal() 230 pipe->bind_vertex_elements_state(pipe, ve->driver_cso); in u_vbuf_set_vertex_elements_internal() 231 return ve; in u_vbuf_set_vertex_elements_internal() 237 mgr->ve = u_vbuf_set_vertex_elements_internal(mgr, count, states); in u_vbuf_set_vertex_elements() [all …]
|
/external/chromium_org/third_party/mesa/src/src/gallium/tests/graw/ |
D | tri-instanced.c | 107 struct pipe_vertex_element ve[3]; in set_vertices() local 112 memset(ve, 0, sizeof ve); in set_vertices() 115 ve[0].src_offset = Offset(struct vertex, position); in set_vertices() 116 ve[0].src_format = PIPE_FORMAT_R32G32B32A32_FLOAT; in set_vertices() 117 ve[0].vertex_buffer_index = 0; in set_vertices() 120 ve[1].src_offset = Offset(struct vertex, color); in set_vertices() 121 ve[1].src_format = PIPE_FORMAT_R32G32B32A32_FLOAT; in set_vertices() 122 ve[1].vertex_buffer_index = 0; in set_vertices() 125 ve[2].src_offset = 0; in set_vertices() 126 ve[2].src_format = PIPE_FORMAT_R32G32B32A32_FLOAT; in set_vertices() [all …]
|
D | fs-write-z.c | 79 struct pipe_vertex_element ve[2]; in set_vertices() local 83 memset(ve, 0, sizeof ve); in set_vertices() 85 ve[0].src_offset = Offset(struct vertex, position); in set_vertices() 86 ve[0].src_format = PIPE_FORMAT_R32G32B32A32_FLOAT; in set_vertices() 87 ve[1].src_offset = Offset(struct vertex, color); in set_vertices() 88 ve[1].src_format = PIPE_FORMAT_R32G32B32A32_FLOAT; in set_vertices() 90 handle = info.ctx->create_vertex_elements_state(info.ctx, 2, ve); in set_vertices()
|
D | fs-frontface.c | 75 struct pipe_vertex_element ve[2]; in set_vertices() local 79 memset(ve, 0, sizeof ve); in set_vertices() 81 ve[0].src_offset = Offset(struct vertex, position); in set_vertices() 82 ve[0].src_format = PIPE_FORMAT_R32G32B32A32_FLOAT; in set_vertices() 83 ve[1].src_offset = Offset(struct vertex, color); in set_vertices() 84 ve[1].src_format = PIPE_FORMAT_R32G32B32A32_FLOAT; in set_vertices() 86 handle = info.ctx->create_vertex_elements_state(info.ctx, 2, ve); in set_vertices()
|
D | fs-fragcoord.c | 53 struct pipe_vertex_element ve[2]; in set_vertices() local 57 memset(ve, 0, sizeof ve); in set_vertices() 59 ve[0].src_offset = Offset(struct vertex, position); in set_vertices() 60 ve[0].src_format = PIPE_FORMAT_R32G32B32A32_FLOAT; in set_vertices() 61 ve[1].src_offset = Offset(struct vertex, color); in set_vertices() 62 ve[1].src_format = PIPE_FORMAT_R32G32B32A32_FLOAT; in set_vertices() 64 handle = info.ctx->create_vertex_elements_state(info.ctx, 2, ve); in set_vertices()
|
D | tri.c | 41 struct pipe_vertex_element ve[2]; in set_vertices() local 45 memset(ve, 0, sizeof ve); in set_vertices() 47 ve[0].src_offset = Offset(struct vertex, position); in set_vertices() 48 ve[0].src_format = PIPE_FORMAT_R32G32B32A32_FLOAT; in set_vertices() 49 ve[1].src_offset = Offset(struct vertex, color); in set_vertices() 50 ve[1].src_format = PIPE_FORMAT_R32G32B32A32_FLOAT; in set_vertices() 52 handle = info.ctx->create_vertex_elements_state(info.ctx, 2, ve); in set_vertices()
|
D | quad-tex.c | 42 struct pipe_vertex_element ve[2]; in set_vertices() local 46 memset(ve, 0, sizeof ve); in set_vertices() 48 ve[0].src_offset = Offset(struct vertex, position); in set_vertices() 49 ve[0].src_format = PIPE_FORMAT_R32G32B32A32_FLOAT; in set_vertices() 50 ve[1].src_offset = Offset(struct vertex, color); in set_vertices() 51 ve[1].src_format = PIPE_FORMAT_R32G32B32A32_FLOAT; in set_vertices() 53 handle = info.ctx->create_vertex_elements_state(info.ctx, 2, ve); in set_vertices()
|
D | tex-swizzle.c | 40 struct pipe_vertex_element ve[2]; in set_vertices() local 44 memset(ve, 0, sizeof ve); in set_vertices() 46 ve[0].src_offset = Offset(struct vertex, position); in set_vertices() 47 ve[0].src_format = PIPE_FORMAT_R32G32B32A32_FLOAT; in set_vertices() 48 ve[1].src_offset = Offset(struct vertex, color); in set_vertices() 49 ve[1].src_format = PIPE_FORMAT_R32G32B32A32_FLOAT; in set_vertices() 51 handle = info.ctx->create_vertex_elements_state(info.ctx, 2, ve); in set_vertices()
|
D | tex-srgb.c | 58 struct pipe_vertex_element ve[2]; in set_vertices() local 62 memset(ve, 0, sizeof ve); in set_vertices() 64 ve[0].src_offset = Offset(struct vertex, position); in set_vertices() 65 ve[0].src_format = PIPE_FORMAT_R32G32B32A32_FLOAT; in set_vertices() 66 ve[1].src_offset = Offset(struct vertex, color); in set_vertices() 67 ve[1].src_format = PIPE_FORMAT_R32G32B32A32_FLOAT; in set_vertices() 69 handle = info.ctx->create_vertex_elements_state(info.ctx, 2, ve); in set_vertices()
|
D | occlusion-query.c | 80 struct pipe_vertex_element ve[2]; in set_vertices() local 84 memset(ve, 0, sizeof ve); in set_vertices() 86 ve[0].src_offset = Offset(struct vertex, position); in set_vertices() 87 ve[0].src_format = PIPE_FORMAT_R32G32B32A32_FLOAT; in set_vertices() 88 ve[1].src_offset = Offset(struct vertex, color); in set_vertices() 89 ve[1].src_format = PIPE_FORMAT_R32G32B32A32_FLOAT; in set_vertices() 91 handle = info.ctx->create_vertex_elements_state(info.ctx, 2, ve); in set_vertices()
|
/external/mesa3d/src/gallium/tests/graw/ |
D | tri-instanced.c | 107 struct pipe_vertex_element ve[3]; in set_vertices() local 112 memset(ve, 0, sizeof ve); in set_vertices() 115 ve[0].src_offset = Offset(struct vertex, position); in set_vertices() 116 ve[0].src_format = PIPE_FORMAT_R32G32B32A32_FLOAT; in set_vertices() 117 ve[0].vertex_buffer_index = 0; in set_vertices() 120 ve[1].src_offset = Offset(struct vertex, color); in set_vertices() 121 ve[1].src_format = PIPE_FORMAT_R32G32B32A32_FLOAT; in set_vertices() 122 ve[1].vertex_buffer_index = 0; in set_vertices() 125 ve[2].src_offset = 0; in set_vertices() 126 ve[2].src_format = PIPE_FORMAT_R32G32B32A32_FLOAT; in set_vertices() [all …]
|
D | fs-frontface.c | 75 struct pipe_vertex_element ve[2]; in set_vertices() local 79 memset(ve, 0, sizeof ve); in set_vertices() 81 ve[0].src_offset = Offset(struct vertex, position); in set_vertices() 82 ve[0].src_format = PIPE_FORMAT_R32G32B32A32_FLOAT; in set_vertices() 83 ve[1].src_offset = Offset(struct vertex, color); in set_vertices() 84 ve[1].src_format = PIPE_FORMAT_R32G32B32A32_FLOAT; in set_vertices() 86 handle = info.ctx->create_vertex_elements_state(info.ctx, 2, ve); in set_vertices()
|
D | fs-write-z.c | 79 struct pipe_vertex_element ve[2]; in set_vertices() local 83 memset(ve, 0, sizeof ve); in set_vertices() 85 ve[0].src_offset = Offset(struct vertex, position); in set_vertices() 86 ve[0].src_format = PIPE_FORMAT_R32G32B32A32_FLOAT; in set_vertices() 87 ve[1].src_offset = Offset(struct vertex, color); in set_vertices() 88 ve[1].src_format = PIPE_FORMAT_R32G32B32A32_FLOAT; in set_vertices() 90 handle = info.ctx->create_vertex_elements_state(info.ctx, 2, ve); in set_vertices()
|
D | fs-fragcoord.c | 53 struct pipe_vertex_element ve[2]; in set_vertices() local 57 memset(ve, 0, sizeof ve); in set_vertices() 59 ve[0].src_offset = Offset(struct vertex, position); in set_vertices() 60 ve[0].src_format = PIPE_FORMAT_R32G32B32A32_FLOAT; in set_vertices() 61 ve[1].src_offset = Offset(struct vertex, color); in set_vertices() 62 ve[1].src_format = PIPE_FORMAT_R32G32B32A32_FLOAT; in set_vertices() 64 handle = info.ctx->create_vertex_elements_state(info.ctx, 2, ve); in set_vertices()
|
D | tri.c | 41 struct pipe_vertex_element ve[2]; in set_vertices() local 45 memset(ve, 0, sizeof ve); in set_vertices() 47 ve[0].src_offset = Offset(struct vertex, position); in set_vertices() 48 ve[0].src_format = PIPE_FORMAT_R32G32B32A32_FLOAT; in set_vertices() 49 ve[1].src_offset = Offset(struct vertex, color); in set_vertices() 50 ve[1].src_format = PIPE_FORMAT_R32G32B32A32_FLOAT; in set_vertices() 52 handle = info.ctx->create_vertex_elements_state(info.ctx, 2, ve); in set_vertices()
|
D | quad-tex.c | 42 struct pipe_vertex_element ve[2]; in set_vertices() local 46 memset(ve, 0, sizeof ve); in set_vertices() 48 ve[0].src_offset = Offset(struct vertex, position); in set_vertices() 49 ve[0].src_format = PIPE_FORMAT_R32G32B32A32_FLOAT; in set_vertices() 50 ve[1].src_offset = Offset(struct vertex, color); in set_vertices() 51 ve[1].src_format = PIPE_FORMAT_R32G32B32A32_FLOAT; in set_vertices() 53 handle = info.ctx->create_vertex_elements_state(info.ctx, 2, ve); in set_vertices()
|
D | tex-swizzle.c | 40 struct pipe_vertex_element ve[2]; in set_vertices() local 44 memset(ve, 0, sizeof ve); in set_vertices() 46 ve[0].src_offset = Offset(struct vertex, position); in set_vertices() 47 ve[0].src_format = PIPE_FORMAT_R32G32B32A32_FLOAT; in set_vertices() 48 ve[1].src_offset = Offset(struct vertex, color); in set_vertices() 49 ve[1].src_format = PIPE_FORMAT_R32G32B32A32_FLOAT; in set_vertices() 51 handle = info.ctx->create_vertex_elements_state(info.ctx, 2, ve); in set_vertices()
|
D | occlusion-query.c | 80 struct pipe_vertex_element ve[2]; in set_vertices() local 84 memset(ve, 0, sizeof ve); in set_vertices() 86 ve[0].src_offset = Offset(struct vertex, position); in set_vertices() 87 ve[0].src_format = PIPE_FORMAT_R32G32B32A32_FLOAT; in set_vertices() 88 ve[1].src_offset = Offset(struct vertex, color); in set_vertices() 89 ve[1].src_format = PIPE_FORMAT_R32G32B32A32_FLOAT; in set_vertices() 91 handle = info.ctx->create_vertex_elements_state(info.ctx, 2, ve); in set_vertices()
|
D | tex-srgb.c | 58 struct pipe_vertex_element ve[2]; in set_vertices() local 62 memset(ve, 0, sizeof ve); in set_vertices() 64 ve[0].src_offset = Offset(struct vertex, position); in set_vertices() 65 ve[0].src_format = PIPE_FORMAT_R32G32B32A32_FLOAT; in set_vertices() 66 ve[1].src_offset = Offset(struct vertex, color); in set_vertices() 67 ve[1].src_format = PIPE_FORMAT_R32G32B32A32_FLOAT; in set_vertices() 69 handle = info.ctx->create_vertex_elements_state(info.ctx, 2, ve); in set_vertices()
|
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/nv50/ |
D | nv50_vbo.c | 72 const struct pipe_vertex_element *ve = &elements[i]; in nv50_vertex_state_create() local 73 const unsigned vbi = ve->vertex_buffer_index; in nv50_vertex_state_create() 75 enum pipe_format fmt = ve->src_format; in nv50_vertex_state_create() 96 if (so->vb_access_size[vbi] < (ve->src_offset + size)) in nv50_vertex_state_create() 97 so->vb_access_size[vbi] = ve->src_offset + size; in nv50_vertex_state_create() 103 transkey.element[j].input_format = ve->src_format; in nv50_vertex_state_create() 105 transkey.element[j].input_offset = ve->src_offset; in nv50_vertex_state_create() 106 transkey.element[j].instance_divisor = ve->instance_divisor; in nv50_vertex_state_create() 112 if (unlikely(ve->instance_divisor)) { in nv50_vertex_state_create() 115 if (ve->instance_divisor < so->min_instance_div[vbi]) in nv50_vertex_state_create() [all …]
|
/external/mesa3d/src/gallium/drivers/nv50/ |
D | nv50_vbo.c | 72 const struct pipe_vertex_element *ve = &elements[i]; in nv50_vertex_state_create() local 73 const unsigned vbi = ve->vertex_buffer_index; in nv50_vertex_state_create() 75 enum pipe_format fmt = ve->src_format; in nv50_vertex_state_create() 96 if (so->vb_access_size[vbi] < (ve->src_offset + size)) in nv50_vertex_state_create() 97 so->vb_access_size[vbi] = ve->src_offset + size; in nv50_vertex_state_create() 103 transkey.element[j].input_format = ve->src_format; in nv50_vertex_state_create() 105 transkey.element[j].input_offset = ve->src_offset; in nv50_vertex_state_create() 106 transkey.element[j].instance_divisor = ve->instance_divisor; in nv50_vertex_state_create() 112 if (unlikely(ve->instance_divisor)) { in nv50_vertex_state_create() 115 if (ve->instance_divisor < so->min_instance_div[vbi]) in nv50_vertex_state_create() [all …]
|
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/nv30/ |
D | nv30_vbo.c | 38 struct pipe_vertex_element *ve, unsigned attr) in nv30_emit_vtxattr() argument 40 const unsigned nc = util_format_get_nr_components(ve->src_format); in nv30_emit_vtxattr() 47 ve->src_offset, NOUVEAU_BO_RD); in nv30_emit_vtxattr() 49 util_format_read_4f(ve->src_format, v, 0, data, 0, 0, 0, 1, 1); in nv30_emit_vtxattr() 135 struct pipe_vertex_element *ve = &nv30->vertex->pipe[i]; in nv30_update_user_vbufs() local 136 const int b = ve->vertex_buffer_index; in nv30_update_user_vbufs() 144 nv30_emit_vtxattr(nv30, vb, ve, i); in nv30_update_user_vbufs() 154 offset = vb->buffer_offset + ve->src_offset; in nv30_update_user_vbufs() 184 struct pipe_vertex_element *ve; in nv30_vbo_validate() local 206 ve = &vertex->pipe[i]; in nv30_vbo_validate() [all …]
|
/external/chromium_org/third_party/webrtc/voice_engine/test/android/android_test/jni/ |
D | android_test.cc | 119 VoiceEngine* ve; member 223 veData2.ve = VoiceEngine::Create(); in Process() 245 veData1.ve = VoiceEngine::Create(); in Process() 305 VoiceEngine::Delete(veData1.ve); in CloseTest() 306 VoiceEngine::Delete(veData2.ve); in CloseTest() 307 veData2.ve = NULL; in CloseTest() 308 veData2.ve = NULL; in CloseTest() 440 if (veData1.ve) in Java_org_webrtc_voiceengine_test_AndroidTest_Create() 454 veData1.ve = VoiceEngine::Create(); in Java_org_webrtc_voiceengine_test_AndroidTest_Create() 455 if (!veData1.ve) in Java_org_webrtc_voiceengine_test_AndroidTest_Create() [all …]
|