Searched defs:input (Results 1 - 24 of 24) sorted by relevance

/hardware/invensense/libsensors_iio/software/core/mllite/
H A Dml_math_func.h30 float input; member in struct:__anon144
94 void inv_convert_to_body(unsigned short orientation, const long *input, long *output);
95 void inv_convert_to_chip(unsigned short orientation, const long *input, long *output);
96 void inv_convert_to_body_with_scale(unsigned short orientation, long sensitivity, const long *input, long *output);
113 float inv_biquad_filter_process(inv_biquad_filter_t *pFilter, float input);
114 void inv_calc_state_to_match_output(inv_biquad_filter_t *pFilter, float input);
H A Dml_math_func.c610 * @param[in] input Input vector, length 3
613 void inv_convert_to_body(unsigned short orientation, const long *input, long *output) argument
615 output[0] = input[orientation & 0x03] * SIGNSET(orientation & 0x004);
616 output[1] = input[(orientation>>3) & 0x03] * SIGNSET(orientation & 0x020);
617 output[2] = input[(orientation>>6) & 0x03] * SIGNSET(orientation & 0x100);
622 * @param[in] input Input vector, length 3
625 void inv_convert_to_chip(unsigned short orientation, const long *input, long *output) argument
627 output[orientation & 0x03] = input[0] * SIGNSET(orientation & 0x004);
628 output[(orientation>>3) & 0x03] = input[1] * SIGNSET(orientation & 0x020);
629 output[(orientation>>6) & 0x03] = input[
640 inv_convert_to_body_with_scale(unsigned short orientation, long sensitivity, const long *input, long *output) argument
671 inv_calc_state_to_match_output(inv_biquad_filter_t *pFilter, float input) argument
679 inv_biquad_filter_process(inv_biquad_filter_t *pFilter, float input) argument
[all...]
/hardware/invensense/libsensors_iio/software/core/mllite/linux/
H A Dml_sysfs_helper.c102 const char input[] = "/proc/bus/input/devices"; local
110 if(NULL == (fp = fopen(input, "rt")) ){
377 * @brief return input number. If the handler number is not found
383 * @int *num: input number store
/hardware/invensense/mlsdk/mllite/
H A Dcompass.c185 static int update(yas_filter_handle_t *t, float *input, float *output) argument
189 if (t == NULL || input == NULL || output == NULL) {
194 output[i] = adaptive_filter_filter(&t->adap_filter[i], input[i]);
/hardware/libhardware_legacy/audio/
H A DAudioPolicyCompatClient.cpp82 status_t AudioPolicyCompatClient::closeInput(audio_io_handle_t input) argument
84 return mServiceOps->close_input(mService, input);
H A Daudio_policy_hal.cpp185 static int ap_start_input(struct audio_policy *pol, audio_io_handle_t input) argument
188 return lap->apm->startInput(input);
191 static int ap_stop_input(struct audio_policy *pol, audio_io_handle_t input) argument
194 return lap->apm->stopInput(input);
197 static void ap_release_input(struct audio_policy *pol, audio_io_handle_t input) argument
200 lap->apm->releaseInput(input);
H A DAudioPolicyManagerBase.cpp27 // A device mask for all audio input devices that are considered "virtual" when evaluating
194 // handle input devices
199 // handle input device connection
209 // handle input device disconnection
228 ALOGV("setDeviceConnectionState() changing device from %x to %x for input %d",
461 ALOGV("setForceUse() changing device from %x to %x for input %d",
850 audio_io_handle_t input = 0; local
861 // adapt channel selection to input source
900 input = mpClientInterface->openInput(profile->mModule->mHandle,
906 // only accept input wit
923 startInput(audio_io_handle_t input) argument
960 stopInput(audio_io_handle_t input) argument
982 releaseInput(audio_io_handle_t input) argument
[all...]
/hardware/samsung_slsi/exynos5/libv4l2/
H A Dexynos_v4l2.c194 struct v4l2_input input; local
203 input.index = index;
204 ret = ioctl(fd, VIDIOC_ENUMINPUT, &input);
210 ALOGI("Name of input channel[%d] is %s", input.index, input.name);
212 strcpy(input_name_buf, (const char *)input.name);
222 struct v4l2_input input; local
231 input.index = index;
233 ret = ioctl(fd, VIDIOC_S_INPUT, &input);
[all...]
/hardware/invensense/libsensors_iio/software/simple_apps/mpu_iio/
H A Dmpu_iio.c62 void print2byte(int input, struct iio_channel_info *info) argument
66 input = input >> info->shift;
68 int16_t val = input;
77 uint16_t val = input;
/hardware/libhardware/modules/audio/
H A Daudio_policy.c133 static int ap_start_input(struct audio_policy *pol, audio_io_handle_t input) argument
138 static int ap_stop_input(struct audio_policy *pol, audio_io_handle_t input) argument
143 static void ap_release_input(struct audio_policy *pol, audio_io_handle_t input) argument
/hardware/ti/omap4xxx/camera/
H A DEncoder_libjpeg.cpp63 libjpeg_destination_mgr(uint8_t* input, int size);
91 libjpeg_destination_mgr::libjpeg_destination_mgr(uint8_t* input, int size) { argument
96 this->buf = input;
183 //input
354 size_t Encoder_libjpeg::encode(params* input) { argument
367 if (!input) {
371 out_width = input->out_width;
372 in_width = input->in_width;
373 out_height = input->out_height;
374 in_height = input
[all...]
H A DAppCallbackNotifier.cpp1064 structConvImage input = {frame->mWidth, local
1080 VT_resizeFrame_Video_opt2_lp(&input, &output, NULL, 0);
/hardware/msm7k/libaudio/
H A DAudioHardware.cpp201 // check for valid input source
230 ALOGW("Attempt to close invalid input stream");
503 AudioStreamInMSM72xx *input = getActiveInput_l(); local
504 uint32_t inputDevice = (input == NULL) ? 0 : input->devices();
508 ALOGI("do input routing device %x\n", inputDevice);
649 // return first input found not being in standby mode
650 // as only one input can be in this state
911 // open audio input device
1024 // force routing to input devic
[all...]
/hardware/qcom/audio/legacy/alsa_sound/
H A Daudio_policy_hal.cpp185 static int ap_start_input(struct audio_policy *pol, audio_io_handle_t input) argument
188 return qap->apm->startInput(input);
191 static int ap_stop_input(struct audio_policy *pol, audio_io_handle_t input) argument
194 return qap->apm->stopInput(input);
197 static void ap_release_input(struct audio_policy *pol, audio_io_handle_t input) argument
200 qap->apm->releaseInput(input);
H A Dalsa_default.cpp198 static char *getUCMDevice(uint32_t devices, int input, char *rxDevice);
1310 char *getUCMDevice(uint32_t devices, int input, char *rxDevice) argument
1314 if (!input) {
1501 // Mapping for quad mic input device.
1567 ALOGD("No valid input device: %u", devices);
1781 void s_setInput(int input) argument
1783 input_source = input;
/hardware/msm7k/libaudio-qsd8k/
H A DAudioHardware.cpp267 // check for valid input source
296 ALOGW("Attempt to close invalid input stream");
1340 AudioStreamInMSM72xx *input = getActiveInput_l(); local
1341 uint32_t inputDevice = (input == NULL) ? 0 : input->devices();
1362 ALOGI("do input routing device %x\n", inputDevice);
1524 // return first input found not being in standby mode
1525 // as only one input can be in this state
1835 ALOGV("acquire input wakelock");
1837 // open audio input devic
[all...]
/hardware/qcom/media/mm-video/vidc/venc/src/
H A Domx_video_base.cpp101 void* message_thread(void *input) argument
103 omx_video* omx = reinterpret_cast<omx_video*>(input);
492 DEBUG_PRINT_LOW("\n dev_stop called after input flush complete\n");
1295 flushtype - input flush(1)/output flush(0)/ both.
1308 //flush input only
2041 Helper function for Use buffer in the input pin
2216 Helper function for Use buffer in the input pin
2668 Helper function for allocate buffer in the input pin
4307 DEBUG_PRINT_ERROR("\nInvalid input to alloc_map_ion_memory");
4356 DEBUG_PRINT_ERROR("\n Invalid input t
[all...]
H A Dvideo_encoder_device.cpp140 char inputfilename [] = "/data/input.yuv";
165 void* async_venc_message_thread (void *input) argument
171 omx_venc *omx = reinterpret_cast<omx_venc*>(input);
191 else if(omx->async_message_process(input,&venc_msg) < 0)
526 // must be 4k aligned, hence aligning the input buffer
1508 DEBUG_PRINT_ERROR("\nERROR: venc_use_buf:get input buffer failed ");
1535 DEBUG_PRINT_ERROR("\nERROR: venc_use_buf:set input buffer failed ");
1598 DEBUG_PRINT_ERROR("\nERROR: venc_free_buf: free input buffer failed ");
H A Dvideo_encoder_device_copper.cpp139 char inputfilename [] = "/data/input.yuv";
158 void* async_venc_message_thread (void *input) argument
163 omx_venc *omx = reinterpret_cast<omx_venc*>(input);
164 omx_venc_base = reinterpret_cast<omx_video*>(input);
229 if(omx->async_message_process(input,&venc_msg) < 0)
568 // must be 4k aligned, hence aligning the input buffer
1471 DEBUG_PRINT_ERROR("\nERROR: venc_use_buf:set input buffer failed ");
1534 DEBUG_PRINT_ERROR("\nERROR: venc_free_buf: free input buffer failed ");
/hardware/qcom/msm8960/kernel-headers/linux/
H A Dmsm_q6vdec.h124 struct vdec_buf_desc input; member in struct:vdec_buf_req
259 struct vdec_buf_desc input; member in struct:vdec_dec_attributes
/hardware/qcom/msm8960/original-kernel-headers/linux/
H A Dmsm_q6vdec.h103 struct vdec_buf_desc input; member in struct:vdec_buf_req
120 u32 notify_enable; /* enable notify input buffer done event */
167 u32 flags; /* input flags */
229 struct vdec_buf_desc input; member in struct:vdec_dec_attributes
/hardware/qcom/media/mm-video/vidc/vdec/src/
H A Domx_vdec.cpp79 #define INPUT_BUFFER_FILE_NAME "/data/input-bitstream.\0\0\0\0"
152 void* async_message_thread (void *input) argument
156 omx_vdec *omx = reinterpret_cast<omx_vdec*>(input);
176 else if (omx->async_message_process(input,&vdec_msg) < 0)
185 void* message_thread(void *input) argument
187 omx_vdec* omx = reinterpret_cast<omx_vdec*>(input);
1464 /*Get the Buffer requirements for input and output ports*/
2249 flushtype - input flush(1)/output flush(0)/ both.
3055 // activate ts prediction logic (arbitrary mode only) sending input
3966 Helper function for Use buffer in the input pi
4496 OMX_BUFFERHEADERTYPE *input = NULL; local
4596 OMX_BUFFERHEADERTYPE *input = NULL; local
[all...]
H A Domx_vdec_copper.cpp78 #define INPUT_BUFFER_FILE_NAME "/data/input-bitstream.\0\0\0\0"
124 void* async_message_thread (void *input) argument
134 omx_vdec *omx = reinterpret_cast<omx_vdec*>(input);
199 if (omx->async_message_process(input,&vdec_msg) < 0) {
208 void* message_thread(void *input) argument
210 omx_vdec* omx = reinterpret_cast<omx_vdec*>(input);
1440 /*Get the Buffer requirements for input and output ports*/
2199 flushtype - input flush(1)/output flush(0)/ both.
2884 // activate ts prediction logic (arbitrary mode only) sending input
3769 Helper function for Use buffer in the input pi
4236 OMX_BUFFERHEADERTYPE *input = NULL; local
4336 OMX_BUFFERHEADERTYPE *input = NULL; local
[all...]
/hardware/samsung_slsi/exynos5/include/
H A Dvideodev2.h638 * @input: input number from which the video data has has been captured
662 __u32 input; member in struct:v4l2_buffer
676 #define V4L2_BUF_FLAG_INPUT 0x0200 /* input field is valid */
1078 __u32 index; /* Which input */
1080 __u32 type; /* Type of input */

Completed in 1255 milliseconds