Searched refs:chan (Results 51 - 75 of 207) sorted by relevance

123456789

/external/mesa3d/src/gallium/auxiliary/tgsi/
H A Dtgsi_util.c179 unsigned chan; local
313 for (chan = 0; chan < 4; ++chan) {
314 if (read_mask & (1 << chan)) {
315 usage_mask |= 1 << tgsi_util_get_full_src_register_swizzle(src, chan);
/external/mesa3d/src/gallium/drivers/radeon/
H A DR600GenRegisterInfo.pl164 die("Unknown chan value; $key");
178 my $chan= get_chan_str($i);
179 my $name = "$prefix$hw_index\_$chan";
180 print qq{def $name : R600Reg <"$prefix$hw_index.$chan">;\n};
194 my $chan = $index % 4;
195 if ($chan == 0 ) {
197 } elsif ($chan == 1) {
199 } elsif ($chan == 2) {
201 } elsif ($chan == 3) {
204 die("Unknown chan valu
[all...]
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/r600/
H A Dr600_shader.c280 alu->src[src_idx].chan = bytes[bytes_read++];
305 alu.dst.chan = bytes[bytes_read++];
329 alu.src[1].chan = 0;
635 alu.dst.chan = i % 4;
638 alu.src[0].chan = (base_chan - (i % 2));
665 alu.dst.chan = i;
668 alu.src[0].chan = i;
776 alu.dst.chan = i;
777 alu.src[1].chan = i;
778 alu.src[2].chan
1726 r600_bytecode_src(struct r600_bytecode_alu_src *bc_src, const struct r600_shader_src *shader_src, unsigned chan) argument
2259 int chan; local
[all...]
/external/mesa3d/src/gallium/drivers/r600/
H A Dr600_shader.c280 alu->src[src_idx].chan = bytes[bytes_read++];
305 alu.dst.chan = bytes[bytes_read++];
329 alu.src[1].chan = 0;
635 alu.dst.chan = i % 4;
638 alu.src[0].chan = (base_chan - (i % 2));
665 alu.dst.chan = i;
668 alu.src[0].chan = i;
776 alu.dst.chan = i;
777 alu.src[1].chan = i;
778 alu.src[2].chan
1726 r600_bytecode_src(struct r600_bytecode_alu_src *bc_src, const struct r600_shader_src *shader_src, unsigned chan) argument
2259 int chan; local
[all...]
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/llvmpipe/
H A Dlp_state_fs.c247 unsigned chan; local
297 for(chan = 0; chan < TGSI_NUM_CHANNELS; ++chan) {
298 color[cbuf][chan] = lp_build_alloca(gallivm, vec_type, "color");
417 for(chan = 0; chan < TGSI_NUM_CHANNELS; ++chan) {
418 if(outputs[attrib][chan]) {
422 LLVMValueRef out = LLVMBuildLoad(builder, outputs[attrib][chan], "");
475 unsigned chan; local
712 unsigned chan; local
800 unsigned chan; local
[all...]
/external/mesa3d/src/gallium/drivers/llvmpipe/
H A Dlp_state_fs.c247 unsigned chan; local
297 for(chan = 0; chan < TGSI_NUM_CHANNELS; ++chan) {
298 color[cbuf][chan] = lp_build_alloca(gallivm, vec_type, "color");
417 for(chan = 0; chan < TGSI_NUM_CHANNELS; ++chan) {
418 if(outputs[attrib][chan]) {
422 LLVMValueRef out = LLVMBuildLoad(builder, outputs[attrib][chan], "");
475 unsigned chan; local
712 unsigned chan; local
800 unsigned chan; local
[all...]
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/gallivm/
H A Dlp_bld_tgsi_aos.c94 unsigned chan)
96 chan = bld->swizzles[chan];
97 return lp_build_swizzle_scalar_aos(&bld->bld_base.base, a, chan);
112 unsigned chan; local
121 for (chan = 0; chan < 4; ++chan) {
128 reg->Register.Index * 4 + chan);
134 lp_build_name(scalar, "const[%u].%c", reg->Register.Index, "xyzw"[chan]);
92 swizzle_scalar_aos(struct lp_build_tgsi_aos_context *bld, LLVMValueRef a, unsigned chan) argument
996 unsigned chan; local
[all...]
H A Dlp_bld_format_aos.c66 unsigned chan; local
70 for (chan = 0; chan < 4; ++chan) {
77 if (chan == 3) {
85 swizzle = desc->swizzle[chan];
87 swizzles[chan] = swizzle;
102 unsigned chan; local
123 for (chan = 0; chan < des
[all...]
/external/mesa3d/src/gallium/auxiliary/gallivm/
H A Dlp_bld_tgsi_aos.c94 unsigned chan)
96 chan = bld->swizzles[chan];
97 return lp_build_swizzle_scalar_aos(&bld->bld_base.base, a, chan);
112 unsigned chan; local
121 for (chan = 0; chan < 4; ++chan) {
128 reg->Register.Index * 4 + chan);
134 lp_build_name(scalar, "const[%u].%c", reg->Register.Index, "xyzw"[chan]);
92 swizzle_scalar_aos(struct lp_build_tgsi_aos_context *bld, LLVMValueRef a, unsigned chan) argument
996 unsigned chan; local
[all...]
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/r300/compiler/
H A Dradeon_optimize.c186 for(unsigned int chan = 0; chan < 4; ++chan) {
187 unsigned int swz = GET_SWZ(src.Swizzle, chan);
197 *pnegate = GET_BIT(src.Negate, chan);
200 if (swz != *pswz || *pnegate != GET_BIT(src.Negate, chan)) {
319 unsigned int chan; local
322 for (chan = 0; chan < 4; ++chan)
421 int chan; local
536 int chan; local
703 unsigned int chan = 0, swz, i; local
[all...]
H A Dradeon_variable.c153 unsigned int chan; local
212 for (chan = 0; chan < 4; chan++) {
213 if ((mask >> chan) & 0x1) {
214 if (!var->Live[chan].Used
215 || chan_start < var->Live[chan].Start) {
216 var->Live[chan].Start =
219 if (!var->Live[chan].Used
220 || chan_end > var->Live[chan]
[all...]
/external/mesa3d/src/gallium/drivers/r300/compiler/
H A Dradeon_optimize.c186 for(unsigned int chan = 0; chan < 4; ++chan) {
187 unsigned int swz = GET_SWZ(src.Swizzle, chan);
197 *pnegate = GET_BIT(src.Negate, chan);
200 if (swz != *pswz || *pnegate != GET_BIT(src.Negate, chan)) {
319 unsigned int chan; local
322 for (chan = 0; chan < 4; ++chan)
421 int chan; local
536 int chan; local
703 unsigned int chan = 0, swz, i; local
[all...]
H A Dradeon_variable.c153 unsigned int chan; local
212 for (chan = 0; chan < 4; chan++) {
213 if ((mask >> chan) & 0x1) {
214 if (!var->Live[chan].Used
215 || chan_start < var->Live[chan].Start) {
216 var->Live[chan].Start =
219 if (!var->Live[chan].Used
220 || chan_end > var->Live[chan]
[all...]
/external/wpa_supplicant_8/hostapd/src/ap/
H A Dhw_features.c45 static char * dfs_info(struct hostapd_channel_data *chan) argument
50 switch (chan->flag & HOSTAPD_CHAN_DFS_MASK) {
131 "chan=%d freq=%d MHz max_tx_power=%d dBm%s",
133 feature->channels[j].chan,
243 struct hostapd_channel_data *chan = local
245 if (!(chan->flag & HOSTAPD_CHAN_DISABLED) &&
246 chan->chan == sec_chan) {
480 " <%d,%d> (chan=%d%c) vs. <%d,%d>",
591 struct hostapd_channel_data *chan local
632 struct hostapd_channel_data *chan = &mode->channels[i]; local
937 struct hostapd_channel_data *chan; local
1132 hostapd_hw_get_freq(struct hostapd_data *hapd, int chan) argument
[all...]
/external/wpa_supplicant_8/src/ap/
H A Dhw_features.c45 static char * dfs_info(struct hostapd_channel_data *chan) argument
50 switch (chan->flag & HOSTAPD_CHAN_DFS_MASK) {
131 "chan=%d freq=%d MHz max_tx_power=%d dBm%s",
133 feature->channels[j].chan,
243 struct hostapd_channel_data *chan = local
245 if (!(chan->flag & HOSTAPD_CHAN_DISABLED) &&
246 chan->chan == sec_chan) {
480 " <%d,%d> (chan=%d%c) vs. <%d,%d>",
591 struct hostapd_channel_data *chan local
632 struct hostapd_channel_data *chan = &mode->channels[i]; local
937 struct hostapd_channel_data *chan; local
1132 hostapd_hw_get_freq(struct hostapd_data *hapd, int chan) argument
[all...]
/external/wpa_supplicant_8/wpa_supplicant/src/ap/
H A Dhw_features.c45 static char * dfs_info(struct hostapd_channel_data *chan) argument
50 switch (chan->flag & HOSTAPD_CHAN_DFS_MASK) {
131 "chan=%d freq=%d MHz max_tx_power=%d dBm%s",
133 feature->channels[j].chan,
243 struct hostapd_channel_data *chan = local
245 if (!(chan->flag & HOSTAPD_CHAN_DISABLED) &&
246 chan->chan == sec_chan) {
480 " <%d,%d> (chan=%d%c) vs. <%d,%d>",
591 struct hostapd_channel_data *chan local
632 struct hostapd_channel_data *chan = &mode->channels[i]; local
937 struct hostapd_channel_data *chan; local
1132 hostapd_hw_get_freq(struct hostapd_data *hapd, int chan) argument
[all...]
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/util/
H A Du_format.h530 unsigned chan; local
537 for (chan = 0; chan < 4; ++chan) {
538 if (desc->swizzle[chan] < 4) {
539 colormask |= (1 << chan);
626 unsigned chan; local
633 for(chan = 0; chan < 4; ++chan) {
[all...]
/external/mesa3d/src/gallium/auxiliary/util/
H A Du_format.h530 unsigned chan; local
537 for (chan = 0; chan < 4; ++chan) {
538 if (desc->swizzle[chan] < 4) {
539 colormask |= (1 << chan);
626 unsigned chan; local
633 for(chan = 0; chan < 4; ++chan) {
[all...]
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/nouveau/
H A Dnv04_state_frag.c65 #define INIT_COMBINER(chan, ctx, rc, i) do { \
70 (rc)->alpha = __INIT_COMBINER_ALPHA_##chan; \
71 (rc)->premodulate = c->_NumArgs##chan == 4; \
72 (rc)->mode = c->Mode##chan; \
73 (rc)->source = c->Source##chan; \
74 (rc)->operand = c->Operand##chan; \
75 (rc)->logscale = c->ScaleShift##chan; \
/external/chromium_org/third_party/mesa/src/src/mesa/program/
H A Dprog_instruction.c305 GLuint i, chan; local
322 for (chan = 0; chan < 4; chan++) {
323 if (inst->DstReg.WriteMask & (1 << chan)) {
325 GLuint swizzle = GET_SWZ(inst->SrcReg[i].Swizzle, chan);
331 channelsWritten |= (1 << chan);
/external/chromium_org/third_party/webrtc/voice_engine/test/cmd_test/
H A Dvoe_cmd_test.cc224 int chan, res; local
255 chan = base1->CreateChannel();
256 if (chan < 0) {
262 new VoiceChannelTransport(netw, chan));
307 res = codec->SetSendCodec(chan, cinst);
388 res = base1->StartReceive(chan);
393 res = base1->StartPlayout(chan);
399 res = base1->StartSend(chan);
462 res = codec->SetSendCodec(chan, cinst);
593 res = apm->SetRxAgcStatus(chan, enable_rx_ag
[all...]
/external/mesa3d/src/mesa/drivers/dri/nouveau/
H A Dnv04_state_frag.c65 #define INIT_COMBINER(chan, ctx, rc, i) do { \
70 (rc)->alpha = __INIT_COMBINER_ALPHA_##chan; \
71 (rc)->premodulate = c->_NumArgs##chan == 4; \
72 (rc)->mode = c->Mode##chan; \
73 (rc)->source = c->Source##chan; \
74 (rc)->operand = c->Operand##chan; \
75 (rc)->logscale = c->ScaleShift##chan; \
/external/mesa3d/src/mesa/program/
H A Dprog_instruction.c305 GLuint i, chan; local
322 for (chan = 0; chan < 4; chan++) {
323 if (inst->DstReg.WriteMask & (1 << chan)) {
325 GLuint swizzle = GET_SWZ(inst->SrcReg[i].Swizzle, chan);
331 channelsWritten |= (1 << chan);
/external/chromium_org/third_party/opus/src/src/
H A Dopus_multistream_decoder.c262 int chan, prev; local
265 while ( (chan = get_left_channel(&st->layout, s, prev)) != -1)
267 (*copy_channel_out)(pcm, st->layout.nb_channels, chan,
269 prev = chan;
273 while ( (chan = get_right_channel(&st->layout, s, prev)) != -1)
275 (*copy_channel_out)(pcm, st->layout.nb_channels, chan,
277 prev = chan;
280 int chan, prev; local
283 while ( (chan = get_mono_channel(&st->layout, s, prev)) != -1)
285 (*copy_channel_out)(pcm, st->layout.nb_channels, chan,
[all...]
/external/libopus/src/
H A Dopus_multistream_decoder.c262 int chan, prev; local
265 while ( (chan = get_left_channel(&st->layout, s, prev)) != -1)
267 (*copy_channel_out)(pcm, st->layout.nb_channels, chan,
269 prev = chan;
273 while ( (chan = get_right_channel(&st->layout, s, prev)) != -1)
275 (*copy_channel_out)(pcm, st->layout.nb_channels, chan,
277 prev = chan;
280 int chan, prev; local
283 while ( (chan = get_mono_channel(&st->layout, s, prev)) != -1)
285 (*copy_channel_out)(pcm, st->layout.nb_channels, chan,
[all...]

Completed in 740 milliseconds

123456789