发明名称 |
Method and device for processing 2D graphics |
摘要 |
A method of processing 2D graphics comprising generating a perspective projection of a 2D graphics by scaling the 2D graphics with a variable ratio, wherein scaling the 2D graphics with the variable ratio comprises interpolating the graphics with a filter, such that a point xp in the perspective projection is generated from a point x0 in the 2D graphics with a following equation x0=1/R(j)*xp+Ph(j), wherein j represents a line index of the point x0, 1/R(j) represents a scaling factor of a length in the 2D graphics versus a length in the perspective projection, and Ph(j) represents a phase shift. |
申请公布号 |
US9478005(B2) |
申请公布日期 |
2016.10.25 |
申请号 |
US201414295362 |
申请日期 |
2014.06.04 |
申请人 |
MONTAGE TECHNOLOGY (SHANGHAI) CO., LTD. |
发明人 |
Huang Xiaodong;Zhou Chengmei |
分类号 |
G09G5/00;G06T3/00;G06T3/60;G06T3/40;G06T15/20 |
主分类号 |
G09G5/00 |
代理机构 |
Perkins Coie LLP |
代理人 |
Perkins Coie LLP |
主权项 |
1. A method comprising:
retrieving, by a reading module, a 2D graphics from a first address of a memory module in sequence; generating, by a scaling module, a perspective projection of the 2D graphics by scaling the 2D graphics with a variable ratio in one direction so as to generate an perspective effect, wherein the 2D graphics comprises a plurality of points x0, wherein scaling the 2D graphics with the variable ratio comprises
interpolating each point x0 in the graphics with a filter, such that a point xp in the perspective projection is generated from the point x0 in the 2D graphics with a following equation x0=1/R(j)*xp+Ph(j), wherein j represents a line index of the point x0, 1/R(j) represents a scaling factor of a length in the 2D graphics versus a length in the perspective projection, and Ph(j) represents a phase shift;for each point x0 in the 2D graphics, repeating interpolating operation; and outputting, by a writing module, the generated perspective projection of the 2D graphic into a second address of the memory module, wherein the first address is different from the second address. |
地址 |
Shanghai CN |