Patent ID: 8670634

Claim:
A non-transitory computer-readable storage medium containing instructions that when executed cause a computer to perform a method for image conversion, the method comprising: receiving a request from a client for one or more pixel buffers containing a converted version of an image representation; determining if the one or more pixel buffers can be obtained from a component that generates pixel buffers based, at least in part, on a predetermined source image representation type; obtaining the one or more pixel buffers from the component if it is determined that the component can provide the one or more pixel buffers; and if it is determined that the component cannot provide the one or more pixel buffers, then causing the component to: generate one or more intermediate pixel buffers; generate, by a second component, a sequence of converters to convert the one or more intermediate pixel buffers, wherein the generation of the sequence of converters comprises modeling a number of transfers between a CPU and a GPU and modeling a number of pixel touches in the sequence of converters; and call the sequence of converters to generate the one or more pixel buffers.