Lines Matching refs:decoder
60 const struct sensor_decoder_api *decoder; in print_stream() local
102 rc = sensor_get_decoder(sensor, &decoder); in print_stream()
118 rc = decoder->get_frame_count(buf, accel_chan, &xl_count); in print_stream()
119 rc += decoder->get_frame_count(buf, gyro_chan, &gy_count); in print_stream()
120 rc += decoder->get_frame_count(buf, temp_chan, &tp_count); in print_stream()
121 rc += decoder->get_frame_count(buf, rot_vector_chan, &rot_vect_count); in print_stream()
122 rc += decoder->get_frame_count(buf, gravity_chan, &gravity_count); in print_stream()
123 rc += decoder->get_frame_count(buf, gbias_chan, &gbias_count); in print_stream()
134 if (decoder->has_trigger(buf, SENSOR_TRIG_TAP)) { in print_stream()
147 c = decoder->decode(buf, accel_chan, &accel_fit, 8, accel_data); in print_stream()
157 c = decoder->decode(buf, gyro_chan, &gyro_fit, 8, gyro_data); in print_stream()
167 c = decoder->decode(buf, temp_chan, &temp_fit, 4, temp_data); in print_stream()
176 c = decoder->decode(buf, rot_vector_chan, &rot_vect_fit, 8, rot_vect_data); in print_stream()
186 c = decoder->decode(buf, gravity_chan, &gravity_fit, 8, gravity_data); in print_stream()
196 c = decoder->decode(buf, gbias_chan, &gbias_fit, 8, gbias_data); in print_stream()