Claims
- 1. A method of filtering samples to minimise coding artifacts introduced at a block boundary in a block-based video encoder, the method having the steps of:
(a) calculating a pair of indices used to access a table of a pair of corresponding activity threshold values, the indices calculated using an average quantization parameter and an offset parameter; (b) determining the activity threshold values based on the pair of indicies; (c) confirming whether the filtering process will modify the sample values on every line of samples for the block boundary by checking a content activity for the every line of samples for said block boundary, the content activity based on the determined activity threshold values; and (d) filtering the confirmed samples when a block on either side of the block boundary was coded using inter prediction.
- 2. The method of claim 1, wherein a pair of the activity threshold values are ALPHA (α) and BETA (β), and the average quantization parameter, QPav, was used in coding the two blocks that neighbour the block boundary.
- 3. The method of claim 2, wherein the values of the activity threshold values, ALPHA(α) and BETA (β) for each possible value of the indices IndexA and IndexB are
- 4. The method of claim 1, wherein the following equations are used to compute the filtered sample values at a second position from the block boundary on either side, denoted P1 and Q1, for a luminance component:
- 5. The method of claim 4, wherein the maximum change in the value of the samples that neighbour the block boundary, p0 and q0, due to the filtering process for chrominance components is computed as
C=C0+1.
- 6. A method of filtering according to claim 2, wherein a pair of the offset parameter is added to the average QP value, QPav, in order to compute the indices that are used to address the tables of ALPHA (α) and BETA (β) activity threshold values, such that
- 7. A method of filtering according to claim 4, wherein the value of the C0 parameter used for clipping the change in the sample values is computed using a value of IndexA of the indicies to address the table of C0 values.
- 8. A method of controlling filter properties to adjust the properties of said filter at a block boundary, said method having the steps of:
(a) computing an average quantization parameter value (QPav) at said block boundary, (b) adding offset values Filter_Offset_A and Filter_Offset_B to the average quantization parameter value QPav and clipping these values within a given range to determine table indices IndexA and IndexB; and (c) accessing an ALPHA (α) table, a BETA (β) table, and a Clipping (C0) table using the indices computed based on the filter offsets and the average quantization parameter value such that:
ALPHA=ALPHA_TABLE[IndexA]BETA=BETA_TABLE [IndexB]C0=CLIP_TABLE[BS][IndexA]
- 9. A method of filtering samples to minimise coding artifacts introduced at a block boundary in a block-based video encoder, the method having the steps of checking content activity on every line of samples belonging to the boundary to be filtered and determining whether the filtering process will modify the sample values on said line of samples based on content activity thresholds that are dependent on a quantization parameter and determined using a filter offset parameter.
Parent Case Info
[0001] (This is a Divisional of U.S. patent application Ser. No. 10/300,849 filed on Nov. 21, 2002.)
Divisions (1)
|
Number |
Date |
Country |
Parent |
10300849 |
Nov 2002 |
US |
Child |
10310059 |
Dec 2002 |
US |