摘要:
A method of performing path rendering, includes acquiring information of vertexes in an object to be rendered in a frame, and calculating a winding number of a pixel in the frame, based on a relationship between a position of the pixel and a proceeding direction of a path connecting the vertexes. The method further includes determining whether to assign a color to the pixel, based on the winding number.
摘要:
A method of performing path rendering, includes acquiring information of vertexes in an object to be rendered in a frame, and calculating a winding number of a pixel in the frame, based on a relationship between a position of the pixel and a proceeding direction of a path connecting the vertexes. The method further includes determining whether to assign a color to the pixel, based on the winding number.
摘要:
A format conversion apparatus which converts image data of a band interleave format into image data of a band separate format is provided. The apparatus includes a memory which stores image data of a band interleave format; and a converting module which reads the memory by increasing a read address of the memory for each stride, and converts the image data of the band interleave format into image data of a band separate format.
摘要:
A memory access method includes: obtaining a, b, and c from a program code for accessing a memory with a triple loop in a program, a being a number of values which an inner-most loop variable of the triple loop may have, b being a number of values which a middle loop variable of the triple loop may have, and c being a number of values which an outer-most loop variable of the triple loop may have; obtaining a starting address of the memory accessed by the triple loop; and obtaining an a x b x c number of addresses of the memory accessed by the triple loop using the starting address and a function.
摘要:
A memory access method includes: obtaining a, b, and c from a program code for accessing a memory with a triple loop in a program, a being a number of values which an inner-most loop variable of the triple loop may have, b being a number of values which a middle loop variable of the triple loop may have, and c being a number of values which an outer-most loop variable of the triple loop may have; obtaining a starting address of the memory accessed by the triple loop; and obtaining an a x b x c number of addresses of the memory accessed by the triple loop using the starting address and a function.
摘要翻译:存储器访问方法包括:从程序中用于访问具有三重循环的存储器的程序代码获得a,b和c,其是三重循环的最内循环变量可以具有的数量,b 是三重环路的中间环路变量可能具有的数值,c是三重环路的最外环路变量可能具有的值的数量; 获取由三重循环访问的存储器的起始地址; 以及使用起始地址和功能获得由三重回路访问的存储器的x b x c个地址数。