# US 2008/0304770 A1 · Method and apparatus for managing image-processing operations

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2008/0304770 A1
- Document ID: US20080304770A1
- Status: Published application
- Kind: A1
- Application number: 11/811,117
- Filed: 2007-06-08
- Published: 2008-12-11
- Earliest claimed: 2007-06-08
- Assignees: Apple Inc.
- Inventors: Pierre-Olivier Latour; Kevin Quennesson
- Web page: https://patentgrep.com/patent/US20080304770A1

## CPC

- H04N 19/40: using video transcoding, i.e. partial or full decoding of a coded input stream followed by re-encoding of the decoded output stream
- G06T 3/4092: Image resolution transcoding, e.g. by using client-server architectures
- H04N 19/46: Embedding additional information in the video signal during the compression process (H04N19/517, H04N19/68, H04N19/70 take precedence)
- H04N 21/2343: involving reformatting operations of video signals for distribution or compliance with end-user requests or end-user device requirements {(video transcoding H04N19/40; media packet handling at the source H04L65/762)}
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL

## Abstract

Embodiments of the present invention provide a system for performing image conversion operations. The system starts by receiving a request from a client for one or more pixel buffers containing a pixel-formatted, cropped, geometrically transformed, and/or color matched version of an image representation. The system then determines if a provider can provide the one or more pixel buffers. If so, the system calls the provider to generate the one or more pixel buffers containing the pixel-formatted, cropped, geometrically transformed, and/or color matched version of the image representation. Otherwise, the system calls the provider to generate one or more intermediate pixel buffers, generates a sequence of converters for converting the one or more intermediate pixel buffers, and calls the sequence of converters to generate the one or more pixel buffers containing the pixel-formatted, cropped, geometrically transformed, and/or color matched version of the image representation.

## Claims

### Claim 1

A 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 pixel-formatted, cropped, geometrically transformed, and/or color matched version of an image representation;
determining if a provider can provide the one or more pixel buffers with the pixel formatting, cropping, geometric transformation, and/or color matching from the image representation;
if so, calling the provider to generate the one or more pixel buffers containing the pixel-formatted, cropped, geometrically transformed, and/or color matched version of the image representation; and
otherwise, calling the provider to generate one or more intermediate pixel buffers, generating a sequence of converters for converting the one or more intermediate pixel buffers, and calling the sequence of converters to generate the one or more pixel buffers containing the pixel-formatted, cropped, geometrically transformed, and/or color matched version of the image representation.

### Claim 2 (depends on 1)

The computer-readable storage medium of claim 1, wherein the image representation is a procedural image, a non-procedural image, a static image, an animated image, or another form of image representation, and the pixel buffer is a CPU buffer or a GPU buffer.

### Claim 3 (depends on 1)

The computer-readable storage medium of claim 1, wherein the method further comprises:
receiving a new image-provider or image-converter and a registration command for the new image-provider or image-converter;
registering the image-provider or image-converter; and
using the registered image-provider or image-converter for subsequent image conversions.

### Claim 4 (depends on 3)

The computer-readable storage medium of claim 3, wherein the method further comprises:
before registering the image-provider or image-converter, comparing the new image-provider or image-converter to a corresponding image-provider protocol or image-converter protocol; and
rejecting the image-provider or image-converter if the image-provider or image-converter does not correspond to the corresponding image-provider protocol or image-converter protocol.

### Claim 5 (depends on 1)

The computer-readable storage medium of claim 1, wherein receiving a request from a client involves receiving a request from an application or from an operating system.

### Claim 6

A 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 to generate an image in second representation from an image in a first representation;
determining if an exporter can generate the second image representation from the first image representation;
if so, calling the exporter to generate the second image representation from the first image representation;
otherwise, determining if a provider can use the first image representation to generate one or more pixel buffers, from which an exporter can generate the second image representation;
if so, calling the provider to generate the one or more pixel buffers and calling the exporter to generate the second image representation from the one or more pixel buffers; and
otherwise, calling the provider to generate one or more intermediate pixel buffers, generating a sequence of converters for converting the one or more intermediate pixel buffers, calling the sequence of converters convert the one or more intermediate pixel buffers, and calling the exporter to generate the second image representation from the one or more pixel buffers.

### Claim 7 (depends on 6)

The computer-readable storage medium of claim 6, wherein generating an image in a second representation from the image in the first representation involves performing pixel formatting, cropping, geometric transformation, and/or color matching on the image representation.

### Claim 8 (depends on 6)

The computer-readable storage medium of claim 6, wherein the method further comprises:
receiving a new image-provider, image-converter, or image-exporter, and a registration command for the new image-provider, image-converter, or image-exporter;
registering the image-provider, image-converter, or image-exporter; and
using the registered image-provider, image-converter, or image-exporter for subsequent image conversions.

### Claim 9 (depends on 8)

The computer-readable storage medium of claim 8, wherein the method further comprises:
before registering the image-provider, image-converter, or image-exporter, comparing the new image-provider, image-converter, or image-exporter to a corresponding image-provider protocol, image-converter protocol, or image-exporter protocol; and
rejecting the image-provider, image-converter, or image-exporter if the image-provider, image-converter, or image-exporter does not correspond to the corresponding image-provider protocol, image-converter protocol, or image-exporter protocol.

### Claim 10 (depends on 6)

The computer-readable storage medium of claim 6, wherein the first image representation is a procedural image, a non-procedural image, a static image, an animated image, or another form of image representation, and wherein the second image representation is a procedural image, a non-procedural image, a static image, an animated image, or another form of image representation.

### Claim 11 (depends on 6)

The computer-readable storage medium of claim 6, wherein receiving a request from a client involves receiving a request from an application or from an operating system.

### Claim 12

An apparatus for performing image conversions, comprising:
a processor;
an execution mechanism on the processor;
wherein the execution mechanism is configured to:
receive a request from a client for one or more pixel buffers containing a pixel-formatted, cropped, geometrically transformed, and/or color matched version of an image representation;
determine if a provider can provide the one or more pixel buffers with the pixel formatting, cropping, geometric transformation, and/or color matching from the image representation;
if so, call the provider to generate the one or more pixel buffers containing the pixel-formatted, cropped, geometrically transformed, and/or color matched version of the image representation; and
otherwise, call the provider to generate one or more intermediate pixel buffers, generating a sequence of converters for converting the one or more intermediate pixel buffers, and calling the sequence of converters to generate the one or more pixel buffers containing the pixel-formatted, cropped, geometrically transformed, and/or color matched version of the image representation.

### Claim 13 (depends on 12)

The apparatus of claim 12, wherein the execution mechanism is configured so that the image representation is a procedural image, a non-procedural image, a static image, an animated image, or another form of image representation, and the pixel buffer is a CPU buffer or a GPU buffer.

### Claim 14 (depends on 12)

The apparatus of claim 12, wherein the execution mechanism is configured to:
receive a new image-provider or image-converter and a registration command for the new image-provider or image-converter;
register the image-provider or image-converter; and
use the registered image-provider or image-converter for subsequent image conversions.

### Claim 15 (depends on 14)

The apparatus of claim 14, wherein the execution mechanism is configured to:
before registering the image-provider or image-converter, compare the new image-provider or image-converter to a corresponding image-provider protocol or image-converter protocol; and
reject the image-provider or image-converter if the image-provider or image-converter does not correspond to the corresponding image-provider protocol or image-converter protocol.

### Claim 16 (depends on 12)

The apparatus of claim 12, wherein when receiving a request from a client, the execution mechanism is configured to receive a request from an application or from an operating system.

### Claim 17

An apparatus for performing image conversions, comprising:
a processor;
an execution mechanism on the processor;
wherein the execution mechanism is configured to:
receive a request from a client to generate an image in second representation from an image in a first representation;
determine if an exporter can generate the second image representation from the first image representation;
if so, call the exporter to generate the second image representation from the first image representation;
otherwise, determine if a provider can use the first image representation to generate one or more pixel buffers, from which an exporter can generate the second image representation;
if so, call the provider to generate the one or more pixel buffers and calling the exporter to generate the second image representation from the one or more pixel buffers; and <otherwise, call the provider to generate one or more intermediate pixel buffers, generate a sequence of converters for converting the one or more intermediate pixel buffers, call the sequence of converters convert the one or more intermediate pixel buffers, and call the exporter to generate the second image representation from the one or more pixel buffers.

### Claim 18 (depends on 17)

The apparatus of claim 17, wherein when generating an image in a second representation from the image in the first representation, the execution mechanism is configured to perform pixel formatting, cropping, geometric transformation, and/or color matching on the image representation.

### Claim 19 (depends on 17)

The apparatus of claim 17, wherein the execution mechanism is configured to:
receive a new image-provider, image-converter, or image-exporter, and a registration command for the new image-provider, image-converter, or image-exporter;
register the image-provider, image-converter, or image-exporter; and
use the registered image-provider, image-converter, or image-exporter for subsequent image conversions.

### Claim 20 (depends on 19)

The apparatus of claim 19, wherein the execution mechanism is configured to:
before registering the image-provider, image-converter, or image-exporter, compare the new image-provider, image-converter, or image-exporter to a corresponding image-provider protocol, image-converter protocol, or image-exporter protocol; and
reject the image-provider, image-converter, or image-exporter if the image-provider, image-converter, or image-exporter does not correspond to the corresponding image-provider protocol, image-converter protocol, or image-exporter protocol.

### Claim 21 (depends on 17)

The apparatus of claim 17, wherein the execution mechanism is configured so that the first image representation is a procedural image, a non-procedural image, a static image, an animated image, or another form of image representation, and wherein the second image representation is a procedural image, a non-procedural image, a static image, an animated image, or another form of image representation.

### Claim 22 (depends on 17)

The apparatus of claim 17, wherein when receiving a request from a client, the execution mechanism is configured to receive a request from an application or from an operating system.

### Claim 23

A method for image conversion, comprising:
receiving a request from a client for one or more pixel buffers containing a pixel-formatted, cropped, geometrically transformed, and/or color matched version of an image representation;
determining if a provider can provide the one or more pixel buffers with the pixel formatting, cropping, geometric transformation, and/or color matching from the image representation;
if so, calling the provider to generate the one or more pixel buffers containing the pixel-formatted, cropped, geometrically transformed, and/or color matched version of the image representation; and
otherwise, calling the provider to generate one or more intermediate pixel buffers, generating a sequence of converters for converting the one or more intermediate pixel buffers, and calling the sequence of converters to generate the one or more pixel buffers containing the pixel-formatted, cropped, geometrically transformed, and/or color matched version of the image representation.

### Claim 24 (depends on 23)

The method of claim 23, wherein the image representation is a procedural image, a non-procedural image, a static image, an animated image, or another form of image representation, and the pixel buffer is a CPU buffer or a GPU buffer.

### Claim 25 (depends on 23)

The method of claim 23, wherein the method further comprises:
receiving a new image-provider or image-converter and a registration command for the new image-provider or image-converter;
registering the image-provider or image-converter; and
using the registered image-provider or image-converter for subsequent image conversions.

### Claim 26 (depends on 25)

The method of claim 25, wherein the method further comprises:
before registering the image-provider or image-converter, comparing the new image-provider or image-converter to a corresponding image-provider protocol or image-converter protocol; and
rejecting the image-provider or image-converter if the image-provider or image-converter does not correspond to the corresponding image-provider protocol or image-converter protocol.

### Claim 27 (depends on 23)

The method of claim 23, wherein receiving a request from a client involves receiving a request from an application or from an operating system.

### Claim 28

A method for image conversion, the method comprising:
receiving a request from a client to generate an image in second representation from an image in a first representation;
determining if an exporter can generate the second image representation from the first image representation;
if so, calling the exporter to generate the second image representation from the first image representation;
otherwise, determining if a provider can use the first image representation to generate one or more pixel buffers, from which an exporter can generate the second image representation;
if so, calling the provider to generate the one or more pixel buffers and calling the exporter to generate the second image representation from the one or more pixel buffers; and
otherwise, calling the provider to generate one or more intermediate pixel buffers, generating a sequence of converters for converting the one or more intermediate pixel buffers, calling the sequence of converters convert the one or more intermediate pixel buffers, and calling the exporter to generate the second image representation from the one or more pixel buffers.

### Claim 29 (depends on 28)

The method of claim 28, wherein generating an image in a second representation from the image in the first representation involves performing pixel formatting, cropping, geometric transformation, and/or color matching on the image representation.

### Claim 30 (depends on 28)

The method of claim 28, wherein the method further comprises:
receiving a new image-provider, image-converter, or image-exporter, and a registration command for the new image-provider, image-converter, or image-exporter;
registering the image-provider, image-converter, or image-exporter; and
using the registered image-provider, image-converter, or image-exporter for subsequent image conversions.

### Claim 31 (depends on 30)

The method of claim 30, wherein the method further comprises:
before registering the image-provider, image-converter, or image-exporter, comparing the new image-provider, image-converter, or image-exporter to a corresponding image-provider protocol, image-converter protocol, or image-exporter protocol; and
rejecting the image-provider, image-converter, or image-exporter if the image-provider, image-converter, or image-exporter does not correspond to the corresponding image-provider protocol, image-converter protocol, or image-exporter protocol.

### Claim 32 (depends on 28)

The method of claim 28, wherein the first image representation is a procedural image, a non-procedural image, a static image, an animated image, or another form of image representation, and wherein the second image representation is a procedural image, a non-procedural image, a static image, an animated image, or another form of image representation.

### Claim 33 (depends on 28)

The method of claim 28, wherein receiving a request from a client involves receiving a request from an application or from an operating system.
