Filtering method for performing deblocking filtering on a boundary between an intra pulse code modulation block and a non-intra pulse code modulation block which are adjacent to each other in an image
Summary by NHIP
IPCM Deblocking Filtering
The method performs deblocking filtering on boundaries between Intra Pulse Code Modulation and non-Intra Pulse Code Modulation blocks. It calculates filter strength using an average of the non-IPCM quantization parameter and a second IPCM parameter derived from zero-valued difference information.
Claim Score by NHIP
Abstract
A filtering method is for performing deblocking filtering on the boundary between an IPCM block and a non-IPCM block adjacent to each other in an image and including: determining a first quantization parameter for the non-IPCM block; determining a second quantization parameter for the IPCM block, using the first quantization parameter; determining a filter strength for the boundary, using the first quantization parameter and the second quantization parameter; and performing the deblocking filtering on the boundary using the determined filter strength.

Term
5.8 yearsleft in the term
Expires 18 July 2032.
- Priority
- Filed
- Granted
- Today
- Expires
4 claims: 4 independent, 0 dependent
- 1Broadest claimClaim Score 54, average(NHIP)A filtering method for performing deblocking filtering on a boundary between an Intra Pulse Code Modulation (IPCM) block and a non-Intra Pulse Code Modulation (non-IPCM) block which are adjacent to each other in an image, the filtering method comprising:determining a second quantization parameter for the IPCM block using a first quantization parameter used for quantizing the non-IPCM block;determining a filter strength of the deblocking filtering using an average value of the first quantization parameter and the second quantization parameter;and performing the deblocking filtering on the boundary using the determined filter strength of the deblocking filtering, wherein the second quantization parameter is determined using difference information indicating a difference between a quantization parameter for a block which is located immediately before a current block to be processed in processing order and a quantization parameter for the current block, the difference information indicating a zero value.
- 2An image processing apparatus for performing deblocking filtering on a boundary between an Intra Pulse Code Modulation (IPCM) block and a non-Intra Pulse Code Modulation (non-IPCM) block which are adjacent to each other in an image, the image processing apparatus comprising:control circuitry;and storage accessible from the control circuitry, wherein the control circuitry is configured, using the storage, to determine a second quantization parameter for the IPCM block using a first quantization parameter used for quantizing the non-IPCM block;determine a filter strength of the deblocking filtering using an average value of the first quantization parameter and the second quantization parameter;and perform the deblocking filtering on the boundary using the determined filter strength of the deblocking filtering, and wherein the second quantization parameter is determined using difference information indicating a difference between a quantization parameter for a block which is located immediately before a current block to be processed in processing order and a quantization parameter for the current block, the difference information indicating a zero value.
- 3Control circuitry used for an image processing system for performing deblocking filtering on a boundary between an Intra Pulse Code Modulation (IPCM) block and a non-Intra Pulse Code Modulation (non-IPCM) block which are adjacent to each other in an image, the control circuitry configured, using storage included in the image processing system, to perform operations including:determining a second quantization parameter for the IPCM block using a first quantization parameter used for quantizing the non-IPCM block;determining a filter strength of the deblocking filtering using an average value of the first quantization parameter and the second quantization parameter;and performing the deblocking filtering on the boundary using the determined filter strength of the deblocking filtering, wherein the second quantization parameter is determined using difference information indicating a difference between a quantization parameter for a block which is located immediately before a current block to be processed in processing order and a quantization parameter for the current block, the difference information indicating a zero value.
- 4A non-transitory computer readable recording medium storing an image processing program for performing deblocking filtering on a boundary between an Intra Pulse Code Modulation (IPCM) block and a non-Intra Pulse Code Modulation (non-IPCM) block which are adjacent to each other in an image, wherein, when executed, the image processing program causes a computer to execute a method comprising:determining a second quantization parameter for the IPCM block using a first quantization parameter used for quantizing the non-IPCM block;determining a filter strength of the deblocking filtering using an average value of the first quantization parameter and the second quantization parameter;and performing the deblocking filtering on the boundary using the determined filter strength of the deblocking filtering, wherein the second quantization parameter is determined using difference information indicating a difference between a quantization parameter for a block which is located immediately before a current block to be processed in processing order and a quantization parameter for the current block, the difference information indicating a zero value.
Independent claims4
344 paragraphs in 7 sections, as filed
TECHNICAL FIELD
One or more exemplary embodiments disclosed herein relate generally to a filtering method, a moving picture decoding method, a moving picture coding method, a moving picture decoding apparatus, a moving picture coding apparatus, and a moving picture coding and decoding apparatus.
BACKGROUND ART
Intra Pulse Code Modulation (IPCM) blocks are blocks of uncompressed video or image samples where luma and chroma samples are coded in the coded stream. These blocks are used in the case when the entropy coding unit produces more bits rather than reduces bits when coding the blocks of image samples. In other words, the pixel values of the IPCM blocks are not compressed, ant thus the raw pixel values of the original image are used. The IPCM block is introduced in the H.264/AVC video compression standard.
A filtering method in H.264 (the filtering method described in Section 8.7 of the H.264 standard) defines that a filter strength for a boundary between two blocks is normally determined based on the average value of a value aPp derived from a quantization parameter QPp of a first macroblock and a quantization parameter QPq of a second macroblock. No decoding is performed for these blocks. However, post-decoding processing (including filtering such as deblocking filtering) is still performed on the block boundaries which tend to be a cause of deterioration in image quality (for example, see Non-patent Literature (NPL) 1).
CITATION LIST
Non Patent Literature
ISO/IEC 14496-10 “MPEG-4 Part 10 Advanced Video Coding”
SUMMARY OF INVENTION
Technical Problem
There are demands for performing more appropriate filtering on the boundary between such an IPCM block and a non-IPCM block.
One non-limiting and exemplary embodiment provides a filtering method for enabling more appropriate filtering on the boundary between such an IPCM block and a non-IPCM block.
Solution to Problem
A filtering method according to one non-limiting and exemplary embodiment is a filtering method of performing deblocking filtering on a boundary between an Intra Pulse Code Modulation (IPCM) block and a non-IPCM block which are adjacent to each other in an image, and this filtering method includes: determining a first quantization parameter for the non-IPCM block; determining a second quantization parameter for the IPCM block and for determining a filter strength, using the first quantization parameter; determining the filter strength, using the first quantization parameter and the second quantization parameter; and performing the deblocking filtering on the boundary, using the determined filter strength.
These general and specific aspects may be implemented using a system, a method, an integrated circuit, a computer program, or a computer-readable recording medium such as a CD-ROM, or any combination of systems, methods, integrated circuits, computer programs, or computer-readable recording media.
Additional benefits and advantages of the disclosed embodiments will be apparent from the Specification and Drawings. The benefits and/or advantages may be individually obtained by the various embodiments and features of the Specification and Drawings, which need not all be provided in order to obtain one or more of such benefits and/or advantages.
Advantageous Effects of Invention
One exemplary embodiment or feature disclosed herein is a filtering method for enabling more appropriate filtering on the boundary between an IPCM block and a non-IPCM block.
BRIEF DESCRIPTION OF DRAWINGS
These and other advantages and features will become apparent from the following description thereof taken in conjunction with the accompanying Drawings, by way of non-limiting examples of embodiments of the present disclosure. In the Drawings:
<figref idref="DRAWINGS">FIG. 1</figref> is a flowchart illustrating a concept of filtering at a block boundary described in Section 8.7 “Deblocking filter process” in the H.264 Standard;
<figref idref="DRAWINGS">FIG. 2</figref> is a flowchart illustrating a concept of filtering at a block boundary described in Section 8.7 “Deblocking filter process” in the H.264 Standard;
<figref idref="DRAWINGS">FIG. 3</figref> is a flowchart illustrating a concept of filtering at a block boundary described in Section 8.7 “Deblocking filter process” in the H.264 Standard;
<figref idref="DRAWINGS">FIG. 4</figref> is an illustration of a filter strength in a filtering method according to Embodiment 1;
<figref idref="DRAWINGS">FIG. 5</figref> is a flowchart of a filtering method according to Embodiment 1;
<figref idref="DRAWINGS">FIG. 6</figref> is a block diagram of a moving picture coding apparatus according to Embodiment 1;
<figref idref="DRAWINGS">FIG. 7A</figref> is an illustration of an example of a block boundary according to Embodiment 1;
<figref idref="DRAWINGS">FIG. 7B</figref> is an illustration of an example of a block boundary according to Embodiment 1;
<figref idref="DRAWINGS">FIG. 8A</figref> is an illustration of operations performed by a filtering unit according to Embodiment 1;
<figref idref="DRAWINGS">FIG. 8B</figref> is an illustration of operations performed by a filtering unit according to Embodiment 1;
<figref idref="DRAWINGS">FIG. 9</figref> is a block diagram of an image decoding apparatus according to Embodiment 1;
<figref idref="DRAWINGS">FIG. 10A</figref> is an illustration of an exemplary structure of filtering units according to Embodiment 1;
<figref idref="DRAWINGS">FIG. 10B</figref> is an illustration of an exemplary structure of a filtering unit according to Embodiment 1;
<figref idref="DRAWINGS">FIG. 10C</figref> is an illustration of an exemplary structure of filtering units according to Embodiment 1;
<figref idref="DRAWINGS">FIG. 10D</figref> is an illustration of an exemplary structure of a filtering unit according to Embodiment 1;
<figref idref="DRAWINGS">FIG. 10E</figref> is an illustration of an exemplary structure of filtering units according to Embodiment 1;
<figref idref="DRAWINGS">FIG. 10F</figref> is an illustration of an exemplary structure of filtering units according to Embodiment 1;
<figref idref="DRAWINGS">FIG. 10G</figref> is an illustration of an exemplary structure of filtering units according to Embodiment 1;
<figref idref="DRAWINGS">FIG. 10H</figref> is an illustration of an exemplary structure of a filtering unit according to Embodiment 1;
<figref idref="DRAWINGS">FIG. 11</figref> is a flowchart of a filtering method according to Embodiment 1;
<figref idref="DRAWINGS">FIG. 12</figref> is a flowchart of a filtering method according to Embodiment 1;
<figref idref="DRAWINGS">FIG. 13</figref> is an illustration of filter strengths and block units according to Embodiment 1;
<figref idref="DRAWINGS">FIG. 14A</figref> is an illustration of an application range of a flag when a filter is ON according to a comparison example;
<figref idref="DRAWINGS">FIG. 14B</figref> is an illustration of an application range of a flag when a filter is ON according to Embodiment 1;
<figref idref="DRAWINGS">FIG. 15</figref> is a flowchart of a moving picture coding method according to a variation of Embodiment 1;
<figref idref="DRAWINGS">FIG. 16</figref> is a flowchart of a moving picture decoding method according to a variation of Embodiment 1;
<figref idref="DRAWINGS">FIG. 17</figref> is a block diagram of a moving picture coding apparatus according to Embodiment 2;
<figref idref="DRAWINGS">FIG. 18</figref> is a block diagram of an image decoding apparatus according to Embodiment 2;
<figref idref="DRAWINGS">FIG. 19</figref> is a flowchart of a filtering method according to Embodiment 2;
<figref idref="DRAWINGS">FIG. 20</figref> is a flowchart of specific examples of a filtering method according to Embodiment 2;
<figref idref="DRAWINGS">FIG. 21</figref> is a flowchart of a moving picture coding method according to a variation of Embodiment 2;
<figref idref="DRAWINGS">FIG. 22</figref> is a flowchart of a moving picture decoding method according to a variation of Embodiment 2;
<figref idref="DRAWINGS">FIG. 23</figref> shows an overall configuration of a content providing system for implementing content distribution services;
<figref idref="DRAWINGS">FIG. 24</figref> shows an overall configuration of a digital broadcasting system;
<figref idref="DRAWINGS">FIG. 25</figref> shows a block diagram illustrating an example of a configuration of a television;
<figref idref="DRAWINGS">FIG. 26</figref> shows a block diagram illustrating an example of a configuration of an information reproducing/recording unit that reads and writes information from and on a recording medium that is an optical disk,
<figref idref="DRAWINGS">FIG. 27</figref> shows an example of a configuration of a recording medium that is an optical disk;
<figref idref="DRAWINGS">FIG. 28A</figref> shows an example of a cellular phone;
<figref idref="DRAWINGS">FIG. 28B</figref> is a block diagram showing an example of a configuration of a cellular phone;
<figref idref="DRAWINGS">FIG. 29</figref> illustrates a structure of multiplexed data;
<figref idref="DRAWINGS">FIG. 30</figref> schematically shows how each stream is multiplexed in multiplexed data;
<figref idref="DRAWINGS">FIG. 31</figref> shows how a video stream is stored in a stream of PES packets in more detail;
<figref idref="DRAWINGS">FIG. 32</figref> shows a structure of TS packets and source packets in the multiplexed data;
<figref idref="DRAWINGS">FIG. 33</figref> shows a data structure of a PMT;
<figref idref="DRAWINGS">FIG. 34</figref> shows an internal structure of multiplexed data information;
<figref idref="DRAWINGS">FIG. 35</figref> shows an internal structure of stream attribute information;
<figref idref="DRAWINGS">FIG. 36</figref> shows steps for identifying video data;
<figref idref="DRAWINGS">FIG. 37</figref> shows an example of a configuration of an integrated circuit for implementing the moving picture coding method and the moving picture decoding method according to each of embodiments;
<figref idref="DRAWINGS">FIG. 38</figref> shows a configuration for switching between driving frequencies;
<figref idref="DRAWINGS">FIG. 39</figref> shows steps for identifying video data and switching between driving frequencies;
<figref idref="DRAWINGS">FIG. 40</figref> shows an example of a look-up table in which video data standards are associated with driving frequencies;
<figref idref="DRAWINGS">FIG. 41A</figref> is a diagram showing an example of a configuration for sharing a module of a signal processing unit; and
<figref idref="DRAWINGS">FIG. 41B</figref> is a diagram showing another example of a configuration for sharing a module of the signal processing unit.
DESCRIPTION OF EMBODIMENTS
(Underlying Knowledge Forming Basis of the Present Disclosure)
The inventors have found the problem indicated below.
Before giving descriptions of the exemplary embodiments, a description is given of inter-pixel filtering (deblocking filtering) in a boundary between an IPCM block and a non-IPCM block in coding and decoding in H.264.
<figref idref="DRAWINGS">FIG. 1</figref> is a flowchart illustrating a concept of filtering at a block boundary described in Section 8.7 “Deblocking filter process” in the H.264 Standard.
<figref idref="DRAWINGS">FIG. 1</figref> schematically shows the boundary between the two macroblocks one of which is the non-IPCM macroblock (the left side in the illustration) and the other is the IPCM macroblock (the right side in the illustration). Three circles positioned at the left side in <figref idref="DRAWINGS">FIG. 1</figref> show three pixels (typically, denoted as p<b>0</b>, p<b>1</b>, and p<b>2</b> sequentially from the boundary). These left-side three pixels belong to a first block (p block) in a first unit (a coded unit block, hereinafter referred to as a CU block). These three pixels also belong to a first macroblock of a non-IPCM type in a macroblock unit block (hereinafter referred to as an MB) that is a unit larger than the first unit.
Likewise, three circles positioned at the right side in <figref idref="DRAWINGS">FIG. 1</figref> show three pixels (typically, denoted as q<b>0</b>, q<b>1</b>, and q<b>2</b> sequentially from the boundary). These three pixels belong to a second block (a q block) in the first unit. These three pixels also belong to a second macroblock of an IPCM type in an MB.
Hereinafter, a CU block that belongs to a macroblock of an IPCM type is referred to as an IPCM block, and a CU block that belongs to a macroblock of a non-IPCM block is referred to as a non-IPCM block. In other words, a non-IPCM block means a bock that is not an IPCM block. Hereinafter, a description is given of a method of determining a filter strength that is applied to pixels q<b>0</b>, q<b>1</b>, p<b>0</b>, and p<b>1</b> across the block boundary (or a boundary between block units larger than the unit of coding).
A filtering method in H.264 (the filtering method described in Section 8.7 of the H.264 standard) defines that a filter strength for a boundary between two blocks is normally determined based on the average value of a value aPp derived from a quantization parameter QPp of a first macroblock and a quantization parameter QPq of a second macroblock. <br />QP<i>av</i>=(QP<i>p</i>+QP<i>q+</i>1)>>1=>(QP<i>p+</i>1)>>1 (Expression 1)
This (Expression 1) shows the following calculation. Filter strengths are designed such that a stronger (in smoothness) filter is applied as the value of a quantization parameter is larger, with an aim to, for example, absorb a quantization error.
In the illustration, a left-side quantization parameter QPp is a quantization parameter that is coded for the first macroblock (p-side block). For convenience, QP used here is equivalent in meaning to a value qP that is used for the purpose of filtering. In addition, a right-side quantization parameter QPq is a quantization parameter that should be applied to the second macroblock (q-side block).
Here, as described in Section 8.7.2 of the H.264 Standard, the value of the quantization parameter qPq (QPq in the illustration) of the IPCM block is set to 0. In other words, “Both sides filtered with weak strength” is realized. This means that, as for a boundary between two blocks, a filter having a filter strength is applied to both the blocks. This also means that it is impossible to differentiate filter strengths for the respective two blocks. In other words, filtering using the same filter strength is executed on both the blocks across the boundary between an IPCM block and a non-IPCM block.
<figref idref="DRAWINGS">FIG. 2</figref> is a flowchart illustrating a concept of filtering at a block boundary described in Section 8.7 “Deblocking filter process” in the H.264 Standard.
This flowchart roughly explains the following three points regarding an H.264 filter.
(1) Order of determining filter strength (bS) in Clause 8.7.2.1 Step S<b>101</b> corresponds to the process of “Deviation process for the luma content dependent boundary filtering strength” described in Section 8.7.2.1. This process determines a filter strength in filtering on a block boundary according to a block type and the like. Here, the filter strength is classified into a level among levels ranging from strong filtering (bS=4) to no filtering (bS=0). This point is described with reference to <figref idref="DRAWINGS">FIG. 3</figref>.
(2) Process of setting quantization parameter qPz=0 for IPCM block
Steps S<b>102</b> to S<b>107</b> are processes for setting a value of a quantization parameter qP for determining a filter strength as described with reference to <figref idref="DRAWINGS">FIG. 1</figref>. As for normal non-IPCM blocks (No in Step S<b>102</b> or S<b>105</b>), the quantization parameter QP [i] (i denotes 0 or 1) of a macroblock to which the non-IPCM block belongs is set as a quantization parameter qP [i] for determining a filter strength (Step S<b>103</b> and S<b>106</b>). On the other hand, when a current block is an IPCM block (Yes in S<b>102</b> or S<b>105</b>), the quantization parameter qP of the IPCM block is set to 0 (Step S<b>104</b> and S<b>107</b>).
Next, in Step S<b>108</b>, qPav is calculated according to (Expression 1).
(3) One bS (or filterSampleFlag) is shared by both blocks Hereinafter, a description is given of applying a determined filter strength (a value) (or a determination flag specifying whether to perform filtering or not) in common to two blocks across a boundary.
First, after Step S<b>108</b>, calculation using Expressions from 8-462 to 8-467 in the Standard is performed. More specifically, (1) derivation of an index for slight adjustment of a filter strength that is set in Step S<b>101</b> and (2) derivation of a threshold value for edge determination are performed.
Then, the filter strength determined through these processes is set to both the blocks (S<b>109</b>). More specifically, even when the filter strength bS is any one of 1 to 4, the value derived using the common bS deriving method is applied to the two blocks. For example, when the filter strength bS=4 is satisfied, the value of the pixel p of the first block is derived using Expressions (8-486 and 8-487) in the Standard. In addition, the value of the pixel q included in the second block is derived using the same filter strength as the filter strength used in the derivation of the value of the pixel p. Furthermore, a determination on whether to perform filtering (derivation of the value of filterSamplesFlag (also referred to as a filtering execution flag)) is performed in preparation for, for example, a case where a block boundary is finally found to be an actual edge. More specifically, this determination is made by comparison between two threshold values (two_threths (α, β)) derived in Step S<b>109</b> and actual pixel values of p and q (see Expression (8-468) in the Standard). However, as described above, it is impossible to set different values (or execution or non-execution) as the filter strengths bS or the filtering execution flags for the respective two blocks.
In other words, in H.264, it is impossible to perform processing suitable for IPCM when seen within a filtering process.
<figref idref="DRAWINGS">FIG. 3</figref> is a flowchart indicating the order of deciding (order of determining) a filter strength (bS) that is applied to pixels located across a boundary between two macroblocks, as described in Clause 8.7.2.1 of the Standard. This flowchart illustrates the determination order in Step S<b>101</b> shown in <figref idref="DRAWINGS">FIG. 2</figref>, and conforms to the determination flow in Clause 8.7.2.1 of the Standard.
First, a determination is made as to whether the boundary defined by the pixel p<b>0</b> in the first block and the pixel q<b>0</b> in the second block also corresponds to a boundary between macroblocks or not (S<b>121</b>). In other words, a determination is made as to whether p<b>0</b> and q<b>0</b> are located across the macroblock boundary.
When the block boundary between the processing targets is not a macroblock boundary (No in S<b>121</b>), the filter strength (bS) is determined to be any one of 3, 2, 1, and 0 that is smaller than N (=4) (S<b>124</b>).
On the other hand, when the block boundary between the processing targets is a macroblock boundary (Yes in S<b>121</b>), a determination is made as to whether one (or both) of p<b>0</b> and q<b>0</b> belongs to a macroblock coded using the intra prediction mode (S<b>122</b>).
When both the blocks do not belong to a macroblock coded using the intra prediction mode (No in S<b>122</b>), a determination based on another determination factor is executed (S<b>125</b>).
On the other hand, when at least one of the blocks belongs to a macroblock coded using the intra prediction mode (Yes in S<b>122</b>), the filter strength is (always) set to bS=4 that means the highest strength without considering any other determination factor (S<b>123</b>).
In this way, the conventional filtering method does not make it possible to execute internal filtering processes for such two blocks that are located across the boundary in different manners (in terms of filter strengths and application or non-application of a filter). In addition, the Standard considers processes up to the determination of a filter strength focusing on IPCM, but does not make it possible to perform control for outputting raw pixel values of an IPCM block when one of the blocks is an IPCM block and the other is a non-IPCM block.
An IPCM block is a block including pixel values faithfully showing “the original image” without a coding loss. Accordingly, in the filtering process, it is possible to control filtering at the boundary with an IPCM block or to control application of a filter to the IPCM block.
In addition, as described above, the filter strength for the boundary between two blocks is generally determined based on the value qPp derived from the quantization parameter QPp for the first macroblock and the value qPay derived from the quantization parameter QPq for the second macroblock. Furthermore, the value of the quantization parameter qPq for the IPCM block is set to 0. In this way, the average value qPay for determining the filter strength for the boundary between the IPCM block and the non-IPCM block is half the value of the quantization parameter QPq for the non-IPCM block. In other words, the average value qPay is inevitably small at the boundary between the IPCM block and the non-IPCM block, compared to a normal case (of the boundary between non-IPCM blocks). In this way, the inventors have found that it is impossible to set an appropriate filter strength for the boundary between such an IPCM block and a non-IPCM block.
In view of this, a filtering method according to one non-limiting and exemplary embodiment is a filtering method of performing deblocking filtering on a boundary between an Intra Pulse Code Modulation (IPCM) block and a non-IPCM block which are adjacent to each other in an image, and this filtering method includes: determining a first quantization parameter for the non-IPCM block; determining a second quantization parameter for the IPCM block and for determining a filter strength, using the first quantization parameter; determining the filter strength, using the first quantization parameter and the second quantization parameter; and performing the deblocking filtering on the boundary, using the determined filter strength.
In this way, with the filtering method according to one non-limiting and exemplary embodiment, it is possible to determine the quantization parameter for the IPCM block, using the quantization parameter for the non-IPCM block. In this way, with the filtering method, it is possible to perform appropriate filtering on the boundary between the IPCM block and the non-IPCM block, compared to the case of using zero as the quantization parameter for the IPCM block.
In addition, in the determining of a second quantization parameter, a value of the second quantization parameter may be set to be same as a value of the first quantization parameter.
In addition, in the determining of the filter strength, an average value between the first quantization parameter and the second quantization parameter may be calculated, and the filter strength may be determined using the calculated average value.
Furthermore, a moving picture decoding method according to one non-limiting and exemplary embodiment is a moving picture decoding method of decoding a coded bit stream, and this moving picture decoding method includes: parsing the coded bit stream and obtain difference information indicating that a difference between a quantization parameter for a block which is located immediately before a current block to be processed in processing order and a quantization parameter for the current block is zero; and the filtering method, wherein, in the determining of a second quantization parameter, a value of the second quantization parameter is set to be same as a value of the first quantization parameter according to the difference information.
In this way, with the moving picture decoding method according to one non-limiting and exemplary embodiment, it is possible to determine the quantization parameter for the IPCM block according to difference information that is used for another purpose. Thus, with the moving picture decoding method, it is possible to appropriately determine the quantization parameter for the IPCM block without adding, to the moving picture decoding apparatus, any function for performing special processing on the IPCM block.
In addition, in the determining of a second quantization parameter, when the non-IPCM block is located immediately before the IPCM block in the processing order, the value of the second quantization parameter may be set to be the same as the value of the first quantization parameter according to the difference information.
In addition, the moving picture decoding method may further include: decoding the coded bit stream to generate a quantized coefficient; performing inverse quantization and inverse transform on the quantized coefficient to generate a decoded residual signal; and adding a prediction image signal to the decoded residual signal to generate a decoded image signal, wherein the IPCM block and the non-IPCM block may be included in the decoded image signal, the moving picture decoding method may further include performing prediction using an image signal resulting from the deblocking filtering in the filtering method, to generate the prediction image signal.
In addition, the moving picture decoding method may further include switching between decoding that conforms to a first standard and decoding that conforms to a second standard according to an identifier indicating one of the first standard and the second standard, the identifier being included in the coded bit stream, wherein when the identifier indicates the first standard, the parsing and the filtering method may be performed as the decoding that conforms to the first standard.
Furthermore, a moving picture coding method according to one non-limiting and exemplary embodiment is a moving picture coding method of coding an input image signal to generate a coded bit stream, and this moving picture coding method includes: the filtering method; and generating the coded bit stream including difference information indicating that a difference between a quantization parameter for a block which is located immediately before a current block to be processed in processing order and a quantization parameter for the current block is zero, the difference information being generated as information indicating that the value of the second quantization parameter is same as the value of the first quantization parameter.
In this way, with the moving picture coding method according to one non-limiting and exemplary embodiment, it is possible to transmit, to the moving picture decoding apparatus, information that allows the moving picture decoding apparatus to determine the quantization parameter for the IPCM block using the difference information used for another purpose. Thus, with the moving picture decoding method, the moving picture decoding apparatus can appropriately determine the quantization parameter for the IPCM block without the need that the moving picture decoding apparatus has a function for performing special processing on the IPCM block.
In addition, in the generating, the difference information may be generated when the non-IPCM block is located immediately before the IPCM block in the processing order.
In addition, the moving picture coding method may further include: subtracting a prediction image signal from the input image signal to generate a residual signal; performing transform and quantization on the residual signal to generate a quantized coefficient; coding the quantized coefficient to generate the coded bit stream; performing inverse quantization and inverse transform on the quantized coefficient to generate a decoded residual signal; and adding the predicted image signal to the decoded residual signal to generate a decoded image signal, wherein the IPCM block and the non-IPCM block may be included in the decoded image signal, the moving picture coding method may further include performing prediction using an image signal resulting from the deblocking filtering in the filtering method, to generate the prediction image signal.
Furthermore, a moving picture decoding apparatus according to one non-limiting and exemplary embodiment is a moving picture decoding apparatus which performs deblocking filtering on a boundary between an Intra Pulse Code Modulation (IPCM) block and a non-IPCM block which are adjacent to each other in an image, and this moving picture decoding apparatus includes: a first quantization parameter determining unit configured to determine a first quantization parameter for the non-IPCM block; a second quantization parameter determining unit configured to determine a second quantization parameter for the IPCM block and for determining a filter strength, using the first quantization parameter; a filter strength determining unit configured to determine the filter strength, using the first quantization parameter and the second quantization parameter; and a filter unit configured to perform deblocking filtering on the boundary, using the determined filter strength.
With this structure, the moving picture decoding apparatus according to one non-limiting and exemplary embodiment determines the quantization parameter for the IPCM block, using the quantization parameter for the non-IPCM block. In this way, the moving picture decoding apparatus can perform more appropriate filtering on the boundary between the IPCM block and the non-IPCM block, compared to the case of using zero as the quantization parameter for the IPCM block.
Furthermore, a moving picture coding apparatus according to one non-limiting and exemplary embodiment is a moving picture coding apparatus which performs deblocking filtering on a boundary between an Intra Pulse Code Modulation (IPCM) block and a non-IPCM block which are adjacent to each other in an image, and this moving picture coding apparatus includes: a first quantization parameter determining unit configured to determine a first quantization parameter for the non-IPCM block; a second quantization parameter determining unit configured to determine a second quantization parameter for the IPCM block and for determining a filter strength, using the first quantization parameter; a filter strength determining unit configured to determine the filter strength, using the first quantization parameter and the second quantization parameter; and a filter unit configured to perform deblocking filtering on the boundary, using the determined filter strength.
With this structure, the moving picture coding apparatus according to one non-limiting and exemplary embodiment determines the quantization parameter for the IPCM block, using the quantization parameter for the non-IPCM block. In this way, the moving picture coding apparatus can perform more appropriate filtering on the boundary between the IPCM block and the non-IPCM block, compared to the case of using zero as the quantization parameter for the IPCM block.
In addition, the moving picture coding and decoding apparatus according to one non-limiting and exemplary embodiment includes the moving picture coding apparatus and the moving picture decoding apparatus.
These general and specific aspects may be implemented using a system, a method, an integrated circuit, a computer program, or a computer-readable recording medium such as a CD-ROM, or any combination of systems, methods, integrated circuits, computer programs, or computer-readable recording media.
Hereinafter, moving picture decoding apparatuses and moving picture coding apparatuses according to certain exemplary embodiments are described in greater detail with reference to the accompanying Drawings.
Each of the exemplary embodiments described below shows a general or specific example. The numerical values, shapes, materials, structural elements, the arrangement and connection of the structural elements, steps, the processing order of the steps etc. shown in the following exemplary embodiments are mere examples, and therefore do not limit the scope of the appended Claims and their equivalents. Therefore, among the structural elements in the following exemplary embodiments, structural elements not recited in any one of the independent claims are described as arbitrary structural elements.
Embodiment 1
Hereinafter, a description is given of a filtering method according to Embodiment 1.
<figref idref="DRAWINGS">FIG. 4</figref> illustrates a concept of a method of determining a factor for application of the filtering method according to this embodiment and determining a filter strength of an inter-pixel filter. Three circles in the illustration show pixels included in the first block as in <figref idref="DRAWINGS">FIG. 1</figref>. The same elements as in <figref idref="DRAWINGS">FIG. 1</figref> among the remaining elements are not described again.
A filtering method according to this embodiment is for filtering a plurality of blocks included in an image. Typically, the filtering method is applied to deblocking filtering that is performed on a boundary between adjacent blocks. Hereinafter, a description is given of an example of applying deblocking filtering to the exemplary embodiments. However, the exemplary embodiments are also applicable to in-loop filtering (Adaptive Loop Filter) other than deblocking filtering.
The filtering method according to this embodiment is different from the filtering method described with reference to <figref idref="DRAWINGS">FIG. 1</figref> in the points indicated below.
First, unfiltered pixel values are output as the pixel values of three pixels of the block that is IPCM at the right side in the illustration.
In addition, control is performed to differentiate filtering for the first block and filtering for the second block. For example, a filter is applied to one (at the left side) of the blocks across the boundary in the illustration, and no filter is applied to the other (at the right side). In this way, such control for performing the different filtering processes between the blocks is performed.
Next, the filter strength for the left-side block to which the filter is applied is derived based only on the quantization parameter QPp of the left-side block. In other words, the filter strength of the non-IPCM block at the left side is derived without using the quantization parameter QPq of the right-side macroblock or any other substitute fixed value (0 in the conventional example).
A determination regarding IPCM in H.264 shown in <figref idref="DRAWINGS">FIG. 2</figref> is made as to whether the IPCM is an IPCM macroblock or not. Here, such a determination is made as to whether the IPCM is a prediction unit (PU) that has a variable size. In other words, an IPCM block below is a block that belongs to a PU block of an IPCM type, and a non-IPCM block is a block that belongs to a PU block of a non-IPCM type.
Hereinafter, these operations are described with reference to the drawings.
<figref idref="DRAWINGS">FIG. 5</figref> is a flowchart of a processing order in a filtering method according to this embodiment.
The filtering method according to this embodiment is executed as a part of coding processes or decoding processes. Accordingly, this filtering method is executed by one of a filtering unit in a coding loop within a moving picture coding apparatus shown in <figref idref="DRAWINGS">FIG. 6</figref> described later and a filtering unit in a decoding loop within a moving picture decoding apparatus shown in <figref idref="DRAWINGS">FIG. 9</figref> described later, and a control unit for controlling the filter.
The control unit determines whether the PU block type of one of the two blocks sharing the boundary is IPCM or not (S<b>201</b>). In the exemplary case of <figref idref="DRAWINGS">FIG. 4</figref>, the right-side PU block is an IPCM block, and thus the one is determined to be of an IPCM type. More specifically, the control unit executes this determination using a macroblock type, or an attribute parameter of image data such as a motion compensation block size.
When at least one of the two blocks is an IPCM block (Yes in S<b>201</b>), the control unit determines whether the other of the two blocks is an IPCM block or not (S<b>202</b>). For example, as in the case of the illustration in <figref idref="DRAWINGS">FIG. 4</figref>, the right-side block is an IPCM block. Accordingly, the control unit determines whether the other block that is the left-side block is an IPCM block or not.
In other words, in steps S<b>201</b> and S<b>202</b>, the control unit determines whether each of the blocks is an IPCM block or a non-IPCM block. More specifically, the control unit determines (1) whether both of the two blocks are non-IPCM blocks (No in S<b>201</b>), and (2) whether both of the two blocks are IPCM blocks (Yes in S<b>202</b>) or (3) whether one of the blocks is an IPCM block and the other is a non-IPCM block (No in S<b>202</b>).
When the other block is an IPCM block (Yes in S<b>202</b>), that is, when both the blocks are IPCM blocks, filtering is skipped for the pixels p and q of both the blocks (both of the first block and the second block (S<b>203</b>).
On the other hand, when the other block is not an IPCM block (No in S<b>202</b>), that is, only one of the blocks is an IPCM block, and the other is a non-IPCM block, the control unit performs control for causing the filtering unit to execute filtering in Steps S<b>204</b> and S<b>205</b>.
First, the filtering unit executes filtering using a predetermined strength on pixels included in the non-IPCM block (for example, the three pixels at the left side in <figref idref="DRAWINGS">FIG. 4</figref>), and outputs the filtered pixel values as the pixel values of the non-IPCM block (S<b>204</b>). In addition, this filtering also uses pixel values of an IPCM block, in addition to the pixel values of the non-IPCM block. More specifically, the filtering unit smoothes the pixel values of the non-IPCM block and the pixel values of the IPCM block to calculate the pixel values of the filtered non-IPCM block.
In addition, the filtering unit outputs the unfiltered pixel values for the pixels included in the IPCM block (pixels q<b>0</b>, q<b>1</b>, . . . at the q side) (S<b>205</b>). Here, the unfiltered pixel values are output in the following two conceivable cases.
A first method is a method of filtering a non-IPCM block, and outputting the original pixel values of an IPCM block without filtering.
A second method is a method of filtering both of a non-IPCM block and an IPCM block, replacing the pixel values of the IPCM block among the filtered pixel values by the original pixel values before the filtering, and outputting the replacement pixel values. In any one of the cases, the IPCM block's pixel values that are output are the original pixel values before the execution of the filtering.
The filtering method can be regarded as involving control for taking different filtering approaches (filter strengths, application or non-application of a filter, and the number(s) of pixels in the application) between the blocks.
The filtering (especially, operations by the control unit and the filtering unit) in Steps S<b>204</b> and S<b>205</b> are described later with reference to <figref idref="DRAWINGS">FIGS. 6 to 8</figref>.
In addition, when both the blocks are non-IPCM blocks in Step S<b>201</b> (No in S<b>201</b>), the control unit performs default filtering operation (S<b>206</b>). In other words, the control unit executes filtering using a predetermined filter strength on both the blocks.
Hereinafter, a description is given of a moving picture coding apparatus which performs the filtering method.
<figref idref="DRAWINGS">FIG. 6</figref> is a functional block diagram of a moving picture coding apparatus <b>100</b> according to this embodiment. The moving picture coding apparatus <b>100</b> shown in <figref idref="DRAWINGS">FIG. 6</figref> codes an input image signal <b>120</b> to generate a coded bit stream <b>132</b>. The moving picture coding apparatus <b>100</b> comprises a subtractor <b>101</b>, an orthogonal transform unit <b>102</b>, a quantization unit <b>103</b>, an inverse quantization unit <b>104</b>, an inverse orthogonal transform unit <b>105</b>, an adder <b>106</b>, a filtering unit <b>115</b>, a memory <b>109</b>, a prediction unit <b>110</b>, a variable length coding unit <b>111</b>, a selecting unit <b>112</b>, and a control unit <b>113</b>.
The subtractor <b>101</b> calculates a difference between the input image signal <b>120</b> and a prediction image signal <b>130</b> to generate a residual signal <b>121</b>. The orthogonal transform unit <b>102</b> performs orthogonal transform on the residual signal <b>121</b> to generate a transform coefficient <b>122</b>. The quantization unit <b>103</b> quantizes the transform coefficient <b>122</b> to generate the quantized coefficient <b>123</b>.
The inverse quantization unit <b>104</b> performs inverse quantization on the transform coefficient <b>123</b> to generate the transform coefficient <b>124</b>. The inverse orthogonal transform unit <b>105</b> performs inverse orthogonal transform on the transform coefficient <b>124</b> to generate a decoded residual signal <b>125</b>. The adder <b>106</b> adds the decoded residual signal <b>125</b> and the prediction image signal <b>130</b> to generate a decoded image signal <b>126</b>.
The filtering unit <b>115</b> filters the decoded image signal <b>126</b> to generate an image signal <b>128</b>, and stores the generated image signal <b>128</b> in the memory <b>109</b>.
The prediction unit <b>110</b> selectively performs intra prediction and inter prediction using the image signal <b>128</b> stored in the memory <b>109</b> to generate a prediction image signal <b>130</b>.
The variable length coding unit <b>111</b> performs variable length coding (entropy coding) on the quantized coefficient <b>123</b> to generate a coded signal <b>131</b>.
The selecting unit <b>112</b> selects the input image signal <b>120</b> when a current block is an IPCM block, and selects a coded signal <b>131</b> when a current block is a non-IPCM block. Then, the selecting unit <b>112</b> outputs the selected signal as a coded bit stream <b>132</b>.
The control unit <b>113</b> controls the filtering unit <b>115</b> and the selecting unit <b>112</b>.
Here, the orthogonal transform unit <b>102</b> and the quantization unit <b>103</b> are examples of transform and quantization units which generate a quantization coefficient by performing transform and quantization on the residual signal. In addition, the variable length coding unit <b>111</b> is an example of a coding unit which codes the quantized coefficient to generate a coded signal. In other words, the inverse quantization unit <b>104</b> and the inverse orthogonal transform unit <b>105</b> are examples of an inverse quantization unit and an inverse transform unit which generate a decoded residual signal by performing inverse quantization and inverse transform on the quantized coefficient.
Here, especially major elements of the moving picture coding apparatus <b>100</b> according to this embodiment are the control unit <b>113</b> and the filtering unit <b>115</b>.
As described above, the filtering method according to this embodiment is executed as parts of the coding processes and the decoding processes. Accordingly, the filtering unit <b>115</b> is located before the memory <b>109</b> for holding reference pictures etc. The filtering unit <b>115</b> stores, in the memory <b>109</b> in the loops, the result of executing the filtering (or the result of skipping the filtering). In this respect, the filtering unit <b>115</b> is the same as a filter called a Loop filter in H.264.
In addition, the filtering unit <b>115</b> has two input lines. A first one of the input signals is a decoded image signal <b>126</b> representing the pixel values of the non-IPCM block, and a second one of the input signals is an input image signal <b>120</b> representing the pixel values of the IPCM block. Here, the decoded image signal <b>126</b> is a reconstructed coded image signal after being subjected to transform, quantization, inverse quantization, and inverse transform. In addition, the input image signal <b>120</b> is the original image signal which is not subjected to the coding and decoding.
Under control of the control unit <b>113</b>, the filtering unit <b>115</b> outputs the unfiltered original pixel values of the IPCM block, and filters the pixel values of the non-IPCM block and outputs the filtered values.
This filtering unit <b>115</b> includes a filter unit <b>107</b> and a selecting unit <b>108</b>. The filter unit <b>107</b> filters the decoded image signal <b>126</b> to generate an image signal <b>127</b>. The selecting unit <b>108</b> selects the image signal <b>127</b> when a current block is an IPCM block, and selects an input image signal <b>120</b> when a current block is a non-IPCM block and then outputs the selected signal as an image signal <b>128</b>.
Each of <figref idref="DRAWINGS">FIGS. 7A and 7B</figref> is an illustration of an example of pixels across a boundary between two blocks. In the example shown in <figref idref="DRAWINGS">FIG. 7A</figref>, the two blocks are adjacent to each other in the horizontal direction. Here, the block including the pixels p<b>0</b> to pn at the left side is referred to as a first block. This first block is a non-IPCM block. In addition, the other block is referred to as a second block. This second block is an IPCM block. Here, as shown in <figref idref="DRAWINGS">FIG. 7B</figref>, the filtering in this embodiment is naturally applicable in the case where an IPCM block and a non-IPCM block are adjacent to each other in the vertical direction.
Hereinafter, a description is given of a specific example of operations by the filtering unit <b>115</b>.
Each of <figref idref="DRAWINGS">FIG. 8A</figref> and <figref idref="DRAWINGS">FIG. 8B</figref> is an illustration of operations performed by the filtering unit <b>115</b> in the case of filtering pixels p [i] and q [j] included in the two blocks illustrated in <figref idref="DRAWINGS">FIG. 7A</figref>. In other words, the first block belongs to the non-IPCM block, and the second block is the IPCM block.
The filtering unit <b>115</b> performs operations shown in <figref idref="DRAWINGS">FIG. 8A</figref> and <figref idref="DRAWINGS">FIG. 8B</figref> according to a control signal from the control unit <b>113</b>.
<figref idref="DRAWINGS">FIG. 8A</figref> is an illustration of an operation by the filtering unit <b>115</b> on the non-IPCM block. This operation corresponds to Step S<b>204</b> shown in <figref idref="DRAWINGS">FIG. 5</figref>. In other words, the filtering unit <b>115</b> calculates output results pf<b>0</b>, pf<b>1</b>, . . . of the pixels corresponding to the first block, using both the pixel values (p<b>0</b>, p<b>1</b>, . . . ) of the first block and the pixel values (q<b>0</b>, q<b>1</b>, . . . ) of the second block.
<figref idref="DRAWINGS">FIG. 8B</figref> is an illustration of operations by the filtering unit <b>115</b> on the IPCM block. This operation corresponds to Step S<b>205</b> shown in <figref idref="DRAWINGS">FIG. 5</figref>. In other words, the filtering unit <b>115</b> outputs the same values (unfiltered pixel values) as the input values q<b>0</b>, q<b>1</b>, and q<b>2</b>, for the pixels of the second block.
Hereinafter, a description is given of a moving picture decoding apparatus which performs the filtering method.
<figref idref="DRAWINGS">FIG. 9</figref> is a functional block diagram of a moving picture decoding apparatus according to this embodiment.
The moving picture decoding apparatus <b>200</b> shown in <figref idref="DRAWINGS">FIG. 9</figref> decodes the coded bit stream <b>232</b> to generate an output image signal <b>220</b>. Here, the coded bit stream <b>232</b> is, for example, a coded bit stream <b>132</b> generated by the moving picture coding apparatus <b>100</b>.
This moving picture decoding apparatus <b>200</b> comprises an inverse quantization unit <b>204</b>, an inverse orthogonal transform unit <b>205</b>, an adder <b>206</b>, a filtering unit <b>215</b>, a memory <b>209</b>, a prediction unit <b>210</b>, a variable length decoding unit <b>211</b>, a distributing unit <b>212</b>, and a control unit <b>231</b>.
The distributing unit <b>212</b> supplies the coded bit stream <b>232</b> to the filtering unit <b>215</b> when a current block is an IPCM block, and supplies the coded bit stream <b>232</b> to the variable length decoding unit <b>211</b> when a current block is a non-IPCM block.
The variable length decoding unit <b>211</b> performs variable length decoding (entropy decoding) on the coded bit stream <b>232</b> to generate a quantized coefficient <b>223</b>.
The inverse quantization unit <b>204</b> performs inverse quantization on the transform coefficient <b>223</b> to generate the transform coefficient <b>224</b>. The inverse orthogonal transform unit <b>205</b> performs inverse orthogonal transform on the transform coefficient <b>224</b> to generate a decoded residual signal <b>225</b>. The adder <b>206</b> adds the decoded residual signal <b>225</b> and the prediction image signal <b>230</b> to generate a decoded image signal <b>226</b>.
The filtering unit <b>215</b> filters the decoded image signal <b>226</b> to generate an image signal <b>228</b>, and stores the generated image signal <b>228</b> in the memory <b>209</b>.
This filtering unit <b>215</b> includes a filter unit <b>207</b> and a selecting unit <b>208</b>. The filter unit <b>207</b> filters the decoded image signal <b>226</b> to generate an image signal <b>227</b>. The selecting unit <b>208</b> selects the image signal <b>227</b> when a current block is an IPCM block, and selects an input image signal <b>232</b> when a current block is a non-IPCM block and then outputs the selected signal as an image signal <b>228</b>.
In addition, the image signal <b>228</b> stored in the memory <b>209</b> is output as an output image signal <b>220</b>.
The prediction unit <b>210</b> selectively performs intra prediction and inter prediction using the image signal <b>228</b> stored in the memory <b>209</b> to generate a prediction image signal <b>230</b>.
The control unit <b>213</b> controls the filtering unit <b>215</b> and the distributing unit <b>212</b>.
Here, the variable length decoding unit <b>211</b> is an example of a decoding unit which decodes the coded bit stream to generate a quantized coefficient.
Here, operations by the filtering unit <b>215</b> are the same as operations by the filtering unit <b>115</b> of the moving picture coding apparatus <b>100</b>. The control unit <b>213</b> is different from the control unit <b>113</b> included in the moving picture coding apparatus <b>100</b> in the point of determining whether the PU unit type of the first block or the second block is IPCM or not from the coded bit stream <b>232</b> that is an input coded string, but is the same in the other functions.
Hereinafter, descriptions are given of structures of variations of the filtering units <b>115</b> and <b>215</b>.
Each of <figref idref="DRAWINGS">FIG. 10A</figref> to <figref idref="DRAWINGS">FIG. 10H</figref> is an illustration of a conceivable implementation regarding a filter input-output relationship of filtering units <b>115</b> and <b>215</b>.
As shown in <figref idref="DRAWINGS">FIG. 10A</figref>, each of the filter units <b>107</b> and <b>207</b> may include filter units <b>301</b> and <b>302</b> connected in series. For example, the first filter unit <b>301</b> and the second filter unit <b>302</b> may perform different processes. In this case, for example, the whole filtering processes are bypassed for the IPCM block.
As shown in <figref idref="DRAWINGS">FIG. 10B</figref>, the filter unit <b>311</b> may perform filtering using both the input signals. In this case, the selecting unit <b>312</b> outputs unfiltered values for the IPCM block, and the filter unit <b>311</b> outputs filtered values for the non-IPCM block.
As shown in <figref idref="DRAWINGS">FIG. 10C</figref>, it is also good to perform filtering processes different between the IPCM block and the non-IPCM block. For example, different filtering processes may be filtering processes using different filter strengths. In addition, for example, the filter strength for the IPCM block may be lower than the filter strength for the non-IPCM block.
More specifically, the distributing unit <b>321</b> outputs the input signal to the filter unit <b>322</b> when a current block is a non-IPCM block, and outputs the input signal to the filter unit <b>323</b> when a current block is an IPCM block. Here, the input signals include both the decoded image signal <b>126</b> and the input image signal <b>120</b>. The filter unit <b>322</b> performs filtering of a first filter strength using the input signal to generate pixel values of the current block. The filter unit <b>322</b> performs filtering using a second filter strength lower than the first filter strength to generate pixel values of the current block. The selecting unit <b>324</b> outputs the pixel values of the current block filtered by the filter unit <b>322</b> when the current block is the non-IPCM block, and outputs the pixel values of the current block filtered by the filter unit <b>323</b> when the current block is the IPCM block.
As shown in <figref idref="DRAWINGS">FIG. 10D</figref>, processing on the IPCM block does not always need to be performed. More specifically, the distributing unit <b>331</b> outputs the input signal to the filter unit <b>332</b> when a current block is a non-IPCM block, and outputs the input signal to the selecting unit <b>333</b> when a current block is an IPCM block. The selecting unit <b>333</b> outputs the pixel values of the current block filtered by the filter unit <b>332</b> when the current block is the non-IPCM block, and outputs the pixel values of the current block in the signal from the filter unit <b>331</b> when the current block is the IPCM block.
As shown in <figref idref="DRAWINGS">FIG. 10E</figref>, it is possible to switch input sides of filter units instead of switching output sides of the filter units. Furthermore, the numbers of the stages of filter units are different between an IPCM block and a non-IPCM block. More specifically, the distributing unit <b>341</b> outputs the input signal to the filter unit <b>342</b> when a current block is a non-IPCM block, and outputs the input signal to the filter unit <b>344</b> when a current block is an IPCM block. The filter unit <b>342</b> performs filtering using the input signal. The filter unit <b>343</b> performs filtering using the signal filtered by the filter unit <b>342</b>, and outputs the pixel values of the current filtered block. The filter unit <b>344</b> performs filtering using the input signal, and outputs the pixel values of the current filtered block. Here, the filtering performed by the filter unit <b>344</b> may be the same as or different from the filtering performed by the filter unit <b>342</b> and the filtering performed by the filter unit <b>343</b>.
As shown in <figref idref="DRAWINGS">FIG. 10F</figref>, it is possible to switch output sides of filter units. More specifically, the filter unit <b>351</b> performs filtering using the first input signal. The filter unit <b>352</b> performs filtering using the signal filtered by the filter unit <b>351</b>, and outputs the pixel values of the current filtered block. The filter unit <b>353</b> performs filtering using the second input signal, and outputs the pixel values of the current filtered block. The selecting unit <b>354</b> outputs the pixel values of the current block filtered by the filter unit <b>352</b> when the current block is the non-IPCM block, and outputs the pixel values of the current block filtered by the filter unit <b>353</b> when the current block is the IPCM block.
Here, outputting an unfiltered value involves replacing a pixel value resulting from filtering by the original input value p and outputting the replacement value.
As shown in <figref idref="DRAWINGS">FIG. 10G</figref>, it is possible to use a signal filtered in one of two lines in filtering that is performed in the other line. More specifically, the filter unit <b>361</b> performs filtering using the second input signal. The filter unit <b>352</b> performs filtering using the first input signal and a signal filtered by the filter unit <b>361</b>. The selecting unit <b>363</b> outputs the pixel values of the current block filtered by the filter unit <b>362</b> when the current block is the non-IPCM block, and outputs the pixel values of the current block filtered by the filter unit <b>361</b> when the current block is the IPCM block. The selecting unit <b>363</b> may output the pixel values of the current block filtered by the filter unit <b>362</b> when the current block is the IPCM block, and output the pixel values of the current block filtered by the filter unit <b>361</b> when the current block is the non-IPCM block.
As shown in <figref idref="DRAWINGS">FIG. 10H</figref>, a value stored once in the memory <b>373</b> may be used as an input. More specifically, the selecting unit <b>371</b> selects one of the input signal and the signal stored in the memory <b>373</b>. The filter unit <b>372</b> performs filtering using the signal selected by the selecting unit <b>371</b>.
These are examples, and thus it is only necessary for the filtering unit <b>115</b> according to this embodiment to exert a function of finally “outputting unfiltered values for the pixels in an IPCM block”.
Hereinafter, a description is given of a modified version of a filtering method according to this embodiment. <figref idref="DRAWINGS">FIG. 11</figref> is a flowchart of operations in the modified version of the filtering method according to this embodiment.
It has been described that filtering is applied to the non-IPCM block in Step S<b>204</b> of <figref idref="DRAWINGS">FIG. 5</figref> and unfiltered pixel values of the IPCM block are output in Step S<b>205</b> of <figref idref="DRAWINGS">FIG. 5</figref>. However, these processes may be realized in the steps indicated below. For example, it is possible to perform processes shown in <figref idref="DRAWINGS">FIG. 11</figref> instead of Steps S<b>204</b> and S<b>205</b> shown in <figref idref="DRAWINGS">FIG. 5</figref>.
First, pixel values of a first block (block [0]) and a second block (block y [1]) adjacent to each other are obtained (S<b>221</b>). Here, for example, the first block is a non-IPCM block, and the second block is an IPCM block.
Next, a filter strength bS [0] that is applied to the first block and a filter strength bS [1] that is applied to the second block are derived (S<b>222</b> and S<b>223</b>). Here, the filter strength bS [0] and the filter strength bS [1] show different strengths. In the conventional art, only one filter strength is set for a block boundary. For example, in this embodiment, the filter strength for the IPCM block is set lower than the filter strength for the non-IPCM block.
Next, both the blocks are filtered using the filter strength bS [0], and the pixel values of the second block after the filtering are output (S<b>125</b>). Next, both the blocks are filtered using the filter strength bS [1], and the pixel values of the second block after the filtering are output (S<b>225</b>).
Here, it is possible to control application or non-application of filtering by setting the value of the filter strength to 0. In other words, it is also good to derive for each of the blocks a flag (filterSamplesFlag) for controlling application or non-application of filtering.
As described above, the filtering method according to this embodiment makes it possible to execute filtering on one of the blocks using the first filter strength and execute filtering on the other block using the second filter strength. In addition, the filtering method makes it possible to perform such processing in filtering processes.
<figref idref="DRAWINGS">FIG. 12</figref> is a flowchart of operations in a variation of the filtering method according to this embodiment. The processes shown in <figref idref="DRAWINGS">FIG. 12</figref> further include Step S<b>401</b>, in addition to the processes shown in <figref idref="DRAWINGS">FIG. 3</figref>.
This Step S<b>401</b> is added to provide an appropriate filter strength to an IPCM block which is inevitably determined to be a block that is intra predicted. In Step S<b>401</b>, a determination is made as to whether at least one of the first block and the second block is an IPCM block or not. When at least one of the first block and the second block is the IPCM block (Yes in S<b>401</b>), a filter strength (bS) is determined to be any one of 3, 2, 1, and 0 that is smaller than N (=4) (S<b>124</b>). In addition, when both the first block and the second block are non-IPCM blocks (No in S<b>401</b>), the filter strength is set to bS=N which means the highest strength (S<b>123</b>).
In the case of the filtering method shown in <figref idref="DRAWINGS">FIG. 3</figref>, when one or both of the blocks is a macroblock coded using the intra prediction mode (Yes in S<b>122</b>), the filter strength itself is always set to be bS=4 which means the highest strength without considering any other determination factor.
On the other hand, in the case of this embodiment's variation shown in <figref idref="DRAWINGS">FIG. 12</figref>, when one or both of the blocks is a macroblock coded using the intra prediction mode (Yes in S<b>122</b>) and when one of the blocks is an IPCM block (Yes in S<b>401</b>), a filter strength (bS=0 to 3) lower than the filter strength (bS=4) set in Step S<b>123</b> is set.
<figref idref="DRAWINGS">FIG. 13</figref> is an illustration of filter strengths determined using the filtering method according to this embodiment and block units which define a boundary.
As shown in <figref idref="DRAWINGS">FIG. 13</figref>, when a macroblock MB [0] is a macroblock coded using the inter prediction mode and a macroblock MB [1] is a macroblock coded using the intra prediction mode (Yes in S<b>122</b>) and when both the first and second blocks are non-IPCM blocks (No in S<b>401</b>), bS=4 is set to both the blocks (S<b>123</b>).
On the other hand, when a PU block [0] is coded using a non-IPCM mode and a PU block [1] is coded using an IPCM mode, that is, when a CU block [0] is a non-IPCM block and a CU block [1] is an IPCM block (Yes in S<b>401</b>), bS=any one of 0 to 3 is set to each of the CU block [0] and CU block [1]. In this example, bS=0 is set to the CU block [1] that is an IPCM block, and bS=any one of 1 to 3 is set to the CU block [0] that is a non-IPCM block.
Each of <figref idref="DRAWINGS">FIG. 14A</figref> and <figref idref="DRAWINGS">FIG. 14B</figref> is an illustration of a state in which an application range of a flag indicating that a filter is ON is extended by handling an IPCM block according to this embodiment. <figref idref="DRAWINGS">FIG. 14A</figref> shows, as a comparison example, a case of not applying an approach in this embodiment. <figref idref="DRAWINGS">FIG. 14B</figref> shows a case of applying the approach in this embodiment.
As shown in <figref idref="DRAWINGS">FIG. 14B</figref>, it is possible to extend the application range of the flag indicating that a filter is ON by using the filtering method according to this embodiment.
As described above, the filtering method according to this embodiment employs, for the determination, an implicit code interpretation rule that the filtering unit or the control unit “does not filter an IPCM block” in the in-loop filtering. In this way, as shown in <figref idref="DRAWINGS">FIG. 14A</figref> and <figref idref="DRAWINGS">FIG. 14B</figref>, it is possible to specify whether a filter is enabled or disabled for a coded string in a larger range. In this way, the filtering method according to this embodiment reduces the amount of bits.
Although examples of applying this embodiment to deblocking filtering have been described in the above descriptions, but similar methods are applicable to other processing. For example, it is possible to apply the processing to adaptive loop filtering (ALF) or adaptive offset, instead of the deblocking filtering.
The deblocking filtering is filtering that is used for a reconstructed pixel sample that is located near a block boundary. Deblocking filtering reduces noise that is generated at the block boundary due to quantization that is performed on a block-by-block basis.
Adaptive loop filtering is filtering for reducing noise in a target pixel by using pixel values surrounding the target pixel.
Adaptive offset is processing performed for each block to add or subtract an offset value to or from a plurality of pixels included in the block.
Hereinafter, descriptions are given of the moving picture coding apparatus <b>100</b> and the moving picture decoding apparatus <b>200</b> in these cases.
<figref idref="DRAWINGS">FIG. 15</figref> is a flowchart of the moving picture coding method according to a variation of this embodiment.
First, the moving picture coding apparatus <b>100</b> determines a prediction mode for a current block to be processed (S<b>301</b>). This prediction mode is one of the IPCM mode and the non-IPCM mode.
Next, the moving picture coding apparatus <b>100</b> writes the determined prediction mode in the coded bit stream <b>132</b> (S<b>302</b>). In other words, the variable length coding unit <b>111</b> generates the coded bit stream <b>132</b> (the coded signal <b>131</b>) including the determined prediction mode.
Next, the moving picture coding apparatus <b>100</b> determines whether or not the prediction mode is the IPCM mode (S<b>303</b>). When the prediction mode is the IPCM mode (Yes in S<b>303</b>), the moving picture coding apparatus <b>100</b> stores the input image signal <b>120</b> in the memory <b>109</b> as a reference picture for use in inter or intra prediction (S<b>306</b>).
When the prediction mode is the non-IPCM mode (No in S<b>303</b>), the moving picture coding apparatus <b>100</b> generates a decoded image signal <b>126</b> by reconstructing the blocks of an image sample based on the prediction mode (S<b>304</b>). Next, the moving picture coding apparatus <b>100</b> processes the decoded image signal <b>126</b> to generate an image signal <b>128</b> (S<b>305</b>). This processing includes at least one of deblocking filtering, adaptive loop filtering, and adaptive offset. Next, the moving picture coding apparatus <b>100</b> stores the generated image signal <b>128</b> in the memory <b>109</b> as the reference picture (S<b>306</b>).
<figref idref="DRAWINGS">FIG. 16</figref> is a flowchart of the moving picture decoding method according to a variation of this embodiment.
First, the moving picture decoding apparatus <b>200</b> parses a coded bit stream <b>232</b> so as to obtain the prediction mode for the current block included in the coded bit stream <b>232</b> (S<b>311</b>). This prediction mode is one of the IPCM mode and the non-IPCM mode.
Next, the moving picture decoding apparatus <b>200</b> determine whether or not the prediction mode is the IPCM mode (S<b>312</b>). When the prediction mode is the IPCM mode (Yes in S<b>312</b>), the moving picture decoding apparatus <b>200</b> stores the image signal of the current block included in the coded bit stream <b>232</b> in the memory <b>209</b> as a reference picture for use in inter or intra prediction (S<b>315</b>).
When the prediction mode is the non-IPCM mode (No in S<b>312</b>), the moving picture decoding apparatus <b>200</b> generates a decoded image signal <b>226</b> by reconstructing the blocks of an image sample based on the prediction mode (S<b>313</b>). Next, the moving picture decoding apparatus <b>200</b> processes the decoded image signal <b>226</b> to generate an image signal <b>228</b> (S<b>314</b>). This processing includes at least one of deblocking filtering, adaptive loop filtering, and adaptive offset. Next, the moving picture decoding apparatus <b>200</b> stores the generated image signal <b>228</b> in the memory <b>209</b> as the reference picture (S<b>315</b>).
Embodiment 2
A filtering method according to this embodiment is to determine a quantization parameter for an IPCM block using a quantization parameter for a non-IPCM block, in deblocking filtering that is performed on the boundary between the IPCM block and the non-IPCM block. For example, according to the filtering method, the value of the quantization parameter for the IPCM block is set to be the same value as the value of the quantization parameter for the non-IPCM block. In this way, according to the filtering method, it is possible to perform filtering using an appropriate filter strength on the boundary between the IPCM block and the non-IPCM block.
Hereinafter, differences from Embodiment 1 are mainly described, and the same descriptions are not repeated.
<figref idref="DRAWINGS">FIG. 17</figref> is a block diagram of a moving picture coding apparatus <b>400</b> according to this embodiment. The moving picture coding apparatus <b>400</b> shown in <figref idref="DRAWINGS">FIG. 17</figref> performs deblocking filtering on the boundary between an IPCM block and a non-IPCM block adjacent to each other in an image. The moving picture coding apparatus <b>400</b> includes: a first quantization parameter determining unit <b>401</b>; a second quantization parameter determining unit <b>402</b>; a filter strength determining unit <b>403</b>; and a filter unit <b>404</b>. The first quantization parameter determining unit <b>401</b>, the second quantization parameter determining unit <b>402</b>, the filter strength determining unit <b>403</b>, and the filter unit <b>404</b> are included in, for example, the filtering unit <b>115</b> or the filter unit <b>107</b> shown in <figref idref="DRAWINGS">FIG. 6</figref>. In addition, the moving picture coding apparatus <b>400</b> may further include some or all of the plurality of processing units of the moving picture coding apparatus <b>100</b> shown in <figref idref="DRAWINGS">FIG. 6</figref>.
<figref idref="DRAWINGS">FIG. 18</figref> is a block diagram of a moving picture decoding apparatus <b>500</b> according to this embodiment. The moving picture decoding apparatus <b>500</b> shown in <figref idref="DRAWINGS">FIG. 18</figref> performs deblocking filtering on the boundary between an IPCM block and a non-IPCM block adjacent to each other in an image. The moving picture decoding apparatus <b>500</b> includes: a first quantization parameter determining unit <b>501</b>; a second quantization parameter determining unit <b>502</b>; a filter strength determining unit <b>503</b>; and a filter unit <b>504</b>. The first quantization parameter determining unit <b>501</b>, the second quantization parameter determining unit <b>502</b>, the filter strength determining unit <b>503</b>, and the filter unit <b>504</b> are included in, for example, the filtering unit <b>215</b> or the filter unit <b>207</b> shown in <figref idref="DRAWINGS">FIG. 9</figref>. In addition, the moving picture decoding apparatus <b>500</b> may further include some or all of the plurality of processing units of the moving picture decoding apparatus <b>200</b> shown in <figref idref="DRAWINGS">FIG. 9</figref>.
The moving picture coding apparatus <b>400</b> and the moving picture decoding apparatus <b>500</b> perform similar filtering, and thus the filtering by the moving picture coding apparatus <b>400</b> is described below as a representative.
<figref idref="DRAWINGS">FIG. 19</figref> is a flowchart of a filtering method performed by the moving picture coding apparatus <b>400</b> according to this embodiment.
First, the first quantization parameter determining unit <b>401</b> determines a first quantization parameter <b>411</b> for a non-IPCM block (S<b>301</b>). For example, the first quantization parameter determining unit <b>401</b> obtains, as the first quantization parameter <b>411</b>, the quantization parameter for the non-IPCM block used by the quantization unit <b>103</b> or the inverse quantization unit <b>104</b>. Likewise, the first quantization parameter determining unit <b>401</b> obtains, as the first quantization parameter <b>411</b>, for example, the quantization parameter for the non-IPCM block used by the inverse quantization unit <b>204</b>.
Next, the second quantization parameter determining unit <b>402</b> determines a second quantization parameter <b>412</b> for determining a filter strength for an IPCM block, using the first quantization parameter <b>411</b> (S<b>302</b>). For example, the second quantization parameter determining unit <b>402</b> determines the second quantization parameter <b>412</b> to be the same value as the first quantization parameter <b>411</b>.
Next, the filter strength determining unit <b>403</b> determines a filter strength <b>413</b> using the first quantization parameter <b>411</b> and the second quantization parameter <b>412</b> (S<b>303</b>). For example, the filter strength determining unit <b>403</b> calculates an average value of the first quantization parameter <b>411</b> and the second quantization parameter <b>412</b>, and determines the filter strength <b>413</b> using the calculated average value.
Lastly, the filter unit <b>404</b> performs deblocking filtering on the boundary between the non-IPCM block and the IPCM block using the determined filter strength <b>413</b> (S<b>304</b>).
Hereinafter, a specific example of this filtering is described.
<figref idref="DRAWINGS">FIG. 20</figref> is a flowchart of an example of filtering according to this embodiment.
First, the moving picture coding apparatus <b>400</b> sets a parameter i to an initial value zero (S<b>411</b>). Next, the moving picture coding apparatus <b>400</b> determines whether or not the parameter i is 1 or larger (S<b>412</b>).
When the parameter i is 1 or smaller (Yes in S<b>412</b>), the moving picture coding apparatus <b>400</b> determines whether or not a block [i] is an IPCM block (S<b>413</b>). Here, the following processing is performed on i=0 and 1, that are, a block [0] and a block [1]. Here, the block [0] and the block [1] are two blocks adjacent to each other, and share the boundary on which deblocking filtering is performed.
When the block [i] is a non-IPCM block (No in S<b>413</b>), the first quantization parameter determining unit <b>401</b> calculates a quantization parameter qP [i] using the following Expression 2 (S<b>414</b>). <br /><i>qP[i</i>]=QP<i>y[i]</i> (Expression 2)
Here, the quantization parameter QPy is a quantization parameter for a luminance component used in a quantization process, and a quantization parameter qP is a parameter for calculating a filter strength. In other words, the first quantization parameter determining unit <b>401</b> sets, to the quantization parameter qP [i] for the non-IPCM block, the quantization parameter used in the quantization process on the luminance component of the non-IPCM block.
When the block [i] is an IPCM block (Yes in S<b>413</b>), the second quantization parameter determining unit <b>402</b> calculates a quantization parameter qP [i] using the following Expression 3 (S<b>415</b>). <br /><i>qP[i</i>]=QP<i>y</i>[(<i>i+</i>1)% 2] (Expression 3)
Expression 3 is qP [0]=QPy [1] when i=0, and qP [1]=QPy [0] when i=1. In other words, the second quantization parameter determining unit <b>402</b> sets, to the quantization parameter qP [i] for the IPCM block, the quantization parameter used in the quantization process on the luminance component of the non-IPCM block.
Next, the moving picture coding apparatus <b>400</b> adds “1” to the parameter i, and performs the processes starting with Step S<b>412</b>. More specifically, Steps S<b>413</b> to S<b>415</b> are executed on each of the block [0] and the block [1]. In this way, the quantization parameter qP [0] for the block [0] and the quantization parameter qP [1] for the block [1] are calculated.
When the sequential processes are completed, the parameter i is set to “2” in Step S<b>416</b>. In this case (No in S<b>412</b>), the filter strength determining unit <b>403</b> next calculates a parameter qPav for determining a filter strength, using the following Expression 4 (S<b>417</b>). <br /><i>qPav</i>=(<i>qP[</i>0<i>]+qP[</i>1]+1)>>1 (Expression 4)
In other words, the filter strength determining unit <b>403</b> sets the parameter qPav to the average value between qP [0] and qP [1].
Lastly, the filter strength determining unit <b>403</b> determines a filter strength <b>413</b> using the parameter qPay. Here, as a method for determining the filter strength <b>413</b>, it is possible to use, for example, the method described in Embodiment 1.
It is assumed here that the block [0] is a non-IPCM block, and the block [1] is an IPCM block. In this case, qPav=qPy [0]+qPy [1]+1>>1=QP [0]+QPy [0]+1>>1=QPy [0]. In other words, the parameter qPav that is the filter strength <b>413</b> is determined using only the quantization parameter for the luminance component of the non-IPCM block (the block [0]).
As described above, the moving picture coding apparatus <b>400</b> according to this embodiment can prevent a small filter strength from being set for the boundary between such an IPCM block and a non-IPCM block. In this way, the moving picture coding apparatus <b>400</b> is capable of performing filtering using an appropriate filter strength on the boundary between the IPCM block and the non-IPCM block.
The filtering by the moving picture decoding apparatus <b>500</b> is similar to the filtering by the moving picture coding apparatus <b>400</b>. More specifically, the filtering by the moving picture decoding apparatus <b>500</b> is explained by reading the above description of the filtering by the moving picture coding apparatus <b>400</b> such that the first quantization parameter determining unit <b>401</b>, the second quantization parameter determining unit <b>402</b>, the filter strength determining unit <b>403</b>, the filter unit <b>404</b>, the first quantization parameter <b>411</b>, the second quantization parameter <b>412</b>, and the filter strength <b>413</b> are respectively replaced with the first quantization parameter determining unit <b>501</b>, the second quantization parameter determining unit <b>502</b>, the filter strength determining unit <b>503</b>, the filter unit <b>504</b>, the first quantization parameter <b>511</b>, the second quantization parameter <b>512</b>, and the filter strength <b>513</b>.
In addition, the second quantization parameter determining unit <b>502</b> of the moving picture decoding apparatus <b>500</b> may determine the second quantization parameter <b>512</b> using the first quantization parameter <b>511</b> according to a delta QP (ΔQP). Here, the ΔQP is difference information indicating the difference between the quantization parameter for the block that is located immediately before a current block to be processed in processing order (coding order or decoding order) and the quantization parameter for the current block. In other words, when the ΔQP is zero, the second quantization parameter <b>412</b> for the IPCM block is set to the same value as the value of the first quantization parameter <b>411</b> for the non-IPCM block.
Hereinafter, descriptions are given of a flow of the processes of the moving picture coding method and a flow of the processes of the moving picture decoding method in both of which the ΔQP is used.
<figref idref="DRAWINGS">FIG. 21</figref> is a flowchart of the moving picture coding method according to a variation of this embodiment. The processes shown in <figref idref="DRAWINGS">FIG. 21</figref> further include Steps S<b>421</b> and S<b>422</b>, in addition to the processes shown in <figref idref="DRAWINGS">FIG. 19</figref>.
In Step S<b>421</b>, the moving picture coding apparatus <b>400</b> sets the ΔQP for the IPCM block to “0”. Next, the moving picture coding apparatus <b>400</b> generates a coded bit stream including ΔQP (S<b>422</b>).
In addition, <figref idref="DRAWINGS">FIG. 22</figref> is a flowchart of the moving picture decoding method according to the variation of this embodiment. Compared to the processes shown in <figref idref="DRAWINGS">FIG. 19</figref>, the processes shown in <figref idref="DRAWINGS">FIG. 22</figref> further include Step S<b>431</b>, and includes Step S<b>402</b>A instead of Step S<b>402</b>.
In Step S<b>431</b>, the moving picture decoding apparatus <b>500</b> parses the coded bit stream to obtain the ΔQP included in the coded bit stream.
In Step S<b>402</b>A, the second quantization parameter determining unit <b>502</b> determines the second quantization parameter <b>512</b> using the first quantization parameter <b>511</b> according to the ΔQP. Here, when the current block to be processed is an IPCM block, the ΔQP is set to “0”. Thus, according to the ΔQP, the second quantization parameter determining unit <b>502</b> sets the second quantization parameter <b>512</b> to the same value as the value of the quantization parameter for the block that is located immediately before the current block in the processing order.
In other words, when the block located immediately before the processing order is a non-IPCM block, the second quantization parameter for the IPCM block is set to the same value as the value of the first quantization parameter for the non-IPCM block as in the above-described processing. In other words, for the boundary between the IPCM block and the left adjacent non-IPCM block, the quantization parameter for the IPCM block is set to the same value as the value of the quantization parameter for the non-IPCM block. On the other hand, for each of the boundaries above, right, and below the IPCM block, the quantization parameter for the IPCM block is not always set to the same value as the value of the quantization parameter for the non-IPCM block. However, the quantization parameter for the IPCM block is set to the same value as the value of the quantization parameter for the right adjacent block and the value is generally not zero. Thus, the filter strength set in this case is larger than a filter strength that is set in the case of fixedly setting the quantization parameter for the IPCM block to zero. In this case, it is possible to set an appropriate filter strength for the boundary between the IPCM block and the non-IPCM block by setting the ΔQP for the non-IPCM block to “0”.
Here, the difference information indicating that the ΔQP is “0” and included in the coded bit stream may be information for allowing the moving picture decoding apparatus <b>500</b> to determine that the ΔQP is “0”. In other words, the difference information may be a parameter explicitly indicating that the ΔQP is “0” or may be another parameter. For example, it is also possible to specify that “ΔQP is assumed to be 0 when the parameter ΔQP is not included in the coded bit stream”. In this case, the moving picture coding apparatus <b>400</b> generates a coded bit stream without the parameter ΔQP for the IPCM block. In addition, the moving picture decoding apparatus <b>500</b> assumes that the ΔQP is zero when the coded bit stream does not include the parameter ΔQP.
The filtering methods, the moving picture coding method, the moving picture decoding method, the moving picture coding apparatuses, and the moving picture decoding apparatuses have been described above based on the non-limiting and exemplary embodiments and the variations thereof.
For example, it is also possible to combine at least parts of functions of the filtering methods, moving picture coding method, moving picture decoding method, moving picture coding apparatuses, moving picture decoding apparatuses according to the embodiments and the variations thereof.
In addition, the division of functional blocks in each of the block diagrams is exemplary. It is also possible to implement some of the functional blocks as a functional block, divide a functional block into plural blocks, and/or move part of the function(s) to any of the functional blocks. In addition, the functions of the plural functional blocks having functions similar to each other may be exerted in parallel or in time division by hardware or software.
In addition, the execution order of the plural steps of each of the filtering methods is provided as a specific example, and thus other orders are also possible. In addition, part of the steps may be executed simultaneously with (in parallel to) any of the other steps.
For example, the order of Steps S<b>201</b> and S<b>202</b> shown in <figref idref="DRAWINGS">FIG. 5</figref> is not limited to the described order. In other words, it is only necessary that Steps S<b>204</b> and S<b>205</b> are executed as a result when “one of two blocks across a boundary is included in an IPCM block, and the other is not included in an IPCM block”. In addition, the order of Steps S<b>204</b> and S<b>205</b> may also be arbitrary.
Likewise, the order of Steps S<b>222</b> to S<b>225</b> shown in <figref idref="DRAWINGS">FIG. 11</figref> is not limited to the described order. More specifically, the order of Steps S<b>222</b> to S<b>225</b> may be arbitrary as long as Step S<b>224</b> is after Step S<b>222</b> and Step S<b>225</b> is after S<b>223</b>.
Embodiment 3
The processing described in each of embodiments can be simply implemented in an independent computer system, by recording, in a recording medium, a program for implementing the configurations of the moving picture coding method (image coding method) and the moving picture decoding method (image decoding method) described in each of embodiments. The recording media may be any recording media as long as the program can be recorded, such as a magnetic disk, an optical disk, a magnetic optical disk, an IC card, and a semiconductor memory.
Hereinafter, the applications to the moving picture coding method (image coding method) and the moving picture decoding method (image decoding method) described in each of embodiments and systems using thereof will be described. The system has a feature of having an image coding and decoding apparatus that includes an image coding apparatus using the image coding method and an image decoding apparatus using the image decoding method. Other configurations in the system can be changed as appropriate depending on the cases.
<figref idref="DRAWINGS">FIG. 23</figref> illustrates an overall configuration of a content providing system ex<b>100</b> for implementing content distribution services. The area for providing communication services is divided into cells of desired size, and base stations ex<b>106</b>, ex<b>107</b>, ex<b>108</b>, ex<b>109</b>, and ex<b>110</b> which are fixed wireless stations are placed in each of the cells.
The content providing system ex<b>100</b> is connected to devices, such as a computer ex<b>111</b>, a personal digital assistant (PDA) ex<b>112</b>, a camera ex<b>113</b>, a cellular phone ex<b>114</b> and a game machine ex<b>115</b>, via the Internet ex<b>101</b>, an Internet service provider ex<b>102</b>, a telephone network ex<b>104</b>, as well as the base stations ex<b>106</b> to ex<b>110</b>, respectively.
However, the configuration of the content providing system ex<b>100</b> is not limited to the configuration shown in <figref idref="DRAWINGS">FIG. 23</figref>, and a combination in which any of the elements are connected is acceptable. In addition, each device may be directly connected to the telephone network ex<b>104</b>, rather than via the base stations ex<b>106</b> to ex<b>110</b> which are the fixed wireless stations. Furthermore, the devices may be interconnected to each other via a short distance wireless communication and others.
The camera ex<b>113</b>, such as a digital video camera, is capable of capturing video. A camera ex<b>116</b>, such as a digital camera, is capable of capturing both still images and video. Furthermore, the cellular phone ex<b>114</b> may be the one that meets any of the standards such as Global System for Mobile Communications (GSM) (registered trademark), Code Division Multiple Access (CDMA), Wideband-Code Division Multiple Access (W-CDMA), Long Term Evolution (LTE), and High Speed Packet Access (HSPA). Alternatively, the cellular phone ex<b>114</b> may be a Personal Handyphone System (PHS).
In the content providing system ex<b>100</b>, a streaming server ex<b>103</b> is connected to the camera ex<b>113</b> and others via the telephone network ex<b>104</b> and the base station ex<b>109</b>, which enables distribution of images of a live show and others. In such a distribution, a content (for example, video of a music live show) captured by the user using the camera ex<b>113</b> is coded as described above in each of embodiments (i.e., the camera functions as the image coding apparatus according to an aspect of the present invention), and the coded content is transmitted to the streaming server ex<b>103</b>. On the other hand, the streaming server ex<b>103</b> carries out stream distribution of the transmitted content data to the clients upon their requests. The clients include the computer ex<b>111</b>, the PDA ex<b>112</b>, the camera ex<b>113</b>, the cellular phone ex<b>114</b>, and the game machine ex<b>115</b> that are capable of decoding the above-mentioned coded data. Each of the devices that have received the distributed data decodes and reproduces the coded data (i.e., functions as the image decoding apparatus according to an aspect of the present invention).
The captured data may be coded by the camera ex<b>113</b> or the streaming server ex<b>103</b> that transmits the data, or the coding processes may be shared between the camera ex<b>113</b> and the streaming server ex<b>103</b>. Similarly, the distributed data may be decoded by the clients or the streaming server ex<b>103</b>, or the decoding processes may be shared between the clients and the streaming server ex<b>103</b>. Furthermore, the data of the still images and video captured by not only the camera ex<b>113</b> but also the camera ex<b>116</b> may be transmitted to the streaming server ex<b>103</b> through the computer ex<b>111</b>. The coding processes may be performed by the camera ex<b>116</b>, the computer ex<b>111</b>, or the streaming server ex<b>103</b>, or shared among them.
Furthermore, the coding and decoding processes may be performed by an LSI ex<b>500</b> generally included in each of the computer ex<b>111</b> and the devices. The LSI ex<b>500</b> may be configured of a single chip or a plurality of chips. Software for coding and decoding video may be integrated into some type of a recording medium (such as a CD-ROM, a flexible disk, and a hard disk) that is readable by the computer ex<b>111</b> and others, and the coding and decoding processes may be performed using the software. Furthermore, when the cellular phone ex<b>114</b> is equipped with a camera, the video data obtained by the camera may be transmitted. The video data is data coded by the LSI ex<b>500</b> included in the cellular phone ex<b>114</b>.
Furthermore, the streaming server ex<b>103</b> may be composed of servers and computers, and may decentralize data and process the decentralized data, record, or distribute data.
As described above, the clients may receive and reproduce the coded data in the content providing system ex<b>100</b>. In other words, the clients can receive and decode information transmitted by the user, and reproduce the decoded data in real time in the content providing system ex<b>100</b>, so that the user who does not have any particular right and equipment can implement personal broadcasting.
Aside from the example of the content providing system ex<b>100</b>, at least one of the moving picture coding apparatus (image coding apparatus) and the moving picture decoding apparatus (image decoding apparatus) described in each of embodiments may be implemented in a digital broadcasting system ex<b>200</b> illustrated in <figref idref="DRAWINGS">FIG. 24</figref>. More specifically, a broadcast station ex<b>201</b> communicates or transmits, via radio waves to a broadcast satellite ex<b>202</b>, multiplexed data obtained by multiplexing audio data and others onto video data. The video data is data coded by the moving picture coding method described in each of embodiments (i.e., data coded by the image coding apparatus according to an aspect of the present invention). Upon receipt of the multiplexed data, the broadcast satellite ex<b>202</b> transmits radio waves for broadcasting. Then, a home-use antenna ex<b>204</b> with a satellite broadcast reception function receives the radio waves. Next, a device such as a television (receiver) ex<b>300</b> and a set top box (STB) ex<b>217</b> decodes the received multiplexed data, and reproduces the decoded data (i.e., functions as the image decoding apparatus according to an aspect of the present invention).
Furthermore, a reader/recorder ex<b>218</b> (i) reads and decodes the multiplexed data recorded on a recording medium ex<b>215</b>, such as a DVD and a BD, or (i) codes video signals in the recording medium ex<b>215</b>, and in some cases, writes data obtained by multiplexing an audio signal on the coded data. The reader/recorder ex<b>218</b> can include the moving picture decoding apparatus or the moving picture coding apparatus as shown in each of embodiments. In this case, the reproduced video signals are displayed on the monitor ex<b>219</b>, and can be reproduced by another device or system using the recording medium ex<b>215</b> on which the multiplexed data is recorded. It is also possible to implement the moving picture decoding apparatus in the set top box ex<b>217</b> connected to the cable ex<b>203</b> for a cable television or to the antenna ex<b>204</b> for satellite and/or terrestrial broadcasting, so as to display the video signals on the monitor ex<b>219</b> of the television ex<b>300</b>. The moving picture decoding apparatus may be implemented not in the set top box but in the television ex<b>300</b>.
<figref idref="DRAWINGS">FIG. 25</figref> illustrates the television (receiver) ex<b>300</b> that uses the moving picture coding method and the moving picture decoding method described in each of embodiments. The television ex<b>300</b> includes: a tuner ex<b>301</b> that obtains or provides multiplexed data obtained by multiplexing audio data onto video data, through the antenna ex<b>204</b> or the cable ex<b>203</b>, etc. that receives a broadcast; a modulation/demodulation unit ex<b>302</b> that demodulates the received multiplexed data or modulates data into multiplexed data to be supplied outside; and a multiplexing/demultiplexing unit ex<b>303</b> that demultiplexes the modulated multiplexed data into video data and audio data, or multiplexes video data and audio data coded by a signal processing unit ex<b>306</b> into data.
The television ex<b>300</b> further includes: a signal processing unit ex<b>306</b> including an audio signal processing unit ex<b>304</b> and a video signal processing unit ex<b>305</b> that decode audio data and video data and code audio data and video data, respectively (which function as the image coding apparatus and the image decoding apparatus according to the aspects of the present invention); and an output unit ex<b>309</b> including a speaker ex<b>307</b> that provides the decoded audio signal, and a display unit ex<b>308</b> that displays the decoded video signal, such as a display. Furthermore, the television ex<b>300</b> includes an interface unit ex<b>317</b> including an operation input unit ex<b>312</b> that receives an input of a user operation. Furthermore, the television ex<b>300</b> includes a control unit ex<b>310</b> that controls overall each constituent element of the television ex<b>300</b>, and a power supply circuit unit ex<b>311</b> that supplies power to each of the elements. Other than the operation input unit ex<b>312</b>, the interface unit ex<b>317</b> may include: a bridge ex<b>313</b> that is connected to an external device, such as the reader/recorder ex<b>218</b>; a slot unit ex<b>314</b> for enabling attachment of the recording medium ex<b>216</b>, such as an SD card; a driver ex<b>315</b> to be connected to an external recording medium, such as a hard disk; and a modem ex<b>316</b> to be connected to a telephone network. Here, the recording medium ex<b>216</b> can electrically record information using a non-volatile/volatile semiconductor memory element for storage. The constituent elements of the television ex<b>300</b> are connected to each other through a synchronous bus.
First, the configuration in which the television ex<b>300</b> decodes multiplexed data obtained from outside through the antenna ex<b>204</b> and others and reproduces the decoded data will be described. In the television ex<b>300</b>, upon a user operation through a remote controller ex<b>220</b> and others, the multiplexing/demultiplexing unit ex<b>303</b> demultiplexes the multiplexed data demodulated by the modulation/demodulation unit ex<b>302</b>, under control of the control unit ex<b>310</b> including a CPU. Furthermore, the audio signal processing unit ex<b>304</b> decodes the demultiplexed audio data, and the video signal processing unit ex<b>305</b> decodes the demultiplexed video data, using the decoding method described in each of embodiments, in the television ex<b>300</b>. The output unit ex<b>309</b> provides the decoded video signal and audio signal outside, respectively. When the output unit ex<b>309</b> provides the video signal and the audio signal, the signals may be temporarily stored in buffers ex<b>318</b> and ex<b>319</b>, and others so that the signals are reproduced in synchronization with each other. Furthermore, the television ex<b>300</b> may read multiplexed data not through a broadcast and others but from the recording media ex<b>215</b> and ex<b>216</b>, such as a magnetic disk, an optical disk, and a SD card. Next, a configuration in which the television ex<b>300</b> codes an audio signal and a video signal, and transmits the data outside or writes the data on a recording medium will be described. In the television ex<b>300</b>, upon a user operation through the remote controller ex<b>220</b> and others, the audio signal processing unit ex<b>304</b> codes an audio signal, and the video signal processing unit ex<b>305</b> codes a video signal, under control of the control unit ex<b>310</b> using the coding method described in each of embodiments. The multiplexing/demultiplexing unit ex<b>303</b> multiplexes the coded video signal and audio signal, and provides the resulting signal outside. When the multiplexing/demultiplexing unit ex<b>303</b> multiplexes the video signal and the audio signal, the signals may be temporarily stored in the buffers ex<b>320</b> and ex<b>321</b>, and others so that the signals are reproduced in synchronization with each other. Here, the buffers ex<b>318</b>, ex<b>319</b>, ex<b>320</b>, and ex<b>321</b> may be plural as illustrated, or at least one buffer may be shared in the television ex<b>300</b>. Furthermore, data may be stored in a buffer so that the system overflow and underflow may be avoided between the modulation/demodulation unit ex<b>302</b> and the multiplexing/demultiplexing unit ex<b>303</b>, for example.
Furthermore, the television ex<b>300</b> may include a configuration for receiving an AV input from a microphone or a camera other than the configuration for obtaining audio and video data from a broadcast or a recording medium, and may code the obtained data. Although the television ex<b>300</b> can code, multiplex, and provide outside data in the description, it may be capable of only receiving, decoding, and providing outside data but not the coding, multiplexing, and providing outside data
Furthermore, when the reader/recorder ex<b>218</b> reads or writes multiplexed data from or on a recording medium, one of the television ex<b>300</b> and the reader/recorder ex<b>218</b> may decode or code the multiplexed data, and the television ex<b>300</b> and the reader/recorder ex<b>218</b> may share the decoding or coding.
As an example, <figref idref="DRAWINGS">FIG. 26</figref> illustrates a configuration of an information reproducing/recording unit ex<b>400</b> when data is read or written from or on an optical disk. The information reproducing/recording unit ex<b>400</b> includes constituent elements ex<b>401</b>, ex<b>402</b>, ex<b>403</b>, ex<b>404</b>, ex<b>405</b>, ex<b>406</b>, and ex<b>407</b> to be described hereinafter. The optical head ex<b>401</b> irradiates a laser spot in a recording surface of the recording medium ex<b>215</b> that is an optical disk to write information, and detects reflected light from the recording surface of the recording medium ex<b>215</b> to read the information. The modulation recording unit ex<b>402</b> electrically drives a semiconductor laser included in the optical head ex<b>401</b>, and modulates the laser light according to recorded data. The reproduction demodulating unit ex<b>403</b> amplifies a reproduction signal obtained by electrically detecting the reflected light from the recording surface using a photo detector included in the optical head ex<b>401</b>, and demodulates the reproduction signal by separating a signal component recorded on the recording medium ex<b>215</b> to reproduce the necessary information. The buffer ex<b>404</b> temporarily holds the information to be recorded on the recording medium ex<b>215</b> and the information reproduced from the recording medium ex<b>215</b>. The disk motor ex<b>405</b> rotates the recording medium ex<b>215</b>. The servo control unit ex<b>406</b> moves the optical head ex<b>401</b> to a predetermined information track while controlling the rotation drive of the disk motor ex<b>405</b> so as to follow the laser spot. The system control unit ex<b>407</b> controls overall the information reproducing/recording unit ex<b>400</b>. The reading and writing processes can be implemented by the system control unit ex<b>407</b> using various information stored in the buffer ex<b>404</b> and generating and adding new information as necessary, and by the modulation recording unit ex<b>402</b>, the reproduction demodulating unit ex<b>403</b>, and the servo control unit ex<b>406</b> that record and reproduce information through the optical head ex<b>401</b> while being operated in a coordinated manner. The system control unit ex<b>407</b> includes, for example, a microprocessor, and executes processing by causing a computer to execute a program for read and write
Although the optical head ex<b>401</b> irradiates a laser spot in the description, it may perform high-density recording using near field light.
<figref idref="DRAWINGS">FIG. 27</figref> illustrates the recording medium ex<b>215</b> that is the optical disk. On the recording surface of the recording medium ex<b>215</b>, guide grooves are spirally formed, and an information track ex<b>230</b> records, in advance, address information indicating an absolute position on the disk according to change in a shape of the guide grooves. The address information includes information for determining positions of recording blocks ex<b>231</b> that are a unit for recording data. Reproducing the information track ex<b>230</b> and reading the address information in an apparatus that records and reproduces data can lead to determination of the positions of the recording blocks. Furthermore, the recording medium ex<b>215</b> includes a data recording area ex<b>233</b>, an inner circumference area ex<b>232</b>, and an outer circumference area ex<b>234</b>. The data recording area ex<b>233</b> is an area for use in recording the user data. The inner circumference area ex<b>232</b> and the outer circumference area ex<b>234</b> that are inside and outside of the data recording area ex<b>233</b>, respectively are for specific use except for recording the user data. The information reproducing/recording unit <b>400</b> reads and writes coded audio, coded video data, or multiplexed data obtained by multiplexing the coded audio and video data, from and on the data recording area ex<b>233</b> of the recording medium ex<b>215</b>.
Although an optical disk having a layer, such as a DVD and a BD is described as an example in the description, the optical disk is not limited to such, and may be an optical disk having a multilayer structure and capable of being recorded on a part other than the surface. Furthermore, the optical disk may have a structure for multidimensional recording/reproduction, such as recording of information using light of colors with different wavelengths in the same portion of the optical disk and for recording information having different layers from various angles
Furthermore, a car ex<b>210</b> having an antenna ex<b>205</b> can receive data from the satellite ex<b>202</b> and others, and reproduce video on a display device such as a car navigation system ex<b>211</b> set in the car ex<b>210</b>, in the digital broadcasting system ex<b>200</b>. Here, a configuration of the car navigation system ex<b>211</b> will be a configuration, for example, including a GPS receiving unit from the configuration illustrated in <figref idref="DRAWINGS">FIG. 25</figref>. The same will be true for the configuration of the computer ex<b>111</b>, the cellular phone ex<b>114</b>, and others.
<figref idref="DRAWINGS">FIG. 28A</figref> illustrates the cellular phone ex<b>114</b> that uses the moving picture coding method and the moving picture decoding method described in embodiments. The cellular phone ex<b>114</b> includes: an antenna ex<b>350</b> for transmitting and receiving radio waves through the base station ex<b>110</b>; a camera unit ex<b>365</b> capable of capturing moving and still images; and a display unit ex<b>358</b> such as a liquid crystal display for displaying the data such as decoded video captured by the camera unit ex<b>365</b> or received by the antenna ex<b>350</b>. The cellular phone ex<b>114</b> further includes: a main body unit including an operation key unit ex<b>366</b>; an audio output unit ex<b>357</b> such as a speaker for output of audio; an audio input unit ex<b>356</b> such as a microphone for input of audio; a memory unit ex<b>367</b> for storing captured video or still pictures, recorded audio, coded or decoded data of the received video, the still pictures, e-mails, or others; and a slot unit ex<b>364</b> that is an interface unit for a recording medium that stores data in the same manner as the memory unit ex<b>367</b>.
Next, an example of a configuration of the cellular phone ex<b>114</b> will be described with reference to <figref idref="DRAWINGS">FIG. 28B</figref>. In the cellular phone ex<b>114</b>, a main control unit ex<b>360</b> designed to control overall each unit of the main body including the display unit ex<b>358</b> as well as the operation key unit ex<b>366</b> is connected mutually, via a synchronous bus ex<b>370</b>, to a power supply circuit unit ex<b>361</b>, an operation input control unit ex<b>362</b>, a video signal processing unit ex<b>355</b>, a camera interface unit ex<b>363</b>, a liquid crystal display (LCD) control unit ex<b>359</b>, a modulation/demodulation unit ex<b>352</b>, a multiplexing/demultiplexing unit ex<b>353</b>, an audio signal processing unit ex<b>354</b>, the slot unit ex<b>364</b>, and the memory unit ex<b>367</b>.
When a call-end key or a power key is turned ON by a user's operation, the power supply circuit unit ex<b>361</b> supplies the respective units with power from a battery pack so as to activate the cell phone ex<b>114</b>.
In the cellular phone ex<b>114</b>, the audio signal processing unit ex<b>354</b> converts the audio signals collected by the audio input unit ex<b>356</b> in voice conversation mode into digital audio signals under the control of the main control unit ex<b>360</b> including a CPU, ROM, and RAM. Then, the modulation/demodulation unit ex<b>352</b> performs spread spectrum processing on the digital audio signals, and the transmitting and receiving unit ex<b>351</b> performs digital-to-analog conversion and frequency conversion on the data, so as to transmit the resulting data via the antenna ex<b>350</b>. Also, in the cellular phone ex<b>114</b>, the transmitting and receiving unit ex<b>351</b> amplifies the data received by the antenna ex<b>350</b> in voice conversation mode and performs frequency conversion and the analog-to-digital conversion on the data. Then, the modulation/demodulation unit ex<b>352</b> performs inverse spread spectrum processing on the data, and the audio signal processing unit ex<b>354</b> converts it into analog audio signals, so as to output them via the audio output unit ex<b>357</b>.
Furthermore, when an e-mail in data communication mode is transmitted, text data of the e-mail inputted by operating the operation key unit ex<b>366</b> and others of the main body is sent out to the main control unit ex<b>360</b> via the operation input control unit ex<b>362</b>. The main control unit ex<b>360</b> causes the modulation/demodulation unit ex<b>352</b> to perform spread spectrum processing on the text data, and the transmitting and receiving unit ex<b>351</b> performs the digital-to-analog conversion and the frequency conversion on the resulting data to transmit the data to the base station ex<b>110</b> via the antenna ex<b>350</b>. When an e-mail is received, processing that is approximately inverse to the processing for transmitting an e-mail is performed on the received data, and the resulting data is provided to the display unit ex<b>358</b>.
When video, still images, or video and audio in data communication mode is or are transmitted, the video signal processing unit ex<b>355</b> compresses and codes video signals supplied from the camera unit ex<b>365</b> using the moving picture coding method shown in each of embodiments (i.e., functions as the image coding apparatus according to the aspect of the present invention), and transmits the coded video data to the multiplexing/demultiplexing unit ex<b>353</b>. In contrast, during when the camera unit ex<b>365</b> captures video, still images, and others, the audio signal processing unit ex<b>354</b> codes audio signals collected by the audio input unit ex<b>356</b>, and transmits the coded audio data to the multiplexing/demultiplexing unit ex<b>353</b>.
The multiplexing/demultiplexing unit ex<b>353</b> multiplexes the coded video data supplied from the video signal processing unit ex<b>355</b> and the coded audio data supplied from the audio signal processing unit ex<b>354</b>, using a predetermined method. Then, the modulation/demodulation unit (modulation/demodulation circuit unit) ex<b>352</b> performs spread spectrum processing on the multiplexed data, and the transmitting and receiving unit ex<b>351</b> performs digital-to-analog conversion and frequency conversion on the data so as to transmit the resulting data via the antenna ex<b>350</b>.
When receiving data of a video file which is linked to a Web page and others in data communication mode or when receiving an e-mail with video and/or audio attached, in order to decode the multiplexed data received via the antenna ex<b>350</b>, the multiplexing/demultiplexing unit ex<b>353</b> demultiplexes the multiplexed data into a video data bit stream and an audio data bit stream, and supplies the video signal processing unit ex<b>355</b> with the coded video data and the audio signal processing unit ex<b>354</b> with the coded audio data, through the synchronous bus ex<b>370</b>.
The video signal processing unit ex<b>355</b> decodes the video signal using a moving picture decoding method corresponding to the moving picture coding method shown in each of embodiments (i.e., functions as the image decoding apparatus according to the aspect of the present invention), and then the display unit ex<b>358</b> displays, for instance, the video and still images included in the video file linked to the Web page via the LCD control unit ex<b>359</b>. Furthermore, the audio signal processing unit ex<b>354</b> decodes the audio signal, and the audio output unit ex<b>357</b> provides the audio.
Furthermore, similarly to the television ex<b>300</b>, a terminal such as the cellular phone ex<b>114</b> probably have 3 types of implementation configurations including not only (i) a transmitting and receiving terminal including both a coding apparatus and a decoding apparatus, but also (ii) a transmitting terminal including only a coding apparatus and (iii) a receiving terminal including only a decoding apparatus. Although the digital broadcasting system ex<b>200</b> receives and transmits the multiplexed data obtained by multiplexing audio data onto video data in the description, the multiplexed data may be data obtained by multiplexing not audio data but character data related to video onto video data, and may be not multiplexed data but video data itself.
As such, the moving picture coding method and the moving picture decoding method in each of embodiments can be used in any of the devices and systems described. Thus, the advantages described in each of embodiments can be obtained.
Furthermore, the present invention is not limited to embodiments, and various modifications and revisions are possible without departing from the scope of the present invention.
Embodiment 4
Video data can be generated by switching, as necessary, between (i) the moving picture coding method or the moving picture coding apparatus shown in each of embodiments and (ii) a moving picture coding method or a moving picture coding apparatus in conformity with a different standard, such as MPEG-2, MPEG-4 AVC, and VC-1.
Here, when a plurality of video data that conforms to the different standards is generated and is then decoded, the decoding methods need to be selected to conform to the different standards. However, since to which standard each of the plurality of the video data to be decoded conform cannot be detected, there is a problem that an appropriate decoding method cannot be selected.
In order to solve the problem, multiplexed data obtained by multiplexing audio data and others onto video data has a structure including identification information indicating to which standard the video data conforms. The specific structure of the multiplexed data including the video data generated in the moving picture coding method and by the moving picture coding apparatus shown in each of embodiments will be hereinafter described. The multiplexed data is a digital stream in the MPEG-2 Transport Stream format.
<figref idref="DRAWINGS">FIG. 29</figref> illustrates a structure of the multiplexed data. As illustrated in <figref idref="DRAWINGS">FIG. 29</figref>, the multiplexed data can be obtained by multiplexing at least one of a video stream, an audio stream, a presentation graphics stream (PG), and an interactive graphics stream. The video stream represents primary video and secondary video of a movie, the audio stream (IG) represents a primary audio part and a secondary audio part to be mixed with the primary audio part, and the presentation graphics stream represents subtitles of the movie. Here, the primary video is normal video to be displayed on a screen, and the secondary video is video to be displayed on a smaller window in the primary video. Furthermore, the interactive graphics stream represents an interactive screen to be generated by arranging the GUI components on a screen. The video stream is coded in the moving picture coding method or by the moving picture coding apparatus shown in each of embodiments, or in a moving picture coding method or by a moving picture coding apparatus in conformity with a conventional standard, such as MPEG-2, MPEG-4 AVC, and VC-1. The audio stream is coded in accordance with a standard, such as Dolby-AC-3, Dolby Digital Plus, MLP, DTS, DTS-HD, and linear PCM.
Each stream included in the multiplexed data is identified by PID. For example, 0x1011 is allocated to the video stream to be used for video of a movie, 0x1100 to 0x111F are allocated to the audio streams, 0x1200 to 0x121F are allocated to the presentation graphics streams, 0x1400 to 0x141F are allocated to the interactive graphics streams, 0x1B00 to 0x1B1F are allocated to the video streams to be used for secondary video of the movie, and 0x1A00 to 1 x1A1F are allocated to the audio streams to be used for the secondary audio to be mixed with the primary audio.
<figref idref="DRAWINGS">FIG. 30</figref> schematically illustrates how data is multiplexed. First, a video stream ex<b>235</b> composed of video frames and an audio stream ex<b>238</b> composed of audio frames are transformed into a stream of PES packets ex<b>236</b> and a stream of PES packets ex<b>239</b>, and further into TS packets ex<b>237</b> and TS packets ex<b>240</b>, respectively. Similarly, data of a presentation graphics stream ex<b>241</b> and data of an interactive graphics stream ex<b>244</b> are transformed into a stream of PES packets ex<b>242</b> and a stream of PES packets ex<b>245</b>, and further into TS packets ex<b>243</b> and TS packets ex<b>246</b>, respectively. These TS packets are multiplexed into a stream to obtain multiplexed data ex<b>247</b>.
<figref idref="DRAWINGS">FIG. 31</figref> illustrates how a video stream is stored in a stream of PES packets in more detail. The first bar in <figref idref="DRAWINGS">FIG. 31</figref> shows a video frame stream in a video stream. The second bar shows the stream of PES packets. As indicated by arrows denoted as yy<b>1</b>, yy<b>2</b>, yy<b>3</b>, and yy<b>4</b> in <figref idref="DRAWINGS">FIG. 31</figref>, the video stream is divided into pictures as I pictures, B pictures, and P pictures each of which is a video presentation unit, and the pictures are stored in a payload of each of the PES packets. Each of the PES packets has a PES header, and the PES header stores a Presentation Time-Stamp (PTS) indicating a display time of the picture, and a Decoding Time-Stamp (DTS) indicating a decoding time of the picture.
<figref idref="DRAWINGS">FIG. 32</figref> illustrates a format of TS packets to be finally written on the multiplexed data. Each of the TS packets is a 188-byte fixed length packet including a 4-byte TS header having information, such as a PID for identifying a stream and a 184-byte TS payload for storing data. The PES packets are divided, and stored in the TS payloads, respectively. When a BD ROM is used, each of the TS packets is given a 4-byte TP_Extra_Header, thus resulting in 192-byte source packets. The source packets are written on the multiplexed data. The TP_Extra_Header stores information such as an Arrival_Time_Stamp (ATS). The ATS shows a transfer start time at which each of the TS packets is to be transferred to a PID filter. The source packets are arranged in the multiplexed data as shown at the bottom of <figref idref="DRAWINGS">FIG. 32</figref>. The numbers incrementing from the head of the multiplexed data are called source packet numbers (SPNs).
Each of the TS packets included in the multiplexed data includes not only streams of audio, video, subtitles and others, but also a Program Association Table (PAT), a Program Map Table (PMT), and a Program Clock Reference (PCR). The PAT shows what a PID in a PMT used in the multiplexed data indicates, and a PID of the PAT itself is registered as zero. The PMT stores PIDs of the streams of video, audio, subtitles and others included in the multiplexed data, and attribute information of the streams corresponding to the PIDs. The PMT also has various descriptors relating to the multiplexed data. The descriptors have information such as copy control information showing whether copying of the multiplexed data is permitted or not. The PCR stores STC time information corresponding to an ATS showing when the PCR packet is transferred to a decoder, in order to achieve synchronization between an Arrival Time Clock (ATC) that is a time axis of ATSs, and an System Time Clock (STC) that is a time axis of PTSs and DTSs.
<figref idref="DRAWINGS">FIG. 33</figref> illustrates the data structure of the PMT in detail. A PMT header is disposed at the top of the PMT. The PMT header describes the length of data included in the PMT and others. A plurality of descriptors relating to the multiplexed data is disposed after the PMT header. Information such as the copy control information is described in the descriptors. After the descriptors, a plurality of pieces of stream information relating to the streams included in the multiplexed data is disposed. Each piece of stream information includes stream descriptors each describing information, such as a stream type for identifying a compression codec of a stream, a stream PID, and stream attribute information (such as a frame rate or an aspect ratio). The stream descriptors are equal in number to the number of streams in the multiplexed data.
When the multiplexed data is recorded on a recording medium and others, it is recorded together with multiplexed data information files.
Each of the multiplexed data information files is management information of the multiplexed data as shown in <figref idref="DRAWINGS">FIG. 34</figref>. The multiplexed data information files are in one to one correspondence with the multiplexed data, and each of the files includes multiplexed data information, stream attribute information, and an entry map.
As illustrated in <figref idref="DRAWINGS">FIG. 34</figref>, the multiplexed data information includes a system rate, a reproduction start time, and a reproduction end time. The system rate indicates the maximum transfer rate at which a system target decoder to be described later transfers the multiplexed data to a PID filter. The intervals of the ATSs included in the multiplexed data are set to not higher than a system rate. The reproduction start time indicates a PTS in a video frame at the head of the multiplexed data. An interval of one frame is added to a PTS in a video frame at the end of the multiplexed data, and the PTS is set to the reproduction end time.
As shown in <figref idref="DRAWINGS">FIG. 35</figref>, a piece of attribute information is registered in the stream attribute information, for each PID of each stream included in the multiplexed data. Each piece of attribute information has different information depending on whether the corresponding stream is a video stream, an audio stream, a presentation graphics stream, or an interactive graphics stream. Each piece of video stream attribute information carries information including what kind of compression codec is used for compressing the video stream, and the resolution, aspect ratio and frame rate of the pieces of picture data that is included in the video stream. Each piece of audio stream attribute information carries information including what kind of compression codec is used for compressing the audio stream, how many channels are included in the audio stream, which language the audio stream supports, and how high the sampling frequency is. The video stream attribute information and the audio stream attribute information are used for initialization of a decoder before the player plays back the information.
In the present embodiment, the multiplexed data to be used is of a stream type included in the PMT. Furthermore, when the multiplexed data is recorded on a recording medium, the video stream attribute information included in the multiplexed data information is used. More specifically, the moving picture coding method or the moving picture coding apparatus described in each of embodiments includes a step or a unit for allocating unique information indicating video data generated by the moving picture coding method or the moving picture coding apparatus in each of embodiments, to the stream type included in the PMT or the video stream attribute information. With the configuration, the video data generated by the moving picture coding method or the moving picture coding apparatus described in each of embodiments can be distinguished from video data that conforms to another standard.
Furthermore, <figref idref="DRAWINGS">FIG. 36</figref> illustrates steps of the moving picture decoding method according to the present embodiment. In Step exS<b>100</b>, the stream type included in the PMT or the video stream attribute information included in the multiplexed data information is obtained from the multiplexed data. Next, in Step exS<b>101</b>, it is determined whether or not the stream type or the video stream attribute information indicates that the multiplexed data is generated by the moving picture coding method or the moving picture coding apparatus in each of embodiments. When it is determined that the stream type or the video stream attribute information indicates that the multiplexed data is generated by the moving picture coding method or the moving picture coding apparatus in each of embodiments, in Step exS<b>102</b>, decoding is performed by the moving picture decoding method in each of embodiments. Furthermore, when the stream type or the video stream attribute information indicates conformance to the conventional standards, such as MPEG-2, MPEG-4 AVC, and VC-1, in Step exS<b>103</b>, decoding is performed by a moving picture decoding method in conformity with the conventional standards.
As such, allocating a new unique value to the stream type or the video stream attribute information enables determination whether or not the moving picture decoding method or the moving picture decoding apparatus that is described in each of embodiments can perform decoding. Even when multiplexed data that conforms to a different standard is input, an appropriate decoding method or apparatus can be selected. Thus, it becomes possible to decode information without any error. Furthermore, the moving picture coding method or apparatus, or the moving picture decoding method or apparatus in the present embodiment can be used in the devices and systems described above.
Embodiment 5
Each of the moving picture coding method, the moving picture coding apparatus, the moving picture decoding method, and the moving picture decoding apparatus in each of embodiments is typically achieved in the form of an integrated circuit or a Large Scale Integrated (LSI) circuit. As an example of the LSI, <figref idref="DRAWINGS">FIG. 37</figref> illustrates a configuration of the LSI ex<b>500</b> that is made into one chip. The LSI ex<b>500</b> includes elements ex<b>501</b>, ex<b>502</b>, ex<b>503</b>, ex<b>504</b>, ex<b>505</b>, ex<b>506</b>, ex<b>507</b>, ex<b>508</b>, and ex<b>509</b> to be described below, and the elements are connected to each other through a bus ex<b>510</b>. The power supply circuit unit ex<b>505</b> is activated by supplying each of the elements with power when the power supply circuit unit ex<b>505</b> is turned on.
For example, when coding is performed, the LSI ex<b>500</b> receives an AV signal from a microphone ex<b>117</b>, a camera ex<b>113</b>, and others through an AV IO ex<b>509</b> under control of a control unit ex<b>501</b> including a CPU ex<b>502</b>, a memory controller ex<b>503</b>, a stream controller ex<b>504</b>, and a driving frequency control unit ex<b>512</b>. The received AV signal is temporarily stored in an external memory ex<b>511</b>, such as an SDRAM. Under control of the control unit ex<b>501</b>, the stored data is segmented into data portions according to the processing amount and speed to be transmitted to a signal processing unit ex<b>507</b>. Then, the signal processing unit ex<b>507</b> codes an audio signal and/or a video signal. Here, the coding of the video signal is the coding described in each of embodiments. Furthermore, the signal processing unit ex<b>507</b> sometimes multiplexes the coded audio data and the coded video data, and a stream IO ex<b>506</b> provides the multiplexed data outside. The provided multiplexed data is transmitted to the base station ex<b>107</b>, or written on the recording medium ex<b>215</b>. When data sets are multiplexed, the data should be temporarily stored in the buffer ex<b>508</b> so that the data sets are synchronized with each other.
Although the memory ex<b>511</b> is an element outside the LSI ex<b>500</b>, it may be included in the LSI ex<b>500</b>. The buffer ex<b>508</b> is not limited to one buffer, but may be composed of buffers. Furthermore, the LSI ex<b>500</b> may be made into one chip or a plurality of chips.
Furthermore, although the control unit ex<b>501</b> includes the CPU ex<b>502</b>, the memory controller ex<b>503</b>, the stream controller ex<b>504</b>, the driving frequency control unit ex<b>512</b>, the configuration of the control unit ex<b>501</b> is not limited to such. For example, the signal processing unit ex<b>507</b> may further include a CPU. Inclusion of another CPU in the signal processing unit ex<b>507</b> can improve the processing speed. Furthermore, as another example, the CPU ex<b>502</b> may serve as or be a part of the signal processing unit ex<b>507</b>, and, for example, may include an audio signal processing unit. In such a case, the control unit ex<b>501</b> includes the signal processing unit ex<b>507</b> or the CPU ex<b>502</b> including a part of the signal processing unit ex<b>507</b>.
The name used here is LSI, but it may also be called IC, system LSI, super LSI, or ultra LSI depending on the degree of integration.
Moreover, ways to achieve integration are not limited to the LSI, and a special circuit or a general purpose processor and so forth can also achieve the integration. Field Programmable Gate Array (FPGA) that can be programmed after manufacturing LSIs or a reconfigurable processor that allows re-configuration of the connection or configuration of an LSI can be used for the same purpose.
In the future, with advancement in semiconductor technology, a brand-new technology may replace LSI. The functional blocks can be integrated using such a technology. The possibility is that the present invention is applied to biotechnology.
Embodiment 6
When video data generated in the moving picture coding method or by the moving picture coding apparatus described in each of embodiments is decoded, compared to when video data that conforms to a conventional standard, such as MPEG-2, MPEG-4 AVC, and VC-1 is decoded, the processing amount probably increases. Thus, the LSI ex<b>500</b> needs to be set to a driving frequency higher than that of the CPU ex<b>502</b> to be used when video data in conformity with the conventional standard is decoded. However, when the driving frequency is set higher, there is a problem that the power consumption increases.
In order to solve the problem, the moving picture decoding apparatus, such as the television ex<b>300</b> and the LSI ex<b>500</b> is configured to determine to which standard the video data conforms, and switch between the driving frequencies according to the determined standard. <figref idref="DRAWINGS">FIG. 38</figref> illustrates a configuration ex<b>800</b> in the present embodiment. A driving frequency switching unit ex<b>803</b> sets a driving frequency to a higher driving frequency when video data is generated by the moving picture coding method or the moving picture coding apparatus described in each of embodiments. Then, the driving frequency switching unit ex<b>803</b> instructs a decoding processing unit ex<b>801</b> that executes the moving picture decoding method described in each of embodiments to decode the video data. When the video data conforms to the conventional standard, the driving frequency switching unit ex<b>803</b> sets a driving frequency to a lower driving frequency than that of the video data generated by the moving picture coding method or the moving picture coding apparatus described in each of embodiments. Then, the driving frequency switching unit ex<b>803</b> instructs the decoding processing unit ex<b>802</b> that conforms to the conventional standard to decode the video data.
More specifically, the driving frequency switching unit ex<b>803</b> includes the CPU ex<b>502</b> and the driving frequency control unit ex<b>512</b> in <figref idref="DRAWINGS">FIG. 37</figref>. Here, each of the decoding processing unit ex<b>801</b> that executes the moving picture decoding method described in each of embodiments and the decoding processing unit ex<b>802</b> that conforms to the conventional standard corresponds to the signal processing unit ex<b>507</b> in <figref idref="DRAWINGS">FIG. 37</figref>. The CPU ex<b>502</b> determines to which standard the video data conforms. Then, the driving frequency control unit ex<b>512</b> determines a driving frequency based on a signal from the CPU ex<b>502</b>. Furthermore, the signal processing unit ex<b>507</b> decodes the video data based on the signal from the CPU ex<b>502</b>. For example, the identification information described in Embodiment 4 is probably used for identifying the video data. The identification information is not limited to the one described in Embodiment 4 but may be any information as long as the information indicates to which standard the video data conforms. For example, when which standard video data conforms to can be determined based on an external signal for determining that the video data is used for a television or a disk, etc., the determination may be made based on such an external signal. Furthermore, the CPU ex<b>502</b> selects a driving frequency based on, for example, a look-up table in which the standards of the video data are associated with the driving frequencies as shown in <figref idref="DRAWINGS">FIG. 40</figref>. The driving frequency can be selected by storing the look-up table in the buffer ex<b>508</b> and in an internal memory of an LSI, and with reference to the look-up table by the CPU ex<b>502</b>.
<figref idref="DRAWINGS">FIG. 39</figref> illustrates steps for executing a method in the present embodiment. First, in Step exS<b>200</b>, the signal processing unit ex<b>507</b> obtains identification information from the multiplexed data. Next, in Step exS<b>201</b>, the CPU ex<b>502</b> determines whether or not the video data is generated by the coding method and the coding apparatus described in each of embodiments, based on the identification information. When the video data is generated by the moving picture coding method and the moving picture coding apparatus described in each of embodiments, in
Step exS<b>202</b>, the CPU ex<b>502</b> transmits a signal for setting the driving frequency to a higher driving frequency to the driving frequency control unit ex<b>512</b>. Then, the driving frequency control unit ex<b>512</b> sets the driving frequency to the higher driving frequency. On the other hand, when the identification information indicates that the video data conforms to the conventional standard, such as MPEG-2, MPEG-4 AVC, and VC-1, in Step exS<b>203</b>, the CPU ex<b>502</b> transmits a signal for setting the driving frequency to a lower driving frequency to the driving frequency control unit ex<b>512</b>. Then, the driving frequency control unit ex<b>512</b> sets the driving frequency to the lower driving frequency than that in the case where the video data is generated by the moving picture coding method and the moving picture coding apparatus described in each of embodiment.
Furthermore, along with the switching of the driving frequencies, the power conservation effect can be improved by changing the voltage to be applied to the LSI ex<b>500</b> or an apparatus including the LSI ex<b>500</b>. For example, when the driving frequency is set lower, the voltage to be applied to the LSI ex<b>500</b> or the apparatus including the LSI ex<b>500</b> is probably set to a voltage lower than that in the case where the driving frequency is set higher.
Furthermore, when the processing amount for decoding is larger, the driving frequency may be set higher, and when the processing amount for decoding is smaller, the driving frequency may be set lower as the method for setting the driving frequency. Thus, the setting method is not limited to the ones described above. For example, when the processing amount for decoding video data in conformity with MPEG-4 AVC is larger than the processing amount for decoding video data generated by the moving picture coding method and the moving picture coding apparatus described in each of embodiments, the driving frequency is probably set in reverse order to the setting described above.
Furthermore, the method for setting the driving frequency is not limited to the method for setting the driving frequency lower. For example, when the identification information indicates that the video data is generated by the moving picture coding method and the moving picture coding apparatus described in each of embodiments, the voltage to be applied to the LSI ex<b>500</b> or the apparatus including the LSI ex<b>500</b> is probably set higher. When the identification information indicates that the video data conforms to the conventional standard, such as MPEG-2, MPEG-4 AVC, and VC-1, the voltage to be applied to the LSI ex<b>500</b> or the apparatus including the LSI ex<b>500</b> is probably set lower. As another example, when the identification information indicates that the video data is generated by the moving picture coding method and the moving picture coding apparatus described in each of embodiments, the driving of the CPU ex<b>502</b> does not probably have to be suspended. When the identification information indicates that the video data conforms to the conventional standard, such as MPEG-2, MPEG-4 AVC, and VC-1, the driving of the CPU ex<b>502</b> is probably suspended at a given time because the CPU ex<b>502</b> has extra processing capacity. Even when the identification information indicates that the video data is generated by the moving picture coding method and the moving picture coding apparatus described in each of embodiments, in the case where the CPU ex<b>502</b> has extra processing capacity, the driving of the CPU ex<b>502</b> is probably suspended at a given time. In such a case, the suspending time is probably set shorter than that in the case where when the identification information indicates that the video data conforms to the conventional standard, such as MPEG-2, MPEG-4 AVC, and VC-1.
Accordingly, the power conservation effect can be improved by switching between the driving frequencies in accordance with the standard to which the video data conforms. Furthermore, when the LSI ex<b>500</b> or the apparatus including the LSI ex<b>500</b> is driven using a battery, the battery life can be extended with the power conservation effect.
Embodiment 7
There are cases where a plurality of video data that conforms to different standards, is provided to the devices and systems, such as a television and a cellular phone. In order to enable decoding the plurality of video data that conforms to the different standards, the signal processing unit ex<b>507</b> of the LSI ex<b>500</b> needs to conform to the different standards. However, the problems of increase in the scale of the circuit of the LSI ex<b>500</b> and increase in the cost arise with the individual use of the signal processing units ex<b>507</b> that conform to the respective standards.
In order to solve the problem, what is conceived is a configuration in which the decoding processing unit for implementing the moving picture decoding method described in each of embodiments and the decoding processing unit that conforms to the conventional standard, such as MPEG-2, MPEG-4 AVC, and VC-1 are partly shared. Ex<b>900</b> in <figref idref="DRAWINGS">FIG. 41A</figref> shows an example of the configuration. For example, the moving picture decoding method described in each of embodiments and the moving picture decoding method that conforms to MPEG-4 AVC have, partly in common, the details of processing, such as entropy coding, inverse quantization, deblocking filtering, and motion compensated prediction. The details of processing to be shared probably include use of a decoding processing unit ex<b>902</b> that conforms to MPEG-4 AVC. In contrast, a dedicated decoding processing unit ex<b>901</b> is probably used for other processing unique to an aspect of the present invention. Since the aspect of the present invention is characterized by deblocking filtering in particular, for example, the dedicated decoding processing unit ex<b>901</b> is used for deblocking filtering. Otherwise, the decoding processing unit is probably shared for one of the inverse quantization, entropy decoding, and motion compensation, or all of the processing.
The decoding processing unit for implementing the moving picture decoding method described in each of embodiments may be shared for the processing to be shared, and a dedicated decoding processing unit may be used for processing unique to that of MPEG-4 AVC.
Furthermore, ex<b>1000</b> in <figref idref="DRAWINGS">FIG. 41B</figref> shows another example in that processing is partly shared. This example uses a configuration including a dedicated decoding processing unit ex<b>1001</b> that supports the processing unique to an aspect of the present invention, a dedicated decoding processing unit ex<b>1002</b> that supports the processing unique to another conventional standard, and a decoding processing unit ex<b>1003</b> that supports processing to be shared between the moving picture decoding method according to the aspect of the present invention and the conventional moving picture decoding method. Here, the dedicated decoding processing units ex<b>1001</b> and ex<b>1002</b> are not necessarily specialized for the processing according to the aspect of the present invention and the processing of the conventional standard, respectively, and may be the ones capable of implementing general processing. Furthermore, the configuration of the present embodiment can be implemented by the LSI ex<b>500</b>.
As such, reducing the scale of the circuit of an LSI and reducing the cost are possible by sharing the decoding processing unit for the processing to be shared between the moving picture decoding method according to the aspect of the present invention and the moving picture decoding method in conformity with the conventional standard.
Each of the structural elements in each of the above-described embodiments may be configured in the form of an exclusive hardware product, or may be realized by executing a software program suitable for the structural element. Each of the structural elements may be realized by means of a program executing unit, such as a CPU and a processor, reading and executing the software program recorded on a recording medium such as a hard disk or a semiconductor memory. Here, the software program for realizing the image decoding apparatus according to each of the embodiments is a program described below.
The herein disclosed subject matter is to be considered descriptive and illustrative only, and the appended Claims are of a scope intended to cover and encompass not only the particular embodiment(s) disclosed, but also equivalent structures, methods, and/or uses.
INDUSTRIAL APPLICABILITY
One or more exemplary embodiments disclosed herein are applicable to filtering methods, moving picture coding apparatuses, and moving picture decoding apparatuses. For example, the one or more exemplary embodiments disclosed herein are applicable to high-definition image display apparatuses and image capturing apparatuses such as television receivers, digital video recorders, car navigation systems, mobile phones, digital cameras, and digital video cameras.
Contents7
44 sheets
Sheet 1 Sheet 2 Sheet 3 Sheet 4 Sheet 5 Sheet 6 Sheet 7 Sheet 8 Sheet 9 Sheet 10 Sheet 11 Sheet 12 Sheet 13 Sheet 14 Sheet 15 Sheet 16 Sheet 17 Sheet 18 Sheet 19 Sheet 20 Sheet 21 Sheet 22 Sheet 23 Sheet 24 Sheet 25 Sheet 26 Sheet 27 Sheet 28 Sheet 29 Sheet 30 Sheet 31 Sheet 32 Sheet 33 Sheet 34 Sheet 35 Sheet 36 Sheet 37 Sheet 38 Sheet 39 Sheet 40 Sheet 41 Sheet 42 Sheet 43 Sheet 44
Every citation, both waysCites: the store holds 331 of 332
| Document | Relation | Office | Cited during |
|---|---|---|---|
| CN100358366C | Cites | China | Applicant |
| CN100493205C | Cites | China | Applicant |
| CN101087408A | Cites | China | Applicant |
| CN101193301A | Cites | China | Applicant |
| CN101273638A | Cites | China | Applicant |
| CN101389016A | Cites | China | Applicant |
| CN102025997A | Cites | China | Applicant |
| CN1812580A | Cites | China | Applicant |
| US2002150159A1 | Cites | United States of America | Applicant |
| US2004007145A1 | Cites | United States of America | Applicant |
| US2004062310A1 | Cites | United States of America | Search report |
| US2004066273A1 | Cites | United States of America | Applicant |
| US2004076237A1 | Cites | United States of America | Applicant |
| US2004126034A1 | Cites | United States of America | Search report |
| US2004179620A1 | Cites | United States of America | Applicant |
| JP2004180248A | Cites | Japan | Applicant |
| US2004218674A1 | Cites | United States of America | Applicant |
| WO2005010684A2 | Cites | World Intellectual Property Organization (WIPO) | Applicant |
| US2005035590A1 | Cites | United States of America | Applicant |
| US2005117653A1 | Cites | United States of America | Applicant |
| US2005134884A1 | Cites | United States of America | Applicant |
| US2005146451A1 | Cites | United States of America | Applicant |
| US2005201633A1 | Cites | United States of America | Search report |
| US2005243914A1 | Cites | United States of America | Search report |
| US2006010264A1 | Cites | United States of America | Applicant |
| US2006074642A1 | Cites | United States of America | Applicant |
| US2006082596A1 | Cites | United States of America | Applicant |
| US2006126744A1 | Cites | United States of America | Applicant |
| US2006146941A1 | Cites | United States of America | Applicant |
| US2006182436A1 | Cites | United States of America | Applicant |
| US2006202872A1 | Cites | United States of America | Applicant |
| US2006239360A1 | Cites | United States of America | Applicant |
| US2006285757A1 | Cites | United States of America | Applicant |
| US2007009044A1 | Cites | United States of America | Search report |
| US2007016790A1 | Cites | United States of America | Applicant |
| US2007063997A1 | Cites | United States of America | Applicant |
| US2007092002A1 | Cites | United States of America | Applicant |
| US2007098066A1 | Cites | United States of America | Applicant |
| US2007104269A1 | Cites | United States of America | Applicant |
| US2007252838A1 | Cites | United States of America | Applicant |
| US2007286280A1 | Cites | United States of America | Applicant |
| US2008025397A1 | Cites | United States of America | Applicant |
| US2008049843A1 | Cites | United States of America | Applicant |
| US2008056353A1 | Cites | United States of America | Applicant |
| US2008056602A1 | Cites | United States of America | Applicant |
| US2008056603A1 | Cites | United States of America | Applicant |
| US2008063077A1 | Cites | United States of America | Applicant |
| US2008063084A1 | Cites | United States of America | Applicant |
| US2008069236A1 | Cites | United States of America | Applicant |
| US2008069237A1 | Cites | United States of America | Applicant |
| US2008069238A1 | Cites | United States of America | Applicant |
| US2008069245A1 | Cites | United States of America | Applicant |
| US2008084931A1 | Cites | United States of America | Applicant |
| US2008095461A1 | Cites | United States of America | Applicant |
| US2008117979A1 | Cites | United States of America | Applicant |
| US2008117988A1 | Cites | United States of America | Applicant |
| US2008118218A1 | Cites | United States of America | Applicant |
| US2008118224A1 | Cites | United States of America | Applicant |
| US2008130753A1 | Cites | United States of America | Applicant |
| US2008130761A1 | Cites | United States of America | Applicant |
| US2008131079A1 | Cites | United States of America | Applicant |
| US2008131087A1 | Cites | United States of America | Applicant |
| RU2008138706A | Cites | Russian Federation | Applicant |
| US2008219354A1 | Cites | United States of America | Applicant |
| US2008219393A1 | Cites | United States of America | Applicant |
| US2008240512A1 | Cites | United States of America | Applicant |
| US2008260035A1 | Cites | United States of America | Applicant |
| TW200845723A | Cites | Taiwan Province of China | Applicant |
| US2009016627A1 | Cites | United States of America | Applicant |
| US2009020999A1 | Cites | United States of America | Applicant |
| US2009021000A1 | Cites | United States of America | Applicant |
| US2009059304A1 | Cites | United States of America | Applicant |
| US2009087111A1 | Cites | United States of America | Applicant |
| US2009154557A1 | Cites | United States of America | Search report |
| US2009161761A1 | Cites | United States of America | Applicant |
| US2009175334A1 | Cites | United States of America | Applicant |
| US2009213930A1 | Cites | United States of America | Applicant |
| US2009315319A1 | Cites | United States of America | Applicant |
| US2009323826A1 | Cites | United States of America | Applicant |
| TW200948076A | Cites | Taiwan Province of China | Applicant |
| TW200949824A | Cites | Taiwan Province of China | Applicant |
| US2010020866A1 | Cites | United States of America | Applicant |
| WO2010047104A1 | Cites | World Intellectual Property Organization (WIPO) | Applicant |
| US2010073574A1 | Cites | United States of America | Applicant |
| US2010128786A1 | Cites | United States of America | Applicant |
| US2010142835A1 | Cites | United States of America | Applicant |
| US2010142836A1 | Cites | United States of America | Applicant |
| US2010172416A1 | Cites | United States of America | Applicant |
| US2010172582A1 | Cites | United States of America | Applicant |
| US2010177820A1 | Cites | United States of America | Applicant |
| JP2010183368A | Cites | Japan | Applicant |
| US2010208827A1 | Cites | United States of America | Applicant |
| US2010284466A1 | Cites | United States of America | Applicant |
| US2011013704A1 | Cites | United States of America | Applicant |
| TW201105139A | Cites | Taiwan Province of China | Applicant |
| US2011103488A1 | Cites | United States of America | Applicant |
| US2011188574A1 | Cites | United States of America | Applicant |
| US2011222605A1 | Cites | United States of America | Applicant |
| WO2012008130A1 | Cites | World Intellectual Property Organization (WIPO) | Applicant |
| US2012057076A1 | Cites | United States of America | Applicant |
73 members in 17 offices
Priority claims22
| Document | Office | Kind | Date |
|---|---|---|---|
| 201161509193 | United States of America | P | |
| 201161509193 | United States of America | P | |
| 201213551686 | United States of America | A | |
| 201213551686 | United States of America | A | |
| 201414298101 | United States of America | A | |
| 201414298101 | United States of America | A | |
| 201615361128 | United States of America | A | |
| 201615361128 | United States of America | A | |
| 201715486569 | United States of America | A | |
| 201715486569 | United States of America | A | |
| 201715681470 | United States of America | A | |
| 13551686 | – | – | – |
| 14298101 | – | – | – |
| 15361128 | – | – | – |
| 15486569 | – | – | – |
| 61509193 | – | – | – |
| US201161509193P | – | – | – |
| US201213551686 | – | – | – |
| US201414298101 | – | – | – |
| US201615361128 | – | – | – |
| US201715486569 | – | – | – |
| US201715681470 | – | – | – |
Members73
| Document | Office | Kind | |
|---|---|---|---|
| CA2837541A1 | Canada | A1 | |
| US2013022112A1 | United States of America | A1 | |
| WO2013011659A1 | World Intellectual Property Organization (WIPO) | A1 | |
| TW201309033A | Taiwan Province of China | A | |
| MX2013013783A | Mexico | A | |
| AU2012285242A1 | Australia | A1 | |
| JP5391367B2 | Japan | B2 | |
| JP2014030258A | Japan | A | |
| JP2014042325A | Japan | A | |
| JP2014042326A | Japan | A | |
| CN103703774A | China | A | |
| KR20140043734A | Republic of Korea | A | |
| EP2736253A1 | European Patent Office (EPO) | A1 | |
| US8787467B2 | United States of America | B2 | |
| US2014286404A1 | United States of America | A1 | |
| JPWO2013011659A1 | Japan | A1 | |
| RU2013152610A | Russian Federation | A | |
| EP2736253A4 | European Patent Office (EPO) | A4 | |
| AU2012285242B2 | Australia | B2 | |
| JP5970441B2 | Japan | B2 | |
| JP5970442B2 | Japan | B2 | |
| TWI562595B | Taiwan Province of China | B | |
| JP6042304B2 | Japan | B2 | |
| RU2606304C2 | Russian Federation | C2 | |
| US9544585B2 | United States of America | B2 | |
| US2017078661A1 | United States of America | A1 | |
| US9667968B2 | United States of America | B2 | |
| JP2017098953A | Japan | A | |
| CN103703774B | China | B | |
| US2017223384A1 | United States of America | A1 | |
| CN107197261A | China | A | |
| CN107197262A | China | A | |
| US9774888B2 | United States of America | B2 | |
| CN107231555A | China | A | |
| JP6216021B2 | Japan | B2 | |
| CN107277510A | China | A | |
| US2017347127A1 | United States of America | A1 | |
| BR112013030498A2 | Brazil | A2 | |
| MY165342A | Malaysia | A | |
| US9930367B2This record | United States of America | B2 | |
| CA2837541C | Canada | C | |
| CN107197262B | China | B | |
| CN107197261B | China | B | |
| CN107277510B | China | B | |
| KR20190105671A | Republic of Korea | A | |
| KR102023210B1 | Republic of Korea | B1 | |
| KR102064408B1 | Republic of Korea | B1 | |
| KR20200004464A | Republic of Korea | A | |
| KR20200004465A | Republic of Korea | A | |
| KR20200004916A | Republic of Korea | A | |
| EP2736253B1 | European Patent Office (EPO) | B1 | |
| LT2736253T | Lithuania | T | |
| EP3661201A1 | European Patent Office (EPO) | A1 | |
| KR102128999B1 | Republic of Korea | B1 | |
| KR102129000B1 | Republic of Korea | B1 | |
| KR102129001B1 | Republic of Korea | B1 | |
| CN107231555B | China | B | |
| PL2736253T3 | Poland | T3 | |
| HUE049204T2 | Hungary | T2 | |
| ES2786503T3 | Spain | T3 | |
| EP3661201B1 | European Patent Office (EPO) | B1 | |
| LT3661201T | Lithuania | T | |
| EP3843394A1 | European Patent Office (EPO) | A1 | |
| HUE053988T2 | Hungary | T2 | |
| ES2866201T3 | Spain | T3 | |
| PL3661201T3 | Poland | T3 | |
| BR112013030498B1 | Brazil | B1 | |
| EP4336841A2 | European Patent Office (EPO) | A2 | |
| EP4336841A3 | European Patent Office (EPO) | A3 | |
| EP3843394B1 | European Patent Office (EPO) | B1 | |
| LT3843394T | Lithuania | T | |
| PL3843394T3 | Poland | T3 | |
| HUE066035T2 | Hungary | T2 |
48 transactions on the USPTO file
Allowed after 1 non-final rejection.
- Non-final rejections
- 1
- Final rejections
- 0
- RCEs
- 0
- Appeals
- 0
Over time
Point at a mark for the transactionTransactions
| Event | Code | |
|---|---|---|
| Payment of Maintenance Fee, 4th Year, Large EntityM1551 | M1551 | |
| Recordation of Patent Grant MailedPGM/ | PGM/ | |
| Patent Issue Date Used in PTA CalculationAllowedPTAC | PTAC | |
| Email NotificationEML_NTR | EML_NTR | |
| Issue Notification MailedAllowedWPIR | WPIR | |
| Dispatch to FDCD1935 | D1935 | |
| Application Is Considered Ready for IssuePILS | PILS | |
| Issue Fee Payment VerifiedN084 | N084 | |
| Issue Fee Payment ReceivedIFEE | IFEE | |
| Electronic ReviewELC_RVW | ELC_RVW | |
| Email NotificationEML_NTR | EML_NTR | |
| Email NotificationEML_NTF | EML_NTF | |
| Mail Notice of AllowanceAllowedMN/=. | MN/=. | |
| PG-Pub Issue NotificationPG-ISSUE | PG-ISSUE | |
| Notice of Allowance Data Verification CompletedAllowedN/=. | N/=. | |
| Reasons for AllowanceEX.R | EX.R | |
| Information Disclosure Statement consideredIDSC | IDSC | |
| Information Disclosure Statement consideredIDSC | IDSC | |
| Interview Summary - Applicant Initiated - TelephonicEXAT | EXAT | |
| Date Forwarded to ExaminerFWDX | FWDX | |
| Information Disclosure Statement (IDS) FiledM844 | M844 | |
| Response after Non-Final ActionA... | A... | |
| Information Disclosure Statement (IDS) FiledWIDS | WIDS | |
| Paralegal or electronic terminal disclaimer approvedP574 | P574 | |
| Terminal Disclaimer FiledDIST | DIST | |
| Electronic request for Examiner InterviewM865E | M865E | |
| Information Disclosure Statement (IDS) FiledM844 | M844 | |
| Information Disclosure Statement (IDS) FiledWIDS | WIDS | |
| Electronic ReviewELC_RVW | ELC_RVW | |
| Email NotificationEML_NTF | EML_NTF | |
| Mail Non-Final RejectionNon-final rejectionMCTNF | MCTNF | |
| Non-Final RejectionNon-final rejectionCTNF | CTNF | |
| Information Disclosure Statement consideredIDSC | IDSC | |
| Email NotificationEML_NTR | EML_NTR | |
| Application ready for PDX access by participating foreign officesCCRDY | CCRDY | |
| Application Is Now CompleteCOMP | COMP | |
| Filing ReceiptFLRCPT.O | FLRCPT.O | |
| Case Docketed to Examiner in GAUDOCK | DOCK | |
| Application Dispatched from OIPEOIPE | OIPE | |
| FITF set to NO - revise initial settingFTFI | FTFI | |
| Cleared by OIPE CSRL194 | L194 | |
| Patent Term Adjustment - Ready for ExaminationPTA.RFE | PTA.RFE | |
| PTO/SB/69-Authorize EPO Access to Search ResultsSREXR141 | SREXR141 | |
| Applicants have given acceptable permission for participating foreignAPPERMS | APPERMS | |
| Information Disclosure Statement (IDS) FiledWIDS | WIDS | |
| IFW Scan & PACR Auto Security ReviewSCAN | SCAN | |
| Entity Status Set To Undiscounted (Initial Default Setting or Status Change)BIG. | BIG. | |
| Initial Exam Team nnIEXX | IEXX |
2 legal events, as the office reported them to INPADOC
Over the term
Point at a mark for the eventEvents
| Event | Code | |
|---|---|---|
| Maintenance fee paymentMAFP | MAFP | |
| Information on status: patent grantGrantedPATENTED CASESTCF | STCF |
Numbers
- Publication
- 09930367
- Publication, DOCDB
- 9930367
- Publication, EPODOC
- US9930367
- Application
- 15681470
- Application, DOCDB
- 201715681470
- Application, EPODOC
- US201715681470
Titles
- English
- Filtering method for performing deblocking filtering on a boundary between an intra pulse code modulation block and a non-intra pulse code modulation block which are adjacent to each other in an image
Patent term adjustment
- Net adjustment
- 0 days
Classification
- CPC, 8
- H04N19/86
- H04N19/117
- H04N19/124
- H04N19/14
- H04N19/61
- H04N19/176
- H04N19/184
- H04N11/04
- IPC, 7
- H04N7 12
- H04N19 14
- H04N19 124
- H04N19 86
- H04N19 117
- H04N19 176
- H04N19 184
- USPC, 2
- 375240160
- 001001000