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

/hardware/invensense/libsensors_iio/software/core/mllite/
H A Dml_math_func.h30 float input; member in struct:__anon135
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
680 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.c96 const char input[] = "/proc/bus/input/devices"; local
104 if(NULL == (fp = fopen(input, "rt")) ){
371 * @brief return input number. If the handler number is not found
377 * @int *num: input number store
/hardware/invensense/libsensors_iio/software/simple_apps/mpu_iio/
H A Dmpu_iio.c60 void print2byte(int input, struct iio_channel_info *info) argument
64 input = input >> info->shift;
66 int16_t val = input;
75 uint16_t val = input;
/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
188 // handle input devices
193 // handle input device connection
203 // handle input device disconnection
222 ALOGV("setDeviceConnectionState() changing device from %x to %x for input %d",
462 ALOGV("setForceUse() changing device from %x to %x for input %d",
826 audio_io_handle_t input = 0; local
837 // adapt channel selection to input source
876 input = mpClientInterface->openInput(profile->mModule->mHandle,
882 // only accept input wit
899 startInput(audio_io_handle_t input) argument
932 stopInput(audio_io_handle_t input) argument
954 releaseInput(audio_io_handle_t input) argument
[all...]
/hardware/ril/mock-ril/src/cpp/
H A Dmsgheader.pb.cpp170 ::google::protobuf::io::CodedInputStream* input) {
173 while ((tag = input->ReadTag()) != 0) {
181 input, &cmd_)));
186 if (input->ExpectTag(16)) goto parse_length_data;
197 input, &length_data_)));
202 if (input->ExpectTag(24)) goto parse_status;
213 input, &status_)));
218 if (input->ExpectTag(32)) goto parse_token;
229 input, &token_)));
234 if (input
169 MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* 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/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/alsa_sound/
H A Daudio_policy_hal.cpp217 static int ap_start_input(struct audio_policy *pol, audio_io_handle_t input) argument
220 return qap->apm->startInput(input);
223 static int ap_stop_input(struct audio_policy *pol, audio_io_handle_t input) argument
226 return qap->apm->stopInput(input);
229 static void ap_release_input(struct audio_policy *pol, audio_io_handle_t input) argument
232 qap->apm->releaseInput(input);
H A Dalsa_default.cpp196 static char *getUCMDevice(uint32_t devices, int input, char *rxDevice);
1308 char *getUCMDevice(uint32_t devices, int input, char *rxDevice) argument
1310 if (!input) {
1474 // Mapping for quad mic input device.
1540 ALOGD("No valid input device: %u", devices);
1754 void s_setInput(int input) argument
1756 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.cpp97 void* message_thread(void *input) argument
99 omx_video* omx = reinterpret_cast<omx_video*>(input);
488 DEBUG_PRINT_LOW("\n dev_stop called after input flush complete\n");
1291 flushtype - input flush(1)/output flush(0)/ both.
1304 //flush input only
2033 Helper function for Use buffer in the input pin
2208 Helper function for Use buffer in the input pin
2658 Helper function for allocate buffer in the input pin
4275 DEBUG_PRINT_ERROR("\nInvalid input to alloc_map_ion_memory");
4323 DEBUG_PRINT_ERROR("\n Invalid input t
[all...]
H A Dvideo_encoder_device.cpp139 char inputfilename [] = "/data/input.yuv";
164 void* async_venc_message_thread (void *input) argument
170 omx_venc *omx = reinterpret_cast<omx_venc*>(input);
190 else if(omx->async_message_process(input,&venc_msg) < 0)
525 // must be 4k aligned, hence aligning the input buffer
1494 DEBUG_PRINT_ERROR("\nERROR: venc_use_buf:get input buffer failed ");
1521 DEBUG_PRINT_ERROR("\nERROR: venc_use_buf:set input buffer failed ");
1584 DEBUG_PRINT_ERROR("\nERROR: venc_free_buf: free input buffer failed ");
H A Dvideo_encoder_device_copper.cpp138 char inputfilename [] = "/data/input.yuv";
157 void* async_venc_message_thread (void *input) argument
162 omx_venc *omx = reinterpret_cast<omx_venc*>(input);
163 omx_venc_base = reinterpret_cast<omx_video*>(input);
228 if(omx->async_message_process(input,&venc_msg) < 0)
567 // must be 4k aligned, hence aligning the input buffer
1470 DEBUG_PRINT_ERROR("\nERROR: venc_use_buf:set input buffer failed ");
1533 DEBUG_PRINT_ERROR("\nERROR: venc_free_buf: free input buffer failed ");
/hardware/qcom/media/mm-video/vidc/vdec/src/
H A Domx_vdec.cpp82 #define INPUT_BUFFER_FILE_NAME "/data/input-bitstream.\0\0\0\0"
155 void* async_message_thread (void *input) argument
159 omx_vdec *omx = reinterpret_cast<omx_vdec*>(input);
179 else if (omx->async_message_process(input,&vdec_msg) < 0)
188 void* message_thread(void *input) argument
190 omx_vdec* omx = reinterpret_cast<omx_vdec*>(input);
1457 /*Get the Buffer requirements for input and output ports*/
2242 flushtype - input flush(1)/output flush(0)/ both.
3042 // activate ts prediction logic (arbitrary mode only) sending input
3978 Helper function for Use buffer in the input pi
4510 OMX_BUFFERHEADERTYPE *input = NULL; local
4610 OMX_BUFFERHEADERTYPE *input = NULL; local
[all...]
H A Domx_vdec_copper.cpp82 #define INPUT_BUFFER_FILE_NAME "/data/input-bitstream.\0\0\0\0"
128 void* async_message_thread (void *input) argument
138 omx_vdec *omx = reinterpret_cast<omx_vdec*>(input);
203 if (omx->async_message_process(input,&vdec_msg) < 0) {
212 void* message_thread(void *input) argument
214 omx_vdec* omx = reinterpret_cast<omx_vdec*>(input);
1447 /*Get the Buffer requirements for input and output ports*/
2206 flushtype - input flush(1)/output flush(0)/ both.
2891 // activate ts prediction logic (arbitrary mode only) sending input
3776 Helper function for Use buffer in the input pi
4246 OMX_BUFFERHEADERTYPE *input = NULL; local
4346 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 */
1076 __u32 index; /* Which input */
1078 __u32 type; /* Type of input */

Completed in 398 milliseconds