/hardware/samsung_slsi/exynos5/exynos_omx/openmax/exynos_omx/osal/ |
D | Exynos_OSAL_ETC.c | 178 void Exynos_OSAL_PerfInit(PERF_ID_TYPE id) in Exynos_OSAL_PerfInit() argument 180 memset(&perfStart[id], 0, sizeof(perfStart[id])); in Exynos_OSAL_PerfInit() 181 memset(&perfStop[id], 0, sizeof(perfStop[id])); in Exynos_OSAL_PerfInit() 182 perfTime[id] = 0; in Exynos_OSAL_PerfInit() 183 totalPerfTime[id] = 0; in Exynos_OSAL_PerfInit() 184 perfFrameCount[id] = 0; in Exynos_OSAL_PerfInit() 185 perfOver30ms[id] = 0; in Exynos_OSAL_PerfInit() 188 void Exynos_OSAL_PerfStart(PERF_ID_TYPE id) in Exynos_OSAL_PerfStart() argument 190 gettimeofday(&perfStart[id], NULL); in Exynos_OSAL_PerfStart() 193 void Exynos_OSAL_PerfStop(PERF_ID_TYPE id) in Exynos_OSAL_PerfStop() argument [all …]
|
D | Exynos_OSAL_ETC.h | 53 void Exynos_OSAL_PerfInit(PERF_ID_TYPE id); 54 void Exynos_OSAL_PerfStart(PERF_ID_TYPE id); 55 void Exynos_OSAL_PerfStop(PERF_ID_TYPE id); 56 OMX_U32 Exynos_OSAL_PerfFrame(PERF_ID_TYPE id); 57 OMX_U32 Exynos_OSAL_PerfTotal(PERF_ID_TYPE id); 58 OMX_U32 Exynos_OSAL_PerfFrameCount(PERF_ID_TYPE id); 59 int Exynos_OSAL_PerfOver30ms(PERF_ID_TYPE id); 60 void Exynos_OSAL_PerfPrint(OMX_STRING prefix, PERF_ID_TYPE id);
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vpx/ |
D | vpx_codec.h | 383 # define vpx_codec_control(ctx,id,data) vpx_codec_control_(ctx,id,data) argument 384 # define VPX_CTRL_USE_TYPE(id, typ) argument 385 # define VPX_CTRL_USE_TYPE_DEPRECATED(id, typ) argument 386 # define VPX_CTRL_VOID(id, typ) argument 398 # define vpx_codec_control(ctx,id,data) vpx_codec_control_##id(ctx,id,data)\ argument 413 # define VPX_CTRL_USE_TYPE(id, typ) \ argument 415 vpx_codec_control_##id(vpx_codec_ctx_t*, int, typ) UNUSED;\ 418 vpx_codec_control_##id(vpx_codec_ctx_t *ctx, int ctrl_id, typ data) {\ 433 # define VPX_CTRL_USE_TYPE_DEPRECATED(id, typ) \ argument 435 vpx_codec_control_##id(vpx_codec_ctx_t*, int, typ) DEPRECATED UNUSED;\ [all …]
|
/hardware/libhardware/modules/camera/ |
D | CameraHAL.cpp | 71 int CameraHAL::getCameraInfo(int id, struct camera_info* info) in getCameraInfo() argument 73 ALOGV("%s: camera id %d: info=%p", __func__, id, info); in getCameraInfo() 74 if (id < 0 || id >= mNumberOfCameras) { in getCameraInfo() 75 ALOGE("%s: Invalid camera id %d", __func__, id); in getCameraInfo() 79 return mCameras[id]->getInfo(info); in getCameraInfo() 91 int id; in open() local 99 id = strtol(name, &nameEnd, 10); in open() 103 } else if (id < 0 || id >= mNumberOfCameras) { in open() 104 ALOGE("%s: Invalid camera id %d", __func__, id); in open() 107 return mCameras[id]->open(mod, dev); in open() [all …]
|
/hardware/qcom/wlan/qcwcn/wifi_hal/ |
D | common.cpp | 77 uint32_t id, int subcmd, nl_recvmsg_msg_cb_t func, void *arg) in wifi_register_vendor_handler() argument 82 if(info->event_cb[info->num_event_cb].vendor_id == id && in wifi_register_vendor_handler() 88 " and arg %p", func, id, subcmd, arg); in wifi_register_vendor_handler() 95 info->event_cb[info->num_event_cb].vendor_id = id; in wifi_register_vendor_handler() 101 " %p", func, id, subcmd, arg); in wifi_register_vendor_handler() 127 void wifi_unregister_vendor_handler(wifi_handle handle, uint32_t id, int subcmd) in wifi_unregister_vendor_handler() argument 134 && info->event_cb[i].vendor_id == id in wifi_unregister_vendor_handler() 140 ALOGI("Successfully removed event handler for vendor 0x%0x", id); in wifi_unregister_vendor_handler() 147 wifi_error wifi_register_cmd(wifi_handle handle, int id, WifiCommand *cmd) in wifi_register_cmd() argument 151 ALOGD("registering command %d", id); in wifi_register_cmd() [all …]
|
D | cpp_bindings.h | 194 int create(uint32_t id, int subcmd); 248 WifiCommand(wifi_handle handle, wifi_request_id id) in WifiCommand() argument 249 : mMsg(getHalInfo(handle)->nl80211_family_id), mId(id) in WifiCommand() 256 WifiCommand(wifi_interface_handle iface, wifi_request_id id) in WifiCommand() argument 257 : mMsg(getHalInfo(iface)->nl80211_family_id, getIfaceInfo(iface)->id), mId(id) in WifiCommand() 268 wifi_request_id id() { in id() function 285 int requestVendorEvent(uint32_t id, int subcmd); 302 return mIfaceInfo->id; in ifaceId() 325 int registerVendorHandler(uint32_t id, int subcmd) { in registerVendorHandler() argument 326 return wifi_register_vendor_handler(wifiHandle(), id, subcmd, &event_handler, this); in registerVendorHandler() [all …]
|
D | common.h | 65 wifi_request_id id; member 72 int id; // id to use when talking to driver member 103 uint32_t id, int subcmd, nl_recvmsg_msg_cb_t func, void *arg); 106 void wifi_unregister_vendor_handler(wifi_handle handle, uint32_t id, int subcmd); 108 wifi_error wifi_register_cmd(wifi_handle handle, int id, WifiCommand *cmd); 109 WifiCommand *wifi_unregister_cmd(wifi_handle handle, int id);
|
/hardware/broadcom/wlan/bcmdhd/wifi_hal/ |
D | common.cpp | 66 uint32_t id, int subcmd, nl_recvmsg_msg_cb_t func, void *arg) in wifi_register_vendor_handler() argument 77 info->event_cb[info->num_event_cb].vendor_id = id; in wifi_register_vendor_handler() 82 arg, func, id, subcmd, info->num_event_cb); in wifi_register_vendor_handler() 117 void wifi_unregister_vendor_handler(wifi_handle handle, uint32_t id, int subcmd) in wifi_unregister_vendor_handler() argument 126 && info->event_cb[i].vendor_id == id in wifi_unregister_vendor_handler() 129 info->event_cb[i].cb_arg, info->event_cb[i].cb_func, id, subcmd, i); in wifi_unregister_vendor_handler() 141 wifi_error wifi_register_cmd(wifi_handle handle, int id, WifiCommand *cmd) in wifi_register_cmd() argument 145 ALOGD("registering command %d", id); in wifi_register_cmd() 150 info->cmd[info->num_cmd].id = id; in wifi_register_cmd() 152 ALOGI("Successfully added command %d: %p at %d", id, cmd, info->num_cmd); in wifi_register_cmd() [all …]
|
D | gscan.cpp | 90 wifi_error wifi_enable_full_scan_results(wifi_request_id id, wifi_interface_handle iface, 92 wifi_error wifi_disable_full_scan_results(wifi_request_id id, wifi_interface_handle iface); 108 ALOGD("Creating message to get scan capablities; iface = %d", mIfaceInfo->id); in create() 128 int id = reply.get_vendor_id(); in handleResponse() local 134 ALOGD("Id = %0x, subcmd = %d, len = %d, expected len = %d", id, subcmd, len, in handleResponse() 166 ALOGD("Creating message to get channel list; iface = %d", mIfaceInfo->id); in create() 194 int id = reply.get_vendor_id(); in handleResponse() local 201 ALOGD("Id = %0x, subcmd = %d, len = %d", id, subcmd, len); in handleResponse() 301 FullScanResultsCommand(wifi_interface_handle iface, int id, int *params, in FullScanResultsCommand() argument 303 : WifiCommand(iface, id), mParams(params), mHandler(handler) in FullScanResultsCommand() [all …]
|
D | cpp_bindings.h | 174 int create(uint32_t id, int subcmd); 223 WifiCommand(wifi_handle handle, wifi_request_id id) in WifiCommand() argument 224 : mMsg(getHalInfo(handle)->nl80211_family_id), mId(id), mRefs(1) in WifiCommand() 231 WifiCommand(wifi_interface_handle iface, wifi_request_id id) in WifiCommand() argument 232 : mMsg(getHalInfo(iface)->nl80211_family_id, getIfaceInfo(iface)->id), mId(id), mRefs(1) in WifiCommand() 243 wifi_request_id id() { in id() function 274 int requestVendorEvent(uint32_t id, int subcmd); 291 return mIfaceInfo->id; in ifaceId() 314 int registerVendorHandler(uint32_t id, int subcmd) { in registerVendorHandler() argument 315 return wifi_register_vendor_handler(wifiHandle(), id, subcmd, &event_handler, this); in registerVendorHandler() [all …]
|
D | common.h | 115 wifi_request_id id; member 122 int id; // id to use when talking to driver member 155 uint32_t id, int subcmd, nl_recvmsg_msg_cb_t func, void *arg); 158 void wifi_unregister_vendor_handler(wifi_handle handle, uint32_t id, int subcmd); 160 wifi_error wifi_register_cmd(wifi_handle handle, int id, WifiCommand *cmd); 161 WifiCommand *wifi_unregister_cmd(wifi_handle handle, int id); 162 WifiCommand *wifi_get_cmd(wifi_handle handle, int id);
|
/hardware/akm/AK8975_FS/libsensors/ |
D | AkmSensor.cpp | 78 int id = handle2id(handle); in setEnable() local 82 switch (id) { in setEnable() 100 if (mEnabled[id] <= 0) { in setEnable() 102 } else if (mEnabled[id] == 1) { in setEnable() 123 (mEnabled[id])++; in setEnable() 124 if (mEnabled[id] > 32767) mEnabled[id] = 32767; in setEnable() 126 (mEnabled[id])--; in setEnable() 127 if (mEnabled[id] < 0) mEnabled[id] = 0; in setEnable() 129 ALOGD("AkmSensor: mEnabled[%d] = %d", id, mEnabled[id]); in setEnable() 136 int id = handle2id(handle); in setDelay() local [all …]
|
/hardware/qcom/audio/voice_processing/ |
D | voice_processing.c | 60 uint32_t id; // type of pre processor (enum effect_id) member 71 int id; // audio session ID member 140 static const effect_uuid_t * id_to_uuid(int id) in id_to_uuid() argument 142 if (id >= NUM_ID) in id_to_uuid() 145 return uuid_to_id_table[id]; in id_to_uuid() 162 static void session_set_fx_enabled(struct session_s *session, uint32_t id, bool enabled); 170 ALOGV("effect_set_state() id %d, new %d old %d", effect->id, state, effect->state); in effect_set_state() 175 session_set_fx_enabled(effect->session, effect->id, false); in effect_set_state() 205 session_set_fx_enabled(effect->session, effect->id, false); in effect_set_state() 225 session_set_fx_enabled(effect->session, effect->id, true); in effect_set_state() [all …]
|
/hardware/intel/common/libva/va/wayland/ |
D | wayland-drm-client-protocol.h | 171 wl_drm_authenticate(struct wl_drm *wl_drm, uint32_t id) in wl_drm_authenticate() argument 174 WL_DRM_AUTHENTICATE, id); in wl_drm_authenticate() 180 struct wl_proxy *id; in wl_drm_create_buffer() local 182 id = wl_proxy_create((struct wl_proxy *) wl_drm, in wl_drm_create_buffer() 184 if (!id) in wl_drm_create_buffer() 188 WL_DRM_CREATE_BUFFER, id, name, width, height, stride, format); in wl_drm_create_buffer() 190 return (struct wl_buffer *) id; in wl_drm_create_buffer() 196 struct wl_proxy *id; in wl_drm_create_planar_buffer() local 198 id = wl_proxy_create((struct wl_proxy *) wl_drm, in wl_drm_create_planar_buffer() 200 if (!id) in wl_drm_create_planar_buffer() [all …]
|
/hardware/libhardware_legacy/include/hardware_legacy/ |
D | gscan.h | 51 byte id; // element identifier member 76 void (*on_scan_results_available) (wifi_request_id id, unsigned num_results_available); 80 void (*on_full_scan_result) (wifi_request_id id, wifi_scan_result *result); 123 wifi_error wifi_start_gscan(wifi_request_id id, wifi_interface_handle iface, 127 wifi_error wifi_stop_gscan(wifi_request_id id, wifi_interface_handle iface); 135 void (*on_hotlist_ap_found)(wifi_request_id id, 137 void (*on_hotlist_ap_lost)(wifi_request_id id, 155 wifi_error wifi_set_bssid_hotlist(wifi_request_id id, wifi_interface_handle iface, 159 wifi_error wifi_reset_bssid_hotlist(wifi_request_id id, wifi_interface_handle iface); 170 void (*on_significant_change)(wifi_request_id id, [all …]
|
D | IMountService.h | 51 …virtual int createSecureContainer(String16 id, int sizeMb, String16 fstype, String16 key, int owne… 52 virtual int finalizeSecureContainer(String16 id) = 0; 53 virtual int destroySecureContainer(String16 id) = 0; 54 virtual int mountSecureContainer(String16 id, String16 key, int ownerUid) = 0; 55 virtual int unmountSecureContainer(String16 id) = 0; 57 virtual String16 getSecureContainerPath(String16 id) = 0;
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vpx/internal/ |
D | vpx_codec_internal.h | 404 #define VPX_CTRL_USE_TYPE(id, typ) \ argument 405 static typ id##__value(va_list args) {return va_arg(args, typ);} \ 406 static typ id##__convert(void *x)\ 419 #define VPX_CTRL_USE_TYPE_DEPRECATED(id, typ) \ argument 420 static typ id##__value(va_list args) {return va_arg(args, typ);} \ 421 static typ id##__convert(void *x)\ 432 #define CAST(id, arg) id##__value(arg) argument 433 #define RECAST(id, x) id##__convert(x) argument 445 #define CODEC_INTERFACE(id)\ argument 446 vpx_codec_iface_t* id(void) { return &id##_algo; }\ [all …]
|
/hardware/libhardware/tests/camera2/ |
D | camera2.cpp | 124 static bool isHal2Supported(int id) { in isHal2Supported() argument 125 return sCameraSupportsHal2[id]; in isHal2Supported() 128 static camera2_device_t *openCameraDevice(int id) { in openCameraDevice() argument 129 ALOGV("Opening camera %d", id); in openCameraDevice() 131 if (id >= sNumCameras) return NULL; in openCameraDevice() 132 if (!sCameraSupportsHal2[id]) return NULL; in openCameraDevice() 143 snprintf(camId, 10, "%d", id); in openCameraDevice() 191 void setUpCamera(int id) { in setUpCamera() argument 192 ASSERT_GT(sNumCameras, id); in setUpCamera() 198 mId = id; in setUpCamera() [all …]
|
/hardware/samsung_slsi/exynos5/exynos_omx/codecs/exynos_codecs/video/exynos5/mfc_v4l2/enc/src/ |
D | ExynosVideoEncoder.c | 302 ext_ctrl[0].id = V4L2_CID_MPEG_VIDEO_GOP_SIZE; in MFC_Encoder_Set_EncParam() 304 ext_ctrl[1].id = V4L2_CID_MPEG_VIDEO_MULTI_SLICE_MODE; in MFC_Encoder_Set_EncParam() 306 ext_ctrl[2].id = V4L2_CID_MPEG_VIDEO_CYCLIC_INTRA_REFRESH_MB; in MFC_Encoder_Set_EncParam() 308 ext_ctrl[3].id = V4L2_CID_MPEG_MFC51_VIDEO_PADDING; in MFC_Encoder_Set_EncParam() 310 ext_ctrl[4].id = V4L2_CID_MPEG_MFC51_VIDEO_PADDING_YUV; in MFC_Encoder_Set_EncParam() 314 ext_ctrl[5].id = V4L2_CID_MPEG_VIDEO_FRAME_RC_ENABLE; in MFC_Encoder_Set_EncParam() 316 ext_ctrl[6].id = V4L2_CID_MPEG_VIDEO_MB_RC_ENABLE; in MFC_Encoder_Set_EncParam() 318 ext_ctrl[7].id = V4L2_CID_MPEG_VIDEO_BITRATE; in MFC_Encoder_Set_EncParam() 333 ext_ctrl[8].id = V4L2_CID_MPEG_VIDEO_H264_I_FRAME_QP; in MFC_Encoder_Set_EncParam() 335 ext_ctrl[9].id = V4L2_CID_MPEG_VIDEO_H264_P_FRAME_QP; in MFC_Encoder_Set_EncParam() [all …]
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/third_party/libwebm/ |
D | mkvparser.cpp | 334 long long& id, in ParseElementHeader() argument 342 id = ReadUInt(pReader, pos, len); in ParseElementHeader() 344 if (id < 0) in ParseElementHeader() 387 const long long id = ReadUInt(pReader, pos, len); in Match() local 388 assert(id >= 0); in Match() 393 if ((unsigned long)id != id_) in Match() 434 const long long id = ReadUInt(pReader, pos, len); in Match() local 435 assert(id >= 0); in Match() 440 if ((unsigned long)id != id_) in Match() 611 long long id, size; in Parse() local [all …]
|
/hardware/libhardware/ |
D | hardware.c | 66 static int load(const char *id, in load() argument 97 if (strcmp(id, hmi->id) != 0) { in load() 98 ALOGE("load: id=%s != hmi->id=%s", id, hmi->id); in load() 117 id, path, *pHmi, handle); in load() 197 int hw_get_module(const char *id, const struct hw_module_t **module) in hw_get_module() argument 199 return hw_get_module_by_class(id, NULL, module); in hw_get_module()
|
/hardware/libhardware_legacy/power/ |
D | power.c | 94 acquire_wake_lock(int lock, const char* id) in acquire_wake_lock() argument 111 return write(fd, id, strlen(id)); in acquire_wake_lock() 115 release_wake_lock(const char* id) in release_wake_lock() argument 123 ssize_t len = write(g_fds[RELEASE_WAKE_LOCK], id, strlen(id)); in release_wake_lock()
|
/hardware/qcom/media/mm-video-v4l2/vidc/venc/src/ |
D | video_encoder_device_v4l2.cpp | 914 control.id = V4L2_CID_MPEG_VIDC_VIDEO_SECURE; in venc_open() 927 control.id = V4L2_CID_MPEG_VIDEO_HEADER_MODE; in venc_open() 930 …DEBUG_PRINT_LOW("Calling IOCTL to disable seq_hdr in sync_frame id=%d, val=%d", control.id, contro… in venc_open() 956 control.id = V4L2_CID_MPEG_VIDC_VIDEO_NUM_P_FRAMES; in venc_open() 2060 control.id = V4L2_CID_MPEG_VIDC_VIDEO_REQUEST_SEQ_HEADER; in venc_start() 2541 control.id = V4L2_CID_MPEG_VIDEO_HEADER_MODE; in venc_set_inband_video_header() 2560 control.id = V4L2_CID_MPEG_VIDC_VIDEO_H264_AU_DELIMITER; in venc_set_au_delimiter() 2579 control.id = V4L2_CID_MPEG_VIDC_VIDEO_HIER_P_NUM_LAYERS; in venc_set_hier_layers() 2607 control.id = V4L2_CID_MPEG_VIDC_VIDEO_EXTRADATA; in venc_set_extradata() 2634 control.id = V4L2_CID_MPEG_VIDEO_MULTI_SLICE_DELIVERY_MODE; in venc_set_slice_delivery_mode() [all …]
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libwebm/ |
D | mkvparser.cpp | 329 long long& id, in ParseElementHeader() argument 337 id = ReadUInt(pReader, pos, len); in ParseElementHeader() 339 if (id <= 0) in ParseElementHeader() 380 const long long id = ReadUInt(pReader, pos, len); in Match() local 381 assert(id >= 0); in Match() 386 if ((unsigned long)id != id_) in Match() 425 const long long id = ReadUInt(pReader, pos, len); in Match() local 426 assert(id >= 0); in Match() 431 if ((unsigned long)id != id_) in Match() 602 long long id, size; in Parse() local [all …]
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/third_party/nestegg/src/ |
D | nestegg.c | 150 uint64_t id; member 184 struct ebml_type id; member 320 uint64_t id; member 358 E_FIELD(ID_SEEK_ID, TYPE_BINARY, struct seek, id), 787 ne_is_ancestor_element(uint64_t id, struct list_node * ancestor) in ne_is_ancestor_element() argument 792 for (element = ancestor->node; element->id; ++element) in ne_is_ancestor_element() 793 if (element->id == id) in ne_is_ancestor_element() 800 ne_find_element(uint64_t id, struct ebml_element_desc * elements) in ne_find_element() argument 804 for (element = elements; element->id; ++element) in ne_find_element() 805 if (element->id == id) in ne_find_element() [all …]
|