/hardware/ti/omap4xxx/test/CameraHal/ |
D | camera_test_script.cpp | 29 extern CameraParameters params; 161 camera->setParameters(params.flatten()); in execute_functional_script() 255 camera->setParameters(params.flatten()); in execute_functional_script() 264 params.set(CameraParameters::KEY_ROTATION, rotation); in execute_functional_script() 267 camera->setParameters(params.flatten()); in execute_functional_script() 295 if ( NULL != params.get(KEY_STEREO_CAMERA) ) { in execute_functional_script() 296 if ( strcmp(params.get(KEY_STEREO_CAMERA), "true") == 0 ) { in execute_functional_script() 302 params.setPreviewSize(width, height); in execute_functional_script() 307 camera->setParameters(params.flatten()); in execute_functional_script() 310 camera->setParameters(params.flatten()); in execute_functional_script() [all …]
|
D | camera_test_menu.cpp | 41 CameraParameters params; variable 777 printf("\n\r\tSupported Cameras: %s", params.get("camera-indexes")); in printSupportedParams() 778 …printf("\n\r\tSupported Picture Sizes: %s", params.get(CameraParameters::KEY_SUPPORTED_PICTURE_SIZ… in printSupportedParams() 779 …printf("\n\r\tSupported Picture Formats: %s", params.get(CameraParameters::KEY_SUPPORTED_PICTURE_F… in printSupportedParams() 780 …printf("\n\r\tSupported Preview Sizes: %s", params.get(CameraParameters::KEY_SUPPORTED_PREVIEW_SIZ… in printSupportedParams() 781 …printf("\n\r\tSupported Preview Formats: %s", params.get(CameraParameters::KEY_SUPPORTED_PREVIEW_F… in printSupportedParams() 782 …printf("\n\r\tSupported Preview Frame Rates: %s", params.get(CameraParameters::KEY_SUPPORTED_PREVI… in printSupportedParams() 783 …printf("\n\r\tSupported Thumbnail Sizes: %s", params.get(CameraParameters::KEY_SUPPORTED_JPEG_THUM… in printSupportedParams() 784 …printf("\n\r\tSupported Whitebalance Modes: %s", params.get(CameraParameters::KEY_SUPPORTED_WHITE_… in printSupportedParams() 785 printf("\n\r\tSupported Effects: %s", params.get(CameraParameters::KEY_SUPPORTED_EFFECTS)); in printSupportedParams() [all …]
|
/hardware/ti/omap4-aah/test/CameraHal/ |
D | camera_test_script.cpp | 36 extern CameraParameters params; 269 camera->setParameters(params.flatten()); in execute_functional_script() 355 camera->setParameters(params.flatten()); in execute_functional_script() 365 params.set(CameraParameters::KEY_ROTATION, rotation); in execute_functional_script() 368 camera->setParameters(params.flatten()); in execute_functional_script() 374 params.set(KEY_SENSOR_ORIENTATION, previewRotation); in execute_functional_script() 377 camera->setParameters(params.flatten()); in execute_functional_script() 386 … params.setPreviewSize(preview_Array[resol_index]->width, preview_Array[resol_index]->height); in execute_functional_script() 393 camera->setParameters(params.flatten()); in execute_functional_script() 396 camera->setParameters(params.flatten()); in execute_functional_script() [all …]
|
D | camera_test_menu.cpp | 60 CameraParameters params; variable 917 printf("\n\r\tSupported Cameras: %s", params.get("camera-indexes")); in printSupportedParams() 918 …printf("\n\r\tSupported Picture Sizes: %s", params.get(CameraParameters::KEY_SUPPORTED_PICTURE_SIZ… in printSupportedParams() 919 …printf("\n\r\tSupported Picture Formats: %s", params.get(CameraParameters::KEY_SUPPORTED_PICTURE_F… in printSupportedParams() 920 …printf("\n\r\tSupported Video Formats: %s", params.get(CameraParameters::KEY_SUPPORTED_PREVIEW_SIZ… in printSupportedParams() 921 …printf("\n\r\tSupported Preview Sizes: %s", params.get(CameraParameters::KEY_SUPPORTED_PREVIEW_SIZ… in printSupportedParams() 922 …printf("\n\r\tSupported Preview Formats: %s", params.get(CameraParameters::KEY_SUPPORTED_PREVIEW_F… in printSupportedParams() 923 …printf("\n\r\tSupported Preview Frame Rates: %s", params.get(CameraParameters::KEY_SUPPORTED_PREVI… in printSupportedParams() 924 …printf("\n\r\tSupported Thumbnail Sizes: %s", params.get(CameraParameters::KEY_SUPPORTED_JPEG_THUM… in printSupportedParams() 925 …printf("\n\r\tSupported Whitebalance Modes: %s", params.get(CameraParameters::KEY_SUPPORTED_WHITE_… in printSupportedParams() [all …]
|
/hardware/ti/omap4xxx/camera/OMXCameraAdapter/ |
D | OMXCapabilities.cpp | 458 status_t OMXCameraAdapter::insertImageSizes(CameraProperties::Properties* params, OMX_TI_CAPTYPE &c… in insertImageSizes() argument 476 params->set(CameraProperties::SUPPORTED_PICTURE_SIZES, supported); in insertImageSizes() 484 status_t OMXCameraAdapter::insertPreviewSizes(CameraProperties::Properties* params, OMX_TI_CAPTYPE … in insertPreviewSizes() argument 502 params->set(CameraProperties::SUPPORTED_PREVIEW_SIZES, supported); in insertPreviewSizes() 510 status_t OMXCameraAdapter::insertVideoSizes(CameraProperties::Properties* params, OMX_TI_CAPTYPE &c… in insertVideoSizes() argument 528 params->set(CameraProperties::SUPPORTED_VIDEO_SIZES, supported); in insertVideoSizes() 536 status_t OMXCameraAdapter::insertThumbSizes(CameraProperties::Properties* params, OMX_TI_CAPTYPE &c… in insertThumbSizes() argument 555 params->set(CameraProperties::SUPPORTED_THUMBNAIL_SIZES, supported); in insertThumbSizes() 563 status_t OMXCameraAdapter::insertZoomStages(CameraProperties::Properties* params, OMX_TI_CAPTYPE &c… in insertZoomStages() argument 579 params->set(CameraProperties::SUPPORTED_ZOOM_RATIOS, supported); in insertZoomStages() [all …]
|
/hardware/ti/omap4-aah/camera/OMXCameraAdapter/ |
D | OMXCapabilities.cpp | 598 status_t OMXCameraAdapter::insertImageSizes(CameraProperties::Properties* params, OMX_TI_CAPTYPE &c… in insertImageSizes() argument 638 params->set(CameraProperties::SUPPORTED_PICTURE_SIZES, supported); in insertImageSizes() 640 params->set(CameraProperties::MAX_PICTURE_WIDTH, caps.tImageResRange.nWidthMax); in insertImageSizes() 641 params->set(CameraProperties::MAX_PICTURE_HEIGHT, caps.tImageResRange.nHeightMax); in insertImageSizes() 656 params->set(CameraProperties::SUPPORTED_PICTURE_TOPBOTTOM_SIZES, supported); in insertImageSizes() 661 params->set(CameraProperties::SUPPORTED_PICTURE_TOPBOTTOM_SIZES, supported); in insertImageSizes() 677 params->set(CameraProperties::SUPPORTED_PICTURE_SIDEBYSIDE_SIZES, supported); in insertImageSizes() 682 params->set(CameraProperties::SUPPORTED_PICTURE_SIDEBYSIDE_SIZES, supported); in insertImageSizes() 698 params->set(CameraProperties::SUPPORTED_PICTURE_SUBSAMPLED_SIZES, supported); in insertImageSizes() 701 params->set(CameraProperties::SUPPORTED_PICTURE_SUBSAMPLED_SIZES, supported); in insertImageSizes() [all …]
|
/hardware/intel/common/libmix/mix_audio/src/ |
D | sst_proxy.c | 28 void mix_sst_params_to_mp3(MixAudioConfigParamsMP3 *acp, struct snd_mp3_params *params); 29 void mix_sst_params_to_wma(MixAudioConfigParamsWMA *acp, struct snd_wma_params *params); 30 void mix_sst_params_to_aac(MixAudioConfigParamsAAC *acp, struct snd_aac_params *params); 329 void mix_sst_params_to_mp3(MixAudioConfigParamsMP3 *acp, struct snd_mp3_params *params) in mix_sst_params_to_mp3() argument 331 if(!acp || !params) return; in mix_sst_params_to_mp3() 333 MIX_ACP_NUM_CHANNELS(MIX_AUDIOCONFIGPARAMS(acp)) = params->num_chan; in mix_sst_params_to_mp3() 334 MIX_ACP_BITRATE(MIX_AUDIOCONFIGPARAMS(acp)) = params->brate; in mix_sst_params_to_mp3() 335 MIX_ACP_SAMPLE_FREQ(MIX_AUDIOCONFIGPARAMS(acp)) = params->sfreq; in mix_sst_params_to_mp3() 336 MIX_ACP_MP3_CRC(acp) = params->crc_check; in mix_sst_params_to_mp3() 338 mix_sst_set_bps(MIX_AUDIOCONFIGPARAMS(acp), params->pcm_wd_sz); in mix_sst_params_to_mp3() [all …]
|
/hardware/ti/omap4-aah/camera/V4LCameraAdapter/ |
D | V4LCapabilities.cpp | 66 status_t V4LCameraAdapter::insertDefaults(CameraProperties::Properties* params, V4L_TI_CAPTYPE &cap… in insertDefaults() argument 71 params->set(CameraProperties::PREVIEW_FORMAT, DEFAULT_PREVIEW_FORMAT); in insertDefaults() 73 params->set(CameraProperties::PICTURE_FORMAT, DEFAULT_PICTURE_FORMAT); in insertDefaults() 74 params->set(CameraProperties::PICTURE_SIZE, DEFAULT_PICTURE_SIZE); in insertDefaults() 75 params->set(CameraProperties::PREVIEW_SIZE, DEFAULT_PREVIEW_SIZE); in insertDefaults() 76 params->set(CameraProperties::PREVIEW_FRAME_RATE, DEFAULT_FRAMERATE); in insertDefaults() 77 params->set(CameraProperties::REQUIRED_PREVIEW_BUFS, DEFAULT_NUM_PREV_BUFS); in insertDefaults() 78 params->set(CameraProperties::FOCUS_MODE, DEFAULT_FOCUS_MODE); in insertDefaults() 80 params->set(CameraProperties::CAMERA_NAME, "USBCAMERA"); in insertDefaults() 81 params->set(CameraProperties::JPEG_THUMBNAIL_SIZE, "320x240"); in insertDefaults() [all …]
|
/hardware/qcom/display/msm8960/liboverlay/ |
D | overlayMdp.cpp | 66 mParams.params.conv_params.order = hsic_order_hsc_i; in reset() 67 mParams.params.conv_params.interface = interface_rec601; in reset() 68 mParams.params.conv_params.cc_matrix[0][0] = 1; in reset() 69 mParams.params.conv_params.cc_matrix[1][1] = 1; in reset() 70 mParams.params.conv_params.cc_matrix[2][2] = 1; in reset() 220 if (mParams.params.pa_params.hue != data.hsicData.hue) { in setVisualParams() 223 mParams.params.pa_params.hue,data.hsicData.hue); in setVisualParams() 227 if (!isEqual(mParams.params.pa_params.sat, in setVisualParams() 231 mParams.params.pa_params.sat, in setVisualParams() 236 if (mParams.params.pa_params.intensity != data.hsicData.intensity) { in setVisualParams() [all …]
|
/hardware/qcom/display/msm8909/libhwcomposer/ |
D | hwc_qdcm.cpp | 69 struct SET_MODE_PROP_IN params = in qdcmSetActiveMode() local 73 (void *)¶ms, (void *)NULL); in qdcmSetActiveMode() 85 struct SET_MODE_PROP_IN params = in qdcmSetDefaultMode() local 89 (void *)¶ms, (void *)NULL); in qdcmSetDefaultMode() 102 int params = in->readInt32(); in qdcmGetDefaultMode() local 106 (const void *)¶ms, (void *)&modeid); in qdcmGetDefaultMode() 125 int params = in->readInt32(); in qdcmGetColorBalance() local 129 (const void *)¶ms, (void *)&warmness); in qdcmGetColorBalance() 143 struct SET_CB_IN params = in qdcmSetColorBalance() local 147 __FUNCTION__, params.id, params.warmness); in qdcmSetColorBalance() [all …]
|
/hardware/ti/omap4-aah/security/tf_crypto_sst/ |
D | sst_stub.c | 119 sOperation.params[3].tmpref.buffer = pSignatureFile; in SSTInit() 120 sOperation.params[3].tmpref.size = nSignatureFileLen; in SSTInit() 282 sOperation.params[0].value.a = 1; /* Private storage */ in SSTOpen() 283 sOperation.params[0].value.b = nFlags; /* Access flags */ in SSTOpen() 284 sOperation.params[1].tmpref.buffer = (void*)pFilename; in SSTOpen() 285 sOperation.params[1].tmpref.size = strlen(pFilename); in SSTOpen() 293 *phFile = (SST_HANDLE)sOperation.params[0].value.a; in SSTOpen() 318 sOperation.params[0].value.a = hFile; in SSTCloseHandle() 354 sOperation.params[0].value.a = hFile; in SSTWrite() 355 sOperation.params[1].tmpref.buffer = (void*)pBuffer; in SSTWrite() [all …]
|
D | pkcs11_object.c | 276 sOperation.params[0].value.a = (uint32_t)pMechanism->mechanism; in static_C_CallInit() 279 sOperation.params[0].value.b = (uint32_t)hKey; in static_C_CallInit() 282 sOperation.params[1].tmpref.buffer = (uint8_t*)pMechanism->pParameter; in static_C_CallInit() 283 sOperation.params[1].tmpref.size = (uint32_t)pMechanism->ulParameterLen; in static_C_CallInit() 293 …sOperation.params[2].tmpref.buffer = (uint8_t*)((CK_RSA_PKCS_OAEP_PARAMS_PTR)(pMechanism->pParamet… in static_C_CallInit() 294 …sOperation.params[2].tmpref.size = (uint32_t) ((CK_RSA_PKCS_OAEP_PARAMS_PTR)(pMechanism->pParame… in static_C_CallInit() 346 sOperation.params[0].tmpref.buffer = (uint8_t*)pData; in static_C_CallForSingle() 347 sOperation.params[0].tmpref.size = (uint32_t)ulDataLen; in static_C_CallForSingle() 364 sOperation.params[1].tmpref.buffer = (uint8_t*)NULL; in static_C_CallForSingle() 370 sOperation.params[1].tmpref.buffer = (uint8_t*)pResult; in static_C_CallForSingle() [all …]
|
/hardware/ti/omap4xxx/security/tf_crypto_sst/ |
D | sst_stub.c | 120 sOperation.params[3].tmpref.buffer = pSignatureFile; in SSTInit() 121 sOperation.params[3].tmpref.size = nSignatureFileLen; in SSTInit() 283 sOperation.params[0].value.a = 1; /* Private storage */ in SSTOpen() 284 sOperation.params[0].value.b = nFlags; /* Access flags */ in SSTOpen() 285 sOperation.params[1].tmpref.buffer = (void*)pFilename; in SSTOpen() 286 sOperation.params[1].tmpref.size = strlen(pFilename); in SSTOpen() 294 *phFile = (SST_HANDLE)sOperation.params[0].value.a; in SSTOpen() 319 sOperation.params[0].value.a = hFile; in SSTCloseHandle() 355 sOperation.params[0].value.a = hFile; in SSTWrite() 356 sOperation.params[1].tmpref.buffer = (void*)pBuffer; in SSTWrite() [all …]
|
D | pkcs11_object.c | 279 sOperation.params[0].value.a = (uint32_t)pMechanism->mechanism; in static_C_CallInit() 282 sOperation.params[0].value.b = (uint32_t)hKey; in static_C_CallInit() 285 sOperation.params[1].tmpref.buffer = (uint8_t*)pMechanism->pParameter; in static_C_CallInit() 286 sOperation.params[1].tmpref.size = (uint32_t)pMechanism->ulParameterLen; in static_C_CallInit() 296 …sOperation.params[2].tmpref.buffer = (uint8_t*)((CK_RSA_PKCS_OAEP_PARAMS_PTR)(pMechanism->pParamet… in static_C_CallInit() 297 …sOperation.params[2].tmpref.size = (uint32_t) ((CK_RSA_PKCS_OAEP_PARAMS_PTR)(pMechanism->pParame… in static_C_CallInit() 349 sOperation.params[0].tmpref.buffer = (uint8_t*)pData; in static_C_CallForSingle() 350 sOperation.params[0].tmpref.size = (uint32_t)ulDataLen; in static_C_CallForSingle() 367 sOperation.params[1].tmpref.buffer = (uint8_t*)NULL; in static_C_CallForSingle() 373 sOperation.params[1].tmpref.buffer = (uint8_t*)pResult; in static_C_CallForSingle() [all …]
|
/hardware/qcom/display/msm8226/liboverlay/ |
D | overlayMdp.cpp | 60 mParams.params.conv_params.order = hsic_order_hsc_i; in reset() 61 mParams.params.conv_params.interface = interface_rec601; in reset() 62 mParams.params.conv_params.cc_matrix[0][0] = 1; in reset() 63 mParams.params.conv_params.cc_matrix[1][1] = 1; in reset() 64 mParams.params.conv_params.cc_matrix[2][2] = 1; in reset() 226 if (mParams.params.pa_params.hue != data.hsicData.hue) { in setVisualParams() 229 mParams.params.pa_params.hue,data.hsicData.hue); in setVisualParams() 233 if (!isEqual(mParams.params.pa_params.sat, in setVisualParams() 237 mParams.params.pa_params.sat, in setVisualParams() 242 if (mParams.params.pa_params.intensity != data.hsicData.intensity) { in setVisualParams() [all …]
|
/hardware/qcom/display/msm8084/liboverlay/ |
D | overlayMdp.cpp | 61 mParams.params.conv_params.order = hsic_order_hsc_i; in reset() 62 mParams.params.conv_params.interface = interface_rec601; in reset() 63 mParams.params.conv_params.cc_matrix[0][0] = 1; in reset() 64 mParams.params.conv_params.cc_matrix[1][1] = 1; in reset() 65 mParams.params.conv_params.cc_matrix[2][2] = 1; in reset() 245 if (mParams.params.pa_params.hue != data.hsicData.hue) { in setVisualParams() 248 mParams.params.pa_params.hue,data.hsicData.hue); in setVisualParams() 252 if (!isEqual(mParams.params.pa_params.sat, in setVisualParams() 256 mParams.params.pa_params.sat, in setVisualParams() 261 if (mParams.params.pa_params.intensity != data.hsicData.intensity) { in setVisualParams() [all …]
|
/hardware/qcom/display/msm8909/liboverlay/ |
D | overlayMdp.cpp | 56 mParams.params.conv_params.order = hsic_order_hsc_i; in reset() 57 mParams.params.conv_params.interface = interface_rec601; in reset() 58 mParams.params.conv_params.cc_matrix[0][0] = 1; in reset() 59 mParams.params.conv_params.cc_matrix[1][1] = 1; in reset() 60 mParams.params.conv_params.cc_matrix[2][2] = 1; in reset() 231 if (mParams.params.pa_params.hue != data.hsicData.hue) { in setVisualParams() 234 mParams.params.pa_params.hue,data.hsicData.hue); in setVisualParams() 238 if (!isEqual(mParams.params.pa_params.sat, in setVisualParams() 242 mParams.params.pa_params.sat, in setVisualParams() 247 if (mParams.params.pa_params.intensity != data.hsicData.intensity) { in setVisualParams() [all …]
|
/hardware/qcom/display/msm8994/liboverlay/ |
D | overlayMdp.cpp | 61 mParams.params.conv_params.order = hsic_order_hsc_i; in reset() 62 mParams.params.conv_params.interface = interface_rec601; in reset() 63 mParams.params.conv_params.cc_matrix[0][0] = 1; in reset() 64 mParams.params.conv_params.cc_matrix[1][1] = 1; in reset() 65 mParams.params.conv_params.cc_matrix[2][2] = 1; in reset() 233 if (mParams.params.pa_params.hue != data.hsicData.hue) { in setVisualParams() 236 mParams.params.pa_params.hue,data.hsicData.hue); in setVisualParams() 240 if (!isEqual(mParams.params.pa_params.sat, in setVisualParams() 244 mParams.params.pa_params.sat, in setVisualParams() 249 if (mParams.params.pa_params.intensity != data.hsicData.intensity) { in setVisualParams() [all …]
|
/hardware/bsp/intel/peripheral/libupm/examples/c++/ |
D | nrf8001-helloworld.cxx | 221 aci_state.data_credit_total = aci_evt->params.device_started.credit_available; in main() 222 switch(aci_evt->params.device_started.device_mode) { in main() 235 if (aci_evt->params.device_started.hw_error) { in main() 248 if (ACI_STATUS_SUCCESS != aci_evt->params.cmd_rsp.cmd_status) { in main() 254 if (ACI_CMD_GET_DEVICE_VERSION == aci_evt->params.cmd_rsp.cmd_opcode) { in main() 257 …(uint8_t *)&(aci_evt->params.cmd_rsp.params.get_device_version), sizeof(aci_evt_cmd_rsp_params_get… in main() 289 … (uint8_t *)&(aci_evt->params.timing.conn_rf_interval), /* Byte aligned */ in main() 300 … if (PIPE_UART_OVER_BTLE_UART_RX_RX == aci_evt->params.data_received.rx_data.pipe_number) { in main() 302 uart_buffer[i] = aci_evt->params.data_received.rx_data.aci_data[i]; in main() 310 …if (PIPE_UART_OVER_BTLE_UART_CONTROL_POINT_RX == aci_evt->params.data_received.rx_data.pipe_number… in main() [all …]
|
/hardware/ti/omap4-aah/hwc/ |
D | rgz_2d.c | 87 #define IS_BVCMD(params) (params->op == RGZ_OUT_BVCMD_REGION || params->op == RGZ_OUT_BVCMD_PAINT) argument 98 static int rgz_hwc_layer_blit(rgz_out_params_t *params, rgz_layer_t *rgz_layer); 101 static struct rgz_blt_entry* rgz_blts_get(struct rgz_blts *blts, rgz_out_params_t *params); 102 static int rgz_blts_bvdirect(rgz_t* rgz, struct rgz_blts *blts, rgz_out_params_t *params); 211 static void rgz_out_svg(rgz_t *rgz, rgz_out_params_t *params) in rgz_out_svg() argument 218 svgout_header(params->data.svg.htmlw, params->data.svg.htmlh, in rgz_out_svg() 219 params->data.svg.dispw, params->data.svg.disph); in rgz_out_svg() 224 svgout_hregion(&hregions[i], params->data.svg.dispw, in rgz_out_svg() 225 params->data.svg.disph); in rgz_out_svg() 270 static int rgz_out_bvdirect_paint(rgz_t *rgz, rgz_out_params_t *params) in rgz_out_bvdirect_paint() argument [all …]
|
/hardware/bsp/intel/peripheral/libupm/src/nrf8001/ |
D | acilib.cxx | 307 acil_encode_cmd_set_test_mode(buffer, &(p_aci_cmd->params.test)); in acil_encode_cmd() 319 …acil_encode_cmd_echo_msg(buffer, &(p_aci_cmd->params.echo), (p_aci_cmd->len - MSG_ECHO_MSG_CMD_BAS… in acil_encode_cmd() 331 acil_encode_cmd_set_radio_tx_power(buffer, &(p_aci_cmd->params.set_tx_power)); in acil_encode_cmd() 334 acil_encode_cmd_connect(buffer, &(p_aci_cmd->params.connect)); in acil_encode_cmd() 337 acil_encode_cmd_bond(buffer, &(p_aci_cmd->params.bond)); in acil_encode_cmd() 340 acil_encode_cmd_disconnect(buffer, &(p_aci_cmd->params.disconnect)); in acil_encode_cmd() 346 acil_encode_cmd_change_timing_req(buffer, &(p_aci_cmd->params.change_timing)); in acil_encode_cmd() 349 …acil_encode_cmd_setup(buffer, &(p_aci_cmd->params.setup), (p_aci_cmd->len - MSG_SETUP_CMD_BASE_LEN… in acil_encode_cmd() 352 acil_encode_cmd_dtm_cmd(buffer, &(p_aci_cmd->params.dtm_cmd)); in acil_encode_cmd() 358 …_encode_cmd_write_dynamic_data(buffer, p_aci_cmd->params.write_dynamic_data.seq_no, &(p_aci_cmd->p… in acil_encode_cmd() [all …]
|
/hardware/qcom/audio/legacy/alsa_sound/ |
D | AudioUsbALSA.cpp | 281 struct snd_pcm_hw_params *params; in setHardwareParams() local 287 params = (snd_pcm_hw_params*) calloc(1, sizeof(struct snd_pcm_hw_params)); in setHardwareParams() 288 if (!params) { in setHardwareParams() 292 param_init(params); in setHardwareParams() 293 param_set_mask(params, SNDRV_PCM_HW_PARAM_ACCESS, in setHardwareParams() 295 param_set_mask(params, SNDRV_PCM_HW_PARAM_FORMAT, in setHardwareParams() 297 param_set_mask(params, SNDRV_PCM_HW_PARAM_SUBFORMAT, in setHardwareParams() 300 param_set_min(params, SNDRV_PCM_HW_PARAM_PERIOD_BYTES, periodBytes); in setHardwareParams() 301 param_set_int(params, SNDRV_PCM_HW_PARAM_SAMPLE_BITS, 16); in setHardwareParams() 302 param_set_int(params, SNDRV_PCM_HW_PARAM_FRAME_BITS, in setHardwareParams() [all …]
|
/hardware/ti/omap4xxx/camera/ |
D | CameraHal.cpp | 223 CameraParameters params; in setParameters() local 226 params.unflatten(str_params); in setParameters() 230 return setParameters(params); in setParameters() 241 int CameraHal::setParameters(const CameraParameters& params) in setParameters() argument 266 CAMHAL_LOGDB("PreviewFormat %s", params.getPreviewFormat()); in setParameters() 268 if ((valstr = params.getPreviewFormat()) != NULL) { in setParameters() 277 varint = params.getInt(TICameraParameters::KEY_VNF); in setParameters() 278 valstr = params.get(TICameraParameters::KEY_VNF); in setParameters() 289 if ((valstr = params.get(CameraParameters::KEY_VIDEO_STABILIZATION)) != NULL) { in setParameters() 307 if( (valstr = params.get(TICameraParameters::KEY_CAP_MODE)) != NULL) in setParameters() [all …]
|
/hardware/qcom/camera/usbcamcore/src/ |
D | QCameraUsbParm.cpp | 154 const QCameraParameters& params); 156 const QCameraParameters& params); 158 const QCameraParameters& params); 160 const QCameraParameters& params); 277 int usbCamSetParameters(camera_hardware_t *camHal, const char *params) in usbCamSetParameters() argument 280 String8 str = String8(params); in usbCamSetParameters() 285 if(params) in usbCamSetParameters() 286 PRINT_PARAM_STR(params); in usbCamSetParameters() 489 const QCameraParameters& params) in usbCamSetPrvwSize() argument 494 params.getPreviewSize(&width, &height); in usbCamSetPrvwSize() [all …]
|
/hardware/ti/omap4-aah/camera/ |
D | CameraHal.cpp | 323 android::CameraParameters params; in setParameters() local 326 params.unflatten(str_params); in setParameters() 330 return setParameters(params); in setParameters() 341 int CameraHal::setParameters(const android::CameraParameters& params) in setParameters() argument 369 if ((valstr = params.getPreviewFormat()) != NULL) { in setParameters() 380 if ((valstr = params.get(TICameraParameters::KEY_VNF)) != NULL) { in setParameters() 394 if ((valstr = params.get(android::CameraParameters::KEY_VIDEO_STABILIZATION)) != NULL) { in setParameters() 410 if( (valstr = params.get(TICameraParameters::KEY_CAP_MODE)) != NULL) { in setParameters() 436 if ((valstr = params.get(TICameraParameters::KEY_VTC_HINT)) != NULL ) { in setParameters() 447 if ((valstr = params.get(TICameraParameters::KEY_VIDEO_ENCODER_HANDLE)) != NULL ) { in setParameters() [all …]
|