Home
last modified time | relevance | path

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

12

/device/google/dragon/audio/hal/dsp/
Ddsp_util.c26 static void deinterleave_stereo(int16_t *input, float *output1, in deinterleave_stereo() argument
51 [input]"+r"(input), in deinterleave_stereo()
62 *output1++ = *input++ / 32768.0f; in deinterleave_stereo()
63 *output2++ = *input++ / 32768.0f; in deinterleave_stereo()
136 static void deinterleave_stereo(int16_t *input, float *output1, in deinterleave_stereo() argument
173 [input]"+r"(input), in deinterleave_stereo()
186 *output1++ = *input++ / 32768.0f; in deinterleave_stereo()
187 *output2++ = *input++ / 32768.0f; in deinterleave_stereo()
250 void dsp_util_deinterleave(int16_t *input, float *const *output, int channels, in dsp_util_deinterleave() argument
258 deinterleave_stereo(input, output[0], output[1], frames); in dsp_util_deinterleave()
[all …]
Ddsp_util.h24 void dsp_util_deinterleave(int16_t *input, float *const *output, int channels,
37 void dsp_util_interleave(float *const *input, int16_t *output, int channels,
Ddrc_math.h49 static inline float knee_expf(float input) PURE;
186 static inline float knee_expf(float input) in knee_expf() argument
189 return expf(input); in knee_expf()
192 return decibels_to_linear(8.685889638065044f * input); in knee_expf()
/device/huawei/angler/vr/
Dvr.c45 static int write_string(const char* input, size_t len, const char* outFile) { in write_string() argument
50 if (input == NULL || outFile == NULL) { in write_string()
64 err = write(fd, input, len); in write_string()
82 static int write_int(int input, const char* outFile) { in write_int() argument
84 int bytes = snprintf(buffer, sizeof(buffer), "%d", input); in write_int()
87 ALOGE("%s: Failed to format integer %d", __FUNCTION__, input); in write_int()
/device/moto/shamu/camera/QCamera2/stack/mm-jpeg-interface/test/
Dmm_jpeg_test.c109 buffer_t input[MAX_NUM_BUFS]; member
233 __func__, __LINE__, file_size, p_obj->input[idx].size); in mm_jpeg_test_read()
235 if (p_obj->input[idx].size > file_size) { in mm_jpeg_test_read()
240 fread(p_obj->input[idx].addr, 1, p_obj->input[idx].size, fp); in mm_jpeg_test_read()
263 p_obj->input[i].size = size * p_input->col_fmt.mult; in encode_init()
264 rc = mm_jpeg_test_alloc(&p_obj->input[i], p_obj->use_ion); in encode_init()
278 p_params->src_main_buf[i].buf_size = p_obj->input[i].size; in encode_init()
279 p_params->src_main_buf[i].buf_vaddr = p_obj->input[i].addr; in encode_init()
280 p_params->src_main_buf[i].fd = p_obj->input[i].p_pmem_fd; in encode_init()
289 p_params->src_thumb_buf[i].buf_size = p_obj->input[i].size; in encode_init()
[all …]
Dmm_jpegdec_test.c77 buffer_t input; member
185 p_obj->input.size = file_size; in mm_jpegdec_test_read()
188 rc = mm_jpegdec_test_alloc(&p_obj->input, p_obj->use_ion); in mm_jpegdec_test_read()
194 fread(p_obj->input.addr, 1, p_obj->input.size, fp); in mm_jpegdec_test_read()
280 p_params->src_main_buf[0].buf_size = p_obj->input.size; in decode_init()
281 p_params->src_main_buf[0].buf_vaddr = p_obj->input.addr; in decode_init()
282 p_params->src_main_buf[0].fd = p_obj->input.p_pmem_fd; in decode_init()
436 mm_jpegdec_test_free(&jpeg_obj.input); in decode_test()
/device/lge/bullhead/camera/QCamera2/stack/mm-jpeg-interface/test/
Dmm_jpeg_test.c109 buffer_t input[MAX_NUM_BUFS]; member
233 __func__, __LINE__, file_size, p_obj->input[idx].size); in mm_jpeg_test_read()
235 if (p_obj->input[idx].size > file_size) { in mm_jpeg_test_read()
240 fread(p_obj->input[idx].addr, 1, p_obj->input[idx].size, fp); in mm_jpeg_test_read()
264 p_obj->input[i].size = size * (size_t)p_input->col_fmt.mult.numerator / in encode_init()
266 rc = mm_jpeg_test_alloc(&p_obj->input[i], p_obj->use_ion); in encode_init()
280 p_params->src_main_buf[i].buf_size = p_obj->input[i].size; in encode_init()
281 p_params->src_main_buf[i].buf_vaddr = p_obj->input[i].addr; in encode_init()
282 p_params->src_main_buf[i].fd = p_obj->input[i].p_pmem_fd; in encode_init()
291 p_params->src_thumb_buf[i].buf_size = p_obj->input[i].size; in encode_init()
[all …]
Dmm_jpegdec_test.c78 buffer_t input; member
186 p_obj->input.size = file_size; in mm_jpegdec_test_read()
189 rc = mm_jpegdec_test_alloc(&p_obj->input, p_obj->use_ion); in mm_jpegdec_test_read()
195 fread(p_obj->input.addr, 1, p_obj->input.size, fp); in mm_jpegdec_test_read()
282 p_params->src_main_buf[0].buf_size = p_obj->input.size; in decode_init()
283 p_params->src_main_buf[0].buf_vaddr = p_obj->input.addr; in decode_init()
284 p_params->src_main_buf[0].fd = p_obj->input.p_pmem_fd; in decode_init()
438 mm_jpegdec_test_free(&jpeg_obj.input); in decode_test()
/device/huawei/angler/camera/QCamera2/stack/mm-jpeg-interface/test/
Dmm_jpeg_test.c109 buffer_t input[MAX_NUM_BUFS]; member
233 __func__, __LINE__, file_size, p_obj->input[idx].size); in mm_jpeg_test_read()
235 if (p_obj->input[idx].size > file_size) { in mm_jpeg_test_read()
240 fread(p_obj->input[idx].addr, 1, p_obj->input[idx].size, fp); in mm_jpeg_test_read()
264 p_obj->input[i].size = size * (size_t)p_input->col_fmt.mult.numerator / in encode_init()
266 rc = mm_jpeg_test_alloc(&p_obj->input[i], p_obj->use_ion); in encode_init()
280 p_params->src_main_buf[i].buf_size = p_obj->input[i].size; in encode_init()
281 p_params->src_main_buf[i].buf_vaddr = p_obj->input[i].addr; in encode_init()
282 p_params->src_main_buf[i].fd = p_obj->input[i].p_pmem_fd; in encode_init()
291 p_params->src_thumb_buf[i].buf_size = p_obj->input[i].size; in encode_init()
[all …]
Dmm_jpegdec_test.c78 buffer_t input; member
186 p_obj->input.size = file_size; in mm_jpegdec_test_read()
189 rc = mm_jpegdec_test_alloc(&p_obj->input, p_obj->use_ion); in mm_jpegdec_test_read()
195 fread(p_obj->input.addr, 1, p_obj->input.size, fp); in mm_jpegdec_test_read()
282 p_params->src_main_buf[0].buf_size = p_obj->input.size; in decode_init()
283 p_params->src_main_buf[0].buf_vaddr = p_obj->input.addr; in decode_init()
284 p_params->src_main_buf[0].fd = p_obj->input.p_pmem_fd; in decode_init()
438 mm_jpegdec_test_free(&jpeg_obj.input); in decode_test()
/device/google/dragon/audio/hal/dsp/tests/
Draw.c66 int write_raw(const char *filename, float *input, size_t frames) in write_raw() argument
75 buf[2*i] = f2s16(input[i]); in write_raw()
76 buf[2*i+1] = f2s16(input[i + frames]); in write_raw()
/device/huawei/angler/sepolicy/
Dfingerprintd.te2 # read/open /dev/input
4 # read/open /dev/input/event6
Dinputeventfind.te6 # search for appropriate input device
/device/generic/goldfish/audio/
Daudio_hw.c47 struct audio_stream_in *input; member
537 if (adev->input != NULL) { in adev_open_input_stream()
574 adev->input = (struct audio_stream_in *)in; in adev_open_input_stream()
589 if (stream == adev->input) { in adev_close_input_stream()
591 adev->input = NULL; in adev_close_input_stream()
611 adev->input); in adev_dump()
615 if (adev->input != NULL) in adev_dump()
616 in_dump((const struct audio_stream *)adev->input, fd); in adev_dump()
626 adev_close_input_stream((struct audio_hw_device *)dev, adev->input); in adev_close()
/device/huawei/angler/camera/QCamera2/HAL3/
DQCamera3PostProc.h86 mm_camera_super_buf_t *input; member
125 int32_t processData(mm_camera_super_buf_t *input,
127 int32_t processData(mm_camera_super_buf_t *input);
DQCamera3PostProc.cpp505 int32_t QCamera3PostProcessor::processData(mm_camera_super_buf_t *input) { in processData() argument
506 return processData(input, NULL, 0); in processData()
525 int32_t QCamera3PostProcessor::processData(mm_camera_super_buf_t *input, in processData() argument
540 pp_buffer->input = input; in processData()
789 if (buf->input) { in releasePPInputData()
790 pme->releaseSuperBuf(buf->input); in releasePPInputData()
791 free(buf->input); in releasePPInputData()
792 buf->input = NULL; in releasePPInputData()
1782 pp_job->src_frame = pp_buffer->input; in dataProcessRoutine()
1812 ret = pme->processPPData(pp_buffer->input); in dataProcessRoutine()
[all …]
/device/lge/bullhead/camera/QCamera2/HAL3/
DQCamera3PostProc.h86 mm_camera_super_buf_t *input; member
125 int32_t processData(mm_camera_super_buf_t *input,
127 int32_t processData(mm_camera_super_buf_t *input);
DQCamera3PostProc.cpp505 int32_t QCamera3PostProcessor::processData(mm_camera_super_buf_t *input) { in processData() argument
506 return processData(input, NULL, 0); in processData()
525 int32_t QCamera3PostProcessor::processData(mm_camera_super_buf_t *input, in processData() argument
540 pp_buffer->input = input; in processData()
789 if (buf->input) { in releasePPInputData()
790 pme->releaseSuperBuf(buf->input); in releasePPInputData()
791 free(buf->input); in releasePPInputData()
792 buf->input = NULL; in releasePPInputData()
1782 pp_job->src_frame = pp_buffer->input; in dataProcessRoutine()
1812 ret = pme->processPPData(pp_buffer->input); in dataProcessRoutine()
[all …]
/device/asus/fugu/libaudio/
Daudio_hal_thunks.cpp39 AudioHardwareInput* input; member
413 return adev->input->setMicMute(state); in adev_set_mic_mute()
421 return adev->input->getMicMute(state); in adev_get_mic_mute()
430 return adev->input->getInputBufferSize(config); in adev_get_input_buffer_size()
474 in->impl = adev->input->openInputStream(devices, in adev_open_input_stream()
504 adev->input->closeInputStream(tstream->impl); in adev_close_input_stream()
641 ret = adev->input->dump(fd); in adev_dump()
707 adev->input = &gAudioHardwareInput; in atv_audiodev_open_cpp()
/device/lge/bullhead/sepolicy/
Dfingerprintd.te6 # Read to /dev/input
Dcamera.te28 # Read to /dev/input
/device/moto/shamu/sepolicy/
Dadspd.te9 #Access /dev/input/event4 - headphone jack
/device/lge/bullhead/
Dinit.bullhead.rc219 chown input system /persist/calibration
221 chown input system /persist/calibration/offset
223 chown input system /persist/calibration/xtalk
387 group camera system inet input graphics
445 group system input
/device/huawei/angler/
Dinit.angler.rc258 # Search the laser device under /dev/input, then create symlink
375 group camera system inet input graphics
381 group input
/device/google/accessory/demokit/firmware/demokit/
Ddemokit.pde40 #define JOY_nINT A10 // active low interrupt input

12