/hardware/broadcom/wlan/bcmdhd/wifi_hal/ |
D | common.cpp | 42 wifi_handle getWifiHandle(hal_info *info) in getWifiHandle() argument 44 return (wifi_handle)info; in getWifiHandle() 47 wifi_interface_handle getIfaceHandle(interface_info *info) in getIfaceHandle() argument 49 return (wifi_interface_handle)info; in getIfaceHandle() 54 hal_info *info = (hal_info *)handle; in wifi_register_handler() local 57 pthread_mutex_lock(&info->cb_lock); in wifi_register_handler() 61 if (info->num_event_cb < info->alloc_event_cb) { in wifi_register_handler() 62 info->event_cb[info->num_event_cb].nl_cmd = cmd; in wifi_register_handler() 63 info->event_cb[info->num_event_cb].vendor_id = 0; in wifi_register_handler() 64 info->event_cb[info->num_event_cb].vendor_subcmd = 0; in wifi_register_handler() [all …]
|
/hardware/qcom/wlan/qcwcn/wifi_hal/ |
D | common.cpp | 47 wifi_handle getWifiHandle(hal_info *info) in getWifiHandle() argument 49 return (wifi_handle)info; in getWifiHandle() 52 wifi_interface_handle getIfaceHandle(interface_info *info) in getIfaceHandle() argument 54 return (wifi_interface_handle)info; in getIfaceHandle() 59 hal_info *info = (hal_info *)handle; in wifi_register_handler() local 61 pthread_mutex_lock(&info->cb_lock); in wifi_register_handler() 65 for (int i = 0; i < info->num_event_cb; i++) { in wifi_register_handler() 66 if(info->event_cb[i].nl_cmd == cmd && in wifi_register_handler() 67 info->event_cb[i].cb_arg == arg) { in wifi_register_handler() 68 info->event_cb[i].cb_func = func; in wifi_register_handler() [all …]
|
D | wifi_hal.cpp | 87 hal_info *info = (hal_info *)handle; in wifi_get_iface_handle() local 88 for (int i=0;i<info->num_interfaces;i++) in wifi_get_iface_handle() 90 if (!strcmp(info->interfaces[i]->name, name)) in wifi_get_iface_handle() 92 return ((wifi_interface_handle )(info->interfaces)[i]); in wifi_get_iface_handle() 208 hal_info *info = (hal_info *)handle; in get_firmware_bus_max_size_supported() local 228 info->firmware_bus_max_size = busSizeSupported.getBusSize(); in get_firmware_bus_max_size_supported() 234 static wifi_error wifi_init_user_sock(hal_info *info) in wifi_init_user_sock() argument 259 info->user_sock_arg = 1; in wifi_init_user_sock() 261 nl_cb_err(cb, NL_CB_CUSTOM, error_handler, &info->user_sock_arg); in wifi_init_user_sock() 262 nl_cb_set(cb, NL_CB_FINISH, NL_CB_CUSTOM, finish_handler, &info->user_sock_arg); in wifi_init_user_sock() [all …]
|
D | wifilogger_diag.cpp | 88 static wifi_error update_connectivity_ring_buf(hal_info *info, in update_connectivity_ring_buf() argument 103 if (info->rb_infos[CONNECTIVITY_EVENTS_RB_ID].verbose_level >= 1 && in update_connectivity_ring_buf() 104 info->on_ring_buffer_data) { in update_connectivity_ring_buf() 105 return ring_buffer_write(&info->rb_infos[CONNECTIVITY_EVENTS_RB_ID], in update_connectivity_ring_buf() 113 static wifi_error process_log_extscan_capabilities(hal_info *info, in process_log_extscan_capabilities() argument 205 status = update_connectivity_ring_buf(info, pRingBufferEntry, tot_len); in process_log_extscan_capabilities() 212 static wifi_error process_bt_coex_scan_event(hal_info *info, in process_bt_coex_scan_event() argument 258 status = update_connectivity_ring_buf(info, pRingBufferEntry, tot_len); in process_bt_coex_scan_event() 266 static wifi_error process_bt_coex_event(hal_info *info, u32 id, in process_bt_coex_event() argument 378 status = update_connectivity_ring_buf(info, pRingBufferEntry, tot_len); in process_bt_coex_event() [all …]
|
/hardware/libhardware/modules/gralloc/ |
D | framebuffer.cpp | 86 m->info.reserved[0] = 0x54445055; // "UPDT"; in fb_setUpdateRect() 87 m->info.reserved[1] = (uint16_t)l | ((uint32_t)t << 16); in fb_setUpdateRect() 88 m->info.reserved[2] = (uint16_t)(l+w) | ((uint32_t)(t+h) << 16); in fb_setUpdateRect() 105 m->info.activate = FB_ACTIVATE_VBL; in fb_post() 106 m->info.yoffset = offset / m->finfo.line_length; in fb_post() 107 if (ioctl(m->framebuffer->fd, FBIOPUT_VSCREENINFO, &m->info) == -1) { in fb_post() 123 0, 0, m->info.xres, m->info.yres, in fb_post() 128 0, 0, m->info.xres, m->info.yres, in fb_post() 131 memcpy(fb_vaddr, buffer_vaddr, m->finfo.line_length * m->info.yres); in fb_post() 170 struct fb_var_screeninfo info; local [all …]
|
/hardware/qcom/display/msm8960/libgralloc/ |
D | framebuffer.cpp | 91 m->info.activate = FB_ACTIVATE_VBL; in fb_post() 92 m->info.yoffset = offset / m->finfo.line_length; in fb_post() 93 if (ioctl(m->framebuffer->fd, FBIOPUT_VSCREENINFO, &m->info) == -1) { in fb_post() 139 struct fb_var_screeninfo info; in mapFrameBufferLocked() local 140 if (ioctl(fd, FBIOGET_VSCREENINFO, &info) == -1) in mapFrameBufferLocked() 143 info.reserved[0] = 0; in mapFrameBufferLocked() 144 info.reserved[1] = 0; in mapFrameBufferLocked() 145 info.reserved[2] = 0; in mapFrameBufferLocked() 146 info.xoffset = 0; in mapFrameBufferLocked() 147 info.yoffset = 0; in mapFrameBufferLocked() [all …]
|
/hardware/qcom/display/msm8994/libcopybit/ |
D | software_converter.cpp | 140 copyInfo& info) in copy_source_to_destination() argument 148 int width = info.width; in copy_source_to_destination() 149 int height = info.height; in copy_source_to_destination() 156 src += info.src_stride; in copy_source_to_destination() 157 dst += info.dst_stride; in copy_source_to_destination() 161 src = (unsigned char*)(src_base + info.src_plane1_offset); in copy_source_to_destination() 162 dst = (unsigned char*)(dst_base + info.dst_plane1_offset); in copy_source_to_destination() 166 memcpy(dst, src, info.src_stride); in copy_source_to_destination() 167 src += info.src_stride; in copy_source_to_destination() 168 dst += info.dst_stride; in copy_source_to_destination() [all …]
|
/hardware/qcom/display/msm8909/libcopybit/ |
D | software_converter.cpp | 140 copyInfo& info) in copy_source_to_destination() argument 148 int width = info.width; in copy_source_to_destination() 149 int height = info.height; in copy_source_to_destination() 156 src += info.src_stride; in copy_source_to_destination() 157 dst += info.dst_stride; in copy_source_to_destination() 161 src = (unsigned char*)(src_base + info.src_plane1_offset); in copy_source_to_destination() 162 dst = (unsigned char*)(dst_base + info.dst_plane1_offset); in copy_source_to_destination() 166 memcpy(dst, src, info.src_stride); in copy_source_to_destination() 167 src += info.src_stride; in copy_source_to_destination() 168 dst += info.dst_stride; in copy_source_to_destination() [all …]
|
/hardware/qcom/display/msm8996/libcopybit/ |
D | software_converter.cpp | 140 copyInfo& info) in copy_source_to_destination() argument 148 int width = info.width; in copy_source_to_destination() 149 int height = info.height; in copy_source_to_destination() 156 src += info.src_stride; in copy_source_to_destination() 157 dst += info.dst_stride; in copy_source_to_destination() 161 src = (unsigned char*)(src_base + info.src_plane1_offset); in copy_source_to_destination() 162 dst = (unsigned char*)(dst_base + info.dst_plane1_offset); in copy_source_to_destination() 166 memcpy(dst, src, info.src_stride); in copy_source_to_destination() 167 src += info.src_stride; in copy_source_to_destination() 168 dst += info.dst_stride; in copy_source_to_destination() [all …]
|
/hardware/qcom/display/msm8960/libcopybit/ |
D | software_converter.cpp | 139 copyInfo& info) in copy_source_to_destination() argument 147 int width = info.width; in copy_source_to_destination() 148 int height = info.height; in copy_source_to_destination() 155 src += info.src_stride; in copy_source_to_destination() 156 dst += info.dst_stride; in copy_source_to_destination() 160 src = (unsigned char*)(src_base + info.src_plane1_offset); in copy_source_to_destination() 161 dst = (unsigned char*)(dst_base + info.dst_plane1_offset); in copy_source_to_destination() 165 memcpy(dst, src, info.src_stride); in copy_source_to_destination() 166 src += info.src_stride; in copy_source_to_destination() 167 dst += info.dst_stride; in copy_source_to_destination() [all …]
|
/hardware/qcom/display/msm8226/libcopybit/ |
D | software_converter.cpp | 140 copyInfo& info) in copy_source_to_destination() argument 148 int width = info.width; in copy_source_to_destination() 149 int height = info.height; in copy_source_to_destination() 156 src += info.src_stride; in copy_source_to_destination() 157 dst += info.dst_stride; in copy_source_to_destination() 161 src = (unsigned char*)(src_base + info.src_plane1_offset); in copy_source_to_destination() 162 dst = (unsigned char*)(dst_base + info.dst_plane1_offset); in copy_source_to_destination() 166 memcpy(dst, src, info.src_stride); in copy_source_to_destination() 167 src += info.src_stride; in copy_source_to_destination() 168 dst += info.dst_stride; in copy_source_to_destination() [all …]
|
/hardware/qcom/display/msm8084/libcopybit/ |
D | software_converter.cpp | 140 copyInfo& info) in copy_source_to_destination() argument 148 int width = info.width; in copy_source_to_destination() 149 int height = info.height; in copy_source_to_destination() 156 src += info.src_stride; in copy_source_to_destination() 157 dst += info.dst_stride; in copy_source_to_destination() 161 src = (unsigned char*)(src_base + info.src_plane1_offset); in copy_source_to_destination() 162 dst = (unsigned char*)(dst_base + info.dst_plane1_offset); in copy_source_to_destination() 166 memcpy(dst, src, info.src_stride); in copy_source_to_destination() 167 src += info.src_stride; in copy_source_to_destination() 168 dst += info.dst_stride; in copy_source_to_destination() [all …]
|
/hardware/qcom/display/msm8909/libgralloc/ |
D | framebuffer.cpp | 86 m->info.activate = FB_ACTIVATE_VBL; in fb_post() 87 m->info.yoffset = (int)(offset / m->finfo.line_length); in fb_post() 88 if (ioctl(ctx->fbFd, FBIOPUT_VSCREENINFO, &m->info) == -1) { in fb_post() 140 struct fb_var_screeninfo info; in mapFrameBufferLocked() local 141 if (ioctl(fd, FBIOGET_VSCREENINFO, &info) == -1) { in mapFrameBufferLocked() 146 info.reserved[0] = 0; in mapFrameBufferLocked() 147 info.reserved[1] = 0; in mapFrameBufferLocked() 148 info.reserved[2] = 0; in mapFrameBufferLocked() 149 info.xoffset = 0; in mapFrameBufferLocked() 150 info.yoffset = 0; in mapFrameBufferLocked() [all …]
|
/hardware/qcom/display/msm8226/libgralloc/ |
D | framebuffer.cpp | 92 m->info.activate = FB_ACTIVATE_VBL; in fb_post() 93 m->info.yoffset = (int)(offset / m->finfo.line_length); in fb_post() 94 if (ioctl(m->framebuffer->fd, FBIOPUT_VSCREENINFO, &m->info) == -1) { in fb_post() 145 struct fb_var_screeninfo info; in mapFrameBufferLocked() local 146 if (ioctl(fd, FBIOGET_VSCREENINFO, &info) == -1) { in mapFrameBufferLocked() 151 info.reserved[0] = 0; in mapFrameBufferLocked() 152 info.reserved[1] = 0; in mapFrameBufferLocked() 153 info.reserved[2] = 0; in mapFrameBufferLocked() 154 info.xoffset = 0; in mapFrameBufferLocked() 155 info.yoffset = 0; in mapFrameBufferLocked() [all …]
|
/hardware/qcom/display/msm8994/libgralloc/ |
D | framebuffer.cpp | 94 m->info.activate = FB_ACTIVATE_VBL; in fb_post() 95 m->info.yoffset = (int)(offset / m->finfo.line_length); in fb_post() 96 if (ioctl(ctx->fbFd, FBIOPUT_VSCREENINFO, &m->info) == -1) { in fb_post() 148 struct fb_var_screeninfo info; in mapFrameBufferLocked() local 149 if (ioctl(fd, FBIOGET_VSCREENINFO, &info) == -1) { in mapFrameBufferLocked() 154 info.reserved[0] = 0; in mapFrameBufferLocked() 155 info.reserved[1] = 0; in mapFrameBufferLocked() 156 info.reserved[2] = 0; in mapFrameBufferLocked() 157 info.xoffset = 0; in mapFrameBufferLocked() 158 info.yoffset = 0; in mapFrameBufferLocked() [all …]
|
/hardware/qcom/display/msm8996/libgralloc/ |
D | framebuffer.cpp | 86 m->info.activate = FB_ACTIVATE_VBL; in fb_post() 87 m->info.yoffset = (int)(offset / m->finfo.line_length); in fb_post() 88 if (ioctl(ctx->fbFd, FBIOPUT_VSCREENINFO, &m->info) == -1) { in fb_post() 140 struct fb_var_screeninfo info; in mapFrameBufferLocked() local 141 if (ioctl(fd, FBIOGET_VSCREENINFO, &info) == -1) { in mapFrameBufferLocked() 146 info.reserved[0] = 0; in mapFrameBufferLocked() 147 info.reserved[1] = 0; in mapFrameBufferLocked() 148 info.reserved[2] = 0; in mapFrameBufferLocked() 149 info.xoffset = 0; in mapFrameBufferLocked() 150 info.yoffset = 0; in mapFrameBufferLocked() [all …]
|
/hardware/qcom/display/msm8084/libgralloc/ |
D | framebuffer.cpp | 91 m->info.activate = FB_ACTIVATE_VBL; in fb_post() 92 m->info.yoffset = (int)(offset / m->finfo.line_length); in fb_post() 93 if (ioctl(m->framebuffer->fd, FBIOPUT_VSCREENINFO, &m->info) == -1) { in fb_post() 144 struct fb_var_screeninfo info; in mapFrameBufferLocked() local 145 if (ioctl(fd, FBIOGET_VSCREENINFO, &info) == -1) { in mapFrameBufferLocked() 150 info.reserved[0] = 0; in mapFrameBufferLocked() 151 info.reserved[1] = 0; in mapFrameBufferLocked() 152 info.reserved[2] = 0; in mapFrameBufferLocked() 153 info.xoffset = 0; in mapFrameBufferLocked() 154 info.yoffset = 0; in mapFrameBufferLocked() [all …]
|
/hardware/qcom/audio/legacy/alsa_sound/ |
D | ALSAMixer.cpp | 174 mixer_info_t *info = mixerMasterProp[i].mInfo = new mixer_info_t; in ALSAMixer() local 177 info->name, in ALSAMixer() 192 if (info->elem == NULL && in ALSAMixer() 193 strcmp(elementName, info->name) == 0 && in ALSAMixer() 196 info->elem = elem; in ALSAMixer() 197 getVolumeRange[i] (elem, &info->min, &info->max); in ALSAMixer() 198 info->volume = info->max; in ALSAMixer() 199 setVol[i] (elem, info->volume); in ALSAMixer() 207 ALOGV("Mixer: master '%s' %s.", info->name, info->elem ? "found" : "not found"); in ALSAMixer() 211 mixer_info_t *info = mixerProp[j][i].mInfo = new mixer_info_t; in ALSAMixer() local [all …]
|
/hardware/intel/common/libmix/mix_vbp/viddec_fw/fw/codecs/mp2/parser/ |
D | viddec_mpeg2_metadata.c | 133 ret_code |= viddec_pm_get_bits(parent, &parser->info.seq_hdr.horizontal_size_value, 12); in viddec_mpeg2_parse_seq_hdr() 136 ret_code |= viddec_pm_get_bits(parent, &parser->info.seq_hdr.vertical_size_value, 12); in viddec_mpeg2_parse_seq_hdr() 139 ret_code |= viddec_pm_get_bits(parent, &parser->info.seq_hdr.aspect_ratio_information, 4); in viddec_mpeg2_parse_seq_hdr() 142 ret_code |= viddec_pm_get_bits(parent, &parser->info.seq_hdr.frame_rate_code, 4); in viddec_mpeg2_parse_seq_hdr() 145 ret_code |= viddec_pm_get_bits(parent, &parser->info.seq_hdr.bit_rate_value, 18); in viddec_mpeg2_parse_seq_hdr() 151 ret_code |= viddec_pm_get_bits(parent, &parser->info.seq_hdr.vbv_buffer_size_value, 10); in viddec_mpeg2_parse_seq_hdr() 154 ret_code |= viddec_pm_get_bits(parent, &parser->info.seq_hdr.constrained_parameters_flag, 1); in viddec_mpeg2_parse_seq_hdr() 158 ret_code |= viddec_pm_get_bits(parent, &parser->info.qnt_ext.load_intra_quantiser_matrix, 1); in viddec_mpeg2_parse_seq_hdr() 159 if (parser->info.qnt_ext.load_intra_quantiser_matrix) in viddec_mpeg2_parse_seq_hdr() 161 ret_code |= mpeg2_get_quant_matrix(parent, parser->info.qnt_mat.intra_quantiser_matrix, 0); in viddec_mpeg2_parse_seq_hdr() [all …]
|
D | viddec_mpeg2_workload.c | 51 parser->info.seq_ext.progressive_sequence = true; in viddec_mpeg2_set_seq_ext_defaults() 52 parser->info.seq_ext.chroma_format = MPEG2_CF_420; in viddec_mpeg2_set_seq_ext_defaults() 60 parser->info.pic_cod_ext.picture_structure = MPEG2_PIC_STRUCT_FRAME; in viddec_mpeg2_set_pic_cod_ext_defaults() 61 parser->info.pic_cod_ext.frame_pred_frame_dct = true; in viddec_mpeg2_set_pic_cod_ext_defaults() 62 parser->info.pic_cod_ext.progressive_frame = true; in viddec_mpeg2_set_pic_cod_ext_defaults() 81 qmat_unpacked = (uint32_t *) &parser->info.qnt_mat; in viddec_mpeg2_pack_qmat() 104 qmat_unpacked = (uint8_t *) &parser->info.qnt_mat; in viddec_mpeg2_pack_qmat() 143 parser->wi.csi1 |= (parser->info.seq_hdr.constrained_parameters_flag) << 2; in viddec_mpeg2_trans_metadata_workitems() 144 parser->wi.csi1 |= (parser->info.seq_ext.progressive_sequence) << 3; in viddec_mpeg2_trans_metadata_workitems() 145 parser->wi.csi1 |= (parser->info.seq_ext.chroma_format) << 16; in viddec_mpeg2_trans_metadata_workitems() [all …]
|
/hardware/intel/common/libmix/mix_vbp/viddec_fw/fw/codecs/vc1/parser/ |
D | viddec_vc1_parse.c | 38 memset(&parser->info.picLayerHeader, 0, sizeof(vc1_PictureLayerHeader)); in viddec_vc1_init() 49 memset(&parser->info.metadata, 0, sizeof(parser->info.metadata)); in viddec_vc1_init() 104 memset( &parser->info.metadata, 0, sizeof(parser->info.metadata)); in viddec_vc1_parse() 110 status = vc1_ParseSequenceLayer(parent, &parser->info); in viddec_vc1_parse() 114 status = vc1_ParseRCVSequenceLayer(parent, &parser->info); in viddec_vc1_parse() 126 status = vc1_ParseEntryPointLayer(parent, &parser->info); in viddec_vc1_parse() 139 memset(&parser->info.picLayerHeader, 0, sizeof(vc1_PictureLayerHeader)); in viddec_vc1_parse() 140 status = vc1_ParsePictureLayer(parent, &parser->info); in viddec_vc1_parse() 141 if((parser->info.picLayerHeader.PTypeField1 == VC1_I_FRAME) || in viddec_vc1_parse() 142 (parser->info.picLayerHeader.PTypeField1 == VC1_P_FRAME) || in viddec_vc1_parse() [all …]
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/examples/ |
D | vp8cx_set_ref.c | 102 VpxVideoInfo info = {0}; in main() local 123 info.codec_fourcc = encoder->fourcc; in main() 124 info.frame_width = strtol(argv[1], NULL, 0); in main() 125 info.frame_height = strtol(argv[2], NULL, 0); in main() 126 info.time_base.numerator = 1; in main() 127 info.time_base.denominator = fps; in main() 129 if (info.frame_width <= 0 || in main() 130 info.frame_height <= 0 || in main() 131 (info.frame_width % 2) != 0 || in main() 132 (info.frame_height % 2) != 0) { in main() [all …]
|
D | simple_encoder.c | 156 VpxVideoInfo info = {0}; in main() local 188 info.codec_fourcc = encoder->fourcc; in main() 189 info.frame_width = strtol(width_arg, NULL, 0); in main() 190 info.frame_height = strtol(height_arg, NULL, 0); in main() 191 info.time_base.numerator = 1; in main() 192 info.time_base.denominator = fps; in main() 194 if (info.frame_width <= 0 || in main() 195 info.frame_height <= 0 || in main() 196 (info.frame_width % 2) != 0 || in main() 197 (info.frame_height % 2) != 0) { in main() [all …]
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/ |
D | video_writer.c | 18 VpxVideoInfo info; member 23 static void write_header(FILE *file, const VpxVideoInfo *info, in write_header() argument 26 cfg.g_w = info->frame_width; in write_header() 27 cfg.g_h = info->frame_height; in write_header() 28 cfg.g_timebase.num = info->time_base.numerator; in write_header() 29 cfg.g_timebase.den = info->time_base.denominator; in write_header() 31 ivf_write_file_header(file, &cfg, info->codec_fourcc, frame_count); in write_header() 36 const VpxVideoInfo *info) { in vpx_video_writer_open() argument 48 writer->info = *info; in vpx_video_writer_open() 51 write_header(writer->file, info, 0); in vpx_video_writer_open() [all …]
|
/hardware/intel/common/libmix/mix_vbp/viddec_fw/fw/parser/ |
D | vbp_h264_parser.c | 288 h264_Slice_Header_t* slice_header = &(h264_parser->info.SliceHeader); in vbp_set_slice_ref_list_h264() 320 p_list = h264_parser->info.slice_ref_list0; in vbp_set_slice_ref_list_h264() 324 p_list = h264_parser->info.dpb.listX_0; in vbp_set_slice_ref_list_h264() 332 p_list = h264_parser->info.slice_ref_list1; in vbp_set_slice_ref_list_h264() 336 p_list = h264_parser->info.dpb.listX_1; in vbp_set_slice_ref_list_h264() 348 fs = &(h264_parser->info.dpb.fs[(p_list[j] & 0x1f)]); in vbp_set_slice_ref_list_h264() 352 h264_parser->info.img.structure, in vbp_set_slice_ref_list_h264() 368 h264_Slice_Header_t* slice_header = &(h264_parser->info.SliceHeader); in vbp_set_pre_weight_table_h264() 373 h264_parser->info.active_PPS.weighted_pred_flag) || in vbp_set_pre_weight_table_h264() 375 (1 == h264_parser->info.active_PPS.weighted_bipred_idc))) in vbp_set_pre_weight_table_h264() [all …]
|