Home
last modified time | relevance | path

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

/external/mesa3d/src/compiler/nir/
Dnir_lower_wpos_center.c51 nir_ssa_def *wpos = &intr->dest.ssa; in update_fragcoord() local
58 wpos = nir_fadd(b, wpos, nir_imm_vec4(b, 0.5f, 0.5f, 0.0f, 0.0f)); in update_fragcoord()
62 wpos = nir_fadd(b, wpos, in update_fragcoord()
70 nir_ssa_def_rewrite_uses_after(&intr->dest.ssa, nir_src_for_ssa(wpos), in update_fragcoord()
71 wpos->parent_instr); in update_fragcoord()
/external/libwebsockets/minimal-examples/raw/minimal-raw-audio/
Daudio.c32 int wpos; member
151 ((vhd->wpos - vhd->rpos) & in callback_raw_test()
157 n = snd_pcm_readi(vhd->pcm_capture, &vhd->simplebuf[vhd->wpos], in callback_raw_test()
158 (sizeof(vhd->simplebuf) - vhd->wpos) / 2); in callback_raw_test()
162 vhd->wpos = (vhd->wpos + (n * 2)) & (sizeof(vhd->simplebuf) - 1); in callback_raw_test()
/external/libwebsockets/minimal-examples/secure-streams/minimal-secure-streams-alexa/
Daudio.c55 int wpos; member
87 while (s && avhd->wpos != avhd->npos) { in spool_capture()
94 avhd->wpos, avhd->npos); in spool_capture()
359 vhd->p[(vhd->wpos + s) % LWS_ARRAY_SIZE(vhd->p)] = temp[s]; in callback_audio()
430 s = (vhd->wpos - vhd->porcpos) % LWS_ARRAY_SIZE(vhd->p); in callback_audio()
458 vhd->wpos = (vhd->wpos + n) % LWS_ARRAY_SIZE(vhd->p); in callback_audio()
/external/llvm/utils/TableGen/
DCodeGenInstruction.cpp206 std::string::size_type wpos = CStr.find_first_of(" \t"); in ParseConstraint() local
208 std::string Tok = CStr.substr(start, wpos - start); in ParseConstraint()
210 std::string Name = CStr.substr(wpos+1); in ParseConstraint()
211 wpos = Name.find_first_not_of(" \t"); in ParseConstraint()
212 if (wpos == std::string::npos) in ParseConstraint()
214 Name = Name.substr(wpos); in ParseConstraint()
232 wpos = Name.find_first_of(" \t"); in ParseConstraint()
233 if (wpos == std::string::npos) in ParseConstraint()
235 std::string DestOpName = Name.substr(0, wpos); in ParseConstraint()
239 wpos = Name.find_first_not_of(" \t"); in ParseConstraint()
[all …]
/external/mesa3d/src/mesa/swrast/
Ds_fragprog.c164 GLfloat *wpos = span->array->attribs[VARYING_SLOT_POS][col]; in init_machine() local
168 wpos[1] = ctx->DrawBuffer->Height - 1 - wpos[1]; in init_machine()
170 wpos[0] += 0.5F; in init_machine()
171 wpos[1] += 0.5F; in init_machine()
Ds_span.c628 GLfloat (*wpos)[4] = span->array->attribs[VARYING_SLOT_POS]; in interpolate_wpos() local
635 wpos[i][0] = (GLfloat) span->array->x[i]; in interpolate_wpos()
636 wpos[i][1] = (GLfloat) span->array->y[i]; in interpolate_wpos()
641 wpos[i][0] = (GLfloat) span->x + i; in interpolate_wpos()
642 wpos[i][1] = (GLfloat) span->y; in interpolate_wpos()
649 wpos[i][2] = (GLfloat) span->array->z[i] * zScale; in interpolate_wpos()
650 wpos[i][3] = w; in interpolate_wpos()
/external/llvm-project/llvm/utils/TableGen/
DCodeGenInstruction.cpp237 std::string::size_type wpos = CStr.find_first_of(" \t"); in ParseConstraint() local
239 std::string Tok = CStr.substr(start, wpos - start); in ParseConstraint()
241 std::string Name = CStr.substr(wpos+1); in ParseConstraint()
242 wpos = Name.find_first_not_of(" \t"); in ParseConstraint()
243 if (wpos == std::string::npos) in ParseConstraint()
247 Name = Name.substr(wpos); in ParseConstraint()
269 wpos = CStr.find_first_of(" \t", start); in ParseConstraint()
270 if (wpos == std::string::npos || wpos > pos) in ParseConstraint()
275 std::string(StringRef(CStr).substr(start, wpos - start)); in ParseConstraint()
278 wpos = CStr.find_first_not_of(" \t", pos + 1); in ParseConstraint()
[all …]
/external/mesa3d/src/gallium/drivers/r300/
Dr300_fs.c73 fs_inputs->wpos = i; in r300_shader_read_fs_inputs()
140 if (inputs->wpos != ATTR_UNUSED) { in allocate_hardware_inputs()
141 allocate(mydata, inputs->wpos, reg++); in allocate_hardware_inputs()
421 int wpos, face; in r300_translate_fragment_shader() local
427 wpos = shader->inputs.wpos; in r300_translate_fragment_shader()
490 if (wpos != ATTR_UNUSED) { in r300_translate_fragment_shader()
492 rc_transform_fragment_wpos(&compiler.Base, wpos, wpos, TRUE); in r300_translate_fragment_shader()
Dr300_shader_semantics.h44 int wpos; member
58 info->wpos = ATTR_UNUSED; in r300_shader_semantics_reset()
Dr300_vs.c103 vs_outputs->wpos = i; in r300_shader_read_vs_outputs()
170 c->code->outputs[outputs->wpos] = reg++; in set_vertex_inputs_outputs()
256 rc_copy_output(&compiler.Base, 0, vs->outputs.wpos); in r300_translate_vertex_shader()
Dr300_state_derived.c118 if (r300_fs(r300)->shader->inputs.wpos != ATTR_UNUSED && gen_count < 8) { in r300_draw_emit_all_attribs()
120 vs_outputs->wpos); in r300_draw_emit_all_attribs()
121 r300_draw_emit_attrib(r300, EMIT_4F, vs_outputs->wpos); in r300_draw_emit_all_attribs()
440 (fs_inputs->wpos != ATTR_UNUSED) > 8) { in r300_update_rs_block()
580 if (fs_inputs->wpos != ATTR_UNUSED && tex_count < 8) { in r300_update_rs_block()
598 if (fs_inputs->wpos != ATTR_UNUSED && tex_count >= 8) { in r300_update_rs_block()
Dr300_vs_draw.c375 vs->outputs.wpos = vs->outputs.generic[transform.last_generic + 1]; in r300_draw_init_vertex_shader()
Dr300_state.c1728 r300_fs(r300)->shader->inputs.wpos != ATTR_UNUSED) { in r300_set_viewport_states()
/external/mesa3d/src/gallium/drivers/r300/compiler/
Dradeon_compiler.h107 void rc_transform_fragment_wpos(struct radeon_compiler * c, unsigned wpos, unsigned new_input,
Dradeon_compiler.c237 void rc_transform_fragment_wpos(struct radeon_compiler * c, unsigned wpos, unsigned new_input, in rc_transform_fragment_wpos() argument
246 c->Program.InputsRead &= ~(1 << wpos); in rc_transform_fragment_wpos()
307 inst->U.I.SrcReg[i].Index == wpos) { in rc_transform_fragment_wpos()
/external/libaom/libaom/av1/encoder/
Dbitstream.c3193 uint32_t wpos = 0; in remux_tiles() local
3210 mem_put_varsize(dst + wpos, tcsb, tile_col_size); in remux_tiles()
3211 wpos += tcsb; in remux_tiles()
3223 mem_put_varsize(dst + wpos, tsb, tile_header); in remux_tiles()
3224 wpos += tsb; in remux_tiles()
3226 mem_put_varsize(dst + wpos, tsb, tile_header); in remux_tiles()
3227 wpos += tsb; in remux_tiles()
3230 memmove(dst + wpos, dst + rpos, tile_header); in remux_tiles()
3232 wpos += tile_header; in remux_tiles()
3237 assert(rpos > wpos); in remux_tiles()
[all …]
/external/mesa3d/src/mesa/state_tracker/
Dst_mesa_to_tgsi.c649 struct ureg_src *wpos = in emit_wpos_adjustment() local
653 struct ureg_src wpos_input = *wpos; in emit_wpos_adjustment()
704 *wpos = ureg_src(wpos_temp); in emit_wpos_adjustment()
Dst_glsl_to_tgsi.cpp6333 struct ureg_src *wpos = in emit_wpos_adjustment() local
6337 struct ureg_src wpos_input = *wpos; in emit_wpos_adjustment()
6388 *wpos = ureg_src(wpos_temp); in emit_wpos_adjustment()
/external/zopfli/src/zopflipng/lodepng/
Dlodepng.cpp1415 static void updateHashChain(Hash* hash, size_t wpos, int hashval) in updateHashChain() argument
1417 hash->val[wpos] = hashval; in updateHashChain()
1418 if(hash->head[hashval] != -1) hash->chain[wpos] = hash->head[hashval]; in updateHashChain()
1419 hash->head[hashval] = wpos; in updateHashChain()
1459 size_t wpos = pos & (windowsize - 1); /*position for in 'circular' hash buffers*/ in encodeLZ77() local
1463 updateHashChain(hash, wpos, hashval); in encodeLZ77()
1469 hash->zeros[wpos] = numzeros; in encodeLZ77()
1489 if(prevpos < wpos && hashpos > prevpos && hashpos <= wpos) break; in encodeLZ77()
1490 if(prevpos > wpos && (hashpos <= wpos || hashpos > prevpos)) break; in encodeLZ77()
1493 current_offset = hashpos <= wpos ? wpos - hashpos : wpos - hashpos + windowsize; in encodeLZ77()
[all …]
/external/wpa_supplicant_8/wpa_supplicant/
Dsme.c1982 u8 *rm_en_dup = NULL, *wpos; in sme_associate() local
2026 wpos = wpa_s->sme.assoc_req_ie; in sme_associate()
2028 os_memcpy(wpos, pos, 2 + pos[1]); in sme_associate()
2029 wpos += 2 + pos[1]; in sme_associate()
2033 os_memcpy(wpos, rm_en_dup, rm_en_len); in sme_associate()
2034 wpos += rm_en_len; in sme_associate()
2037 os_memcpy(wpos, pos, end - pos); in sme_associate()
/external/mesa3d/src/intel/compiler/
Dbrw_fs.cpp1228 fs_visitor::emit_fragcoord_interpolation(fs_reg wpos) in emit_fragcoord_interpolation() argument
1233 bld.MOV(wpos, this->pixel_x); in emit_fragcoord_interpolation()
1234 wpos = offset(wpos, bld, 1); in emit_fragcoord_interpolation()
1237 bld.MOV(wpos, this->pixel_y); in emit_fragcoord_interpolation()
1238 wpos = offset(wpos, bld, 1); in emit_fragcoord_interpolation()
1242 bld.MOV(wpos, fetch_payload_reg(bld, payload.source_depth_reg)); in emit_fragcoord_interpolation()
1244 bld.emit(FS_OPCODE_LINTERP, wpos, in emit_fragcoord_interpolation()
1248 wpos = offset(wpos, bld, 1); in emit_fragcoord_interpolation()
1251 bld.MOV(wpos, this->wpos_w); in emit_fragcoord_interpolation()
Dbrw_fs.h203 void emit_fragcoord_interpolation(fs_reg wpos);
/external/wpa_supplicant_8/src/common/
Dwpa_common.c2955 char buf[255], *wpos = buf; in fils_domain_name_hash() local
2963 *wpos++ = tolower(*pos); in fils_domain_name_hash()
2965 *wpos++ = *pos; in fils_domain_name_hash()
/external/mesa3d/src/gallium/frontends/nine/
Dnine_shader.c1129 struct ureg_dst wpos = tx_scratch(tx); in tx_src_param() local
1130 ureg_ADD(ureg, wpos, tx->regs.vPos, in tx_src_param()
1132 src = ureg_src(wpos); in tx_src_param()
/external/mesa3d/docs/relnotes/
D19.0.0.rst1345 - anv/pipeline: Move wpos and input attachment lowering to lower_nir