Home
last modified time | relevance | path

Searched refs:retval (Results 1 – 25 of 52) sorted by relevance

123

/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/common/
Dquant_common.c41 int retval; in vp8_dc_quant() local
50 retval = dc_qlookup[ QIndex ]; in vp8_dc_quant()
51 return retval; in vp8_dc_quant()
56 int retval; in vp8_dc2quant() local
65 retval = dc_qlookup[ QIndex ] * 2; in vp8_dc2quant()
66 return retval; in vp8_dc2quant()
71 int retval; in vp8_dc_uv_quant() local
80 retval = dc_qlookup[ QIndex ]; in vp8_dc_uv_quant()
82 if (retval > 132) in vp8_dc_uv_quant()
83 retval = 132; in vp8_dc_uv_quant()
[all …]
/hardware/qcom/media/msm8998/mm-video-v4l2/vidc/vdec/src/
Domx_swvdec.cpp139 OMX_ERRORTYPE retval = OMX_ErrorNone; in component_init() local
166 retval = OMX_ErrorIncorrectStateOperation; in component_init()
213 retval = OMX_ErrorInvalidComponentName; in component_init()
232 retval = retval_swvdec2omx(retval_swvdec); in component_init()
238 if ((retval = set_frame_dimensions(DEFAULT_FRAME_WIDTH, in component_init()
249 if ((retval = set_frame_attributes(m_omx_color_formattype)) != in component_init()
256 if ((retval = get_buffer_requirements_swvdec(OMX_CORE_PORT_INDEX_IP)) != in component_init()
262 if ((retval = get_buffer_requirements_swvdec(OMX_CORE_PORT_INDEX_OP)) != in component_init()
268 if ((retval = async_thread_create()) != OMX_ErrorNone) in component_init()
277 retval = OMX_ErrorInsufficientResources; in component_init()
[all …]
/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/vdec/src/
Domx_swvdec.cpp130 OMX_ERRORTYPE retval = OMX_ErrorNone; in component_init() local
142 retval = OMX_ErrorIncorrectStateOperation; in component_init()
190 retval = OMX_ErrorInvalidComponentName; in component_init()
217 retval = retval_swvdec2omx(retval_swvdec); in component_init()
224 if ((retval = set_frame_dimensions(DEFAULT_FRAME_WIDTH, in component_init()
232 if ((retval = set_frame_attributes(DEFAULT_ALIGNMENT_STRIDE, in component_init()
243 if ((retval = get_buffer_requirements_swvdec(OMX_CORE_PORT_INDEX_IP)) != in component_init()
250 if ((retval = get_buffer_requirements_swvdec(OMX_CORE_PORT_INDEX_OP)) != in component_init()
257 if ((retval = async_thread_create()) != OMX_ErrorNone) in component_init()
266 retval = OMX_ErrorInsufficientResources; in component_init()
[all …]
Domx_swvdec_utils.cpp116 bool retval = true; in push() local
129 retval = false; in push()
134 return retval; in push()
147 bool retval = true; in pop() local
162 retval = false; in pop()
167 return retval; in pop()
207 bool retval = true; in push() local
243 retval = false; in push()
248 return retval; in push()
261 bool retval; in pop() local
[all …]
/hardware/qcom/bt/msm8960/libbt-vendor/src/
Dbt_vendor_qcom.c98 int retval = 0; in op() local
109 retval = hw_config(nState); in op()
111 && retval == 0 in op()
113 retval = 0; in op()
116 retval = -1; in op()
152 retval = -1; in op()
155 retval = 2; in op()
190 return retval; in op()
/hardware/qcom/gps/loc_api/libloc_api-rpc-50001/libloc_api-rpc-stub/src/
Dloc_api_rpcgen_cb_svc.c56 bool_t retval; in loc_apicbprog_0x00050001() local
80 retval = (bool_t) (*local)((char *)&argument, (void *)&result, rqstp); in loc_apicbprog_0x00050001()
81 if (retval > 0 && !svc_sendreply(transp, (xdrproc_t) _xdr_result, (char *)&result)) { in loc_apicbprog_0x00050001()
103 bool_t retval; in loc_apicbprog_0x00050002() local
127 retval = (bool_t) (*local)((char *)&argument, (void *)&result, rqstp); in loc_apicbprog_0x00050002()
128 if (retval > 0 && !svc_sendreply(transp, (xdrproc_t) _xdr_result, (char *)&result)) { in loc_apicbprog_0x00050002()
150 bool_t retval; in loc_apicbprog_0x00050003() local
174 retval = (bool_t) (*local)((char *)&argument, (void *)&result, rqstp); in loc_apicbprog_0x00050003()
175 if (retval > 0 && !svc_sendreply(transp, (xdrproc_t) _xdr_result, (char *)&result)) { in loc_apicbprog_0x00050003()
197 bool_t retval; in loc_apicbprog_0x00050004() local
[all …]
/hardware/qcom/gps/msm8909/loc_api/libloc_api-rpc-50001/libloc_api-rpc-stub/src/
Dloc_api_rpcgen_cb_svc.c56 bool_t retval; in loc_apicbprog_0x00050001() local
80 retval = (bool_t) (*local)((char *)&argument, (void *)&result, rqstp); in loc_apicbprog_0x00050001()
81 if (retval > 0 && !svc_sendreply(transp, (xdrproc_t) _xdr_result, (char *)&result)) { in loc_apicbprog_0x00050001()
103 bool_t retval; in loc_apicbprog_0x00050002() local
127 retval = (bool_t) (*local)((char *)&argument, (void *)&result, rqstp); in loc_apicbprog_0x00050002()
128 if (retval > 0 && !svc_sendreply(transp, (xdrproc_t) _xdr_result, (char *)&result)) { in loc_apicbprog_0x00050002()
150 bool_t retval; in loc_apicbprog_0x00050003() local
174 retval = (bool_t) (*local)((char *)&argument, (void *)&result, rqstp); in loc_apicbprog_0x00050003()
175 if (retval > 0 && !svc_sendreply(transp, (xdrproc_t) _xdr_result, (char *)&result)) { in loc_apicbprog_0x00050003()
197 bool_t retval; in loc_apicbprog_0x00050004() local
[all …]
/hardware/qcom/gps/msm8998/loc_api/libloc_api-rpc-50001/libloc_api-rpc-stub/src/
Dloc_api_rpcgen_cb_svc.c56 bool_t retval; in loc_apicbprog_0x00050001() local
80 retval = (bool_t) (*local)((char *)&argument, (void *)&result, rqstp); in loc_apicbprog_0x00050001()
81 if (retval > 0 && !svc_sendreply(transp, (xdrproc_t) _xdr_result, (char *)&result)) { in loc_apicbprog_0x00050001()
103 bool_t retval; in loc_apicbprog_0x00050002() local
127 retval = (bool_t) (*local)((char *)&argument, (void *)&result, rqstp); in loc_apicbprog_0x00050002()
128 if (retval > 0 && !svc_sendreply(transp, (xdrproc_t) _xdr_result, (char *)&result)) { in loc_apicbprog_0x00050002()
150 bool_t retval; in loc_apicbprog_0x00050003() local
174 retval = (bool_t) (*local)((char *)&argument, (void *)&result, rqstp); in loc_apicbprog_0x00050003()
175 if (retval > 0 && !svc_sendreply(transp, (xdrproc_t) _xdr_result, (char *)&result)) { in loc_apicbprog_0x00050003()
197 bool_t retval; in loc_apicbprog_0x00050004() local
[all …]
/hardware/qcom/gps/msm8084/loc_api/libloc_api-rpc-50001/libloc_api-rpc-stub/src/
Dloc_api_rpcgen_cb_svc.c56 bool_t retval; in loc_apicbprog_0x00050001() local
80 retval = (bool_t) (*local)((char *)&argument, (void *)&result, rqstp); in loc_apicbprog_0x00050001()
81 if (retval > 0 && !svc_sendreply(transp, (xdrproc_t) _xdr_result, (char *)&result)) { in loc_apicbprog_0x00050001()
103 bool_t retval; in loc_apicbprog_0x00050002() local
127 retval = (bool_t) (*local)((char *)&argument, (void *)&result, rqstp); in loc_apicbprog_0x00050002()
128 if (retval > 0 && !svc_sendreply(transp, (xdrproc_t) _xdr_result, (char *)&result)) { in loc_apicbprog_0x00050002()
150 bool_t retval; in loc_apicbprog_0x00050003() local
174 retval = (bool_t) (*local)((char *)&argument, (void *)&result, rqstp); in loc_apicbprog_0x00050003()
175 if (retval > 0 && !svc_sendreply(transp, (xdrproc_t) _xdr_result, (char *)&result)) { in loc_apicbprog_0x00050003()
197 bool_t retval; in loc_apicbprog_0x00050004() local
[all …]
/hardware/qcom/gps/msm8996/loc_api/libloc_api-rpc-50001/libloc_api-rpc-stub/src/
Dloc_api_rpcgen_cb_svc.c56 bool_t retval; in loc_apicbprog_0x00050001() local
80 retval = (bool_t) (*local)((char *)&argument, (void *)&result, rqstp); in loc_apicbprog_0x00050001()
81 if (retval > 0 && !svc_sendreply(transp, (xdrproc_t) _xdr_result, (char *)&result)) { in loc_apicbprog_0x00050001()
103 bool_t retval; in loc_apicbprog_0x00050002() local
127 retval = (bool_t) (*local)((char *)&argument, (void *)&result, rqstp); in loc_apicbprog_0x00050002()
128 if (retval > 0 && !svc_sendreply(transp, (xdrproc_t) _xdr_result, (char *)&result)) { in loc_apicbprog_0x00050002()
150 bool_t retval; in loc_apicbprog_0x00050003() local
174 retval = (bool_t) (*local)((char *)&argument, (void *)&result, rqstp); in loc_apicbprog_0x00050003()
175 if (retval > 0 && !svc_sendreply(transp, (xdrproc_t) _xdr_result, (char *)&result)) { in loc_apicbprog_0x00050003()
197 bool_t retval; in loc_apicbprog_0x00050004() local
[all …]
/hardware/qcom/gps/msm8994/loc_api/libloc_api-rpc-50001/libloc_api-rpc-stub/src/
Dloc_api_rpcgen_cb_svc.c56 bool_t retval; in loc_apicbprog_0x00050001() local
80 retval = (bool_t) (*local)((char *)&argument, (void *)&result, rqstp); in loc_apicbprog_0x00050001()
81 if (retval > 0 && !svc_sendreply(transp, (xdrproc_t) _xdr_result, (char *)&result)) { in loc_apicbprog_0x00050001()
103 bool_t retval; in loc_apicbprog_0x00050002() local
127 retval = (bool_t) (*local)((char *)&argument, (void *)&result, rqstp); in loc_apicbprog_0x00050002()
128 if (retval > 0 && !svc_sendreply(transp, (xdrproc_t) _xdr_result, (char *)&result)) { in loc_apicbprog_0x00050002()
150 bool_t retval; in loc_apicbprog_0x00050003() local
174 retval = (bool_t) (*local)((char *)&argument, (void *)&result, rqstp); in loc_apicbprog_0x00050003()
175 if (retval > 0 && !svc_sendreply(transp, (xdrproc_t) _xdr_result, (char *)&result)) { in loc_apicbprog_0x00050003()
197 bool_t retval; in loc_apicbprog_0x00050004() local
[all …]
/hardware/qcom/bt/msm8998/libbt-vendor/src/
Dbt_vendor_qcom.c279 int retval, filter_ctrl, i; in stop_hci_filter() local
297 retval = write(filter_ctrl, &stop_val, 1); in stop_hci_filter()
298 if (retval != 1) { in stop_hci_filter()
299 ALOGI("%s: problem writing to CTRL_SOCK, ignore: %d", __func__, retval); in stop_hci_filter()
736 int retval = BT_STATUS_SUCCESS; in __op() local
786 retval = hw_config(nState); in __op()
788 && retval == 0 in __op()
790 retval = 0; in __op()
793 retval = -1; in __op()
800 retval = bt_powerup(nState); in __op()
[all …]
/hardware/qcom/bt/msm8992/libbt-vendor/src/
Dbt_vendor_qcom.c621 int retval = 0; in op() local
654 retval = hw_config(nState); in op()
656 && retval == 0 in op()
658 retval = 0; in op()
661 retval = -1; in op()
670 retval = bt_powerup(nState); in op()
671 if(retval == 0) in op()
689 retval = -1; in op()
726 retval = -1; in op()
729 retval = 2; in op()
[all …]
/hardware/libhardware/modules/sensors/
Dmultihal.cpp294 int retval = -EINVAL; in activate() local
299 retval = v0->activate(v0, local_handle, enabled); in activate()
304 ALOGV("retval %d", retval); in activate()
305 return retval; in activate()
309 int retval = -EINVAL; in setDelay() local
314 retval = v0->setDelay(v0, local_handle, ns); in setDelay()
318 ALOGV("retval %d", retval); in setDelay()
319 return retval; in setDelay()
388 int retval = -EINVAL; in batch() local
392 retval = v1->batch(v1, local_handle, flags, period_ns, timeout); in batch()
[all …]
/hardware/qcom/bt/msm8996/libbt-vendor/src/
Dbt_vendor_qcom.c650 int retval = 0; in op() local
684 retval = hw_config(nState); in op()
686 && retval == 0 in op()
688 retval = 0; in op()
691 retval = -1; in op()
701 retval = bt_powerup(nState); in op()
702 if(retval == 0) in op()
723 retval = -1; in op()
733 retval = -1; in op()
770 retval = -1; in op()
[all …]
/hardware/broadcom/libbt/src/
Dbt_vendor_brcm.c133 int retval = 0; in op() local
160 retval = -1; in op()
175 retval = 1; in op()
197 retval = hw_lpm_enable(*mode); in op()
213 retval = hw_set_audio_state((bt_vendor_op_audio_state_t *)param); in op()
231 return retval; in op()
/hardware/qcom/bt/msm8909/libbt-vendor/src/
Dbt_vendor_qcom.c634 int retval = 0; in op() local
667 retval = hw_config(nState); in op()
669 && retval == 0 in op()
671 retval = 0; in op()
674 retval = -1; in op()
680 retval = bt_powerup(nState); in op()
698 retval = -1; in op()
708 retval = -1; in op()
746 retval = -1; in op()
749 retval = 2; in op()
[all …]
/hardware/intel/common/wrs_omxil_core/core/src/
Dintel_video_config_parser.cpp85 int16 retval = 0; in intel_video_config_parser() local
86retval = iDecodeVOLHeader(&psBits, &width, &height, &display_width, &display_height, &profile_leve… in intel_video_config_parser()
87 if (retval != 0) in intel_video_config_parser()
89 return retval; in intel_video_config_parser()
138 int16 retval; in intel_video_config_parser() local
139 retval = iGetAVCConfigInfo(tp, in intel_video_config_parser()
147 if (retval != 0) in intel_video_config_parser()
149 return retval; in intel_video_config_parser()
/hardware/ti/omap3/omx/ti_omx_config_parser/src/
Dti_video_config_parser.cpp84 int16 retval = 0; in ti_video_config_parser() local
85retval = iDecodeVOLHeader(&psBits, &width, &height, &display_width, &display_height, &profile_leve… in ti_video_config_parser()
86 if (retval != 0) in ti_video_config_parser()
88 return retval; in ti_video_config_parser()
139 int16 retval; in ti_video_config_parser() local
140 retval = iGetAVCConfigInfo(tp, in ti_video_config_parser()
149 if (retval != 0) in ti_video_config_parser()
151 return retval; in ti_video_config_parser()
/hardware/qcom/gps/loc_api/libloc_api-rpc/gen-3200/
Dloc_api_cb_svc.c28 bool_t retval; in loc_apicbprog_0x00010001() local
52 retval = (bool_t) (*local)((char *)&argument, (void *)&result, rqstp); in loc_apicbprog_0x00010001()
53 if (retval > 0 && !svc_sendreply(transp, (xdrproc_t) _xdr_result, (char *)&result)) { in loc_apicbprog_0x00010001()
/hardware/qcom/gps/msm8084/loc_api/libloc_api-rpc/gen-3200/
Dloc_api_cb_svc.c28 bool_t retval; in loc_apicbprog_0x00010001() local
52 retval = (bool_t) (*local)((char *)&argument, (void *)&result, rqstp); in loc_apicbprog_0x00010001()
53 if (retval > 0 && !svc_sendreply(transp, (xdrproc_t) _xdr_result, (char *)&result)) { in loc_apicbprog_0x00010001()
/hardware/qcom/gps/msm8084/loc_api/libloc_api-rpc/gen-1240/
Dloc_api_cb_svc.c28 bool_t retval; in loc_apicbprog_0x00040001() local
52 retval = (bool_t) (*local)((char *)&argument, (void *)&result, rqstp); in loc_apicbprog_0x00040001()
53 if (retval > 0 && !svc_sendreply(transp, (xdrproc_t) _xdr_result, (char *)&result)) { in loc_apicbprog_0x00040001()
/hardware/qcom/gps/loc_api/libloc_api-rpc/gen-1240/
Dloc_api_cb_svc.c28 bool_t retval; in loc_apicbprog_0x00040001() local
52 retval = (bool_t) (*local)((char *)&argument, (void *)&result, rqstp); in loc_apicbprog_0x00040001()
53 if (retval > 0 && !svc_sendreply(transp, (xdrproc_t) _xdr_result, (char *)&result)) { in loc_apicbprog_0x00040001()
/hardware/qcom/gps/msm8994/loc_api/libloc_api-rpc/gen-3200/
Dloc_api_cb_svc.c28 bool_t retval; in loc_apicbprog_0x00010001() local
52 retval = (bool_t) (*local)((char *)&argument, (void *)&result, rqstp); in loc_apicbprog_0x00010001()
53 if (retval > 0 && !svc_sendreply(transp, (xdrproc_t) _xdr_result, (char *)&result)) { in loc_apicbprog_0x00010001()
/hardware/qcom/gps/msm8994/loc_api/libloc_api-rpc/gen-1240/
Dloc_api_cb_svc.c28 bool_t retval; in loc_apicbprog_0x00040001() local
52 retval = (bool_t) (*local)((char *)&argument, (void *)&result, rqstp); in loc_apicbprog_0x00040001()
53 if (retval > 0 && !svc_sendreply(transp, (xdrproc_t) _xdr_result, (char *)&result)) { in loc_apicbprog_0x00040001()

123