Patent ID: 9542760
Date: 2017-01-10
CPC Classifications: G06T,H04N

Claim:
1. A computer-implemented method for parallel decoding a Joint Photographic Experts Group (JPEG) image on a device, the method comprising: receiving a JPEG image, the JPEG image comprising image data and restart markers, wherein the restart markers comprise data embedded within the image data used to separate the image data into smaller sections of image data, and wherein positions of each of the restart markers in the image data correspond to a determined number of scan lines in decoded image data; receiving a header associated with the JPEG image, the header comprising: determining a number of cores included in a device; dividing the image data into at least a first section and a second section based on a number of the restart markers and the number of cores included in the device, the dividing further comprising determining a size of the image data included in the first section and the second section based on the number of cores and the number of restart markers; determining a first address for the first section and a second address for the second section, the first address indicating a first location in a buffer for storing first decoded data from the first section and the second address indicating a second location in the buffer for storing second decoded data from the second section; decoding the first section using a first core of the cores to generate the first decoded data; storing the first decoded data to the first location; decoding the second section using a second core of the cores to generate the second decoded data; and storing the second decoded data to the second location.