Searched refs:wpos (Results 1 - 25 of 37) sorted by relevance

12

/external/qemu/android/
H A Dcbuffer.c54 int wpos = cb->rpos + cb->count; local
59 if (wpos >= cb->size)
60 wpos -= cb->size;
62 if (wpos + avail > cb->size)
63 avail = cb->size - wpos;
65 *pbase = cb->buff + wpos;
89 int wpos = cb->rpos + cb->count; local
96 if (wpos >= cb->size)
97 wpos -= cb->size;
99 ASSERT( wpos >
[all...]
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/r300/
H A Dr300_shader_semantics.h44 int wpos; member in struct:r300_shader_semantics
56 info->wpos = ATTR_UNUSED;
H A Dr300_fs.c73 fs_inputs->wpos = i;
140 if (inputs->wpos != ATTR_UNUSED) {
141 allocate(mydata, inputs->wpos, reg++);
434 int wpos, face; local
440 wpos = shader->inputs.wpos;
507 if (wpos != ATTR_UNUSED) {
509 rc_transform_fragment_wpos(&compiler.Base, wpos, wpos, TRUE);
H A Dr300_vs.c102 vs_outputs->wpos = i;
169 c->code->outputs[outputs->wpos] = reg++;
255 rc_copy_output(&compiler.Base, 0, vs->outputs.wpos);
H A Dr300_state_derived.c125 if (r300_fs(r300)->shader->inputs.wpos != ATTR_UNUSED && gen_count < 8) {
127 vs_outputs->wpos);
129 vs_outputs->wpos);
535 if (fs_inputs->wpos != ATTR_UNUSED && tex_count < 8) {
553 if (fs_inputs->wpos != ATTR_UNUSED && tex_count >= 8) {
/external/mesa3d/src/gallium/drivers/r300/
H A Dr300_shader_semantics.h44 int wpos; member in struct:r300_shader_semantics
56 info->wpos = ATTR_UNUSED;
H A Dr300_fs.c73 fs_inputs->wpos = i;
140 if (inputs->wpos != ATTR_UNUSED) {
141 allocate(mydata, inputs->wpos, reg++);
434 int wpos, face; local
440 wpos = shader->inputs.wpos;
507 if (wpos != ATTR_UNUSED) {
509 rc_transform_fragment_wpos(&compiler.Base, wpos, wpos, TRUE);
H A Dr300_vs.c102 vs_outputs->wpos = i;
169 c->code->outputs[outputs->wpos] = reg++;
255 rc_copy_output(&compiler.Base, 0, vs->outputs.wpos);
/external/qemu/audio/
H A Desdaudio.c86 int wpos; member in struct:__anon29235
336 int incr, to_grab, wpos; local
353 wpos = hw->wpos;
361 int chunk = audio_MIN (to_grab, hw->samples - wpos);
362 void *buf = advance (esd->pcm_buf, wpos);
383 wpos = (wpos + rsamples) % hw->samples;
387 hw->conv (hw->conv_buf + wpos, buf, nread >> hw->info.shift,
389 wpos
[all...]
H A Dwavaudio.c354 int wpos, live, decr, samples; local
378 wpos = hw->wpos;
380 int left_till_end_samples = hw->samples - wpos;
383 dst = hw->conv_buf + wpos;
384 src = advance (wav->pcm_buf, wpos << hw->info.shift);
394 wpos = (wpos + read_samples) % hw->samples;
399 hw->wpos = wpos;
[all...]
H A Dpaaudio.c59 int wpos; member in struct:__anon29242
195 int incr, to_grab, wpos; local
212 wpos = hw->wpos;
220 int chunk = audio_MIN (to_grab, hw->samples - wpos);
221 void *buf = advance (pa->pcm_buf, wpos);
229 hw->conv (hw->conv_buf + wpos, buf, chunk, &nominal_volume);
230 wpos = (wpos + chunk) % hw->samples;
238 pa->wpos
[all...]
H A Ddsoundaudio.c578 DWORD wpos, ppos, old_pos; local
593 ds->first_time ? &wpos : NULL
606 cur_blat = audio_ring_dist (wpos, ppos, bufsize);
608 old_pos = wpos;
615 old_pos = wpos;
799 hw->wpos = rpos >> hwshift;
808 len = audio_ring_dist (cpos, hw->wpos, hw->samples);
817 hw->wpos << hwshift,
834 hw->conv (hw->conv_buf + hw->wpos, p1, len1, &nominal_volume);
842 hw->wpos
[all...]
H A Dalsaaudio.c117 int wpos; member in struct:ALSAVoiceOut
787 int left_till_end_samples = hw->samples - alsa->wpos;
789 char *src = advance (alsa->pcm_buf, alsa->wpos << hw->info.shift);
838 alsa->wpos = (alsa->wpos + written) % hw->samples;
1059 { .add = hw->wpos, .len = 0 },
1106 if (hw->wpos + decr > hw->samples) {
1107 bufs[0].len = (hw->samples - hw->wpos);
1108 bufs[1].len = (decr - (hw->samples - hw->wpos));
1171 hw->wpos
[all...]
H A Dossaudio.c49 int wpos; member in struct:OSSVoiceOut
395 int samples_till_end = hw->samples - oss->wpos;
398 void *pcm = advance (oss->pcm_buf, oss->wpos << hw->info.shift);
417 oss->wpos = (oss->wpos + samples_written) % hw->samples;
751 { .add = hw->wpos, .len = 0 },
759 if (hw->wpos + dead > hw->samples) {
760 bufs[0].len = (hw->samples - hw->wpos) << hwshift;
761 bufs[1].len = (dead - (hw->samples - hw->wpos)) << hwshift;
805 hw->wpos
[all...]
H A Dcoreaudio.c622 hw->wpos = core->pos;
643 int wpos, avail; local
671 wpos = core->pos;
672 dst = hw->conv_buf + wpos;
690 wpos = (wpos + frameCount) % hw->samples;
692 core->pos = wpos;
H A Dwinaudio.c533 int hw_samples = audio_MIN(hw->samples - hw->wpos, live);
534 struct st_sample* dst = hw->conv_buf + hw->wpos;
543 D("%s: buffer:%d pos:%d size:%d wsamples:%d wbytes:%d live:%d wpos:%d hwsamples:%d\n",
545 hw->wpos, hw->samples);
549 hw->wpos += wav_samples;
550 if (hw->wpos >= hw->samples)
551 hw->wpos -= hw->samples;
H A Dfmodaudio.c473 len = audio_ring_dist (new_pos, hw->wpos, hw->samples);
480 hw->wpos, len,
491 hw->conv (hw->conv_buf + hw->wpos, p1, len1, &nominal_volume);
498 hw->wpos = (hw->wpos + decr) % hw->samples;
/external/chromium_org/third_party/mesa/src/src/mesa/swrast/
H A Ds_fragprog.c165 GLfloat *wpos = span->array->attribs[FRAG_ATTRIB_WPOS][col]; local
174 wpos[1] = ctx->DrawBuffer->Height - 1 - wpos[1];
176 wpos[0] += 0.5F;
177 wpos[1] += 0.5F;
/external/mesa3d/src/mesa/swrast/
H A Ds_fragprog.c165 GLfloat *wpos = span->array->attribs[FRAG_ATTRIB_WPOS][col]; local
174 wpos[1] = ctx->DrawBuffer->Height - 1 - wpos[1];
176 wpos[0] += 0.5F;
177 wpos[1] += 0.5F;
/external/llvm/utils/TableGen/
H A DCodeGenInstruction.cpp200 std::string::size_type wpos = CStr.find_first_of(" \t"); local
202 std::string Tok = CStr.substr(start, wpos - start);
204 std::string Name = CStr.substr(wpos+1);
205 wpos = Name.find_first_not_of(" \t");
206 if (wpos == std::string::npos)
208 Name = Name.substr(wpos);
226 wpos = Name.find_first_of(" \t");
227 if (wpos == std::string::npos)
229 std::string DestOpName = Name.substr(0, wpos);
233 wpos
[all...]
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/r300/compiler/
H A Dradeon_compiler.h108 void rc_transform_fragment_wpos(struct radeon_compiler * c, unsigned wpos, unsigned new_input,
/external/mesa3d/src/gallium/drivers/r300/compiler/
H A Dradeon_compiler.h108 void rc_transform_fragment_wpos(struct radeon_compiler * c, unsigned wpos, unsigned new_input,
/external/qemu/hw/android/goldfish/
H A Dpipe.c651 int wpos = pipe->pos + pipe->count; local
655 if (wpos > pipe->size) {
656 wpos -= pipe->size;
657 memcpy(newbuff + pipe->size, newbuff, wpos);
675 int wpos = pipe->pos + pipe->count; local
676 if (wpos >= pipe->size) {
677 wpos -= pipe->size;
679 if (wpos + avail <= pipe->size) {
680 memcpy(pipe->buffer + wpos, buff->data, avail);
682 int avail2 = pipe->size - wpos;
[all...]
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/i965/
H A Dbrw_fs.cpp601 fs_reg wpos = *reg; local
606 emit(BRW_OPCODE_MOV, wpos, this->pixel_x);
608 emit(BRW_OPCODE_ADD, wpos, this->pixel_x, fs_reg(0.5f));
610 wpos.reg_offset++;
614 emit(BRW_OPCODE_MOV, wpos, this->pixel_y);
624 emit(BRW_OPCODE_ADD, wpos, pixel_y, fs_reg(offset));
626 wpos.reg_offset++;
630 emit(BRW_OPCODE_MOV, wpos,
633 emit(FS_OPCODE_LINTERP, wpos,
638 wpos
[all...]
/external/mesa3d/src/mesa/drivers/dri/i965/
H A Dbrw_fs.cpp601 fs_reg wpos = *reg; local
606 emit(BRW_OPCODE_MOV, wpos, this->pixel_x);
608 emit(BRW_OPCODE_ADD, wpos, this->pixel_x, fs_reg(0.5f));
610 wpos.reg_offset++;
614 emit(BRW_OPCODE_MOV, wpos, this->pixel_y);
624 emit(BRW_OPCODE_ADD, wpos, pixel_y, fs_reg(offset));
626 wpos.reg_offset++;
630 emit(BRW_OPCODE_MOV, wpos,
633 emit(FS_OPCODE_LINTERP, wpos,
638 wpos
[all...]

Completed in 415 milliseconds

12