/device/linaro/poplar/audio/ |
D | audio_hw.c | 89 static int start_output_stream(struct alsa_stream_out *out) in start_output_stream() argument 91 struct alsa_audio_device *adev = out->dev; in start_output_stream() 93 if (out->unavailable) in start_output_stream() 99 out->write_threshold = PLAYBACK_PERIOD_COUNT * PERIOD_SIZE; in start_output_stream() 100 out->config.start_threshold = PLAYBACK_PERIOD_START_THRESHOLD * PERIOD_SIZE; in start_output_stream() 101 out->config.avail_min = PERIOD_SIZE; in start_output_stream() 103 …out->pcm = pcm_open(CARD_OUT, PORT_CODEC, PCM_OUT | PCM_MMAP | PCM_NOIRQ | PCM_MONOTONIC, &out->co… in start_output_stream() 105 if (!pcm_is_ready(out->pcm)) { in start_output_stream() 106 ALOGE("cannot open pcm_out driver: %s", pcm_get_error(out->pcm)); in start_output_stream() 107 pcm_close(out->pcm); in start_output_stream() [all …]
|
/device/generic/car/emulator/audio/driver/ |
D | audio_hw.c | 83 struct generic_stream_out *out = (struct generic_stream_out *)stream; in out_get_sample_rate() local 84 return out->req_config.sample_rate; in out_get_sample_rate() 92 struct generic_stream_out *out = (struct generic_stream_out *)stream; in out_get_buffer_size() local 93 int size = out->pcm_config.period_size * in out_get_buffer_size() 94 audio_stream_out_frame_size(&out->stream); in out_get_buffer_size() 100 struct generic_stream_out *out = (struct generic_stream_out *)stream; in out_get_channels() local 101 return out->req_config.channel_mask; in out_get_channels() 105 struct generic_stream_out *out = (struct generic_stream_out *)stream; in out_get_format() local 106 return out->req_config.format; in out_get_format() 114 struct generic_stream_out *out = (struct generic_stream_out *)stream; in out_dump() local [all …]
|
/device/linaro/hikey/audio/ |
D | audio_hw.c | 181 struct alsa_stream_out *out = (struct alsa_stream_out *)stream; in xa_device_run() local 182 struct alsa_audio_device *adev = out->dev; in xa_device_run() 195 out->written += out_frames; in xa_device_run() 210 ret = pcm_mmap_write(out->pcm, p_buf, size); in xa_device_run() 212 out->written += out_frames; in xa_device_run() 251 static int start_output_stream(struct alsa_stream_out *out) in start_output_stream() argument 253 struct alsa_audio_device *adev = out->dev; in start_output_stream() 255 if (out->unavailable) in start_output_stream() 261 out->write_threshold = PLAYBACK_PERIOD_COUNT * PERIOD_SIZE; in start_output_stream() 262 out->config.start_threshold = PLAYBACK_PERIOD_START_THRESHOLD * PERIOD_SIZE; in start_output_stream() [all …]
|
/device/linaro/dragonboard/audio/ |
D | audio_hw.c | 260 struct generic_stream_out *out = (struct generic_stream_out *)stream; in out_get_sample_rate() local 261 return out->req_config.sample_rate; in out_get_sample_rate() 271 struct generic_stream_out *out = (struct generic_stream_out *)stream; in out_get_buffer_size() local 272 int size = out->pcm_config.period_size * in out_get_buffer_size() 273 audio_stream_out_frame_size(&out->stream); in out_get_buffer_size() 280 struct generic_stream_out *out = (struct generic_stream_out *)stream; in out_get_channels() local 281 return out->req_config.channel_mask; in out_get_channels() 286 struct generic_stream_out *out = (struct generic_stream_out *)stream; in out_get_format() local 288 return out->req_config.format; in out_get_format() 298 struct generic_stream_out *out = (struct generic_stream_out *)stream; in out_dump() local [all …]
|
/device/google/cuttlefish/guest/hals/audio/ |
D | audio_hw.c | 263 struct generic_stream_out *out = (struct generic_stream_out *)stream; in out_get_sample_rate() local 264 return out->req_config.sample_rate; in out_get_sample_rate() 274 struct generic_stream_out *out = (struct generic_stream_out *)stream; in out_get_buffer_size() local 275 int size = out->pcm_config.period_size * in out_get_buffer_size() 276 audio_stream_out_frame_size(&out->stream); in out_get_buffer_size() 283 struct generic_stream_out *out = (struct generic_stream_out *)stream; in out_get_channels() local 284 return out->req_config.channel_mask; in out_get_channels() 289 struct generic_stream_out *out = (struct generic_stream_out *)stream; in out_get_format() local 291 return out->req_config.format; in out_get_format() 301 struct generic_stream_out *out = (struct generic_stream_out *)stream; in out_dump() local [all …]
|
/device/generic/opengl-transport/host/libs/virglrenderer/GLESv1_dec/ |
D | gles1.attrib | 9 dir params out 12 dir params out 15 dir params out 18 dir params out 21 dir params out 66 dir params out 70 dir params out 74 dir buffers out 79 dir textures out 83 dir params out [all …]
|
/device/amlogic/yukawa/hal/audio/ |
D | audio_hw.c | 135 static void out_set_eq(struct alsa_stream_out* out) { in out_set_eq() argument 136 out->speaker_eq = NULL; in out_set_eq() 148 out->speaker_eq = fir_init( in out_set_eq() 149 out->config.channels, FIR_SINGLE_FILTER, num_taps, in out_set_eq() 150 out_get_buffer_size(&out->stream.common) / out->config.channels / sizeof(int16_t), in out_set_eq() 156 static int start_output_stream(struct alsa_stream_out *out) in start_output_stream() argument 158 struct alsa_audio_device *adev = out->dev; in start_output_stream() 163 out->write_threshold = PLAYBACK_PERIOD_COUNT * PLAYBACK_PERIOD_SIZE; in start_output_stream() 164 out->config.start_threshold = PLAYBACK_PERIOD_START_THRESHOLD * PLAYBACK_PERIOD_SIZE; in start_output_stream() 165 out->config.avail_min = PLAYBACK_PERIOD_SIZE; in start_output_stream() [all …]
|
/device/google/contexthub/util/common/ |
D | JSONObject.cpp | 31 static ssize_t parseInt32(const char *data, size_t numDigits, int32_t *out) { in parseInt32() argument 46 *out = x; in parseInt32() 51 ssize_t JSONValue::Parse(const char *data, size_t size, JSONValue *out) { in Parse() argument 105 out->setArray(array); in Parse() 178 out->setObject(obj); in Parse() 232 out->setString(s); in Parse() 310 out->setInt32(negate ? -x : x); in Parse() 334 out->setFloat(negate ? -x : x); in Parse() 339 out->unset(); in Parse() 342 out->setBoolean(true); in Parse() [all …]
|
/device/generic/opengl-transport/host/libs/virglrenderer/GLESv3_dec/ |
D | gles3.attrib | 48 dir buffers out 53 dir framebuffers out 58 dir renderbuffers out 63 dir textures out 69 dir name out 71 dir length out 74 dir size out 77 dir type out 84 dir name out 86 dir length out [all …]
|
/device/google/contexthub/firmware/os/algos/common/math/ |
D | mat.h | 77 void mat33Apply(struct Vec3 *out, const struct Mat33 *A, const struct Vec3 *v); 81 void mat33Multiply(struct Mat33 *out, const struct Mat33 *A, 90 void mat33Add(struct Mat33 *out, const struct Mat33 *A); 94 void mat33Sub(struct Mat33 *out, const struct Mat33 *A); 105 void mat33Invert(struct Mat33 *out, const struct Mat33 *A); 109 void mat33MultiplyTransposed(struct Mat33 *out, const struct Mat33 *A, 114 void mat33MultiplyTransposed2(struct Mat33 *out, const struct Mat33 *A, 119 void mat33Transpose(struct Mat33 *out, const struct Mat33 *A); 134 void mat44Apply(struct Vec4 *out, const struct Mat44 *A, const struct Vec4 *v); 193 void matTransposeMultiplyMat(float *out, const float *A, [all …]
|
D | mat.c | 81 void mat33Apply(struct Vec3 *out, const struct Mat33 *A, const struct Vec3 *v) { in mat33Apply() argument 82 ASSERT_NOT_NULL(out); in mat33Apply() 85 out->x = A->elem[0][0] * v->x + A->elem[0][1] * v->y + A->elem[0][2] * v->z; in mat33Apply() 86 out->y = A->elem[1][0] * v->x + A->elem[1][1] * v->y + A->elem[1][2] * v->z; in mat33Apply() 87 out->z = A->elem[2][0] * v->x + A->elem[2][1] * v->y + A->elem[2][2] * v->z; in mat33Apply() 91 void mat33Multiply(struct Mat33 *out, const struct Mat33 *A, in mat33Multiply() argument 93 ASSERT_NOT_NULL(out); in mat33Multiply() 96 ASSERT(out != A); in mat33Multiply() 97 ASSERT(out != B); in mat33Multiply() 109 out->elem[i][j] = sum; in mat33Multiply() [all …]
|
/device/generic/goldfish-opengl/system/renderControl_enc/ |
D | renderControl.attrib | 6 dir major out 8 dir minor out 12 dir buffer out 16 dir buffer out 20 dir numAttribs out 24 dir buffer out 30 dir configs out 35 dir pixels out 52 dir glsync_out out 54 dir syncthread_out out
|
/device/generic/goldfish-opengl/system/vulkan_enc/ |
D | HostVisibleMemoryVirtualization.cpp | 216 HostMemAlloc* out) { in finishHostMemAllocInit() argument 218 out->device = device; in finishHostMemAllocInit() 219 out->memoryTypeIndex = memoryTypeIndex; in finishHostMemAllocInit() 220 out->nonCoherentAtomSize = nonCoherentAtomSize; in finishHostMemAllocInit() 221 out->allocSize = allocSize; in finishHostMemAllocInit() 222 out->mappedSize = mappedSize; in finishHostMemAllocInit() 223 out->mappedPtr = mappedPtr; in finishHostMemAllocInit() 235 uint64_t neededPageSize = out->nonCoherentAtomSize; in finishHostMemAllocInit() 241 out->subAlloc = new in finishHostMemAllocInit() 243 out->mappedPtr, in finishHostMemAllocInit() [all …]
|
/device/google/contexthub/lib/nanohub/ |
D | nanoapp.c | 55 goto out; in readFile() 58 goto out; in readFile() 62 out: in readFile() 101 static void doPrintHash(FILE *out, const char *pfx, const uint32_t *hash, size_t size, int incremen… in doPrintHash() argument 105 fprintf(out, "%s: ", pfx); in doPrintHash() 107 fprintf(out, "%08" PRIx32, hash[pos]); in doPrintHash() 108 fprintf(out, "\n"); in doPrintHash() 111 void printHash(FILE *out, const char *pfx, const uint32_t *hash, size_t size) in printHash() argument 113 doPrintHash(out, pfx, hash, size, 1); in printHash() 116 void printHashRev(FILE *out, const char *pfx, const uint32_t *hash, size_t size) in printHashRev() argument [all …]
|
/device/amlogic/yukawa/hal/gralloc/ |
D | gralloc_buffer_priv.h | 71 goto out; in gralloc_buffer_attr_map() 77 goto out; in gralloc_buffer_attr_map() 90 goto out; in gralloc_buffer_attr_map() 95 out: in gralloc_buffer_attr_map() 110 goto out; in gralloc_buffer_attr_unmap() 122 out: in gralloc_buffer_attr_unmap() 137 goto out; in gralloc_buffer_attr_write() 163 out: in gralloc_buffer_attr_write() 173 goto out; in gralloc_buffer_attr_read() 199 out: in gralloc_buffer_attr_read()
|
D | gralloc_buffer_priv.cpp | 46 goto out; in gralloc_buffer_attr_allocate() 97 goto out; in gralloc_buffer_attr_allocate() 107 out: in gralloc_buffer_attr_allocate() 123 goto out; in gralloc_buffer_attr_free() 129 goto out; in gralloc_buffer_attr_free() 143 out: in gralloc_buffer_attr_free()
|
/device/linaro/hikey/gralloc960/ |
D | gralloc_buffer_priv.h | 72 goto out; in gralloc_buffer_attr_map() 78 goto out; in gralloc_buffer_attr_map() 91 goto out; in gralloc_buffer_attr_map() 96 out: in gralloc_buffer_attr_map() 111 goto out; in gralloc_buffer_attr_unmap() 123 out: in gralloc_buffer_attr_unmap() 138 goto out; in gralloc_buffer_attr_write() 169 out: in gralloc_buffer_attr_write() 179 goto out; in gralloc_buffer_attr_read() 210 out: in gralloc_buffer_attr_read()
|
D | gralloc_buffer_priv.cpp | 46 goto out; in gralloc_buffer_attr_allocate() 97 goto out; in gralloc_buffer_attr_allocate() 107 out: in gralloc_buffer_attr_allocate() 123 goto out; in gralloc_buffer_attr_free() 129 goto out; in gralloc_buffer_attr_free() 143 out: in gralloc_buffer_attr_free()
|
/device/generic/opengl-transport/host/libs/virglrenderer/renderControl_dec/ |
D | renderControl.attrib | 6 dir major out 8 dir minor out 13 dir buffer out 18 dir buffer out 22 dir numAttribs out 26 dir buffer out 33 dir configs out 68 dir pixels out 84 dir glsync_out out 86 dir syncthread_out out
|
/device/generic/opengl-transport/host/libs/virglrenderer/ |
D | Android.bp | 24 out: ["gles1_dec.cpp"], 34 out: [ 49 out: ["gles3_dec.cpp"], 59 out: [ 74 out: ["renderControl_dec.cpp"], 84 out: [ 95 …ric/opengl-transport/host/libs/virglrenderer/gen_entries.py --mode=funcargs $(in) --output $(out)", 97 out: ["gles1_core_functions.h"], 103 …ric/opengl-transport/host/libs/virglrenderer/gen_entries.py --mode=funcargs $(in) --output $(out)", 105 out: ["gles1_extensions_functions.h"], [all …]
|
/device/linaro/hikey/hifi/xaf/hifi-dpf/core/util/ |
D | tinyvprintf.c | 61 int tiny_vsprintf(char *out, const char *fmt, va_list ap) in tiny_vsprintf() argument 68 *out++ = c; in tiny_vsprintf() 109 *out++ = sign; in tiny_vsprintf() 151 case 'p': *out++ = '0', *out++ = 'x'; in tiny_vsprintf() 179 do { *out++ = pad; } while (len < --width); in tiny_vsprintf() 182 for(n = len; n > 0; n--) *out++ = *s++; in tiny_vsprintf() 183 for (; len < width; len++) *out++ = space; in tiny_vsprintf() 190 int tiny_sprintf(char *out, const char *fmt, ...) in tiny_sprintf() argument 195 n = tiny_vsprintf(out, fmt, ap); in tiny_sprintf()
|
/device/generic/goldfish/network/netmgr/commands/ |
D | wifi_command.cpp | 114 File out(fopen(kHostApdConfFile, "w")); in writeConfig() local 115 if (!out) { in writeConfig() 128 size_t bytesWritten = fwrite(buffer, 1, bytesRead, out.get()); in writeConfig() 134 fprintf(out.get(), "\n\n"); in writeConfig() 137 fprintf(out.get(), "bss=%s\n", ap.second.ifName.c_str()); in writeConfig() 138 fprintf(out.get(), "ssid=%s\n", ap.second.ssid.c_str()); in writeConfig() 140 fprintf(out.get(), "wpa=2\n"); in writeConfig() 141 fprintf(out.get(), "wpa_key_mgmt=WPA-PSK\n"); in writeConfig() 142 fprintf(out.get(), "rsn_pairwise=CCMP\n"); in writeConfig() 143 fprintf(out.get(), "wpa_passphrase=%s\n", ap.second.password.c_str()); in writeConfig() [all …]
|
/device/google/wahoo/folio_daemon/ |
D | main.cpp | 57 goto out; in main() 65 goto out; in main() 78 goto out; in main() 84 goto out; in main() 116 goto out; in main() 129 goto out; in main() 148 goto out; in main() 159 goto out; in main() 172 out: in main()
|
/device/google/cuttlefish/guest/hals/gralloc/legacy/ |
D | gralloc_vsoc_priv.h | 252 int format, int width, int height, void* base_v, android_ycbcr* out) { in formatToYcbcr() argument 255 memset(out, 0, sizeof(*out)); in formatToYcbcr() 261 out->ystride = cuttlefish::screen::ScreenRegionView::align(width); in formatToYcbcr() 262 out->cstride = in formatToYcbcr() 263 cuttlefish::screen::ScreenRegionView::align(out->ystride / 2); in formatToYcbcr() 264 out->chroma_step = 1; in formatToYcbcr() 265 out->y = it; in formatToYcbcr() 266 it += out->ystride * height; in formatToYcbcr() 267 out->cr = it; in formatToYcbcr() 268 it += out->cstride * height / 2; in formatToYcbcr() [all …]
|
/device/google/contexthub/util/nanoapp_postprocess/ |
D | postprocess.c | 238 static int finalizeAndWrite(struct NanoAppInfo *inf, FILE *out, uint32_t layoutFlags, uint64_t appI… in finalizeAndWrite() argument 270 good = fwrite(&outHeader, sizeof(outHeader), 1, out) == 1 && good; in finalizeAndWrite() 273 good = fwrite(&app, sizeof(app), 1, out) == 1 && good; in finalizeAndWrite() 276 good = fwrite(&bin[1], inf->codeAndDataSize, 1, out) == 1 && good; in finalizeAndWrite() 280 good = fwrite(inf->packedNanoReloc, inf->packedNanoRelocSize, 1, out) == 1 && good; in finalizeAndWrite() 403 static int handleApp(uint8_t **pbuf, uint32_t bufUsed, FILE *out, uint32_t layoutFlags, uint64_t ap… in handleApp() argument 421 goto out; in handleApp() 426 goto out; in handleApp() 434 goto out; in handleApp() 439 goto out; in handleApp() [all …]
|