Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Method for implementing optimization of graph function applied in embedded development platform

A development platform and implementation method technology, applied in the direction of program control devices, etc., can solve the problems of low, irregular, and time-consuming Cache and TLB hit rates, and achieve the effects of offsetting system consumption, improving hit rates, and high symmetry

Inactive Publication Date: 2007-08-08
ZHEJIANG UNIV
View PDF0 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

That is, before the modification, A, B, and C are all executed by about 1 / 3. In this case, A, B, and C still need a lot of judgment when executing, which wastes a lot of time and is not efficient
At the same time, because the judgment of the three situations is irregular, the hit rate of Cache and TLB is relatively low

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method for implementing optimization of graph function applied in embedded development platform
  • Method for implementing optimization of graph function applied in embedded development platform

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0020] In conjunction with the accompanying drawings, the present invention will be described in detail below.

[0021] The present invention modifies the drawing algorithm according to the above-mentioned drawing process, performs a judgment in each step, has a branch, and then uses one of 16 specific line drawing functions to draw lines according to different branches. Include the following steps:

[0022] (1) Determine which line drawing function to use:

[0023] From attached drawing 2, we can see that, firstly, two points A(x1, y1) and B(x2, y2) should be initialized, and the distance between the abscissa and ordinate of A and B can be calculated. It is to calculate ax=|x2-x1|, ay=|y2-y1|, and then judge whether the two points A and B are within the holding range.

[0024] After the initialization is completed, judge the size of the abscissa of the two points A and B. According to the two results, it can be divided into two paths. The same judgment should be made for t...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention relates to the embedded software development graphics function field, and the optimization realization method for the embedded development platform graphics function. The method includes the following steps: (a) judging the selection of draw-line function: firstly calculating the distance between the abscissa and ordinate of point A and point B, and judging whether point A and point B within the rectangular; (2) judging the size of the abscissa of point A and point B, and analyzing the different results; (3) judging the size of the ordinate of point A and point B, and analyzing the different results; (4) judging the size of the abscissa and ordinate of point A, and analyzing the different results; (5) according to the coordinates location feedback value to judge, and using draw-line function to complete drawing. The method assures the cycle invariance during jumping, improving shooting rate; the realization of draw-line operation is more efficient than before optimization, eliminating a lot of cycling and jumping; since the average distribution of draw-line operations, it offsets the additional system consumption by two-level judgments.

Description

technical field [0001] The invention relates to the field of embedded software development graphic functions, more specifically, relates to an optimized realization method applied to embedded development platform graphic functions. Background technique [0002] At present, the drawing methods in the graphics function of the embedded development platform are mainly: [0003] QGfxRaster provides Qt with basic drawing functions, and is the parent of all drawing function classes. All drawing events will eventually lead to a QGfxRaster function call [2], these functions include drawText, drawPointUnclipped, drawPoint, drawLine, vline, drawThickPolyline, hline, hlineUnclipped, hImageLineUnclipped, hAlphaLineUnclipped, fillRect, drawPolyLine, drawPolygon, scroll, blt, stretchBlt, tiledBlt, etc. [0004] Qtopia performs well on the PC platform, but Qtopia's performance on the Intel XScale PXA 255 is not so good. After experimenting, the entire Qtopia startup took about 28 seconds....

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F9/44
Inventor 陈天洲张楠黄江伟郑臻炜
Owner ZHEJIANG UNIV
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products