Abstract:
A method for texture compressing images having a plurality of color components (R, G, B) includes the step of defining color representatives for use in encoding by defining groups of colors for each said color component (R,G,B), and selecting for each said group a representative color for the group, the median color being chosen as the representative color of the group. Each said group is preferably composed of 3 to 15 colors and the method includes the step of computing, for each group, an error between each member of the group and said representative color of the group. Typically, the error is computed as the sum of the absolute differences (SAD) between each member of the group and said representative color of the group. In order to select each said group and then extract therefrom said representative color, a criterium is used selected from the group consisting of:
selecting the group that minimizes said error by assuming each group comprised of the lower colors sorted in ascending order, wherein the same applies for the groups comprised of the higher colors, accruing the error as computed separately for two groups in all possible combinations and finding the minimum of the composite error.
Abstract:
Programs having a given instruction-set architecture (ISA) are executed on a multiprocessor system comprising a plurality of processors, for example of a VLIW type, each of said processors being able to execute, at each processing cycle, a respective maximum number of instructions. The instructions are compiled as instruction words of given length (L1 respectively L2) executable on a first processor (VLIW 1 respectively VLIW 2). At least some of the instruction words of given length are converted (IIU) into modified-instruction words executable on a second processor. The operation of modifying comprises in turn at least one operation chosen in the group consisting of:
splitting the instruction words into modified-instruction words; and entering no-operation (nop) instructions in the modified-instruction words.