/hardware/broadcom/wlan/bcmdhd/wifi_hal/ |
H A D | common.cpp | 30 wifi_handle getWifiHandle(hal_info *info) argument 32 return (wifi_handle)info; 35 wifi_interface_handle getIfaceHandle(interface_info *info) argument 37 return (wifi_interface_handle)info; 42 hal_info *info = (hal_info *)handle; local 45 pthread_mutex_lock(&info->cb_lock); 49 if (info->num_event_cb < info->alloc_event_cb) { 50 info->event_cb[info 68 hal_info *info = (hal_info *)handle; local 93 hal_info *info = (hal_info *)handle; local 119 hal_info *info = (hal_info *)handle; local 143 hal_info *info = (hal_info *)handle; local 162 hal_info *info = (hal_info *)handle; local 183 hal_info *info = (hal_info *)handle; local 199 hal_info *info = (hal_info *)handle; local [all...] |
H A D | wifi_hal.cpp | 108 hal_info *info = (hal_info *)malloc(sizeof(hal_info)); local 109 if (info == NULL) { 114 memset(info, 0, sizeof(*info)); 137 nl_cb_set(cb, NL_CB_SEQ_CHECK, NL_CB_CUSTOM, internal_no_seq_check, info); 138 nl_cb_set(cb, NL_CB_VALID, NL_CB_CUSTOM, internal_valid_message_handler, info); 141 info->cmd_sock = cmd_sock; 142 info->event_sock = event_sock; 143 info->clean_up = false; 144 info 182 hal_info *info = getHalInfo(handle); local 201 hal_info *info = getHalInfo(handle); local 220 hal_info *info = getHalInfo(handle); local 229 hal_info *info = getHalInfo(handle); local 240 hal_info *info = getHalInfo(handle); local 293 hal_info *info = getHalInfo(handle); local 636 get_interface(const char *name, interface_info *info) argument 646 hal_info *info = (hal_info *)handle; local 695 hal_info *info = (hal_info *)handle; local 705 interface_info *info = (interface_info *)handle; local [all...] |
/hardware/qcom/wlan/qcwcn/wifi_hal/ |
H A D | common.cpp | 46 wifi_handle getWifiHandle(hal_info *info) argument 48 return (wifi_handle)info; 51 wifi_interface_handle getIfaceHandle(interface_info *info) argument 53 return (wifi_interface_handle)info; 58 hal_info *info = (hal_info *)handle; local 62 if (info->num_event_cb < info->alloc_event_cb) { 63 info->event_cb[info->num_event_cb].nl_cmd = cmd; 64 info 79 hal_info *info = (hal_info *)handle; local 110 hal_info *info = (hal_info *)handle; local 129 hal_info *info = (hal_info *)handle; local 149 hal_info *info = (hal_info *)handle; local 166 hal_info *info = (hal_info *)handle; local 185 hal_info *info = (hal_info *)handle; local [all...] |
H A D | wifi_hal.cpp | 147 hal_info *info = (hal_info *)malloc(sizeof(hal_info)); local 148 if (info == NULL) { 153 memset(info, 0, sizeof(*info)); 181 nl_cb_set(cb, NL_CB_VALID, NL_CB_CUSTOM, internal_valid_message_handler, info); 184 info->cmd_sock = cmd_sock; 185 info->event_sock = event_sock; 186 info->clean_up = false; 187 info->in_event_loop = false; 189 info 224 hal_info *info = getHalInfo(handle); local 243 hal_info *info = getHalInfo(handle); local 261 hal_info *info = getHalInfo(handle); local 270 hal_info *info = getHalInfo(handle); local 294 hal_info *info = getHalInfo(handle); local 332 hal_info *info = getHalInfo(handle); local 478 get_interface(const char *name, interface_info *info) argument 488 hal_info *info = (hal_info *)handle; local 537 hal_info *info = (hal_info *)handle; local 547 interface_info *info = (interface_info *)handle; local 554 hal_info *info = (hal_info *)handle; local [all...] |
/hardware/libhardware/modules/gralloc/ |
H A D | framebuffer.cpp | 86 m->info.reserved[0] = 0x54445055; // "UPDT"; 87 m->info.reserved[1] = (uint16_t)l | ((uint32_t)t << 16); 88 m->info.reserved[2] = (uint16_t)(l+w) | ((uint32_t)(t+h) << 16); 105 m->info.activate = FB_ACTIVATE_VBL; 106 m->info.yoffset = offset / m->finfo.line_length; 107 if (ioctl(m->framebuffer->fd, FBIOPUT_VSCREENINFO, &m->info) == -1) { 123 0, 0, m->info.xres, m->info.yres, 128 0, 0, m->info.xres, m->info 170 struct fb_var_screeninfo info; local [all...] |
/hardware/qcom/display/msm8084/libcopybit/ |
H A D | software_converter.cpp | 140 copyInfo& info) 148 int width = info.width; 149 int height = info.height; 156 src += info.src_stride; 157 dst += info.dst_stride; 161 src = (unsigned char*)(src_base + info.src_plane1_offset); 162 dst = (unsigned char*)(dst_base + info.dst_plane1_offset); 166 memcpy(dst, src, info.src_stride); 167 src += info.src_stride; 168 dst += info 138 copy_source_to_destination(const uintptr_t src_base, const uintptr_t dst_base, copyInfo& info) argument 194 copyInfo info; local 239 copyInfo info; local [all...] |
/hardware/qcom/display/msm8226/libcopybit/ |
H A D | software_converter.cpp | 140 copyInfo& info) 148 int width = info.width; 149 int height = info.height; 156 src += info.src_stride; 157 dst += info.dst_stride; 161 src = (unsigned char*)(src_base + info.src_plane1_offset); 162 dst = (unsigned char*)(dst_base + info.dst_plane1_offset); 166 memcpy(dst, src, info.src_stride); 167 src += info.src_stride; 168 dst += info 138 copy_source_to_destination(const uintptr_t src_base, const uintptr_t dst_base, copyInfo& info) argument 194 copyInfo info; local 239 copyInfo info; local [all...] |
/hardware/qcom/display/msm8960/libcopybit/ |
H A D | software_converter.cpp | 139 copyInfo& info) 147 int width = info.width; 148 int height = info.height; 155 src += info.src_stride; 156 dst += info.dst_stride; 160 src = (unsigned char*)(src_base + info.src_plane1_offset); 161 dst = (unsigned char*)(dst_base + info.dst_plane1_offset); 165 memcpy(dst, src, info.src_stride); 166 src += info.src_stride; 167 dst += info 138 copy_source_to_destination(const int src_base, const int dst_base, copyInfo& info) argument 193 copyInfo info; local 238 copyInfo info; local [all...] |
/hardware/qcom/display/msm8974/libcopybit/ |
H A D | software_converter.cpp | 139 copyInfo& info) 147 int width = info.width; 148 int height = info.height; 155 src += info.src_stride; 156 dst += info.dst_stride; 160 src = (unsigned char*)(src_base + info.src_plane1_offset); 161 dst = (unsigned char*)(dst_base + info.dst_plane1_offset); 165 memcpy(dst, src, info.src_stride); 166 src += info.src_stride; 167 dst += info 138 copy_source_to_destination(const int src_base, const int dst_base, copyInfo& info) argument 193 copyInfo info; local 238 copyInfo info; local [all...] |
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/ |
H A D | video_writer.c | 18 VpxVideoInfo info; member in struct:VpxVideoWriterStruct 23 static void write_header(FILE *file, const VpxVideoInfo *info, argument 26 cfg.g_w = info->frame_width; 27 cfg.g_h = info->frame_height; 28 cfg.g_timebase.num = info->time_base.numerator; 29 cfg.g_timebase.den = info->time_base.denominator; 31 ivf_write_file_header(file, &cfg, info->codec_fourcc, frame_count); 36 const VpxVideoInfo *info) { 48 writer->info = *info; 34 vpx_video_writer_open(const char *filename, VpxContainer container, const VpxVideoInfo *info) argument [all...] |
H A D | video_reader.c | 22 VpxVideoInfo info; member in struct:VpxVideoReaderStruct 50 reader->info.codec_fourcc = mem_get_le32(header + 8); 51 reader->info.frame_width = mem_get_le16(header + 12); 52 reader->info.frame_height = mem_get_le16(header + 14); 53 reader->info.time_base.numerator = mem_get_le32(header + 16); 54 reader->info.time_base.denominator = mem_get_le32(header + 20); 81 return &reader->info;
|
/hardware/qcom/display/msm8084/libgralloc/ |
H A D | framebuffer.cpp | 91 m->info.activate = FB_ACTIVATE_VBL; 92 m->info.yoffset = (int)(offset / m->finfo.line_length); 93 if (ioctl(m->framebuffer->fd, FBIOPUT_VSCREENINFO, &m->info) == -1) { 144 struct fb_var_screeninfo info; local 145 if (ioctl(fd, FBIOGET_VSCREENINFO, &info) == -1) { 150 info.reserved[0] = 0; 151 info.reserved[1] = 0; 152 info.reserved[2] = 0; 153 info.xoffset = 0; 154 info [all...] |
/hardware/qcom/display/msm8226/libgralloc/ |
H A D | framebuffer.cpp | 92 m->info.activate = FB_ACTIVATE_VBL; 93 m->info.yoffset = (int)(offset / m->finfo.line_length); 94 if (ioctl(m->framebuffer->fd, FBIOPUT_VSCREENINFO, &m->info) == -1) { 145 struct fb_var_screeninfo info; local 146 if (ioctl(fd, FBIOGET_VSCREENINFO, &info) == -1) { 151 info.reserved[0] = 0; 152 info.reserved[1] = 0; 153 info.reserved[2] = 0; 154 info.xoffset = 0; 155 info [all...] |
/hardware/qcom/display/msm8960/libgralloc/ |
H A D | framebuffer.cpp | 92 m->info.activate = FB_ACTIVATE_VBL; 93 m->info.yoffset = offset / m->finfo.line_length; 94 if (ioctl(m->framebuffer->fd, FBIOPUT_VSCREENINFO, &m->info) == -1) { 140 struct fb_var_screeninfo info; local 141 if (ioctl(fd, FBIOGET_VSCREENINFO, &info) == -1) 144 info.reserved[0] = 0; 145 info.reserved[1] = 0; 146 info.reserved[2] = 0; 147 info.xoffset = 0; 148 info [all...] |
/hardware/qcom/display/msm8974/libgralloc/ |
H A D | framebuffer.cpp | 92 m->info.activate = FB_ACTIVATE_VBL; 93 m->info.yoffset = offset / m->finfo.line_length; 94 if (ioctl(m->framebuffer->fd, FBIOPUT_VSCREENINFO, &m->info) == -1) { 140 struct fb_var_screeninfo info; local 141 if (ioctl(fd, FBIOGET_VSCREENINFO, &info) == -1) 144 info.reserved[0] = 0; 145 info.reserved[1] = 0; 146 info.reserved[2] = 0; 147 info.xoffset = 0; 148 info [all...] |
/hardware/qcom/audio/legacy/alsa_sound/ |
H A D | ALSAMixer.cpp | 174 mixer_info_t *info = mixerMasterProp[i].mInfo = new mixer_info_t; local 177 info->name, 192 if (info->elem == NULL && 193 strcmp(elementName, info->name) == 0 && 196 info->elem = elem; 197 getVolumeRange[i] (elem, &info->min, &info->max); 198 info->volume = info->max; 199 setVol[i] (elem, info 211 mixer_info_t *info = mixerProp[j][i].mInfo = new mixer_info_t; local 269 mixer_info_t *info = mixerMasterProp[SND_PCM_STREAM_PLAYBACK].mInfo; local 288 mixer_info_t *info = mixerMasterProp[SND_PCM_STREAM_CAPTURE].mInfo; local 310 mixer_info_t *info = mixerProp[j][SND_PCM_STREAM_PLAYBACK].mInfo; local 333 mixer_info_t *info = mixerProp[j][SND_PCM_STREAM_CAPTURE].mInfo; local 356 mixer_info_t *info = mixerProp[j][SND_PCM_STREAM_CAPTURE].mInfo; local 382 mixer_info_t *info = mixerProp[j][SND_PCM_STREAM_CAPTURE].mInfo; local 397 mixer_info_t *info = mixerProp[j][SND_PCM_STREAM_PLAYBACK].mInfo; local 423 mixer_info_t *info = mixerProp[j][SND_PCM_STREAM_PLAYBACK].mInfo; local [all...] |
/hardware/samsung_slsi/exynos5/mobicore/daemon/Daemon/Device/Platforms/Generic/ |
H A D | TrustZoneDevice.cpp | 311 uint32_t status, info; local 312 // read additional info about exception-point and print 314 ret = pMcKMod->fcInfo(1, &status, &info); 315 LOG_W("MC_HALT: flags : 0x%8x", info); 316 ret = pMcKMod->fcInfo(2, &status, &info); 317 LOG_W("MC_HALT: haltCode : 0x%8x", info); 318 ret = pMcKMod->fcInfo(3, &status, &info); 319 LOG_W("MC_HALT: haltIp : 0x%8x", info); 320 ret = pMcKMod->fcInfo(4, &status, &info); 321 LOG_W("MC_HALT: faultRec.cnt : 0x%8x", info); [all...] |
/hardware/libhardware/tests/camera2/ |
H A D | CameraModuleFixture.h | 49 const CameraMetadata& staticInfo = mDevice->info(); 88 struct camera_info info; local 89 ASSERT_EQ(OK, mModule->get_camera_info(cameraID, &info)); 91 ASSERT_GE((int)info.device_version, CAMERA_DEVICE_API_VERSION_2_0) << 93 info.device_version; 94 switch(info.device_version) { 107 info.device_version; 117 camera_info info; local 119 res = mModule->get_camera_info(cameraId, &info); 122 return info [all...] |
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/examples/ |
H A D | simple_encoder.c | 156 VpxVideoInfo info = {0}; local 188 info.codec_fourcc = encoder->fourcc; 189 info.frame_width = strtol(width_arg, NULL, 0); 190 info.frame_height = strtol(height_arg, NULL, 0); 191 info.time_base.numerator = 1; 192 info.time_base.denominator = fps; 194 if (info.frame_width <= 0 || 195 info.frame_height <= 0 || 196 (info.frame_width % 2) != 0 || 197 (info [all...] |
H A D | vp8cx_set_ref.c | 102 VpxVideoInfo info = {0}; local 123 info.codec_fourcc = encoder->fourcc; 124 info.frame_width = strtol(argv[1], NULL, 0); 125 info.frame_height = strtol(argv[2], NULL, 0); 126 info.time_base.numerator = 1; 127 info.time_base.denominator = fps; 129 if (info.frame_width <= 0 || 130 info.frame_height <= 0 || 131 (info.frame_width % 2) != 0 || 132 (info [all...] |
H A D | twopass_encoder.c | 130 VpxVideoInfo info = {0}; local 149 info.codec_fourcc = encoder->fourcc; 150 info.time_base.numerator = 1; 151 info.time_base.denominator = fps; 152 info.frame_width = strtol(width_arg, NULL, 0); 153 info.frame_height = strtol(height_arg, NULL, 0); 155 if (info.frame_width <= 0 || 156 info.frame_height <= 0 || 157 (info.frame_width % 2) != 0 || 158 (info [all...] |
H A D | simple_decoder.c | 106 const VpxVideoInfo *info = NULL; local 120 info = vpx_video_reader_get_info(reader); 122 decoder = get_vpx_decoder_by_fourcc(info->codec_fourcc); 151 info->frame_width, info->frame_height, argv[2]);
|
H A D | set_maps.c | 161 VpxVideoInfo info = {0}; local 176 info.codec_fourcc = encoder->fourcc; 177 info.frame_width = strtol(argv[2], NULL, 0); 178 info.frame_height = strtol(argv[3], NULL, 0); 179 info.time_base.numerator = 1; 180 info.time_base.denominator = fps; 182 if (info.frame_width <= 0 || 183 info.frame_height <= 0 || 184 (info.frame_width % 2) != 0 || 185 (info [all...] |
/hardware/intel/common/libva/va/x11/ |
H A D | va_nvctrl.c | 161 static void XNVCTRLCheckTargetData(Display *dpy, XExtDisplayInfo *info, argument 167 if (info->data == NVCTRL_EXT_NEED_CHECK) { 173 info->data = NVCTRL_EXT_NEED_TARGET_SWAP; 175 info->data = NVCTRL_EXT_NEED_NOTHING; 178 info->data = NVCTRL_EXT_NEED_NOTHING; 183 if (info->data == NVCTRL_EXT_NEED_TARGET_SWAP) { 197 XExtDisplayInfo *info = find_display (dpy); local 199 if (XextHasExtension(info)) { 200 if (event_basep) *event_basep = info->codes->first_event; 201 if (error_basep) *error_basep = info 214 XExtDisplayInfo *info = find_display (dpy); local 244 XExtDisplayInfo *info = find_display (dpy); local 279 XExtDisplayInfo *info = find_display (dpy); local [all...] |
/hardware/samsung_slsi/exynos5/librotator/ |
H A D | exynos_rotator.c | 434 struct rotator_info *info, 440 plane_count = m_rotator_get_plane_count(info->v4l2_colorformat); 448 info->format.type = info->buf_type; 449 if (exynos_v4l2_g_fmt(fd, &info->format) < 0) { 450 ALOGE("%s::exynos_v4l2_g_fmt() fail type=%d", __func__, info->buf_type); 454 if (info->width != info->format.fmt.pix_mp.width || 455 info->height != info 432 m_exynos_rotator_set_format( int fd, struct rotator_info *info, bool force) argument 552 m_exynos_rotator_set_addr( int fd, struct rotator_info *info) argument [all...] |