HomeSort by relevance Sort by last modified time
    Searched defs:hw (Results 1 - 25 of 96) sorted by null

1 2 3 4

  /cts/suite/audio_quality/lib/src/task/
TaskInput.cpp 52 android::sp<AudioHardware> hw = AudioHardware::createAudioHw(localDevice, false, local
54 if (hw.get() == NULL) {
69 if (!hw->prepare(AudioHardware::ESampleRate_44100, mVolume, mMode)) {
73 if (!hw->startPlaybackOrRecord(buffer)) {
78 mHw = hw;
TaskOutput.cpp 48 android::sp<AudioHardware> hw = AudioHardware::createAudioHw(localDevice, true, getTestCase()); local
49 if (hw.get() == NULL) {
50 LOGE("cannot create Audio HW");
53 if (!hw->prepare(AudioHardware::ESampleRate_44100, mVolume, mMode)) {
64 if (!hw->startPlaybackOrRecord(buffer)) {
73 AudioRemotePlayback* remote = reinterpret_cast<AudioRemotePlayback*>(hw.get());
79 mHw = hw;
  /cts/suite/audio_quality/lib/src/audio/
AudioHardware.cpp 79 android::sp<AudioHardware> hw; local
88 hw = new AudioPlaybackLocal(mHwId);
90 hw = new AudioRecordingLocal(mHwId);
95 hw = new AudioRemotePlayback(testCase->getRemoteAudio());
97 hw = new AudioRemoteRecording(testCase->getRemoteAudio());
101 return hw;
  /external/chromium_org/third_party/mesa/src/src/gallium/drivers/nv30/
nv30_format.h 9 unsigned hw; member in struct:nv30_format
13 unsigned hw; member in struct:nv30_vtxfmt
nv30_query.c 36 struct nouveau_heap *hw; member in struct:nv30_query_object
46 if (qo && qo->hw)
47 ntfy = (char *)notify->map + query->offset + qo->hw->start;
60 nouveau_heap_free(&qo->hw);
75 /* allocate a new hw query object, if no hw objects left we need to
78 while (nouveau_heap_alloc(screen->query_heap, 32, NULL, &qo->hw)) {
159 PUSH_DATA (push, (q->report << 24) | q->qo[0]->hw->start);
187 PUSH_DATA (push, (q->report << 24) | q->qo[1]->hw->start);
254 PUSH_DATA (push, 0x02000000 | q->qo[1]->hw->start)
    [all...]
  /external/chromium_org/third_party/mesa/src/src/gallium/drivers/svga/
svga_pipe_misc.c 54 struct pipe_framebuffer_state *hw = &svga->state.hw_clear.framebuffer; local
59 pipe_surface_reference(&hw->cbufs[i], NULL);
63 pipe_surface_reference(&hw->zsbuf, NULL);
svga_resource_texture.c 142 void *hw, *sw; local
166 hw = sws->buffer_map(sws, st->hwbuf, usage);
167 assert(hw);
168 if (hw) {
169 memcpy(hw, sw, length);
187 hw = sws->buffer_map(sws, st->hwbuf, PIPE_TRANSFER_READ);
188 assert(hw);
189 if(hw) {
190 memcpy(sw, hw, length);
  /external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/nouveau/
nv20_context.c 48 nouveau_pushbuf_bufctx(push, nctx->hw.bufctx);
100 struct nouveau_hw_state *hw = &to_nouveau_context(ctx)->hw; local
101 struct nv04_fifo *fifo = hw->chan->data;
105 PUSH_DATA (push, hw->eng3d->handle);
107 PUSH_DATA (push, hw->ntfy->handle);
434 nouveau_object_del(&nctx->hw.eng3d);
488 NULL, 0, &nctx->hw.eng3d);
nv04_context.c 52 struct nouveau_hw_state *hw = &to_nouveau_context(ctx)->hw; local
64 fahrenheit = hw->eng3dm;
66 fahrenheit = hw->eng3d;
80 struct nouveau_hw_state *hw = &to_nouveau_context(ctx)->hw; local
82 struct nv04_fifo *fifo = hw->chan->data;
85 PUSH_DATA (push, hw->surf3d->handle);
87 PUSH_DATA (push, hw->ntfy->handle);
92 PUSH_DATA (push, hw->eng3d->handle)
145 struct nouveau_hw_state *hw; local
    [all...]
nv10_context.c 180 nouveau_pushbuf_bufctx(push, nctx->hw.bufctx);
204 struct nouveau_hw_state *hw = &to_nouveau_context(ctx)->hw; local
205 struct nv04_fifo *fifo = hw->chan->data;
209 PUSH_DATA (push, hw->eng3d->handle);
211 PUSH_DATA (push, hw->ntfy->handle);
423 nouveau_object_del(&nctx->hw.eng3d);
480 NULL, 0, &nctx->hw.eng3d);
nv04_state_frag.c 56 /* Derived HW state */
57 uint32_t hw; member in struct:combiner_state
76 (rc)->hw = 0; \
166 (rc)->hw |= ((flags & INVERT ? COMBINER_INVERT : 0) | \
172 (rc)->hw |= get_input_arg(rc, arg, flags) << COMBINER_SHIFT(in)
175 (rc)->hw |= ((rc)->logscale ? \
179 (rc)->hw |= ((rc)->logscale ? \
295 nv04->alpha[i] = rc_a.hw;
296 nv04->color[i] = rc_c.hw;
nv04_surface.c 204 struct nouveau_hw_state *hw = &to_nouveau_context(ctx)->hw; local
205 struct nouveau_object *swzsurf = hw->swzsurf;
206 struct nv04_fifo *fifo = hw->chan->data;
207 /* Max width & height may not be the same on all HW, but must be POT */
269 PUSH_DATA (push, hw->surf3d->handle);
285 struct nouveau_hw_state *hw = &to_nouveau_context(ctx)->hw; local
286 struct nv04_fifo *fifo = hw->chan->data;
433 struct nouveau_hw_state *hw = &to_nouveau_context(ctx)->hw local
466 struct nouveau_hw_state *hw = &to_nouveau_context(ctx)->hw; local
482 struct nouveau_hw_state *hw = &to_nouveau_context(ctx)->hw; local
    [all...]
  /external/dhcpcd/
duid.c 46 uint16_t hw = 0; local
79 hw = htons(iface->family);
80 memcpy(p, &hw, 2);
bpf.c 142 struct ether_header hw; local
145 memset(&hw, 0, ETHER_HDR_LEN);
146 memset(&hw.ether_dhost, 0xff, ETHER_ADDR_LEN);
147 hw.ether_type = htons(protocol);
148 iov[0].iov_base = &hw;
  /external/mesa3d/src/gallium/drivers/nv30/
nv30_format.h 9 unsigned hw; member in struct:nv30_format
13 unsigned hw; member in struct:nv30_vtxfmt
nv30_query.c 36 struct nouveau_heap *hw; member in struct:nv30_query_object
46 if (qo && qo->hw)
47 ntfy = (char *)notify->map + query->offset + qo->hw->start;
60 nouveau_heap_free(&qo->hw);
75 /* allocate a new hw query object, if no hw objects left we need to
78 while (nouveau_heap_alloc(screen->query_heap, 32, NULL, &qo->hw)) {
159 PUSH_DATA (push, (q->report << 24) | q->qo[0]->hw->start);
187 PUSH_DATA (push, (q->report << 24) | q->qo[1]->hw->start);
254 PUSH_DATA (push, 0x02000000 | q->qo[1]->hw->start)
    [all...]
  /external/mesa3d/src/gallium/drivers/svga/
svga_pipe_misc.c 54 struct pipe_framebuffer_state *hw = &svga->state.hw_clear.framebuffer; local
59 pipe_surface_reference(&hw->cbufs[i], NULL);
63 pipe_surface_reference(&hw->zsbuf, NULL);
svga_resource_texture.c 142 void *hw, *sw; local
166 hw = sws->buffer_map(sws, st->hwbuf, usage);
167 assert(hw);
168 if (hw) {
169 memcpy(hw, sw, length);
187 hw = sws->buffer_map(sws, st->hwbuf, PIPE_TRANSFER_READ);
188 assert(hw);
189 if(hw) {
190 memcpy(sw, hw, length);
  /external/mesa3d/src/mesa/drivers/dri/nouveau/
nv20_context.c 48 nouveau_pushbuf_bufctx(push, nctx->hw.bufctx);
100 struct nouveau_hw_state *hw = &to_nouveau_context(ctx)->hw; local
101 struct nv04_fifo *fifo = hw->chan->data;
105 PUSH_DATA (push, hw->eng3d->handle);
107 PUSH_DATA (push, hw->ntfy->handle);
434 nouveau_object_del(&nctx->hw.eng3d);
488 NULL, 0, &nctx->hw.eng3d);
nv04_context.c 52 struct nouveau_hw_state *hw = &to_nouveau_context(ctx)->hw; local
64 fahrenheit = hw->eng3dm;
66 fahrenheit = hw->eng3d;
80 struct nouveau_hw_state *hw = &to_nouveau_context(ctx)->hw; local
82 struct nv04_fifo *fifo = hw->chan->data;
85 PUSH_DATA (push, hw->surf3d->handle);
87 PUSH_DATA (push, hw->ntfy->handle);
92 PUSH_DATA (push, hw->eng3d->handle)
145 struct nouveau_hw_state *hw; local
    [all...]
nv10_context.c 180 nouveau_pushbuf_bufctx(push, nctx->hw.bufctx);
204 struct nouveau_hw_state *hw = &to_nouveau_context(ctx)->hw; local
205 struct nv04_fifo *fifo = hw->chan->data;
209 PUSH_DATA (push, hw->eng3d->handle);
211 PUSH_DATA (push, hw->ntfy->handle);
423 nouveau_object_del(&nctx->hw.eng3d);
480 NULL, 0, &nctx->hw.eng3d);
nv04_state_frag.c 56 /* Derived HW state */
57 uint32_t hw; member in struct:combiner_state
76 (rc)->hw = 0; \
166 (rc)->hw |= ((flags & INVERT ? COMBINER_INVERT : 0) | \
172 (rc)->hw |= get_input_arg(rc, arg, flags) << COMBINER_SHIFT(in)
175 (rc)->hw |= ((rc)->logscale ? \
179 (rc)->hw |= ((rc)->logscale ? \
295 nv04->alpha[i] = rc_a.hw;
296 nv04->color[i] = rc_c.hw;
nv04_surface.c 204 struct nouveau_hw_state *hw = &to_nouveau_context(ctx)->hw; local
205 struct nouveau_object *swzsurf = hw->swzsurf;
206 struct nv04_fifo *fifo = hw->chan->data;
207 /* Max width & height may not be the same on all HW, but must be POT */
269 PUSH_DATA (push, hw->surf3d->handle);
285 struct nouveau_hw_state *hw = &to_nouveau_context(ctx)->hw; local
286 struct nv04_fifo *fifo = hw->chan->data;
433 struct nouveau_hw_state *hw = &to_nouveau_context(ctx)->hw local
466 struct nouveau_hw_state *hw = &to_nouveau_context(ctx)->hw; local
482 struct nouveau_hw_state *hw = &to_nouveau_context(ctx)->hw; local
    [all...]
  /external/qemu/audio/
audio_template.h 27 #define HWBUF hw->mix_buf
29 #define HW HWVoiceOut
34 #define HW HWVoiceIn
36 #define HWBUF hw->conv_buf
72 static void glue (audio_pcm_hw_free_resources_, TYPE) (HW *hw)
81 static int glue (audio_pcm_hw_alloc_resources_, TYPE) (HW *hw)
83 HWBUF = audio_calloc (AUDIO_FUNC, hw->samples, sizeof (struct st_sample));
86 hw->samples)
198 HW *hw = *hwp; local
246 HW *hw; local
320 HW *hw; local
348 HW *hw; local
474 HW *hw = sw->hw; local
    [all...]
noaudio.c 32 HWVoiceOut hw; member in struct:NoVoiceOut
37 HWVoiceIn hw; member in struct:NoVoiceIn
41 static int no_run_out (HWVoiceOut *hw, int live)
43 NoVoiceOut *no = (NoVoiceOut *) hw;
51 bytes = muldiv64 (ticks, hw->info.bytes_per_second, get_ticks_per_sec ());
53 samples = bytes >> hw->info.shift;
57 hw->rpos = (hw->rpos + decr) % hw->samples;
66 static int no_init_out (HWVoiceOut *hw, struct audsettings *as
    [all...]

Completed in 574 milliseconds

1 2 3 4