Home
last modified time | relevance | path

Searched refs:info (Results 1 – 25 of 606) sorted by relevance

12345678910>>...25

/AliOS-Things-master/components/SDL2/src/image/external/libwebp-1.0.2/imageio/
A Dpnmdec.c120 if (info->depth > 0 && info->depth <= 4 && info->depth != 2) { in ReadPAMFields()
122 info->bytes_per_px = info->depth * (info->max_value > 255 ? 2 : 1); in ReadPAMFields()
142 info->width = info->height = 0; in ReadHeader()
162 info->depth = (info->type == 5) ? 1 : 3; in ReadHeader()
163 info->bytes_per_px = info->depth * (info->max_value > 255 ? 2 : 1); in ReadHeader()
167 info->type <= 0 || info->type >= 9 || in ReadHeader()
168 info->depth <= 0 || info->depth == 2 || info->depth > 4 || in ReadHeader()
169 info->bytes_per_px < info->depth || in ReadHeader()
194 if (info.type < 5 || info.type > 7) { in ReadPNM()
207 pixel_bytes = (uint64_t)info.width * info.height * info.bytes_per_px; in ReadPNM()
[all …]
/AliOS-Things-master/components/drivers/core/fbdev/src/
A Dfb.c80 if (!info) in fb_open()
85 ret = info->fbops->fb_open(info, 1); in fb_open()
112 if (!info || !info->screen_base) in fb_read()
119 return info->fbops->fb_read(info, buf, len); in fb_read()
138 if (!info || !info->screen_base) in fb_write()
142 return info->fbops->fb_write(info, buf, len); in fb_write()
158 ret = info->fbops->fb_set_par(info); in fb_set_var()
181 err = info->fbops->fb_pan_display(var, info); in fb_pan_display()
195 ret = info->fbops->fb_blank(blank, info); in fb_blank()
404 info->fbops->fb_destroy(info); in put_fb_info()
[all …]
/AliOS-Things-master/components/SDL2/src/video/x11/
A Dedid-parse.c107 info->model_year = -1; in decode_vendor_and_product_identification()
180 info->width_mm = -1; in decode_display_parameters()
181 info->height_mm = -1; in decode_display_parameters()
186 info->width_mm = -1; in decode_display_parameters()
192 info->width_mm = -1; in decode_display_parameters()
193 info->height_mm = -1; in decode_display_parameters()
195 info->aspect_ratio = 1/info->aspect_ratio; /* portrait */ in decode_display_parameters()
205 info->gamma = -1.0; in decode_display_parameters()
537 free(info); in decode_edid()
541 return info; in decode_edid()
[all …]
/AliOS-Things-master/components/drivers/external_device/ili9341/src/
A Dili9341_fb.c144 fb_info_t *info = NULL; in ili9341_fb_init() local
152 info = framebuffer_alloc(0); in ili9341_fb_init()
156 info->var.xres = _lcd.width; in ili9341_fb_init()
157 info->var.yres = _lcd.height; in ili9341_fb_init()
160 info->var.width = _lcd.width; in ili9341_fb_init()
161 info->var.height = _lcd.height; in ili9341_fb_init()
169 info->screen_size = info->var.xres * info->var.yres * info->var.bits_per_pixel / 8; in ili9341_fb_init()
170 info->screen_base = _lcd.fb; in ili9341_fb_init()
172 info->fbops = &ili9341_ops; in ili9341_fb_init()
175 info->fix = ili9341_fix; in ili9341_fb_init()
[all …]
/AliOS-Things-master/components/SDL2/src/video/
A DSDL_blit_0.c39 width = info->dst_w; in BlitBto1()
40 height = info->dst_h; in BlitBto1()
41 src = info->src; in BlitBto1()
43 dst = info->dst; in BlitBto1()
45 map = info->table; in BlitBto1()
95 width = info->dst_w; in BlitBto2()
97 src = info->src; in BlitBto2()
133 src = info->src; in BlitBto3()
135 dst = info->dst; in BlitBto3()
137 map = info->table; in BlitBto3()
[all …]
A DSDL_blit_1.c43 width = info->dst_w; in Blit1to1()
44 height = info->dst_h; in Blit1to1()
45 src = info->src; in Blit1to1()
47 dst = info->dst; in Blit1to1()
49 map = info->table; in Blit1to1()
98 src = info->src; in Blit1to2()
100 dst = info->dst; in Blit1to2()
205 src = info->src; in Blit1to3()
207 dst = info->dst; in Blit1to3()
209 map = info->table; in Blit1to3()
[all …]
A DSDL_blit_auto.c40 incy = (info->src_h << 16) / info->dst_h; in SDL_Blit_RGB888_RGB888_Scale()
66 info->dst += info->dst_pitch; in SDL_Blit_RGB888_RGB888_Scale()
114 info->src += info->src_pitch; in SDL_Blit_RGB888_RGB888_Blend()
115 info->dst += info->dst_pitch; in SDL_Blit_RGB888_RGB888_Blend()
185 info->dst += info->dst_pitch; in SDL_Blit_RGB888_RGB888_Blend_Scale()
215 info->src += info->src_pitch; in SDL_Blit_RGB888_RGB888_Modulate()
216 info->dst += info->dst_pitch; in SDL_Blit_RGB888_RGB888_Modulate()
268 info->dst += info->dst_pitch; in SDL_Blit_RGB888_RGB888_Modulate_Scale()
334 info->src += info->src_pitch; in SDL_Blit_RGB888_RGB888_Modulate_Blend()
335 info->dst += info->dst_pitch; in SDL_Blit_RGB888_RGB888_Modulate_Blend()
[all …]
A DSDL_blit_A.c34 int width = info->dst_w; in BlitNto1SurfaceAlpha()
35 int height = info->dst_h; in BlitNto1SurfaceAlpha()
36 Uint8 *src = info->src; in BlitNto1SurfaceAlpha()
38 Uint8 *dst = info->dst; in BlitNto1SurfaceAlpha()
81 int width = info->dst_w; in BlitNto1PixelAlpha()
82 int height = info->dst_h; in BlitNto1PixelAlpha()
83 Uint8 *src = info->src; in BlitNto1PixelAlpha()
85 Uint8 *dst = info->dst; in BlitNto1PixelAlpha()
127 int width = info->dst_w; in BlitNto1SurfaceAlphaKey()
129 Uint8 *src = info->src; in BlitNto1SurfaceAlphaKey()
[all …]
A DSDL_blit.c66 SDL_BlitInfo *info = &src->map->info; in SDL_SoftBlit() local
72 info->src_w = srcrect->w; in SDL_SoftBlit()
73 info->src_h = srcrect->h; in SDL_SoftBlit()
75 info->src_skip = in SDL_SoftBlit()
76 info->src_pitch - info->src_w * info->src_fmt->BytesPerPixel; in SDL_SoftBlit()
77 info->dst = in SDL_SoftBlit()
80 info->dst_w = dstrect->w; in SDL_SoftBlit()
81 info->dst_h = dstrect->h; in SDL_SoftBlit()
83 info->dst_skip = in SDL_SoftBlit()
84 info->dst_pitch - info->dst_w * info->dst_fmt->BytesPerPixel; in SDL_SoftBlit()
[all …]
A DSDL_blit_N.c741 if (info->a) { in ConvertAltivec32to32_noprefetch()
828 if (info->a) { in ConvertAltivec32to32_prefetch()
1001 width = info->dst_w; in Blit_RGB888_index8()
1005 dst = info->dst; in Blit_RGB888_index8()
1007 map = info->table; in Blit_RGB888_index8()
1115 dst = info->dst; in Blit_RGB101010_index8()
1117 map = info->table; in Blit_RGB101010_index8()
1473 src = info->src; in Blit_RGB565_32()
2096 src = info->src; in BlitNto1()
2098 dst = info->dst; in BlitNto1()
[all …]
A DSDL_blit_slow.c31 SDL_Blit_Slow(SDL_BlitInfo * info) in SDL_Blit_Slow() argument
33 const int flags = info->flags; in SDL_Blit_Slow()
34 const Uint32 modulateR = info->r; in SDL_Blit_Slow()
35 const Uint32 modulateG = info->g; in SDL_Blit_Slow()
54 incy = (info->src_h << 16) / info->dst_h; in SDL_Blit_Slow()
55 incx = (info->src_w << 16) / info->dst_w; in SDL_Blit_Slow()
57 while (info->dst_h--) { in SDL_Blit_Slow()
59 Uint8 *dst = info->dst; in SDL_Blit_Slow()
60 int n = info->dst_w; in SDL_Blit_Slow()
74 (info->src + (srcy * info->src_pitch) + (srcx * srcbpp)); in SDL_Blit_Slow()
[all …]
/AliOS-Things-master/hardware/chip/haas1000/aos/
A Dota_port.c74 info->crc32 = crc32_value; in ota_set_bootinfo_crc32value()
194 struct ota_boot_info info; in ota_set_zoneAB_bootinfo_to_default() local
204 info.odm_type = 0; in ota_set_zoneAB_bootinfo_to_default()
205 info.reserved = 0; in ota_set_zoneAB_bootinfo_to_default()
283 struct ota_boot_info info; in ota_copy_bootinfo_fromone_toanother() local
339 struct ota_boot_info info; in ota_upgrade_link() local
368 info.reboot_reason = 0; in ota_upgrade_link()
387 struct ota_boot_info info; in ota_clear_reboot_count() local
396 if ((info.crash_reboot_count != 0) ||(info.secureERR_reboot_count != 0) ) { in ota_clear_reboot_count()
399 info.reboot_reason = 0; in ota_clear_reboot_count()
[all …]
/AliOS-Things-master/components/ble_host/ble_profiles/
A Ddis.c40 dis_info_t *info; member
136 …read_dis_info(e, g_dis.info->system_id, g_dis.info->system_id ? sizeof(*g_dis.info->system_id) : 0… in event_char_read()
152 read_dis_info(e, g_dis.info->model_number, strlen(g_dis.info->model_number)); in event_char_read()
154 read_dis_info(e, g_dis.info->serial_number, strlen(g_dis.info->serial_number)); in event_char_read()
162 read_dis_info(e, g_dis.info->system_id, sizeof(*g_dis.info->system_id)); in event_char_read()
166 read_dis_info(e, g_dis.info->pnp_id, sizeof(*g_dis.info->pnp_id)); in event_char_read()
208 if (g_dis.info) { in dis_init()
213 g_dis.info = NULL; in dis_init()
291 if (info->system_id) { in dis_init()
311 if (info->pnp_id) { in dis_init()
[all …]
/AliOS-Things-master/components/SDL2/src/image/external/jpeg-9b/
A Dtransupp.c1082 info->crop_width = info->output_width - info->crop_xoffset; in jtransform_request_workspace()
1089 info->crop_xoffset > info->crop_width - info->output_width) in jtransform_request_workspace()
1094 info->crop_xoffset > info->output_width - info->crop_width) in jtransform_request_workspace()
1101 info->crop_height = info->output_height - info->crop_yoffset; in jtransform_request_workspace()
1108 info->crop_yoffset > info->crop_height - info->output_height) in jtransform_request_workspace()
1113 info->crop_yoffset > info->output_height - info->crop_height) in jtransform_request_workspace()
1121 xoffset = info->crop_width - info->output_width - info->crop_xoffset; in jtransform_request_workspace()
1123 xoffset = info->output_width - info->crop_width - info->crop_xoffset; in jtransform_request_workspace()
1142 info->crop_width > info->output_width) in jtransform_request_workspace()
1143 info->output_width = info->crop_width; in jtransform_request_workspace()
[all …]
/AliOS-Things-master/components/drivers/core/fbdev/include/
A Dfb.h142 int (*fb_open)(fb_info_t *info, int user);
143 int (*fb_release)(fb_info_t *info, int user);
154 int (*fb_blank)(int blank, fb_info_t *info);
160 int (*fb_set_par)(struct fb_info *info);
166 int (*fb_sync)(fb_info_t *info);
185 void (*fb_destroy)(fb_info_t *info);
190 static inline void lock_fb_info(fb_info_t *info) in lock_fb_info() argument
200 aos_mutex_unlock(&info->lock); in unlock_fb_info()
213 int register_framebuffer(fb_info_t *info);
214 void unregister_framebuffer(fb_info_t *info);
[all …]
/AliOS-Things-master/components/SDL2/src/video/windows/
A DSDL_windowsframebuffer.c32 LPBITMAPINFO info; in WIN_CreateWindowFramebuffer() local
46 if (!info) { in WIN_CreateWindowFramebuffer()
50 SDL_memset(info, 0, size); in WIN_CreateWindowFramebuffer()
64 bpp = info->bmiHeader.biPlanes * info->bmiHeader.biBitCount; in WIN_CreateWindowFramebuffer()
65 masks = (Uint32*)((Uint8*)info + info->bmiHeader.biSize); in WIN_CreateWindowFramebuffer()
74 SDL_memset(info, 0, size); in WIN_CreateWindowFramebuffer()
76 info->bmiHeader.biPlanes = 1; in WIN_CreateWindowFramebuffer()
77 info->bmiHeader.biBitCount = 32; in WIN_CreateWindowFramebuffer()
78 info->bmiHeader.biCompression = BI_RGB; in WIN_CreateWindowFramebuffer()
83 info->bmiHeader.biWidth = window->w; in WIN_CreateWindowFramebuffer()
[all …]
/AliOS-Things-master/solutions/javascript_demo/ota_demo/
A Dota_4g.js14 var info = { class
49 info.url = res.url;
50 info.length = res.length;
52 info.version = res.version;
53 info.hash = res.hash;
57 url: info.url,
58 store_path: info.store_path
65 length: info.length,
66 hash_type: info.hashType,
67 hash: info.hash,
[all …]
A Dota_wifi.js17 var info = { class
55 info.url = res.url;
56 info.length = res.length;
58 info.version = res.version;
59 info.hash = res.hash;
63 url: info.url,
64 store_path: info.store_path
71 length: info.length,
72 hash_type: info.hashType,
73 hash: info.hash,
[all …]
/AliOS-Things-master/components/amp/example-js/
A Dota.js14 var info = { class
49 info.url = res.url;
50 info.length = res.length;
52 info.version = res.version;
53 info.hash = res.hash;
57 url: info.url,
58 store_path: info.store_path
65 length: info.length,
66 hash_type: info.hashType,
67 hash: info.hash,
[all …]
/AliOS-Things-master/components/littlevgl/src/lv_misc/
A Dlv_async.c41 lv_async_info_t *info = lv_mem_alloc(sizeof(lv_async_info_t)); in lv_async_call() local
43 if(info == NULL) in lv_async_call()
48 lv_task_t *task = lv_task_create(lv_async_task_cb, 0, LV_TASK_PRIO_HIGHEST, info); in lv_async_call()
51 lv_mem_free(info); in lv_async_call()
55 info->cb = async_xcb; in lv_async_call()
56 info->user_data = user_data; in lv_async_call()
59 task->user_data = info; in lv_async_call()
70 lv_async_info_t *info = (lv_async_info_t *)task->user_data; in lv_async_task_cb() local
72 info->cb(info->user_data); in lv_async_task_cb()
74 lv_mem_free(info); in lv_async_task_cb()
/AliOS-Things-master/components/SDL2/src/image/external/jpeg-9b/unused/
A Djmemname.c208 if (fseek(info->temp_file, file_offset, SEEK_SET)) in read_backing_store()
221 if (fseek(info->temp_file, file_offset, SEEK_SET)) in write_backing_store()
232 fclose(info->temp_file); /* close the file */ in close_backing_store()
233 unlink(info->temp_name); /* delete the file */ in close_backing_store()
238 TRACEMSS(cinfo, 1, JTRC_TFILE_CLOSE, info->temp_name); in close_backing_store()
250 select_file_name(info->temp_name); in jpeg_open_backing_store()
251 if ((info->temp_file = fopen(info->temp_name, RW_BINARY)) == NULL) in jpeg_open_backing_store()
253 info->read_backing_store = read_backing_store; in jpeg_open_backing_store()
254 info->write_backing_store = write_backing_store; in jpeg_open_backing_store()
255 info->close_backing_store = close_backing_store; in jpeg_open_backing_store()
[all …]
A Djmemdos.c293 select_file_name(info->temp_name); in open_file_store()
299 info->handle.file_handle = handle; in open_file_store()
300 info->read_backing_store = read_file_store; in open_file_store()
346 spec.src_handle = info->handle.xms_handle; in read_xms_store()
381 spec.dst_handle = info->handle.xms_handle; in write_xms_store()
405 ctx.dx = info->handle.xms_handle; in close_xms_store()
438 info->handle.xms_handle = ctx.dx; in open_xms_store()
439 info->read_backing_store = read_xms_store; in open_xms_store()
546 ctx.dx = info->handle.ems_handle; in close_ems_store()
583 info->handle.ems_handle = ctx.dx; in open_ems_store()
[all …]
A Djmemmac.c164 retVal = FSRead ( info->temp_file, &bytes, in read_backing_store()
182 retVal = FSWrite ( info->temp_file, &bytes, in write_backing_store()
192 FSClose ( info->temp_file ); in close_backing_store()
193 FSpDelete ( &(info->tempSpec) ); in close_backing_store()
241 strcpy ( (Ptr)fName+1, info->temp_name ); in jpeg_open_backing_store()
242 *fName = strlen (info->temp_name); in jpeg_open_backing_store()
257 info->tempSpec = theSpec; in jpeg_open_backing_store()
259 info->read_backing_store = read_backing_store; in jpeg_open_backing_store()
260 info->write_backing_store = write_backing_store; in jpeg_open_backing_store()
261 info->close_backing_store = close_backing_store; in jpeg_open_backing_store()
[all …]
/AliOS-Things-master/components/amp/jslib/src/
A Dlocation.js26 info.mac = mac;
27 info.ip = ip_addr;
28 info.rssi = rssi;
35 return info;
39 var info = { class in ADVANCED_LOCATION.getAccessedLbsInfo
49 info.cellid = cellid;
50 info.lac = lac;
51 info.mcc = mcc;
52 info.mnc = mnc;
53 info.signal = signal;
[all …]
/AliOS-Things-master/components/uvoice/media/
A Duvoice_format.c46 if (!data || !info) { in mp3_id3v1_parse()
64 memcpy(info->year, ptr, 4); in mp3_id3v1_parse()
68 info->valid = 1; in mp3_id3v1_parse()
70 info->name, in mp3_id3v1_parse()
71 info->author, in mp3_id3v1_parse()
72 info->album, info->year, info->type); in mp3_id3v1_parse()
134 info->name[j] = '\0'; in mp3_id3v2_parse()
160 info->album[j] = '\0'; in mp3_id3v2_parse()
173 info->year[j] = '\0'; in mp3_id3v2_parse()
242 media_info_t info; in mp3_format_check() local
[all …]

Completed in 92 milliseconds

12345678910>>...25