Image processing device and method using adaptive offset filter in units of largest coding unit
AssigneeSony Corporation
InventorsHironari Sakurai, Ohji Nakagami, Takuya Kitamura, Yoichi Yagasaki
Life of this patent
Estimating the term…
Abstract
Aspects of the present disclosure provide an image processing device that includes circuitry configured to perform a decoding process on an encoded stream for generating an image. The encoded stream is arranged into largest coding units (LCUs), and filtering parameters applicable to each LCU are provided at a beginning portion of the corresponding LCU. The circuitry is further configured to perform adaptive offset filtering on portions of the image that correspond to the LCUs using the filtering parameters set at the beginning portions of the LCUs, respectively.
Claims15
An image processing device comprising:
- a memory;
- and
- a processor coupled to the memory and configured to:
- perform a decoding process on an encoded stream for generating an image, the encoded stream being arranged into largest coding units, filtering parameters applicable to each largest coding unit being set at a beginning portion within each largest coding unit;
- and
- perform adaptive offset filtering on portions of the image that correspond to the largest coding units using the filtering parameters set at the beginning portions of each largest coding units, including, for a current largest coding unit, the processor performing adaptive offset filtering being further configured to
- determine a type of adaptive filter offset and an offset in units of the largest coding unit,
- determine whether there is a matching offset stored in an offset buffer, a buffer type being an edge offset buffer or a band offset buffer based on the type of adaptive filter offset,
- perform a coefficient writing process in response to a determination that there is no matching offset stored in the offset buffer, wherein the processing circuitry for performing the coefficient writing process is further configured to
- determine whether the type index is edge offset or band offset,
- select the determined buffer, and
- write the offset to an available region closest to a beginning of the selected buffer,
- set a copy index indicating a position at which a matching coefficient is stored in the offset buffer in response to a determination that there is the matching offset stored in the offset buffer,
- write adaptive offset parameters to a header portion of the encoded stream in units of a largest coding unit, the adaptive offset parameters including the buffer type and the copy index, and
- perform the adaptive offset filtering on deblocked pixel values for each largest coding unit using the type of adaptive filter offset and the offset,
- when a first parameter of current filtering parameters set at a beginning portion within the current largest coding unit indicates that a filter setting for the current largest coding unit is provided in a previously processed largest coding unit that does not immediately precede the current largest coding unit in time, selecting from the memory a filter setting from a plurality of stored filter settings for previously processed largest coding units identified by a second parameter of the current filtering parameters as the filter setting for the current largest coding unit, and
- when the first parameter of the current filtering parameters indicates that the filter setting for the current largest coding unit is provided in the current filtering parameters, obtaining from the current filtering parameters the filter setting for the current largest coding unit.
An image processing method comprising:
- performing a decoding process on an encoded stream for generating an image, the encoded stream being arranged into largest coding units, filtering parameters applicable to each largest coding unit being set at a beginning portion within each largest coding unit;
- and
- performing, by an image processing device, adaptive offset filtering on portions of the image that correspond to the largest coding units using the filtering parameters set at the beginning portions of each largest coding units, including, for a current largest coding unit, wherein performing adaptive offset filtering further comprises
- determining a type of adaptive filter offset and an offset in units of the largest coding unit;
- determining whether there is a matching offset stored in an offset buffer, a buffer type being an edge offset buffer or a band offset buffer based on the type of adaptive filter offset;
- performing a coefficient writing process in response to a determination that there is no matching offset stored in the offset buffer, wherein performing the coefficient writing process includes
- determining whether the type index is edge offset or band offset;
- selecting the determined buffer;
- and
- writing the offset to an available region closest to a beginning of the selected buffer;
- setting a copy index indicating a position at which a matching coefficient is stored in the offset buffer in response to a determination that there is the matching offset stored in the offset buffer;
- writing adaptive offset parameters to a header portion of the encoded stream in units of a largest coding unit, the adaptive offset parameters including the buffer type and the copy index;
- and
- performing the adaptive offset filtering on deblocked pixel values for each largest coding unit using the type of adaptive filter offset and the offset;
- when a first parameter of current filtering parameters set at a beginning portion within the current largest coding unit indicates that a filter setting for the current largest coding unit is provided in a previously processed largest coding unit that does not immediately precede the current largest coding unit in time, selecting from the memory a filter setting from a plurality of stored filter settings for previously processed largest coding units identified by a second parameter of the current filtering parameters as the filter setting for the current largest coding unit, and
- when the first parameter of the current filtering parameters indicates that the filter setting for the current largest coding unit is provided in the current filtering parameters, obtaining from the current filtering parameters the filter setting for the current largest coding unit.
Dependencies are inferred from the claim text.