CN102186086A - Audio-video-coding-standard (AVS)-based intra-frame prediction method - Google Patents
Audio-video-coding-standard (AVS)-based intra-frame prediction method Download PDFInfo
- Publication number
- CN102186086A CN102186086A CN2011101681302A CN201110168130A CN102186086A CN 102186086 A CN102186086 A CN 102186086A CN 2011101681302 A CN2011101681302 A CN 2011101681302A CN 201110168130 A CN201110168130 A CN 201110168130A CN 102186086 A CN102186086 A CN 102186086A
- Authority
- CN
- China
- Prior art keywords
- pixel
- piece
- pattern
- mode
- sub
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Images
Landscapes
- Compression Or Coding Systems Of Tv Signals (AREA)
Abstract
The invention discloses a novel audio-video-coding-standard (AVS)-based two-way intra-frame prediction method. In the novel two-way intra-frame prediction method, the weighted sum of pixel values calculated by any two intra-frame prediction modes in an AVS is calculated to obtain final two-way intra-frame predicted pixel values. The method comprises the following steps of: first adding a reverse scanning sequence on the basis of AVS raster scanning; then adding the intra-frame prediction modes corresponding to reverse scanning, and calculating the weighted sum of any two of the newly added intra-frame prediction modes corresponding to the reverse scanning to obtain the two-way intra-frame predicted pixel values corresponding to the reverse scanning; and finally selecting an optimal intra-frame prediction mode from all intra-frame prediction and two-way intra-frame prediction modes corresponding to the raster scanning and the reverse scanning by utilizing a sum of absolute errors (SAE) standard. By the novel two-way intra-frame prediction method provided by the invention, coding performance is further improved, and the shortcomings of relatively fewer intra-frame prediction modes and relatively lower prediction efficiency in the AVS are overcome.
Description
Technical field
The present invention relates to a kind of intra-frame prediction method, especially relate to a kind of intra-frame prediction method based on AVS.
Background technology
AVS (Audio Video coding Standard) is autonomous first advanced audio/video encoding and decoding technique standard formulated of China.AVS1-P2 is the video section in the AVS standard, the formal granted national standard in 2006, the major technique that the AVS1-P2 standard improves code efficiency comprises: 8 * 8 integer transforms, quantification, infra-frame prediction, 1/4 precision pixels interpolation, inter prediction motion compensation, entropy coding, the interior filtering of deblocking effect ring etc.Decoded pixel in infra-frame prediction utilization and the present encoding piece adjacent block is predicted each pixel of present encoding piece, thereby the redundancy on the removal of images spatial domain is one of most important technological means that improves code efficiency.The infra-frame prediction of AVS has defined the multiple predictive mode of representing the different texture direction.The infra-frame prediction of brightness and colourity is a least unit with 8 * 8 all, and luminance block adopts 5 kinds of predictive modes, and chrominance block adopts 4 kinds of predictive modes.
Redundancy on the further removal of images spatial domain improves infra-frame prediction efficient, and a lot of scholars have submitted relevant AVS motion to.Zhang Nan has proposed the infra-frame prediction scheme based on the neighbor prediction in AVS motion in 2003.64 pixel values in 8 * 8 are pressed the target parity be divided into even piece, the strange piece of idol, parity block and Chi Chi piece four classes, elder generation's antithesis idol piece carries out the AVS infra-frame prediction, utilizes the even piece pixel value of decoded idol to predict that successively Chi Chi, idol are strange, the pixel value of parity block then.Precision of prediction is not increased to 4 * 4 piece increasing on the basis of overhead bit, but this method improves infra-frame prediction efficient not yet in effectly.2003, Zhang Peng etc. proposed multi-mode infra-frame prediction scheme.Adopt H.264/AVC 9 kinds of standard frame inner estimation modes of coding standard at I 8 * 8 encoding blocks, and increased by 8 kinds of interpolation patterns on this basis, 4 kinds of multiple row/row average modes are cut apart pattern and 2 kinds of new diagonally opposing corner patterns for 2 kinds, and this method computation complexity is too high.2007, Chen Jiazhong etc. proposed a kind of weighting intra-frame prediction method.The pixel that the current predict pixel of distance on level in the adjacent block and the vertical direction is nearest is distributed different weights according to current pixel with the distance between the reference pixel as a reference, is weighted summation, obtains a kind of new weighting intra prediction mode.This method has only increased a spot of computation complexity, but does not take into full account the abundant grain direction information of coded image.
Summary of the invention
The present invention mainly is that intra prediction mode is less in the solution existing in prior technology AVS standard, has the multifarious image of grain direction at content, the low technical problem that waits of forecasting efficiency; A kind of AVS based on reverse scan is provided two-way intra-frame prediction method, has increased the intra prediction mode in the multiple AVS video coding, thereby improved infra-frame prediction efficient.
Above-mentioned technical problem of the present invention is mainly solved by following technical proposals:
A kind of intra-frame prediction method based on AVS, described AVS standard adopts the change quantization technology based on 8 * 8 sub-pieces, minimal processing unit in the AVS standard is 8 * 8 sub-pieces, define top macro block, left macro block, upper left side macro block respectively at 8 * 8 sub-pieces, sub-piece UL, sub-piece UR, sub-piece BL, sub-piece BR; And in the definition top macro block adjacent with the present encoding piece encoded pixels be H (i), (i=0,1 ..., n), in the left macro block adjacent with the present encoding piece decoded pixel be V (i), (i=0,1, ..., n), in the upper left side macro block adjacent with the present encoding piece decoded pixel be P
0, BR piece and UR piece adjacent position to be encoded 8 decoded pixel be (a, b ..., h), BR, UR piece and BL piece adjacent position to be encoded 16 decoded pixel be (a
0, b
0..., o
0, p), the decoded pixel of BR, UR, BL piece and UL piece adjacent position to be encoded is respectively i
0, (a
0, b
0..., h
0), (a
1, b
1..., h
1), it is characterized in that, may further comprise the steps:
Step 2, the validity of judgement reference pixel, just whether the pixel in the contiguous block of coded sub-blocks is effectively available promptly to judge each, at the order of the reverse scan in the step 1, increased the judgement to present encoding piece below and right-hand middle neighborhood pixels availability; Promptly judge the effective AVS of sub-piece normative forecast pattern to be encoded;
Step 5 increases the bidirectional frame inner estimation mode, and the bidirectional frame inner estimation mode that is about in the step 4 adds in the existing intra prediction mode of AVS.
At above-mentioned a kind of intra-frame prediction method based on AVS, in the step of stating 1, the reverse scan order to sub-piece BL, scans sub-piece UL by sub-piece UR by from sub-piece BR to sub-piece UR at last.
At above-mentioned a kind of intra-frame prediction method based on AVS, in the described step 2, at reverse scan, according to the coded sequence of reverse scan, the below or the right-hand pixel of separating numeral piece and current sub-piece to be encoded adjacent position that are arranged in the sub-piece of present encoding also participate in prediction:
For sub-piece BR, reference pixel is above-mentioned H (i), (i=0~15), V (i), (i=0~15) and P
0
For sub-piece UR, reference pixel removes above-mentioned H (i), (i=0~15), V (i), (i=0~7) and P
0Outward, also comprise adjacent in the BR piece with UR piece 8 decoded pixel (a, b ..., h);
For sub-piece BL, reference pixel removes above-mentioned H (i), (i=0~7), V (i) (i=0~15) and P
0Also comprise in UR, the BR piece respectively 8 pixel (a with BL piece adjacent position outward,
0, b
0..., h
0), (i
0, j
0..., o
0, p);
For sub-piece UL, reference pixel removes above-mentioned H (i), (i=0~7), V (i), (i=0~7) and P
0Also comprise in UR, the BL piece respectively and 8 pixels of UL piece adjacent position and the upper left pixel (a of BR piece and UL piece adjacent position outward,
0, b
0..., h
0), (a
1, b
1..., h
1), i
0
At above-mentioned a kind of intra-frame prediction method based on AVS, in the described step 3, the intra prediction mode concrete operation method that the reverse scan correspondence increases newly is as follows:
For sub-piece UR predictive mode:
Defining mode 0 respectively: reference pixel is decoded 8 pixel a, b ..., h, the predict pixel of this pattern is by a, b ..., h vertically releases;
Difference defining mode 1: be AVS standard frame inner estimation mode;
Difference defining mode 2: reference pixel relates to pixel a, b ..., h, V (i), (i=0~7), a, b ..., h and H (i), (i=8~15), the predict pixel of this pattern is released by decoded pixel weighted average in the above-mentioned reference pixel;
Difference defining mode 3: reference pixel is pixel a, b ..., h and V (i), (i=0~7), the predict pixel of this pattern is by decoded pixel weighted average gained in the reference pixel;
Difference defining mode 4: reference pixel is pixel a, b ..., h, the predict pixel of this pattern is by the pixel weighted average gained to decode in the reference pixel;
For sub-piece BL predictive mode:
Difference defining mode 0: be AVS standard frame inner estimation mode;
Difference defining mode 1: reference pixel is decoded pixel (i
0, j
0..., o
0, p), the predict pixel of this pattern is by (i
0, j
0..., o
0, p) level is released;
Difference defining mode 2: reference pixel relates to pixel (a
0, b
0..., h
0), (i
0, j
0..., o
0, p), H (i), (i=8~15) and P
0, the predict pixel of this pattern is released by decoded pixel weighted average in the reference pixel;
Difference defining mode 3: reference pixel is (a
0, b
0..., h
0) and (i
0, j
0..., o
0, p), the predict pixel of this pattern is released by decoded pixel weighted average in the reference pixel;
Difference defining mode 4: reference pixel is (i
0, j
0..., o
0, p), the predict pixel of this pattern has decoded pixel weighted average release in the reference pixel;
For sub-piece UL predictive mode:
Difference defining mode 0: reference pixel is decoded pixel (a
1, b
1..., h
1), the predict pixel of this pattern is by (a
1, b
1..., h
1) the vertical release;
Difference defining mode 1: reference pixel is decoded pixel (a
0, b
0..., h
0), the predict pixel of this pattern is by (a
0, b
0..., h
0) the level release;
Difference defining mode 2: reference pixel relates to pixel (a
0, b
0..., h
0), (a
1, b
1..., h
1), H (i), (i=0~7), V (i), (i=0~7), P
0And i
0, the predict pixel of this pattern by in decoded pixel weighted average release;
Difference defining mode 3: reference pixel is H (i), (i=0~7) and (a
1, b
1..., h
1), the predict pixel of this pattern is released by decoded pixel weighted average in the reference pixel;
Difference defining mode 4: reference pixel is V (i), (i=0~7) and (a
0, b
0..., h
0), the predict pixel of this pattern is released by decoded pixel weighted average in the reference pixel.
At above-mentioned a kind of intra-frame prediction method based on AVS, in the described step 4, the pixel of two-way infra-frame prediction is obtained by the weighted sum of the prediction on intra-frame prediction mode value of any two combinations, and the specific implementation step is shown in (1) formula:
S
bipred=(w
a·S
a+((1<<Shift)-w
a)·S
b+(1<<(Shift)))>>Shift
(1)
S wherein
a, S
bBe the AVS normative forecast Mode A of each pixel and the predicted value of B pattern, Shift moves to left or the shifter factor of right-shift operation w
aBe the predictive coefficient of predictive mode A, ((1<<Shift)-w
a) be the predictive coefficient of predictive mode B, w
aWhen predicting each 8 * 8, be provided with according to the distance between reference pixel and the present encoding pixel.
At above-mentioned a kind of intra-frame prediction method based on AVS, in the described step 5, the bi-predictive mode that the sub-piece of each present encoding increases newly is defined as, pattern 5: pattern 0 and pattern 1 by definition in the step 3 are carried out bi-directional predicted drawing according to step 4, pattern 6: pattern 0 and pattern 2 by definition in the step 3 are carried out bi-directional predicted drawing according to step 4, mode 7: pattern 1 and pattern 2 by definition in the step 3 are carried out bi-directional predicted drawing according to step 4, pattern 8: pattern 0 and mode 3 by definition in the step 3 carry out bi-directional predicted drawing according to step 4, pattern 9: pattern 1 and mode 3 by definition in the step 3 carry out bi-directional predicted drawing according to step 4, pattern 10: pattern 2 and mode 3 by definition in the step 3 carry out bi-directional predicted drawing according to step 4, pattern 11: pattern 0 and pattern 4 by definition in the step 3 are carried out bi-directional predicted drawing according to step 4, pattern 12: pattern 1 and pattern 4 by definition in the step 3 are carried out bi-directional predicted drawing according to step 4, pattern 13: pattern 2 and pattern 4 by definition in the step 3 are carried out bi-directional predicted drawing according to step 4, pattern 14: mode 3 and pattern 4 by definition in the step 3 are carried out bi-directional predicted drawing according to step 4.
Therefore, the present invention has following advantage: increased the intra prediction mode in the multiple AVS video coding, thereby improved infra-frame prediction efficient.
Description of drawings
Fig. 1 is reverse scan coded sequence figure among the present invention;
Fig. 2 is the intra prediction mode that increases at reverse scan;
Fig. 3 is specific embodiments of the invention.
Embodiment
Below by embodiment, and in conjunction with the accompanying drawings, technical scheme of the present invention is described in further detail.
Embodiment:
A kind of intra-frame prediction method based on AVS, the AVS standard adopts the change quantization technology based on 8 * 8 sub-pieces, and the minimal processing unit in the AVS standard is 8 * 8 sub-pieces, defines the top macro block respectively at 8 * 8 sub-pieces, the left macro block, upper left side macro block, sub-piece UL, sub-piece UR, sub-piece BL, sub-piece BR; And in the definition top macro block adjacent with the present encoding piece encoded pixels be H (i), (i=0,1 ..., n), in the left macro block adjacent with the present encoding piece decoded pixel be V (i), (i=0,1, ..., n), in the upper left side macro block adjacent with the present encoding piece decoded pixel be P
0, BR piece and UR piece adjacent position to be encoded 8 decoded pixel be (a, b ..., h), BR, UR piece and BL piece adjacent position to be encoded 16 decoded pixel be (a
0, b
0..., o
0, p), the decoded pixel of BR, UR, BL piece and UL piece adjacent position to be encoded is respectively i
0, (a
0, b
0..., h
0), (a
1, b
1..., h
1), may further comprise the steps:
Step 2, the validity of judgement reference pixel, just whether the pixel in the contiguous block of coded sub-blocks is effectively available promptly to judge each, at the order of the reverse scan in the step 1, increased the judgement to present encoding piece below and right-hand middle neighborhood pixels availability; Promptly judge the effective AVS of sub-piece normative forecast pattern to be encoded, for reverse scan, according to the coded sequence of reverse scan, the below or the right-hand pixel of separating numeral piece and current sub-piece to be encoded adjacent position that are arranged in the sub-piece of present encoding also participate in prediction:
For sub-piece BR, reference pixel is above-mentioned H (i), (i=0~15), V (i), (i=0~15) and P
0
For sub-piece UR, reference pixel removes above-mentioned H (i), (i=0~15), V (i), (i=0~7) and P
0Outward, also comprise adjacent in the BR piece with UR piece 8 decoded pixel (a, b ..., h);
For sub-piece BL, reference pixel removes above-mentioned H (i), (i=0~7), V (i), (i=0~15) and P
0Also comprise in UR, the BR piece respectively 8 pixel (a with BL piece adjacent position outward,
0, b
0..., h
0), (i
0, j
0..., o
0, p);
For sub-piece UL, reference pixel removes above-mentioned H (i), (i=0~7), V (i), (i=0~7) and P
0Also comprise in UR, the BL piece respectively and 8 pixels of UL piece adjacent position and the upper left pixel (a of BR piece and UL piece adjacent position outward,
0, b
0..., h
0), (a
1, b
1..., h
1), i
0
For sub-piece UR predictive mode, as following table:
That is:
Defining mode 0 respectively: reference pixel is decoded 8 pixel a, b ..., h, the predict pixel of this pattern is by a, b ..., h vertically releases;
Difference defining mode 1: be AVS standard frame inner estimation mode;
Difference defining mode 2: reference pixel relates to pixel a, b ..., h, V (i), (i=0~7), a, b ..., h and H (i), (i=8~15), the predict pixel of this pattern is released by decoded pixel weighted average in the above-mentioned reference pixel;
Difference defining mode 3: reference pixel is pixel a, b ..., h and V (i), (i=0~7), the predict pixel of this pattern is by decoded pixel weighted average gained in the reference pixel;
Difference defining mode 4: reference pixel is pixel a, b ..., h, the predict pixel of this pattern is by the pixel weighted average gained to decode in the reference pixel;
For sub-piece BL predictive mode, as following table:
That is:
Difference defining mode 0: be AVS standard frame inner estimation mode;
Difference defining mode 1: reference pixel is decoded pixel (i
0, j
0..., o
0, p), the predict pixel of this pattern is by (i
0, j
0..., o
0, p) level is released;
Difference defining mode 2: reference pixel relates to pixel (a
0, b
0..., h
0), (i
0, j
0..., o
0, p), H (i), (i=8~15) and P
0, the predict pixel of this pattern is released by decoded pixel weighted average in the reference pixel;
Difference defining mode 3: reference pixel is (a
0, b
0..., h
0) and (i
0, j
0..., o
0, p), the predict pixel of this pattern is released by decoded pixel weighted average in the reference pixel;
Difference defining mode 4: reference pixel is (i
0, j
0..., o
0, p), the predict pixel of this pattern has decoded pixel weighted average release in the reference pixel;
For sub-piece UL predictive mode, as following table:
That is:
Difference defining mode 0: reference pixel is decoded pixel (a
1, b
1..., h
1), the predict pixel of this pattern is by (a
1, b
1..., h
1) the vertical release;
Difference defining mode 1: reference pixel is decoded pixel (a
0, b
0..., h
0), the predict pixel of this pattern is by (a
0, b
0..., h
0) the level release;
Difference defining mode 2: reference pixel relates to pixel (a
0, b
0..., h
0), (a
1, b
1..., h
1), H (i), (i=0~7), V (i), (i=0~7), P
0And i
0, the predict pixel of this pattern by in decoded pixel weighted average release;
Difference defining mode 3: reference pixel is H (i), (i=0~7) and (a
1, b
1..., h
1), the predict pixel of this pattern is released by decoded pixel weighted average in the reference pixel;
Difference defining mode 4: reference pixel is V (i), (i=0~7) and (a
0, b
0..., h
0), the predict pixel of this pattern is released by decoded pixel weighted average in the reference pixel.
It should be noted: in the reverse scan coding, the intra prediction mode that the sub-piece of each present encoding increases newly is owing to reference pixel position difference, intra prediction mode difference.For convenience of description, the intra prediction mode that in table 1-3 the piece of each present encoding is increased newly is labeled as pattern 0,1,2,3,4 successively.
In the reverse scan coding, because the reference pixel position difference of each sub-piece to be encoded, its intra prediction mode that increases newly is also different.In table 1-3, the reverse scan intra prediction mode that increases newly is described.For example, for UR piece, the reference pixel of pattern 0 is decoded 8 pixel a, b ..., h, the predict pixel of pattern 0 is by a, b ..., h vertically releases; Pattern 1 is the same with existing AVS standard frame inner estimation mode; The reference pixel of pattern 2 also relates to pixel a, b ..., h, the predict pixel of pattern 2 is by V (i), (i=0~7), a, b ..., h and H (i), decoded pixel weighted average is released in (i=8~15); For mode 3 and pattern 4, predict pixel is by a, b ..., h and V (i), (i=0~7) weighted average and getting.For example, in pattern 4, first pixel value=(P in the UR piece upper left corner
0+ V
0/ 2+V
1+ 2)/4.The specific coding direction of the predictive mode of each sub-piece as shown in Figure 2.
Step 4, the intra prediction mode of finishing at step 3 carries out two-way infra-frame prediction, promptly try to achieve different weight coefficients with the distance between the reference pixel according to the present encoding piece, any two kinds of intra prediction modes to coded sub-blocks all are weighted summation then, the pixel value of the present encoding piece that dopes has been considered the reference pixel of both direction, the pixel of two-way infra-frame prediction is obtained by the weighted sum of the prediction on intra-frame prediction mode value of any two combinations, in the AVS standard, the mode standard of I_8 * 8 Block Brightness prediction has 5 kinds, is respectively predictive mode 0,1,2,3,4.In step 2, whether the reference pixel of the diverse location of judging according to raster scan and reverse scan can effectively utilize, and can determine which kind of AVS normative forecast pattern of sub-piece to be encoded is effective.In step 3, increased multiple intra prediction mode according to the coded sequence of reverse scan.Bi-directional predicted value is that two kinds of intra prediction modes by I_8 * 8 piece are in conjunction with generating, 10 kinds of bidirectional frame inner estimation modes on the basis of the existing 5 kinds of standard frame inner estimation modes of AVS, have been increased, in the reverse scan coding, increase by 13 kinds of intra prediction modes, and generated 30 kinds of bi-predictive modes on this basis.The specific implementation step is shown below:
S
bipred=(w
a·S
a+((1<<Shift)-w
a)·S
b+(1<<(Shift)))>>Shift
S wherein
a, S
bBe the AVS normative forecast Mode A of each pixel and the predicted value of B pattern, Shift moves to left or the shifter factor of right-shift operation w
aBe the predictive coefficient of predictive mode A, ((1<<Shift)-w
a) be the predictive coefficient of predictive mode B, w
aWhen predicting each 8 * 8, be provided with according to the distance between reference pixel and the present encoding pixel.
Step 5, increase the bidirectional frame inner estimation mode, the bidirectional frame inner estimation mode that is about in the step 4 adds in the existing intra prediction mode of AVS, being about to the bi-predictive mode that the sub-piece of each present encoding increases newly is defined as, to each I_8 * 8 piece, the sub-Block Brightness predictive coding of each present encoding pattern has 15 kinds.Pattern 5 (Intra_8x8_Vertical_Horizontal): pattern 0 and pattern 1 by definition in the step 3 are carried out bi-directional predicted drawing according to step 4, pattern 6 (Intra_8x8_Vertical_DC): pattern 0 and pattern 2 by definition in the step 3 are carried out bi-directional predicted drawing according to step 4, mode 7 (Intra_8x8_Horizontal_DC): pattern 1 and pattern 2 by definition in the step 3 are carried out bi-directional predicted drawing according to step 4, pattern 8 (Intra_8x8_Vertical_Down_Left): pattern 0 and mode 3 by definition in the step 3 carry out bi-directional predicted drawing according to step 4, pattern 9 (Intra_8x8_Horizontal_Down_Left): pattern 1 and mode 3 by definition in the step 3 carry out bi-directional predicted drawing according to step 4, pattern 10 (Intra_8x8_DC_Down_Left): pattern 2 and mode 3 by definition in the step 3 carry out bi-directional predicted drawing according to step 4, pattern 11 (Intra_8x8_Vertical_Down_Right): pattern 0 and pattern 4 by definition in the step 3 are carried out bi-directional predicted drawing according to step 4, pattern 12 (Intra_8x8_Horizontal_Down_Right): pattern 1 and pattern 4 by definition in the step 3 are carried out bi-directional predicted drawing according to step 4, pattern 13 (Intra_8x8_DC_Down_Right): pattern 2 and pattern 4 by definition in the step 3 are carried out bi-directional predicted drawing according to step 4, pattern 14 (Intra_8x8_Down_Left_Down_Right): mode 3 and pattern 4 by definition in the step 3 are carried out bi-directional predicted drawing according to step 4.
In order to verify the validity of the bi-directional predicted method of the present invention, the present invention realizes on AVS reference software RM621.
Specific embodiment described herein only is that the present invention's spirit is illustrated.The technical staff of the technical field of the invention can make various modifications or replenishes or adopt similar mode to substitute described specific embodiment, but can't depart from spirit of the present invention or surmount the defined scope of appended claims.
Claims (6)
1. intra-frame prediction method based on AVS, described AVS standard adopts the change quantization technology based on 8 * 8 sub-pieces, minimal processing unit in the AVS standard is 8 * 8 sub-pieces, define top macro block, left macro block, upper left side macro block respectively at 8 * 8 sub-pieces, sub-piece UL, sub-piece UR, sub-piece BL, sub-piece BR; And in the definition top macro block adjacent with the present encoding piece encoded pixels be H (i), (i=0,1, ..., n), in the left macro block adjacent with the present encoding piece decoded pixel be V (i), (i=0,1 ..., n), in the upper left side macro block adjacent with the present encoding piece decoded pixel be P0, BR piece and UR piece adjacent position to be encoded 8 decoded pixel be (a, b, ..., h), BR, UR piece and BL piece adjacent position to be encoded 16 decoded pixel be (a
0, b
0..., o
0, p), the decoded pixel of BR, UR, BL piece and UL piece adjacent position to be encoded is respectively i
0, (a
0, b
0..., h
0), (a
1, b
1..., h
1), it is characterized in that, may further comprise the steps:
Step 1 is carried out reverse scan in the raster scan process of AVS;
Step 2, the validity of judgement reference pixel, just whether the pixel in the contiguous block of coded sub-blocks is effectively available promptly to judge each, at the order of the reverse scan in the step 1, increased the judgement to present encoding piece below and right-hand middle neighborhood pixels availability; Promptly judge the effective AVS of sub-piece normative forecast pattern to be encoded;
Step 3 is carried out intra prediction mode corresponding after the reverse scan at step 2, on the intra prediction mode basis of AVS, has increased with the present encoding piece decoded pixel in the right-hand and below adjacent block as the intra prediction mode of reference pixel;
Step 4, the intra prediction mode of finishing at step 3 carries out two-way infra-frame prediction, promptly try to achieve different weight coefficients with the distance between the reference pixel according to the present encoding piece, any two kinds of intra prediction modes to coded sub-blocks all are weighted summation then, and the pixel value of the present encoding piece that dopes has been considered the reference pixel of both direction;
Step 5 increases the bidirectional frame inner estimation mode, and the bidirectional frame inner estimation mode that is about in the step 4 adds in the existing intra prediction mode of AVS.
2. a kind of intra-frame prediction method based on AVS according to claim 1 is characterized in that, in the described step 1, the reverse scan order to sub-piece BL, scans sub-piece UL by sub-piece UR by from sub-piece BR to sub-piece UR at last.
3. a kind of intra-frame prediction method according to claim 1 based on AVS, it is characterized in that, in the described step 2, at reverse scan, according to the coded sequence of reverse scan, the below or the right-hand pixel of separating numeral piece and current sub-piece to be encoded adjacent position that are arranged in the sub-piece of present encoding also participate in prediction:
For sub-piece BR, reference pixel is above-mentioned H (i), (i=0~15), V (i), (i=0~15) and P
0
For sub-piece UR, reference pixel removes above-mentioned H (i), (i=0~15), V (i), (i=0~7) and P
0Outward, also comprise adjacent in the BR piece with UR piece 8 decoded pixel (a, b ..., h);
For sub-piece BL, reference pixel removes above-mentioned H (i), (i=0~7), V (i), (i=0~15) and P
0Also comprise in UR, the BR piece respectively 8 pixel (a with BL piece adjacent position outward,
0, b
0..., h
0), (i
0, j
0..., o
0, p);
For sub-piece UL, reference pixel removes above-mentioned H (i), (i=0~7), V (i), (i=0~7) and P
0Also comprise in UR, the BL piece respectively and 8 pixels of UL piece adjacent position and the upper left pixel (a of BR piece and UL piece adjacent position outward,
0, b
0..., h
0), (a
1, b
1..., h
1), i
0
4. a kind of intra-frame prediction method based on AVS according to claim 1 is characterized in that, in the described step 4, the intra prediction mode concrete operation method that the reverse scan correspondence increases newly is as follows:
For sub-piece UR predictive mode:
Defining mode 0 respectively: reference pixel is decoded 8 pixel a, b ..., h, the predict pixel of this pattern is by a, b ..., h vertically releases;
Difference defining mode 1: be AVS standard frame inner estimation mode;
Difference defining mode 2: reference pixel relates to pixel a, b ..., h, V (i), (i=0~7), a, b ..., h and H (i), (i=8~15), the predict pixel of this pattern is released by decoded pixel weighted average in the above-mentioned reference pixel;
Difference defining mode 3: reference pixel is pixel a, b ..., h and V (i), (i=0~7), the predict pixel of this pattern is by decoded pixel weighted average gained in the reference pixel;
Difference defining mode 4: reference pixel is pixel a, b ..., h, the predict pixel of this pattern is by the pixel weighted average gained to decode in the reference pixel;
For sub-piece BL predictive mode:
Difference defining mode 0: be AVS standard frame inner estimation mode;
Difference defining mode 1: reference pixel is decoded pixel (i
0, j
0..., o
0, p), the predict pixel of this pattern is by (i
0, j
0..., o
0, p) level is released;
Difference defining mode 2: reference pixel relates to pixel (a
0, b
0..., h
0), (i
0, j
0..., o
0, p), H (i), (i=8~15) and P
0, the predict pixel of this pattern is released by decoded pixel weighted average in the reference pixel;
Difference defining mode 3: reference pixel is (a
0, b
0..., h
0) and (i
0, j
0..., o
0, p), the predict pixel of this pattern is released by decoded pixel weighted average in the reference pixel;
Difference defining mode 4: reference pixel is (i
0, j
0..., o
0, p), the predict pixel of this pattern has decoded pixel weighted average release in the reference pixel;
For sub-piece UL predictive mode:
Difference defining mode 0: reference pixel is decoded pixel (a
1, b
1..., h
1), the predict pixel of this pattern is by (a
1, b
1..., h
1) the vertical release;
Difference defining mode 1: reference pixel is decoded pixel (a
0, b
0..., h
0), the predict pixel of this pattern is by (a
0, b
0..., h
0) the level release;
Difference defining mode 2: reference pixel relates to pixel (a
0, b
0..., h
0), (a
1, b
1..., h
1), H (i), (i=0~7), V (i), (i=0~7), P
0And i
0, the predict pixel of this pattern by in decoded pixel weighted average release;
Difference defining mode 3: reference pixel is H (i), (i=0~7) and (a
1, b
1..., h
1), the predict pixel of this pattern is released by decoded pixel weighted average in the reference pixel;
Difference defining mode 4: reference pixel is V (i), (i=0~7) and (a
0, b
0..., h
0), the predict pixel of this pattern is released by decoded pixel weighted average in the reference pixel.
5. a kind of intra-frame prediction method according to claim 1 based on AVS, it is characterized in that, in the described step 4, the pixel of two-way infra-frame prediction is obtained by the weighted sum of the prediction on intra-frame prediction mode value of any two combinations, and the specific implementation step is shown in (1) formula:
S
bipred=(w
a·S
a+((1<<Shift)-w
a)·S
b+(1<<(Shift)))>>Shift
(1)
S wherein
a, S
bBe the AVS normative forecast Mode A of each pixel and the predicted value of B pattern, Shift moves to left or the shifter factor of right-shift operation w
aBe the predictive coefficient of predictive mode A, ((1<<Shift)-w
a) be the predictive coefficient of predictive mode B, w
aWhen predicting each 8 * 8, be provided with according to the distance between reference pixel and the present encoding pixel.
6. a kind of intra-frame prediction method according to claim 1 based on AVS, it is characterized in that, in the described step 5, the bi-predictive mode that the sub-piece of each present encoding increases newly is defined as, pattern 5: pattern 0 and pattern 1 by definition in the step 3 are carried out bi-directional predicted drawing according to step 4, pattern 6: pattern 0 and pattern 2 by definition in the step 3 are carried out bi-directional predicted drawing according to step 4, mode 7: pattern 1 and pattern 2 by definition in the step 3 are carried out bi-directional predicted drawing according to step 4, pattern 8: pattern 0 and mode 3 by definition in the step 3 carry out bi-directional predicted drawing according to step 4, pattern 9: pattern 1 and mode 3 by definition in the step 3 carry out bi-directional predicted drawing according to step 4, pattern 10: pattern 2 and mode 3 by definition in the step 3 carry out bi-directional predicted drawing according to step 4, pattern 11: pattern 0 and pattern 4 by definition in the step 3 are carried out bi-directional predicted drawing according to step 4, pattern 12: pattern 1 and pattern 4 by definition in the step 3 are carried out bi-directional predicted drawing according to step 4, pattern 13: pattern 2 and pattern 4 by definition in the step 3 are carried out bi-directional predicted drawing according to step 4, pattern 14: mode 3 and pattern 4 by definition in the step 3 are carried out bi-directional predicted drawing according to step 4.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 201110168130 CN102186086B (en) | 2011-06-22 | 2011-06-22 | Audio-video-coding-standard (AVS)-based intra-frame prediction method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 201110168130 CN102186086B (en) | 2011-06-22 | 2011-06-22 | Audio-video-coding-standard (AVS)-based intra-frame prediction method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN102186086A true CN102186086A (en) | 2011-09-14 |
CN102186086B CN102186086B (en) | 2013-06-19 |
Family
ID=44572146
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN 201110168130 Expired - Fee Related CN102186086B (en) | 2011-06-22 | 2011-06-22 | Audio-video-coding-standard (AVS)-based intra-frame prediction method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102186086B (en) |
Cited By (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104025588A (en) * | 2011-10-28 | 2014-09-03 | 三星电子株式会社 | Method and device for intra prediction of video |
US9185414B1 (en) | 2012-06-29 | 2015-11-10 | Google Inc. | Video encoding using variance |
US9374578B1 (en) | 2013-05-23 | 2016-06-21 | Google Inc. | Video coding using combined inter and intra predictors |
US9531990B1 (en) * | 2012-01-21 | 2016-12-27 | Google Inc. | Compound prediction using multiple sources or prediction modes |
US9609343B1 (en) | 2013-12-20 | 2017-03-28 | Google Inc. | Video coding using compound prediction |
US9628790B1 (en) | 2013-01-03 | 2017-04-18 | Google Inc. | Adaptive composite intra prediction for image and video compression |
CN107181956A (en) * | 2011-10-07 | 2017-09-19 | 英迪股份有限公司 | The method decoded to vision signal |
US9813700B1 (en) | 2012-03-09 | 2017-11-07 | Google Inc. | Adaptively encoding a media stream with compound prediction |
CN108432254A (en) * | 2015-11-30 | 2018-08-21 | 奥兰治 | Method for being coded and decoded to image, the equipment for being coded and decoded to image and corresponding computer program |
CN110072112A (en) * | 2019-03-12 | 2019-07-30 | 浙江大华技术股份有限公司 | Intra-frame prediction method, encoder and storage device |
CN113892268A (en) * | 2019-03-20 | 2022-01-04 | 现代自动车株式会社 | Intra-frame prediction device and method based on prediction mode estimation |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1658677A (en) * | 2000-01-21 | 2005-08-24 | 诺基亚有限公司 | Method for encoding images, and image coder |
CN101022551A (en) * | 2007-03-15 | 2007-08-22 | 上海交通大学 | Motion compensating module pixel prefetching device in AVS video hardware decoder |
CN101217669A (en) * | 2008-01-15 | 2008-07-09 | 北京中星微电子有限公司 | An intra-frame predictor method and device |
US20080165854A1 (en) * | 2007-01-10 | 2008-07-10 | Beyond Innovation Technology Co., Ltd. | Method for processing images |
CN101895751A (en) * | 2010-07-06 | 2010-11-24 | 北京大学 | Method and device for intra-frame prediction and intra-frame prediction-based encoding/decoding method and system |
-
2011
- 2011-06-22 CN CN 201110168130 patent/CN102186086B/en not_active Expired - Fee Related
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1658677A (en) * | 2000-01-21 | 2005-08-24 | 诺基亚有限公司 | Method for encoding images, and image coder |
US20080165854A1 (en) * | 2007-01-10 | 2008-07-10 | Beyond Innovation Technology Co., Ltd. | Method for processing images |
CN101022551A (en) * | 2007-03-15 | 2007-08-22 | 上海交通大学 | Motion compensating module pixel prefetching device in AVS video hardware decoder |
CN101217669A (en) * | 2008-01-15 | 2008-07-09 | 北京中星微电子有限公司 | An intra-frame predictor method and device |
CN101895751A (en) * | 2010-07-06 | 2010-11-24 | 北京大学 | Method and device for intra-frame prediction and intra-frame prediction-based encoding/decoding method and system |
Non-Patent Citations (1)
Title |
---|
李付江等: "快速AVS帧内预测模式选择算法", 《计算机工程与应用》 * |
Cited By (31)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107181956A (en) * | 2011-10-07 | 2017-09-19 | 英迪股份有限公司 | The method decoded to vision signal |
US12010328B2 (en) | 2011-10-07 | 2024-06-11 | Dolby Laboratories Licensing Corporation | Methods and apparatuses of encoding/decoding intra prediction mode using candidate intra prediction modes |
US11363278B2 (en) | 2011-10-07 | 2022-06-14 | Dolby Laboratories Licensing Corporation | Methods and apparatuses of encoding/decoding intra prediction mode using candidate intra prediction modes |
US10986346B2 (en) | 2011-10-07 | 2021-04-20 | Dolby Laboratories Licensing Corporation | Methods and apparatuses of encoding/decoding intra prediction mode using candidate intra prediction modes |
CN107181956B (en) * | 2011-10-07 | 2020-02-21 | 英迪股份有限公司 | Method for decoding video signal |
CN107181962A (en) * | 2011-10-07 | 2017-09-19 | 英迪股份有限公司 | The method decoded to the intra prediction mode of current block |
CN107404649B (en) * | 2011-10-28 | 2020-04-10 | 三星电子株式会社 | Method and apparatus for intra prediction of video |
US10506239B2 (en) | 2011-10-28 | 2019-12-10 | Samsung Electronics Co., Ltd. | Method and device for intra prediction video |
US10893277B2 (en) | 2011-10-28 | 2021-01-12 | Samsung Electronics Co., Ltd. | Method and device for intra prediction video |
US9621918B2 (en) | 2011-10-28 | 2017-04-11 | Samsung Electronics Co., Ltd. | Method and device for intra prediction video |
CN107222744A (en) * | 2011-10-28 | 2017-09-29 | 三星电子株式会社 | Method and apparatus for the infra-frame prediction of video |
CN107222744B (en) * | 2011-10-28 | 2020-10-27 | 三星电子株式会社 | Method and apparatus for intra prediction of video |
CN107404649A (en) * | 2011-10-28 | 2017-11-28 | 三星电子株式会社 | Method and apparatus for the infra-frame prediction of video |
US9883191B2 (en) | 2011-10-28 | 2018-01-30 | Samsung Electronics Co., Ltd. | Method and device for intra prediction video |
CN104025588A (en) * | 2011-10-28 | 2014-09-03 | 三星电子株式会社 | Method and device for intra prediction of video |
CN104025588B (en) * | 2011-10-28 | 2017-08-15 | 三星电子株式会社 | Method and apparatus for the infra-frame prediction of video |
US10291919B2 (en) | 2011-10-28 | 2019-05-14 | Samsung Electronics Co., Ltd. | Method and device for intra prediction video |
US9531990B1 (en) * | 2012-01-21 | 2016-12-27 | Google Inc. | Compound prediction using multiple sources or prediction modes |
US9813700B1 (en) | 2012-03-09 | 2017-11-07 | Google Inc. | Adaptively encoding a media stream with compound prediction |
US9883190B2 (en) | 2012-06-29 | 2018-01-30 | Google Inc. | Video encoding using variance for selecting an encoding mode |
US9185414B1 (en) | 2012-06-29 | 2015-11-10 | Google Inc. | Video encoding using variance |
US9628790B1 (en) | 2013-01-03 | 2017-04-18 | Google Inc. | Adaptive composite intra prediction for image and video compression |
US11785226B1 (en) | 2013-01-03 | 2023-10-10 | Google Inc. | Adaptive composite intra prediction for image and video compression |
US9374578B1 (en) | 2013-05-23 | 2016-06-21 | Google Inc. | Video coding using combined inter and intra predictors |
US9609343B1 (en) | 2013-12-20 | 2017-03-28 | Google Inc. | Video coding using compound prediction |
US10165283B1 (en) | 2013-12-20 | 2018-12-25 | Google Llc | Video coding using compound prediction |
CN108432254A (en) * | 2015-11-30 | 2018-08-21 | 奥兰治 | Method for being coded and decoded to image, the equipment for being coded and decoded to image and corresponding computer program |
CN108432254B (en) * | 2015-11-30 | 2021-01-15 | 奥兰治 | Image encoding and decoding method, apparatus and computer storage medium |
WO2020181990A1 (en) * | 2019-03-12 | 2020-09-17 | Zhejiang Dahua Technology Co., Ltd. | Systems and methods for image coding |
CN110072112A (en) * | 2019-03-12 | 2019-07-30 | 浙江大华技术股份有限公司 | Intra-frame prediction method, encoder and storage device |
CN113892268A (en) * | 2019-03-20 | 2022-01-04 | 现代自动车株式会社 | Intra-frame prediction device and method based on prediction mode estimation |
Also Published As
Publication number | Publication date |
---|---|
CN102186086B (en) | 2013-06-19 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102186086B (en) | Audio-video-coding-standard (AVS)-based intra-frame prediction method | |
CN104170379B (en) | For the method and apparatus of image decoding | |
CN104954790B (en) | The method for generating quantization block | |
CN102648631B (en) | For the method and apparatus of coding/decoding high-definition picture | |
CN104869409B (en) | The method and apparatus for deriving intra prediction mode | |
CN104883578B (en) | The method decoded to intra prediction mode | |
CN100534194C (en) | Methods and apparatus for video intraprediction encoding and decoding | |
CN103931180B (en) | Image decoding apparatus | |
CN104853201A (en) | Apparatus and method for encoding/decoding image for intra-prediction | |
CN1874519A (en) | Intraprediction method and apparatus using video symmetry and encoding and decoding method and apparatus | |
CN103931186A (en) | Image decoding apparatus | |
CN1258925C (en) | Multiple visual-angle video coding-decoding prediction compensation method and apparatus | |
CN105681808A (en) | Rapid decision-making method for SCC interframe coding unit mode | |
CN102196272A (en) | P frame encoding method and device | |
CN1761323A (en) | Method of forecast inside frame based on edge direction for AVs.h.264 video code between frames | |
CN103442229A (en) | Bit rate estimation method of SAO mode decision applied to encoder of HEVC standard | |
US20130128954A1 (en) | Encoding method and apparatus | |
CN102438148B (en) | Fast mode selection method based on DVS for H.264 intra prediction coding | |
CN101626505B (en) | Mode processing method and device thereof of duplex-prediction | |
KR20160045243A (en) | Video coding Apparatus of Planar intra prediction and method thereof | |
KR20130019736A (en) | Method for mode dependent intra prediction smoothing |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20130619 Termination date: 20160622 |
|
CF01 | Termination of patent right due to non-payment of annual fee |