/hardware/libhardware/modules/camera/ |
H A D | ExampleCamera.cpp | 182 int res; local 187 res = base.add1UInt8(ANDROID_CONTROL_MODE, ANDROID_CONTROL_MODE_OFF); 188 if (res) 189 return res; 192 res = setPreviewTemplate(base); 193 if (res) 194 return res; 195 res = setStillTemplate(base); 196 if (res) 197 return res; 214 int res = m.add1UInt8(ANDROID_CONTROL_CAPTURE_INTENT, local 225 int res = m.add1UInt8(ANDROID_CONTROL_CAPTURE_INTENT, local 236 int res = m.add1UInt8(ANDROID_CONTROL_CAPTURE_INTENT, local 247 int res = m.add1UInt8(ANDROID_CONTROL_CAPTURE_INTENT, local 258 int res = m.add1UInt8(ANDROID_CONTROL_CAPTURE_INTENT, local [all...] |
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vpx/src/ |
H A D | vpx_decoder.c | 27 vpx_codec_err_t res; local 31 res = VPX_CODEC_ABI_MISMATCH; 34 res = VPX_CODEC_INVALID_PARAM; 36 res = VPX_CODEC_ABI_MISMATCH; 39 res = VPX_CODEC_INCAPABLE; 41 res = VPX_CODEC_INCAPABLE; 44 res = VPX_CODEC_INCAPABLE; 47 res = VPX_CODEC_INCAPABLE; 49 res = VPX_CODEC_INCAPABLE; 57 res 80 vpx_codec_err_t res; local 99 vpx_codec_err_t res; local 122 vpx_codec_err_t res; local 154 vpx_codec_err_t res; local 174 vpx_codec_err_t res; local 194 vpx_codec_err_t res = VPX_CODEC_OK; local 210 vpx_codec_err_t res = VPX_CODEC_MEM_ERROR; local 237 vpx_codec_err_t res; local [all...] |
H A D | vpx_encoder.c | 28 vpx_codec_err_t res; local 31 res = VPX_CODEC_ABI_MISMATCH; 33 res = VPX_CODEC_INVALID_PARAM; 35 res = VPX_CODEC_ABI_MISMATCH; 37 res = VPX_CODEC_INCAPABLE; 39 res = VPX_CODEC_INCAPABLE; 42 res = VPX_CODEC_INCAPABLE; 45 res = VPX_CODEC_INCAPABLE; 52 res = ctx->iface->init(ctx, NULL); 54 if (res) { 73 vpx_codec_err_t res = VPX_CODEC_OK; local 163 vpx_codec_err_t res; local 210 vpx_codec_err_t res = VPX_CODEC_OK; local 365 vpx_codec_err_t res; local [all...] |
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/test/ |
H A D | svc_test.cc | 50 const vpx_codec_err_t res = local 52 EXPECT_EQ(VPX_CODEC_OK, res); 84 vpx_codec_err_t res = vpx_svc_init(NULL, &codec_, codec_iface_, &codec_enc_); local 85 EXPECT_EQ(VPX_CODEC_INVALID_PARAM, res); 86 res = vpx_svc_init(&svc_, NULL, codec_iface_, &codec_enc_); 87 EXPECT_EQ(VPX_CODEC_INVALID_PARAM, res); 88 res = vpx_svc_init(&svc_, &codec_, NULL, &codec_enc_); 89 EXPECT_EQ(VPX_CODEC_INVALID_PARAM, res); 91 res = vpx_svc_init(&svc_, &codec_, codec_iface_, NULL); 92 EXPECT_EQ(VPX_CODEC_INVALID_PARAM, res); 108 vpx_codec_err_t res = vpx_svc_init(&svc_, &codec_, codec_iface_, &codec_enc_); local 118 vpx_codec_err_t res = vpx_svc_set_options(&svc_, NULL); local 128 vpx_codec_err_t res = vpx_svc_set_options(&svc_, "layers=3"); local 137 vpx_codec_err_t res = vpx_svc_set_options(&svc_, "encoding-mode=alt-ip"); local 146 vpx_codec_err_t res = vpx_svc_set_options(&svc_, "layers=2 encoding-mode=ip"); local 156 vpx_codec_err_t res = local 171 vpx_codec_err_t res = vpx_svc_set_options(&svc_, "quantizers=not-quantizers"); local 184 vpx_codec_err_t res = vpx_svc_set_options(&svc_, local 197 vpx_codec_err_t res = vpx_svc_set_quantizers(NULL, "40,30", 0); local 217 vpx_codec_err_t res = vpx_svc_set_quantizers(NULL, "40,31", 1); local 231 vpx_codec_err_t res = vpx_svc_set_scale_factors(NULL, "4/16,16/16"); local 256 vpx_codec_err_t res = local 283 vpx_codec_err_t res = local 336 vpx_codec_err_t res = local 373 vpx_codec_err_t res = local 422 vpx_codec_err_t res = local [all...] |
/hardware/libhardware/modules/usbcamera/ |
H A D | UsbCamera.cpp | 199 int res = sync_wait(in->acquire_fence, CAMERA_SYNC_TIMEOUT_MS); local 200 if (res == -ETIME) { 203 return res; 204 } else if (res) { 206 __func__, mId, strerror(-res), res); 207 return res; 223 int res; local 227 res = base.add1UInt8(ANDROID_CONTROL_MODE, ANDROID_CONTROL_MODE_OFF); 228 if (res) 257 int res = m.add1UInt8(ANDROID_CONTROL_CAPTURE_INTENT, local 267 int res = m.add1UInt8(ANDROID_CONTROL_CAPTURE_INTENT, local 277 int res = m.add1UInt8(ANDROID_CONTROL_CAPTURE_INTENT, local 287 int res = m.add1UInt8(ANDROID_CONTROL_CAPTURE_INTENT, local 297 int res = m.add1UInt8(ANDROID_CONTROL_CAPTURE_INTENT, local 307 int res = m.add1UInt8(ANDROID_CONTROL_CAPTURE_INTENT, local [all...] |
/hardware/intel/common/libmix/mix_vbp/viddec_fw/fw/codecs/h264/parser/ |
H A D | h264parse_math.c | 26 register unsigned long res = 0;
local 51 res |= bit;
58 return res;
65 register unsigned res = 0;
local 74 res |= bit;
79 return res;
|
/hardware/invensense/6515/libsensors_iio/software/core/mllite/linux/ |
H A D | mlos_linux.c | 73 int res; local 78 res = pthread_mutex_init(pm, NULL); 79 if(res == -1) { 97 int res; local 100 res = pthread_mutex_lock(pm); 101 if(res == -1) 115 int res; local 118 res = pthread_mutex_unlock(pm); 119 if(res == -1)
|
/hardware/invensense/65xx/libsensors_iio/software/core/mllite/linux/ |
H A D | mlos_linux.c | 73 int res; local 78 res = pthread_mutex_init(pm, NULL); 79 if(res == -1) { 97 int res; local 100 res = pthread_mutex_lock(pm); 101 if(res == -1) 115 int res; local 118 res = pthread_mutex_unlock(pm); 119 if(res == -1)
|
/hardware/bsp/intel/peripheral/libupm/src/gas/ |
H A D | jsupm_gas.i | 7 int res = SWIG_ConvertPtr($input, &argp,SWIGTYPE_p_uint16Array, 0 | 0 );
|
H A D | pyupm_gas.i | 7 int res = SWIG_ConvertPtr($input, &argp,SWIGTYPE_p_uint16Array, 0 | 0 );
|
/hardware/bsp/intel/peripheral/libupm/src/lcd/ |
H A D | jsupm_i2clcd.i | 7 int res = SWIG_ConvertPtr($input, &argp,SWIGTYPE_p_uint8Array, 0 | 0 );
|
H A D | pyupm_i2clcd.i | 7 int res = SWIG_ConvertPtr($input, &argp,SWIGTYPE_p_uint8Array, 0 | 0 );
|
/hardware/bsp/intel/peripheral/libupm/src/mic/ |
H A D | jsupm_mic.i | 7 int res = SWIG_ConvertPtr($input, &argp,SWIGTYPE_p_uint16Array, 0 | 0 );
|
H A D | pyupm_mic.i | 7 int res = SWIG_ConvertPtr($input, &argp,SWIGTYPE_p_uint16Array, 0 | 0 );
|
/hardware/bsp/intel/peripheral/libupm/src/pn532/ |
H A D | jsupm_pn532.i | 9 int res = SWIG_ConvertPtr($input, &argp, SWIGTYPE_p_uint8Array, 0 | 0 );
|
H A D | pyupm_pn532.i | 9 int res = SWIG_ConvertPtr($input, &argp, SWIGTYPE_p_uint8Array, 0 | 0 );
|
/hardware/qcom/display/msm8996/sdm/libs/utils/ |
H A D | rect.cpp | 62 LayerRect res; local 68 res.left = MAX(rect1.left, rect2.left); 69 res.top = MAX(rect1.top, rect2.top); 70 res.right = MIN(rect1.right, rect2.right); 71 res.bottom = MIN(rect1.bottom, rect2.bottom); 73 if (!IsValid(res)) { 77 return res; 81 LayerRect res; local 87 res.left = rect.left + FLOAT(x_offset); 88 res 97 LayerRect res; local 119 LayerRect res; local [all...] |
/hardware/bsp/intel/peripheral/libmraa/api/mraa/ |
H A D | common.h | 42 mraa_result_t res; \ 43 res = func; \ 44 if (res != MRAA_SUCCESS) \ 45 return res;} while(0)
|
/hardware/bsp/intel/peripheral/libupm/src/wt5001/ |
H A D | jsupm_wt5001.i | 8 int res = SWIG_ConvertPtr($input, &argp,SWIGTYPE_p_uint8Array, 0 | 0 ); 14 int res = SWIG_ConvertPtr($input, &argp,SWIGTYPE_p_uint16Array, 0 | 0 );
|
H A D | pyupm_wt5001.i | 8 int res = SWIG_ConvertPtr($input, &argp,SWIGTYPE_p_uint8Array, 0 | 0 ); 14 int res = SWIG_ConvertPtr($input, &argp,SWIGTYPE_p_uint16Array, 0 | 0 );
|
/hardware/bsp/intel/peripheral/libupm/src/tm1637/ |
H A D | pyupm_tm1637.i | 9 int res = SWIG_ConvertPtr($input, &argp,SWIGTYPE_p_uint8Array, 0 | 0 );
|
/hardware/bsp/intel/peripheral/libupm/src/hmtrp/ |
H A D | jsupm_hmtrp.i | 11 int res = SWIG_ConvertPtr($input, &argp, SWIGTYPE_p_uint8Array, 0 | 0 ); 17 int res = SWIG_ConvertPtr($input, &argp, SWIGTYPE_p_uint16Array, 0 | 0 ); 23 int res = SWIG_ConvertPtr($input, &argp, SWIGTYPE_p_uint32Array, 0 | 0 );
|
H A D | pyupm_hmtrp.i | 11 int res = SWIG_ConvertPtr($input, &argp, SWIGTYPE_p_uint8Array, 0 | 0 ); 17 int res = SWIG_ConvertPtr($input, &argp, SWIGTYPE_p_uint16Array, 0 | 0 ); 23 int res = SWIG_ConvertPtr($input, &argp, SWIGTYPE_p_uint32Array, 0 | 0 );
|
/hardware/invensense/6515/libsensors_iio/ |
H A D | MPLSupport.cpp | 148 int res=0; local 154 res = errno; 155 LOGE("HAL:ERR open file %s to read with error %d", filename, res); 158 return -res; 163 int res=0; local 169 res = errno; 170 LOGE("HAL:ERR open file %s to read with error %d", filename, res); 173 return -res; 191 int res=0; local 197 res 206 int res=0; local 284 int res = 0; local [all...] |
/hardware/invensense/65xx/libsensors_iio/ |
H A D | MPLSupport.cpp | 148 int res=0; local 154 res = errno; 155 LOGE("HAL:ERR open file %s to read with error %d", filename, res); 158 return -res; 163 int res=0; local 169 res = errno; 170 LOGE("HAL:ERR open file %s to read with error %d", filename, res); 173 return -res; 191 int res=0; local 197 res 206 int res=0; local 281 int res = 0; local [all...] |