AU2011308653B2 - Intra smoothing filter for video coding - Google Patents
Intra smoothing filter for video coding Download PDFInfo
- Publication number
- AU2011308653B2 AU2011308653B2 AU2011308653A AU2011308653A AU2011308653B2 AU 2011308653 B2 AU2011308653 B2 AU 2011308653B2 AU 2011308653 A AU2011308653 A AU 2011308653A AU 2011308653 A AU2011308653 A AU 2011308653A AU 2011308653 B2 AU2011308653 B2 AU 2011308653B2
- Authority
- AU
- Australia
- Prior art keywords
- mode
- filter
- intra
- block size
- block
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000009499 grossing Methods 0.000 title abstract description 175
- 238000001914 filtration Methods 0.000 claims abstract description 138
- 238000000034 method Methods 0.000 claims abstract description 110
- 230000001419 dependent effect Effects 0.000 abstract description 19
- 230000003044 adaptive effect Effects 0.000 abstract description 14
- 238000005192 partition Methods 0.000 description 26
- 239000013598 vector Substances 0.000 description 24
- 238000013139 quantization Methods 0.000 description 22
- 238000004891 communication Methods 0.000 description 18
- 238000010586 diagram Methods 0.000 description 12
- 208000037170 Delayed Emergence from Anesthesia Diseases 0.000 description 10
- 230000005540 biological transmission Effects 0.000 description 9
- 230000006870 function Effects 0.000 description 9
- 230000006835 compression Effects 0.000 description 8
- 238000007906 compression Methods 0.000 description 8
- 238000013213 extrapolation Methods 0.000 description 7
- 238000012545 processing Methods 0.000 description 7
- 230000011664 signaling Effects 0.000 description 6
- 230000002123 temporal effect Effects 0.000 description 6
- 239000013074 reference sample Substances 0.000 description 4
- 238000003491 array Methods 0.000 description 3
- 230000001413 cellular effect Effects 0.000 description 3
- 238000013500 data storage Methods 0.000 description 3
- 238000005070 sampling Methods 0.000 description 3
- 238000012360 testing method Methods 0.000 description 3
- 238000012549 training Methods 0.000 description 3
- 230000015556 catabolic process Effects 0.000 description 2
- 238000004590 computer program Methods 0.000 description 2
- 238000006731 degradation reaction Methods 0.000 description 2
- 238000006073 displacement reaction Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 238000011156 evaluation Methods 0.000 description 2
- 238000002474 experimental method Methods 0.000 description 2
- 239000000835 fiber Substances 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 238000000638 solvent extraction Methods 0.000 description 2
- 230000009466 transformation Effects 0.000 description 2
- 230000001052 transient effect Effects 0.000 description 2
- 241000023320 Luma <angiosperm> Species 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 239000011159 matrix material Substances 0.000 description 1
- OSWPMRLSEDHDFF-UHFFFAOYSA-N methyl salicylate Chemical compound COC(=O)C1=CC=CC=C1O OSWPMRLSEDHDFF-UHFFFAOYSA-N 0.000 description 1
- 239000013307 optical fiber Substances 0.000 description 1
- 238000013442 quality metrics Methods 0.000 description 1
- 239000000523 sample Substances 0.000 description 1
- 238000001228 spectrum Methods 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/85—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using pre-processing or post-processing specially adapted for video compression
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/10—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
- H04N19/102—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or selection affected or controlled by the adaptive coding
- H04N19/103—Selection of coding mode or of prediction mode
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/10—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
- H04N19/102—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or selection affected or controlled by the adaptive coding
- H04N19/103—Selection of coding mode or of prediction mode
- H04N19/11—Selection of coding mode or of prediction mode among a plurality of spatial predictive coding modes
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/10—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
- H04N19/102—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or selection affected or controlled by the adaptive coding
- H04N19/117—Filters, e.g. for pre-processing or post-processing
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/10—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
- H04N19/102—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or selection affected or controlled by the adaptive coding
- H04N19/12—Selection from among a plurality of transforms or standards, e.g. selection between discrete cosine transform [DCT] and sub-band transform or selection between H.263 and H.264
- H04N19/122—Selection of transform size, e.g. 8x8 or 2x4x8 DCT; Selection of sub-band transforms of varying structure or type
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/10—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
- H04N19/134—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or criterion affecting or controlling the adaptive coding
- H04N19/146—Data rate or code amount at the encoder output
- H04N19/147—Data rate or code amount at the encoder output according to rate distortion criteria
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/10—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
- H04N19/134—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or criterion affecting or controlling the adaptive coding
- H04N19/157—Assigned coding mode, i.e. the coding mode being predefined or preselected to be further used for selection of another element or parameter
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/10—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
- H04N19/169—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding
- H04N19/17—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being an image region, e.g. an object
- H04N19/176—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being an image region, e.g. an object the region being a block, e.g. a macroblock
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/46—Embedding additional information in the video signal during the compression process
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/50—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding
- H04N19/59—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding involving spatial sub-sampling or interpolation, e.g. alteration of picture size or resolution
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/50—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding
- H04N19/593—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding involving spatial prediction techniques
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/80—Details of filtering operations specially adapted for video compression, e.g. for pixel interpolation
- H04N19/82—Details of filtering operations specially adapted for video compression, e.g. for pixel interpolation involving filtering within a prediction loop
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Physics & Mathematics (AREA)
- Discrete Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Compression Or Coding Systems Of Tv Signals (AREA)
Abstract
This disclosure relates to techniques for reducing the amount of additional data encoded with a block encoded using intra-predictive coding. Particularly, the techniques provide apparatus and methods of applying a smoothing filter to prediction samples used in intra-predictive coding. For example, in fixed mode-dependent intra- predictive coding, a video encoder may determine the type of smoothing filter applied to prediction samples based on block size and intra-prediction mode combination associated with the current block, where the combination is used to look up a filter in a first filter table. In adaptive mode-dependent intra-predictive coding, the encoder uses two filters, one from the first filter table and another from a second filter table, applies both filters, and determines which yields better results. When the second filter table filter yields better results, the encoder encodes a filtering indication. When a filter from the first filter table is used, no filtering indication is encoded.
Description
WO 2012/044886 PCT/US2011/054130 INTRA SMOOTHING FILTER FOR VIDEO CODING TECHNICAL FIELD [0001] This disclosure relates to video coding and, more particularly, to intra-prediction video coding. BACKGROUND [0002] Digital video capabilities can be incorporated into a wide range of devices, including digital televisions, digital direct broadcast systems, wireless broadcast systems, personal digital assistants (PDAs), laptop or desktop computers, digital cameras, digital recording devices, digital media players, video gaming devices, video game consoles, cellular or satellite radio telephones, video teleconferencing devices, and the like. Digital video devices implement video compression techniques, such as those described in the standards defined by MPEG-2, MPEG-4, ITU-T H.263 or ITU-T H.264/MPEG-4, Part 10, Advanced Video Coding (AVC), and extensions of such standards, to transmit and receive digital video information more efficiently. New video standards, such as the High Efficiency Video Coding (HEVC) standard being developed by the "Joint Collaborative Team - Video Coding" (JCTVC), which is a collaboration between MPEG and ITU-T, continue to emerge and evolve. This new HEVC standard is also sometimes referred to as H.265. [0003] Video compression techniques perform spatial prediction and/or temporal prediction to reduce or remove redundancy inherent in video sequences. For block based video coding, a video frame or slice may be partitioned into blocks referred to as coding unit (CUs). In general, a CU has a similar purpose to a macroblock of the H.264 standard, except that a CU does not have a size distinction. CUs in an intra-coded (I) frame or slice are encoded using spatial prediction with respect to neighboring CUs in the same frame or slice. CUs in an inter-coded (P or B) frame or slice may use spatial prediction with respect to neighboring CUs in the same frame or slice or temporal prediction with respect to other reference frames.
2 SUMMARY [0004] In general, this disclosure describes techniques for applying a smoothing filter to pixels surrounding prediction samples in intra-prediction coding of video data. Particularly, the techniques provide a method of determining and applying a smoothing filter to prediction samples used in intra-predictive coding. In some examples, the techniques may include selecting the smoothing filter to apply to the pixels surrounding prediction samples based on a combination of block size and intra-prediction mode associated with the current block. [0005] In fixed mode-dependent intra-smoothing, a video encoder may determine the type of smoothing filter applied to the prediction samples based on the block size and intra-prediction mode combination associated with the current block. The block size and intra-prediction mode combination may be used to look up a filter in a filter table. In this case, there may be no overhead sent to the decoder to signal the filter type used for smoothing, as the filter table would be available at the decoder side and the block size and intra-prediction mode combination may be used in a similar manner on the decoder side. [0006] In adaptive mode-dependent intra-smoothing, the video encoder may select the smoothing filter from two filter options, one from a first filter table and another from a second filter table, apply both filter, and determine which yields the better results. In this case, syntax indicative of the selected filter may be encoded with the video and sent to decoder to signal the selected filter type. In one example, if the filter from the second filter table yields better results, the video encoder encodes a filtering indication. When a filter from the first filter table is used, no filtering indication is encoded. [0007] These techniques may reduce the amount of additional data encoded with a block encoded using intra-predictive coding and therefore, the amount of data transmitted to a decoder. A video decoder receiving intra-predictive encoded blocks may apply a smoothing filter during decoding using the first filter table, unless a filtering indication is encoded with the block. If the filtering indication is encoded with the block, then the video decoder may apply a smoothing filter during decoding using the filter that is indicated by the filtering indication. [0008] According to a first aspect of the present invention there is provided a method of coding video data, the method including: 3 determining a block size associated with a current block of video data, the block size determined from a plurality of block sizes including a 4x4 block size, an 8x8 block size, a 16x16 block size, and a 32x32 block size; determining an intra-prediction coding mode associated with the current block of the video data, the intra-prediction coding mode determined from a plurality of intra prediction coding modes including a horizontal mode, a vertical mode, a planar mode, a DC mode, and a plurality of diagonal modes, including an upper-left diagonal mode, an upper right diagonal mode, a down-left diagonal mode and wherein the plurality of diagonal modes include a plurality of modes that are directly adjacent to the horizontal mode or the vertical mode; determining based on the block size and intra-prediction coding mode a filtering decision for whether to apply a filter to prediction samples used to predict the current block, the determining including: if the block size is the 4x4 block size, determining the filter decision to be that no filtering is to be applied to prediction samples used to predict the current block for any of the plurality of intra-prediction coding modes, if the block size is the 8x8 block size, determining the filter decision to be that prediction samples used to predict the current block are to be filtered only if the coding mode is the planar mode, the upper-left diagonal mode, the upper-right diagonal mode and the down-left diagonal mode, if the block size is the 16x16 block size, determining the filter decision to be that prediction samples used to predict the current block are to be filtered if the coding mode is the planar mode, or if the coding mode is any other of the plurality of intra-prediction coding modes except for the horizontal mode, the vertical mode, the DC mode, and the modes directly adjacent to the horizontal mode or vertical mode, or if the block size is the 32x32 block size, determining the filter decision to be that prediction samples used to predict the current block are to be filtered if the coding mode is the planar mode, or if the coding mode is any other of the plurality of the plurality of prediction coding modes except for the horizontal mode, the vertical mode, and the DC mode; and intra-predictive coding the current block, wherein intra-predictive coding the current block includes using the determined filtering decision to either filter or not filter the pixels used to predict the current block.
3a [0009] According to a second aspect of the present invention there is provided an apparatus for coding video data, the apparatus including: a memory configured to store at least a portion of the video data; and a processor configured to: determine a block size associated with a current block of the video data, the block size determined from a plurality of block sizes including a 4x4 block size, an 8x8 block size, a 16x16 block size, and a 32x32 block size, determine an intra-prediction coding mode associated with the current block of the video data, the intra-prediction coding mode determined from a plurality of intra-prediction coding modes including a horizontal mode, a vertical mode, a planar mode, a DC mode, and a plurality of diagonal modes, including an upper-left diagonal mode, an upper right diagonal mode, a down-left diagonal mode and wherein the plurality of diagonal modes include a plurality of modes that are directly adjacent to the horizontal mode or the vertical mode, determine based on the block size and intra-prediction coding mode a filtering decision for whether to apply a filter to prediction samples used to predict the current block, to determine the processor is further configured to: if the block size is the 4x4 block size, determine the filter decision to be that no filtering is to be applied to prediction samples used to predict the current block for any of the plurality of intra-prediction coding modes, if the block size is the 8x8 block size, determine the filter decision to be that prediction samples used to predict the current block are to be filtered only if the coding mode is the planar mode, the upper-left diagonal mode, the upper right diagonal mode and the down-left diagonal mode, if the block size is the 16x16 block size, determine the filter decision to be that prediction samples used to predict the current block are to be filtered if the coding mode is the planar mode, or if the coding mode is any other of the plurality of intra-prediction coding modes except for the horizontal mode, the vertical mode, the DC mode, and the modes directly adjacent to the horizontal mode or vertical mode, or if the block size is the 32x32 block size, determine the filter decision to be that prediction samples used to predict the current block are to be filtered if the coding mode is the planar mode, or if the coding mode is any other of the 3b plurality of the plurality of prediction coding modes except for the horizontal mode, the vertical mode, and the DC mode, and intra-predictive code the current block, wherein intra-predictive coding the current block includes using the determined filtering decision to either filter or not filter the pixels used to predict the current block. [0010] According to a third aspect of the present invention there is provided an apparatus for encoding video data, the apparatus including: means for determining a block size associated with a current block of the video data, the block size determined from a plurality of block sizes including a 4x4 block size, an 8x8 block size, a 16x16 block size, and a 32x32 block size; means for determining an intra-prediction coding mode associated with the current block of the video data, the intra-prediction coding mode determined from a plurality of intra-prediction coding modes including a horizontal mode, a vertical mode, a planar mode, a DC mode, and a plurality of diagonal modes, including an upper-left diagonal mode, an upper right diagonal mode, a down-left diagonal mode and wherein the plurality of diagonal modes include a plurality of modes that are directly adjacent to the horizontal mode or the vertical mode; means for determining based on the block size and intra-prediction coding mode a filtering decision for whether to apply a filter to prediction samples used to predict the current block, the means for determining including: if the block size is the 4x4 block size, means for determining the filter decision to be that no filtering is to be applied to prediction samples used to predict the current block for any of the plurality of intra-prediction coding modes, if the block size is the 8x8 block size, means for determining the filter decision to be that prediction samples used to predict the current block are to be filtered only if the coding mode is the planar mode, the upper-left diagonal mode, the upper-right diagonal mode and the down-left diagonal mode, if the block size is the 16x16 block size, means for determining the filter decision to be that prediction samples used to predict the current block are to be filtered if the coding mode is the planar mode, or if the coding mode is any other of the plurality of intra-prediction coding modes except for the horizontal mode, the vertical mode, the DC mode, and the modes directly adjacent to the horizontal mode or vertical mode, or 3c if the block size is the 32x32 block size, means for determining the filter decision to be that prediction samples used to predict the current block are to be filtered if the coding mode is the planar mode, or if the coding mode is any other of the plurality of the plurality of prediction coding modes except for the horizontal mode, the vertical mode, and the DC mode; and means for intra-predictive encoding the current block, wherein intra-predictive encoding the current block includes using the determined filtering decision to either filter or not filter the pixels used to predict the current block. [0011] According to a fourth aspect of the present invention there is provided a non transitory computer-readable storage medium including instructions for coding video data that, upon execution in a processor, cause the processor to: determine a block size associated with a current block of the video data, the block size determined from a plurality of block sizes including a 4x4 block size, an 8x8 block size, a 16x16 block size, and a 32x32 block size; determine an intra-prediction coding mode associated with the current block of the video data, the intra-prediction coding mode determined from a plurality of intra prediction coding modes including a horizontal mode, a vertical mode, a planar mode, a DC mode, and a plurality of diagonal modes, including an upper-left diagonal mode, an upper right diagonal mode, a down-left diagonal mode and wherein the plurality of diagonal modes include a plurality of modes that are directly adjacent to the horizontal mode or the vertical mode; determine based on the block size and intra-prediction coding mode a filtering decision for whether to apply a filter to prediction samples used to predict the current block, to determine the instructions further cause the processor to: if the block size is the 4x4 block size, determine the filter decision to be that no filtering is to be applied to prediction samples used to predict the current block for any of the plurality of intra-prediction coding modes, if the block size is the 8x8 block size, determine the filter decision to be that prediction samples used to predict the current block are to be filtered only if the coding mode is the planar mode, the upper-left diagonal mode, the upper right diagonal mode and the down-left diagonal mode, if the block size is the 16x16 block size, determine the filter decision to be that prediction samples used to predict the current block are to be filtered if the coding mode is the planar mode, or if the coding mode is any other of the 3d plurality of intra-prediction coding modes except for the horizontal mode, the vertical mode, the DC mode, and the modes directly adjacent to the horizontal mode or vertical mode, or if the block size is the 32x32 block size, determine the filter decision to be that prediction samples used to predict the current block are to be filtered if the coding mode is the planar mode, or if the coding mode is any other of the plurality of the plurality of prediction coding modes except for the horizontal mode, the vertical mode, and the DC mode; and intra-predictive code the current block, wherein intra-predictive coding the current block includes using the determined filtering decision to either filter or not filter the pixels used to predict the current block. BRIEF DESCRIPTION OF DRAWINGS [0012] FIG. 1 is a block diagram illustrating an example video encoding and decoding system that may utilize the techniques of this disclosure for supporting intra smoothing. [0013] FIG. 2A is a conceptual diagram illustrating a graph that depicts an example set of prediction directions associated with various intra-prediction modes. [0014] FIG. 2B is a conceptual diagram illustrating another graph that depicts an example set of prediction directions associated with various intra-prediction modes. [0015] FIG. 3 is a conceptual diagram illustrating an example set of prediction directions associated with various intra-prediction modes.
WO 2012/044886 PCT/US20111/054130 4 [0016] FIG. 4 is a block diagram illustrating an example of a video encoder that may implement techniques for supporting intra smoothing. [0017] FIG. 5 is a block diagram illustrating an example of a video decoder, which decodes an encoded video sequence. [0018] FIG. 6 is a flowchart illustrating an example method for encoding video data in accordance with techniques of this disclosure. [0019] FIG. 7 is a flowchart illustrating an example method for decoding video data in accordance with techniques of this disclosure. [0020] FIG. 8 is a flowchart illustrating another example method for encoding video data in accordance with techniques of this disclosure. [0021] FIG. 9 is a flowchart illustrating another example method for decoding video data in accordance with techniques of this disclosure. DETAILED DESCRIPTION [00221 In general, this disclosure describes techniques for determining and applying a smoothing filter to pixels surrounding the prediction samples used in intra-prediction coding of video data. The techniques may include determining whether to apply a smoothing filter to a current block of video data that is being encoded. For example, a determination of whether to apply the smoothing filter may be based on the size of the current block being encoded and the encoding mode associated with the current block. The encoding mode of the current block may be based on the direction associated with the intra-prediction coding of the current block or the direction of the current block relative to the block from which the current block is predicted. Filtering decision tables may be generated and used to make decisions regarding whether to apply intra smoothing filtering to a current block and/or the type of intra smoothing filter to apply to a current block. Therefore, the filtering decision may be a function of block size and intra prediction mode associated with a current block. [00231 In video coding, prediction may be utilized to increase efficiency and reduce the amount of encoded video data, and therefore, the amount of video data transmitted or stored for subsequent retrieval and display. Two types of prediction are frequently used in modem video coding systems, inter-prediction and intra-prediction. In inter prediction, a current video block is predicted from a video block in another frame in the WO 2012/044886 PCT/US20111/054130 5 video sequence. In intra-prediction, the current video block is predicted from a video block within the same frame. [0024] As noted above, intra-prediction coding involves encoding the pixels of a current block of a frame relative to pixels of previously-encoded blocks of the same frame by performing directional extrapolation of pixels surrounding the current block. In this manner, the surrounding pixels are used as prediction samples to form pixels for the current block. In general, the pixels are used to form the current block along a specified direction. As the current block size increases, the prediction accuracy of the pixels of the current block that are farther away from the prediction samples may be degraded. To overcome the degradation in intra-prediction coding, smoothing is applied to the surrounding prediction samples. [0025] The video coding process may apply a smoothing filter to prediction pixels, perform and compare prediction using both filtered and unfiltered pixels, and determine and signal whether to use the filtered or unfiltered pixels based on the outcome of the comparison. Using this method, which may be referred to as adaptive intra smoothing (AJS), results in increasing encoder complexity, as it requires applying the smoothing filter to each block and comparing the result to the unfiltered block. Also, using this method, which explicitly signals whether or not a particular smoothing filter should be applied, adds to the overhead information associated with each coding unit. Additionally, entropy coding and decoding the AIS data (e.g., the signal, the smoothing filter, and the like) adds complexity to the encoding and decoding process. [0026] Another way to perform AIS is to make use of a filter indicator table at the encoder and decoder, where the indicator value depends on the block size and the intra prediction mode, which indicates the direction of prediction. The table may be generated during a design stage, thus avoiding the increase in encoder computational complexity because the decision as to whether or not pixels are filtered is not performed during the encoding process. However, certain changes to the video encoder/decoder may require generating a new table to replace a current table. [0027] Techniques of this disclosure propose a simplified AIS scheme or mode dependent intra smoothing (MDIS) that is rule-based, where the rules as to whether or not to apply a smoothing filter are based on the size of the current block and the prediction mode or direction. MDIS may order the prediction modes in a hierarchy, WO 2012/044886 PCT/US20111/054130 6 which may be mapped to the different block sizes, where for increasing block sizes, more modes are filtered according to the hierarchy. In some examples, the determination of whether or not to apply a smoothing filter may be further distinguished between larger blocks and smaller blocks, where the methodology of determining whether or not to apply a smoothing filter may vary based on the block size. Additionally, for some video sequences, e.g., those with directional texture, applying a smoothing filter may provide little to no benefit. Techniques of this disclosure may also make the smoothing filter determinations to address these issues. Intra-prediction and smoothing filter information may be encoded in headers of corresponding blocks and decoded by a video decoder to apply the appropriate smoothing filter during decoding. [0028] FIG. 1 is a block diagram illustrating an example video encoding and decoding system 10 that may utilize the techniques of this disclosure for applying a smoothing filter during intra-prediction coding. As shown in FIG. 1, system 10 includes a source device 12 that transmits encoded video to a destination device 14 via a communication channel 16. Source device 12 and destination device 14 may comprise any of a wide range of devices. In some examples, source device 12 and destination device 14 may comprise wireless communication devices, such as wireless handsets, so-called cellular or satellite radiotelephones, or any wireless devices that can communicate video information over a communication channel 16, in which case communication channel 16 is wireless. [0029] The techniques of this disclosure, however, which generally concern techniques for intra-prediction coding, are not necessarily limited to wireless applications or settings. For example, these techniques may also be useful in a wide range of other settings and devices, including devices that communicate via physical wires, optical fibers or other physical or wireless media, may apply to over-the-air television broadcasts, cable television transmissions, satellite television transmissions, Internet video transmissions, encoded digital video that is encoded onto a storage medium, or other scenarios. For example, encoded video may be stored on a storage device for subsequent retrieval, decoding, and display by destination device 14. In addition, the encoding or decoding techniques may also be applied in a standalone device that does not necessarily communicate with any other device. Accordingly, communication channel 16 may comprise any combination of wireless or wired media suitable for WO 2012/044886 PCT/US20111/054130 7 transmission of encoded video data or other storage media, and devices 12, 14 may comprise any of a variety of wired or wireless media devices such as mobile telephones, smartphones, digital media players, set-top boxes, televisions, displays, desktop computers, portable computers, tablet computers, gaming consoles, portable gaming devices, or the like. [0030] In the example of FIG. 1, source device 12 includes a video source 18, video encoder 20, a modulator/demodulator (modem) 22 and a transmitter 24. Destination device 14 includes a receiver 26, a modem 28, a video decoder 30, and a display device 32. In other examples, a source device and a destination device may include other components or arrangements. For example, source device 12 may receive video data from an external video source 18, such as an external camera, a video storage archive, a computer graphics source, or the like. Likewise, destination device 14 may interface with an external display device, rather than including an integrated display device. [0031] The illustrated system 10 of FIG. 1 is merely one example. Techniques for applying a smoothing filter in intra-prediction coding may be performed by any digital video encoding and/or decoding device. Although generally the techniques of this disclosure are performed by a video encoding device, the techniques may also be performed by a video encoder/decoder, typically referred to as a "CODEC." Moreover, the techniques of this disclosure may also be performed by a video preprocessor. Source device 12 and destination device 14 are merely examples of such coding devices in which source device 12 generates coded video data for transmission to destination device 14. In some examples, devices 12, 14 may operate in a substantially symmetrical manner such that each of devices 12, 14 includes video encoding and decoding components. Hence, system 10 may support one- or two-way video transmission between video devices 12, 14, e.g., for video streaming, video playback, video broadcasting, or video telephony. [0032] Video source 18 of source device 12 may include a video capture device, such as a video camera, a video archive containing previously captured video, and/or a video feed from a video content provider. As a further alternative, video source 18 may generate computer graphics-based data as the source video, or a combination of live video, archived video, and computer-generated video. In some cases, if video source 18 is a video camera, source device 12 and destination device 14 may form so-called WO 2012/044886 PCT/US20111/054130 8 camera phones or video phones. As mentioned above, however, the techniques described in this disclosure may be applicable to video coding in general, and may be applied to wireless and/or wired applications. In each case, the captured, pre-captured, or computer-generated video may be encoded by video encoder 20. The encoded video information may then be modulated by modem 22 according to a communication standard, and transmitted to destination device 14 via transmitter 24. Modem 22 may include various mixers, filters, amplifiers or other components designed for signal modulation. Transmitter 24 may include circuits designed for transmitting data, including amplifiers, filters, and one or more antennas. [0033] Receiver 26 of destination device 14 receives information over channel 16, and modem 28 demodulates the information. Again, the video encoding process may implement one or more of the techniques described herein for applying a smoothing filter during intra-prediction coding of a current block. The information communicated over channel 16 may include syntax information defined by video encoder 20, which is also used by video decoder 30, that includes syntax elements that describe characteristics and/or processing of prediction units (PUs), coding units (CUs) or other units of coded video, e.g., video slices, video frames, and video sequences or groups of pictures (GOPs). Display device 32 displays the decoded video data to a user, and may comprise any of a variety of display devices such as a cathode ray tube (CRT), a liquid crystal display (LCD), a plasma display, an organic light emitting diode (OLED) display, or another type of display device. [0034] In the example of FIG. 1, communication channel 16 may comprise any wireless or wired communication medium, such as a radio frequency (RF) spectrum or one or more physical transmission lines, or any combination of wireless and wired media. Communication channel 16 may form part of a packet-based network, such as a local area network, a wide-area network, or a global network such as the Internet. Communication channel 16 generally represents any suitable communication medium, or collection of different communication media, for transmitting video data from source device 12 to destination device 14, including any suitable combination of wired or wireless media. Communication channel 16 may include routers, switches, base stations, or any other equipment that may be useful to facilitate communication from source device 12 to destination device 14.
WO 2012/044886 PCT/US20111/054130 9 [0035] Video encoder 20 and video decoder 30 may operate according to a video compression standard, such as the emerging High Efficiency Video Coding (HEVC) standard or the ITU-T H.264 standard, alternatively referred to as MPEG-4, Part 10, Advanced Video Coding (AVC). The techniques of this disclosure, however, are not limited to any particular coding standard. Other examples include MPEG-2 and ITU-T H.263. Although not shown in FIG. 1, in some aspects, video encoder 20 and video decoder 30 may each be integrated with an audio encoder and decoder, and may include appropriate MUX-DEMUX units, or other hardware and software, to handle encoding of both audio and video in a common data stream or separate data streams. If applicable, MUX-DEMUX units may conform to the ITU H.223 multiplexer protocol, or other protocols such as the user datagram protocol (UDP). [0036] The ITU-T H.264/MPEG-4 (AVC) standard was formulated by the ITU-T Video Coding Experts Group (VCEG) together with the ISO/IEC Moving Picture Experts Group (MPEG) as the product of a collective partnership known as the Joint Video Team (JVT). In some aspects, the techniques described in this disclosure may be applied to devices that generally conform to the H.264 standard. The H.264 standard is described in ITU-T Recommendation H.264, Advanced Video Coding for generic audiovisual services, by the ITU-T Study Group, and dated March, 2005, which may be referred to herein as the H.264 standard or H.264 specification, or the H.264/AVC standard or specification. [0037] The Joint Video Team (JVT) continues to work on extensions to H.264/AVC, and to develop new standards, e.g., for HEVC. The HEVC standardization efforts are based on a model of a video coding device referred to as the HEVC Test Model (HM). The HM presumes several additional capabilities of video coding devices relative to existing devices according to, e.g., ITU-T H.264/AVC. For example, whereas H.264 provides nine intra-prediction encoding modes, the HM provides as many as thirty-five intra-prediction encoding modes. [0038] The HM refers to a block of video data as a coding unit (CU). Syntax data within a bitstream may define a largest coding unit (LCU), which is a largest coding unit in terms of the number of pixels. In general, a CU has a similar purpose to a macroblock of the H.264 standard, except that a CU does not have a size distinction. Thus, a CU may be split into sub-CUs. In general, references in this disclosure to a CU WO 2012/044886 PCT/US20111/054130 10 may refer to a largest coding unit of a picture or a sub-CU of an LCU. An LCU may be split into sub-CUs, and each sub-CU may be further split into sub-CUs. Syntax data for a bitstream may define a maximum number of times an LCU may be split, referred to as CU depth. Accordingly, a bitstream may also define a smallest coding unit (SCU). This disclosure also uses the term "block" to refer to any of a CU, PU, or TU. Moreover, where this disclosure refers to examples involving a coding unit or CU, it should be understood that other examples may be provided with respect to macroblocks substituted for coding units. [0039] An LCU may be associated with a quadtree data structure. In general, a quadtree data structure includes one node per CU, where a root node corresponds to the LCU. If a CU is split into four sub-CUs, the node corresponding to the CU includes four leaf nodes, each of which corresponds to one of the sub-CUs. Each node of the quadtree data structure may provide syntax data for the corresponding CU. For example, a node in the quadtree may include a split flag, indicating whether the CU corresponding to the node is split into sub-CUs. Syntax elements for a CU may be defined recursively, and may depend on whether the CU is split into sub-CUs. [0040] A CU that is not split (e.g., corresponding to a leaf node in the quadtree data structure) may include one or more prediction units (PUs). In general, a PU represents all or a portion of the corresponding CU, and includes data for retrieving a reference sample for the PU. For example, when the PU is intra-mode encoded, the PU may include data describing an intra-prediction mode for the PU. The data describing the intra-prediction mode may define, for example, the direction associated with the intra prediction mode for the PU (luma and chroma components), and block size associated with the PU. As another example, when the PU is inter-mode encoded, the PU may include data defining a motion vector for the PU. The data defining the motion vector may describe, for example, a horizontal component of the motion vector, a vertical component of the motion vector, a resolution for the motion vector (e.g., one-quarter pixel precision or one-eighth pixel precision), a reference frame to which the motion vector points, and/or a reference frame list (e.g., list 0 or list 1) for the motion vector, and the motion vector predictor index. Data for the CU defining the PU(s) may also describe, for example, partitioning of the CU into one or more PUs. Partitioning modes WO 2012/044886 PCT/US20111/054130 11 may differ between whether the CU is uncoded, intra-prediction mode encoded, or inter prediction mode encoded. [0041] A CU having one or more PUs may also include one or more transform units (TUs). Following prediction using a PU, a video encoder may calculate a residual value for the portion of the CU corresponding to the PU. The residual value corresponds to pixel difference values that may be transformed into transform coefficients, quantized, and scanned to produce serialized transform coefficients for entropy coding. A size of the TU is not necessarily limited to the size of a PU. In particular, TUs may be the same size, or smaller than corresponding PUs for a CU. In some examples, the maximum size of a TU may be the size of the corresponding CU. In general, TUs may comprise the data structures that include the residual transform coefficients associated with a given CU. [0042] Video encoder 20 and video decoder 30 each may be implemented as any of a variety of suitable encoder circuitry, such as one or more microprocessors, digital signal processors (DSPs), application specific integrated circuits (ASICs), field programmable gate arrays (FPGAs), discrete logic, software, hardware, firmware or any combinations thereof. Each of video encoder 20 and video decoder 30 may be included in one or more encoders or decoders, either of which may be integrated as part of a combined encoder/decoder (CODEC) in a respective camera, computer, mobile device, subscriber device, broadcast device, set-top box, server, or the like. [0043] A video sequence typically includes a series of video frames. A group of pictures (GOP) generally comprises a series of one or more video frames. A GOP may include syntax data in a header of the GOP, a header of one or more frames of the GOP, or elsewhere, that describes a number of frames included in the GOP. Each frame may include frame syntax data that describes an encoding mode for the respective frame. Video encoder 20 typically operates on video blocks within individual video frames in order to encode the video data. A video block may correspond to a coding unit (CU) or a partition unit (PU) of the CU. The video blocks may have fixed or varying sizes, and may differ in size according to a specified coding standard. Each video frame may include a plurality of slices. Each slice may include a plurality of CUs, which may include one or more PUs.
WO 2012/044886 PCT/US20111/054130 12 [0044] As an example, the HEVC Test Model (HM) supports prediction in various CU sizes. The size of an LCU may be defined by syntax information. Assuming that the size of a particular CU is 2Nx2N, the HM supports intra-prediction in sizes of 2Nx2N or NxN, and inter-prediction in symmetric sizes of 2Nx2N, 2NxN, Nx2N, or NxN. The HM also supports asymmetric splitting for inter-prediction of 2NxnU, 2NxnD, nLx2N, and nRx2N. In asymmetric splitting, one direction of a CU is not split, while the other direction is split into 25% and 75%. The portion of the CU corresponding to the 25% split is indicated by an "n" followed by an indication of "Up", "Down," "Left," or "Right." Thus, for example, "2NxnU" refers to a 2Nx2N CU that is split horizontally with a 2NxO.5N PU on top and a 2Nx1.5N PU on bottom. [0045] In this disclosure, "NxN" and "N by N" may be used interchangeably to refer to the pixel dimensions of a video block (e.g., CU, PU, or TU) in terms of vertical and horizontal dimensions, e.g., 16x16 pixels or 16 by 16 pixels. In general, a 16x16 block will have 16 pixels in a vertical direction (y = 16) and 16 pixels in a horizontal direction (x = 16). Likewise, an NxN block generally has N pixels in a vertical direction and N pixels in a horizontal direction, where N represents a nonnegative integer value. The pixels in a block may be arranged in rows and columns. Moreover, blocks need not necessarily have the same number of pixels in the horizontal direction as in the vertical direction. For example, blocks may comprise NxM pixels, where M is not necessarily equal to N. [0046] As noted above, CUs may be encoded using inter-predictive coding or intra predictive coding. In intra-prediction, a current block may be predicted relative to a block in the same frame that has already been encoded. Typically, blocks of a frame are coded left-to-right and top-to-bottom, or in some examples in a z-scan order. Therefore, a current block may be predicted relative to blocks anywhere above it or to the left of the current block. The block sizes in intra-prediction coding can vary from a relatively small size, e.g., 2x2, to a relatively large size, e.g., 128x128. The direction of prediction or the direction from an already encoded block to the current block may determine the intra-prediction mode. The HM allows up to 34 modes, which include 33 different intra-prediction directional modes, corresponding to an extrapolation direction and one DC mode. Each of the 33 of the intra-prediction directional modes corresponds to an angle between 0 and 180 (or between 45 and -135 degrees from the horizontal, WO 2012/044886 PCT/US20111/054130 13 going clockwise, in the example of FIG. 2A), with an angle resolution close to 5.625' indicative of the direction of extrapolation of pixels from the block used to predict the pixels of the current block. The non-directional mode (designated with mode 2) corresponds to DC, where a sampling of the neighboring pixels is used to predict the pixels of the current block. In some examples, the HM may allow a 35th mode (mode 34) corresponding to a planar mode, where the values of the pixels may be adjusted using a gradient function, discussed in more detail below. [0047] During intra-predictive coding, the quality of prediction accuracy may be affected and degraded. For example, as the size of the PU increases, the prediction accuracy of the pixels farther away from the predictor pixels may be degraded. Degradation of prediction accuracy may result in more residual data, which may result in more data that needs to be encoded, transmitted, or stored. A smoothing filter may be applied to predictor pixels used to predict a block to improve the prediction accuracy. In some cases, however, better results are achieved without using a smoothing filter. As noted above, current standards utilize adaptive intra smoothing (AIS) techniques. [0048] Techniques of this disclosure propose a simplified AIS scheme that is rule-based, where the rules as to whether or not to apply a smoothing filter are mainly based on the size of the current block and the prediction mode or direction. In HM, block sizes vary from a small size, e.g., 2x2, to as large as 128x128, for example. Intra-prediction modes available to each block may vary based on the size, as will be explained in more detail below. For each block size, a smoothing filter may be needed when prediction is applied in some directions, but not other directions, where the directions correspond to different intra-prediction modes. In one example, the combinations of sizes and intra prediction modes for which a smoothing filter is applied may be pre-defined in a look up table (LUT). Therefore, determining whether to apply a smoothing filter may be generic and remains the same regardless of changes to the encoder and/or decoder, and signaling of the filtering determination may not be needed. Additionally, making the determination of whether or not to apply a smoothing filter does not incur significant encoder complexity. [0049] In some examples, the determination of whether or not to apply a smoothing filter may be further distinguished between larger blocks and smaller blocks, where the methodology of determining whether or not to apply a smoothing filter may vary based WO 2012/044886 PCT/US20111/054130 14 on the block size. For example, for some block sizes, the encoder may perform prediction using both filtered and unfiltered pixels, and compare the results to determine whether or not to use a smoothing filter. The encoder may then signal the filtering mode, i.e., whether or not a smoothing filter is used in encoding the block. In one example, the filtering mode may be signaled if it is different from the decision that would be obtained based on the LUT, i.e., the default filtering decision. [0050] In one example, one or more smoothing filters (e.g., filter candidates) may be defined. For each block size and intra-prediction mode combination, a table may define the appropriate filter to use. For combinations for which no smoothing filter is used, the defined filter may be an all-pass filter. A primary table may include the most probable smoothing filter for each corresponding combination of block size and intra-prediction mode. In some examples, a secondary table (or several additional tables) may be defined to include the second most probable smoothing filter (or several possible smoothing filters in the case of several additional tables) for each corresponding combination of block size and intra-prediction mode. In one example, the most probable smoothing filter information may be utilized, unless otherwise indicated. Information associated with intra-predictive coding (e.g., block size and intra-prediction mode) and smoothing filter information (e.g., filtering mode and probable smoothing filter table(s)) may be encoded in headers (or other data structures, such as footers) of corresponding blocks and decoded by a video decoder to apply the appropriate smoothing filter during decoding. [0051] Following intra-predictive or inter-predictive coding to produce predictive data (e.g., a PU for a CU), video encoder 20 may calculate residual data to produce one or more transform units (TUs) for the CU. PUs of a CU may comprise pixel data in the spatial domain (also referred to as the pixel domain), while TUs of the CU may comprise coefficients in the transform domain, e.g., following application of a transform such as a discrete cosine transform (DCT), an integer transform, a wavelet transform, or a conceptually similar transform to residual video data. The residual data may correspond to pixel differences between pixels of the unencoded picture and prediction values of a PU of a CU. Video encoder 20 may form one or more TUs including the residual data for the CU. Video encoder 20 may then transform the TUs.
WO 2012/044886 PCT/US20111/054130 15 [0052] Following any transforms to produce transform coefficients, quantization of transform coefficients may be performed. Quantization generally refers to a process in which transform coefficients are quantized to possibly reduce the amount of data used to represent the coefficients. The quantization process may reduce the bit depth associated with some or all of the coefficients. For example, an n-bit value may be rounded down to an n-bit value during quantization, where n is greater than in. [0053] In some examples, video encoder 20 may utilize a predefined scan order to scan the quantized transform coefficients to produce a serialized vector that can be entropy encoded. In other examples, video encoder 20 may perform an adaptive scan. After scanning the quantized transform coefficients to form a one-dimensional vector, video encoder 20 may entropy encode the one-dimensional vector, e.g., according to content adaptive variable length coding (CAVLC), context adaptive binary arithmetic coding (CABAC), syntax-based context-adaptive binary arithmetic coding (SBAC), or another entropy coding methodology. [0054] A processing unit configured for entropy coding, or another processing unit, may perform other processing functions, such as zero run length coding of quantized coefficients and/or generation of syntax information such as coded block pattern (CBP) values, macroblock type, coding mode, LCU size, or the like. [0055] Video decoder 30 of destination device 14 may be configured to perform techniques similar, and generally symmetric, to any or all of the techniques of video encoder 20 of this disclosure. For example, video decoder 30 may receive entropy encoded CUs of a video frame. This received data may include syntax elements indicating whether intra-predictive coding was utilized to encode the CU at video encoder 20. In accordance with techniques of this disclosure, the syntax elements associated with intra-predictive coding may include such information as, for example, the intra-prediction mode or direction of prediction, the block size, and other information associated with the smoothing filter, when applicable. For example, video decoder 30 may determine that a CU is encoded using intra-predictive coding, and decode syntax elements included with the encoded CU to determine the intra-prediction mode of the CU. Video encoder 30 may also determine the size of the block used in the intra-predictive coding, and using the block size and intra-prediction mode information, WO 2012/044886 PCT/US20111/054130 16 video decoder 30 may determine whether or not to apply a smoothing filter to the predictor pixels when predicting a block. [0056] In one example, video decoder 30 may determine whether or not to apply a smoothing filter based on the combination of block size and intra-prediction mode used to encode the block. If not indicated otherwise, video decoder 30 may utilize the most probable smoothing filter associated with the combination of block size and intra prediction mode. If the smoothing filter used for the combination of block size and intra-prediction mode is different from the most probable smoothing filter for that combination, an indication may be decoded by video decoder 30 from the syntax elements associated with the block, and a smoothing filter from a second (or more) most probable smoothing filter for that combination is selected and utilized by video decoder 30. [0057] In this manner, the amount of information encoded to indicate whether or not smoothing filter is applied in intra-predictive coding is minimized, and in some cases eliminated. For example, when the smoothing filter application decision is the most probable one for a combination of block size and intra-prediction mode, no signaling regarding the smoothing filter is encoded, and video decoder 30 is able to make the determination without requiring additional information other than the block size and the intra-prediction mode. [0058] Video encoder 20 and video decoder 30 each may be implemented as any of a variety of suitable encoder or decoder circuitry, as applicable, such as one or more microprocessors, digital signal processors (DSPs), application specific integrated circuits (ASICs), field programmable gate arrays (FPGAs), discrete logic circuitry, software, hardware, firmware or any combinations thereof. Each of video encoder 20 and video decoder 30 may be included in one or more encoders or decoders, either of which may be integrated as part of a combined video encoder/decoder (CODEC). An apparatus including video encoder 20 and/or video decoder 30 may comprise an integrated circuit, a microprocessor, and/or a wireless communication device, such as a cellular telephone. [0059] FIG. 2A is a conceptual diagram illustrating a graph that depicts an example set of prediction directions associated with various intra-prediction modes. As noted above, the HM provides as many as thirty-three intra-prediction directional encoding WO 2012/044886 PCT/US20111/054130 17 modes. An HM encoder (e.g., video encoder 20) may be configured such that the available set of intra-prediction modes for a block may depend on the size of the block or PU. That is, the size of a block may determine the number of intra-prediction modes available for the block, from which the encoder may select an intra-prediction mode to predict the block. TABLE 1 below illustrates one example of correspondence between block sizes and the intra-prediction modes available for blocks of that size. The directions associated with the intra-prediction modes are illustrated in FIG. 3. Mode 2, not shown on FIG. 3, corresponds to DC mode, where a sampling of the neighboring pixels is used to predict the pixels of the current block. PU or block Size Intra prediction modes 2x2 0~3 4x4 0~16 8x8 0~33 16x16 0-33 32x32 0~33 64x64 0-5 128x128 0-5 TABLE 1 [0060] In the example of FIG. 2A, block 106 (indicated with the dotted outline) can be predicted from neighboring pixels 100A-100AG (neighboring pixels 100) depending on a selected intra-prediction mode. Arrows 102A-102AG (arrows 102) represent directions or angles associated with various intra-prediction modes. The example of FIG. 2A is representative of intra-prediction modes provided by the HM. However, in other examples, more or fewer intra-prediction modes may be provided. Although the example of block 106 is an 8x8 pixel block, in general, a block may have any number of pixels, e.g., 4x4, 8x8, 16x16, 32x32, 64x64, 128x128, etc. Although the example of block 106 is square, the techniques of this disclosure may also be applied to other block sizes, e.g., NxM blocks, where N is not necessarily equal to M. [0061] An intra-prediction mode may be defined according to an angle of the prediction direction relative to, for example, a horizontal axis that is perpendicular to the vertical sides of block 106. Thus, each of arrows 102 may represent a particular angle of a prediction direction of a corresponding intra-prediction mode. In some examples, an WO 2012/044886 PCT/US20111/054130 18 intra-prediction direction mode may be defined by an integer pair (dx, dy), which may represent the direction the corresponding intra-prediction mode uses for context pixel extrapolation. That is, the angle of the intra-prediction mode may be calculated as dy/dx. In other words, the angle may be represented according to the horizontal offset dx and the vertical offset dy. The value of a pixel at location (x, y) in block 106 may be determined from the one or more of neighboring pixels 100 through which a line passes that also passes through location (x, y) with an angle of dy/dx. [0062] FIG. 2B is a conceptual diagram illustrating a graph that depicts another example set of prediction directions associated with various intra-prediction modes. In the example of FIG. 2B, thirty-three intra-prediction directional encoding modes are shown, similar to those shown in FIG. 2A. In this example, in addition to the 33 directional modes, there are two additional modes, mode 2 corresponding to DC mode and mode 34 corresponding to planar mode. [0063] In the example of FIG. 2B, the encoder and/or decoder may be configured such that the available set of intra-prediction modes for a block may depend on the size of the block, e.g., PU, CU, or TU. That is, the size of a block may determine the number of intra-prediction modes available for the block, from which the encoder may select an intra-prediction mode to predict the block. TABLE 2 below illustrates another example of correspondence between block sizes and the intra-prediction modes available for blocks of that size. PU or block Size Intra prediction modes 4x4 0~16,34 8x8 0-34 16x16 0~34 32x32 0~-34 64x64 0~2,34 TABLE 2 [0064] FIG. 3 is a conceptual diagram illustrating an example set of prediction directions associated with various intra-prediction modes. Each of the 33 intra prediction directional modes provided by the HM corresponds to a direction with a specified angle. For example, mode 1 corresponds to a horizontal extrapolation direction or at an angle of 0' from the horizontal, where a block encoded using mode 1 WO 2012/044886 PCT/US20111/054130 19 is predicted from pixels directed to its left. As another example, mode 0 corresponds to a vertical extrapolation direction or at an angle of 900 from the horizontal, where a block encoded using mode 0 is predicted from pixels directly above it. As another example, modes 3, 6, and 9 correspond to a diagonal extrapolation direction at an angle resolution of 45'. Modes 0, 1, and 3-33 correspond to prediction directions that span 180' (between modes 6 and 9), with an angle resolution close to 5.625'. Mode 2, in the example of the HM, corresponds to the DC mode, where a sampling of the eight neighboring pixels is used to predict the pixels of the current block. Mode 34 corresponds to the planar mode, where a linear plane function that is fitted to the block of prediction purposes may be included. The planar mode may work well in areas of smoothly-varying luminance. Planar mode may be effective for predicting larger blocks, but may be less efficient when used for predicting smaller blocks. The circles of FIG. 3 represent the angle resolution of the intra-prediction directional modes associated with each circle. For example, for circle 0, the resolution between the modes inside the circle (modes 0 and 1) is 90 degree, the resolution between the modes inside circle 1 (modes 3, 6, and 9) is 45 degree, the resolution between the mode insider circle 2 (modes 4, 5, 7, and 8) is 22.5 degrees, and so forth. [0065] FIG. 4 is a block diagram illustrating an example of video encoder 20 that may implement techniques for applying a smoothing filter to pixels surrounding the prediction samples used in intra-prediction coding of video data. Video encoder 20 may perform intra- and inter-prediction of video blocks within video frames, including LCUs, CUs, and PUs, and calculate residual values that may be encoded as TUs. Intra-coding relies on spatial prediction to reduce or remove spatial redundancy in video within a given video frame. Inter-coding relies on temporal prediction to reduce or remove temporal redundancy in video within adjacent frames of a video sequence. Intra-mode (I-mode) may refer to any of several spatial based compression modes. Inter-modes such as unidirectional prediction (P-mode), bi-directional prediction (B mode), or generalized P/B prediction (GPB-mode) may refer to any of several temporal based compression modes. Motion estimation unit 42 and motion compensation unit 44 may perform inter-prediction coding, while intra-prediction unit 46 may perform intra prediction coding.
WO 2012/044886 PCT/US20111/054130 20 [0066] As shown in FIG. 4, video encoder 20 receives a current video block within a video frame or slice to be encoded. In the example of FIG. 4, video encoder 20 includes mode select unit 40, prediction unit 41, reference frame store 64, summer 50, transform unit 52, quantization unit 54, and entropy coding unit 56. Prediction unit 41 includes motion estimation unit 42, motion compensation unit 44, and intra prediction unit 46. For video block reconstruction, video encoder 20 also includes inverse quantization unit 58, inverse transform unit 60, and summer 62. A deblocking filter (not shown in FIG. 4) may also be included to filter block boundaries to remove blockiness artifacts from reconstructed video. If desired, the deblocking filter would typically filter the output of summer 62. [0067] During the encoding process, video encoder 20 receives a video frame or slice to be coded. The frame or slice may be divided into multiple video blocks or CUs. Motion estimation unit 42 and motion compensation unit 44 perform inter-predictive coding of the received video block relative to one or more blocks in one or more reference frames to provide temporal compression. Intra-prediction unit 46 may perform intra-predictive coding of the received video block relative to one or more neighboring blocks in the same frame or slice as the block to be coded to provide spatial compression. [0068] Mode select unit 40 may select one of the coding modes, intra or inter, e.g., based on error results, and provides the selection of the coding mode to prediction unit 41. Prediction unit 41 then produces an intra- or inter-coded block and provides the coded block to summer 50 to generate residual block data and to summer 62 to reconstruct the encoded block for use as a reference frame. When mode select unit 40 selects intra-predictive encoding for a block, intra prediction unit 46 may select an intra prediction mode for the block. For example, the selected intra-prediction mode may be one of the 35 modes provided by the HM. The number of intra-prediction modes from which an intra-prediction mode is selected for a give block may depend on the size of the block as shown in the example of TABLE 1 above. [0069] In one example, when mode select unit 40 select inter-predictive coding, motion estimation unit 42 and motion compensation unit 44 may perform processing associated with inter-predictive coding to generate an inter-coded block. Motion estimation unit 42 and motion compensation unit 44 may be highly integrated, but are illustrated separately WO 2012/044886 PCT/US20111/054130 21 for conceptual purposes. Motion estimation, performed by motion estimation unit 42, is the process of generating motion vectors, which estimates motion for video blocks. A motion vector, for example, may indicate the displacement of a predictive block or PU within a predictive reference frame (or other coded unit) relative to the current block being coded within the current frame (or other coded unit). A predictive block is a block that is found to closely match the video block or PU to be coded in terms of pixel difference, which may be determined by sum of absolute difference (SAD), sum of square difference (SSD), or other difference metrics. [0070] A motion vector may also indicate displacement of a partition of a macroblock. Motion compensation may involve fetching or generating the predictive block based on the motion vector determined by motion estimation. In some examples, video encoder 20 may calculate values for sub-integer pixel positions of reference frames stored in reference frame store 64. For example, video encoder 20 may calculate values of one quarter pixel positions, one-eighth pixel positions, or other fractional pixel positions of the reference frame. Therefore, motion estimation unit 42 may perform a motion search relative to the full pixel positions and fractional pixel positions and output a motion vector with fractional pixel precision. [0071] Motion estimation unit 42 calculates a motion vector for a video block or PU of an inter-coded frame by comparing the PU to blocks of a reference frame in reference frame store 64. Motion compensation unit 44 may also interpolate sub-integer pixels of the reference frame, e.g., an I-frame or a P-frame. The HM, as an example, describes two lists: list 0, which includes reference frames having a display order earlier than a current frame being encoded, and list 1, which includes reference frames having a display order later than the current frame being encoded. Therefore, data stored in reference frame store 64 may be organized according to these lists. In some cases, motion estimation unit 42 may further calculate a motion vector difference (MVD) value for the motion vector and pass the MVD value, rather than the motion vector itself, to entropy coding unit 56. [0072] In one example, when mode select unit 40 select intra-predictive coding, intra prediction unit 46 may perform processing associated with intra-predictive coding to generate an intra-coded block. As noted above, based on the size of the block, the number of intra-prediction modes available for the block may be determined. An WO 2012/044886 PCT/US20111/054130 22 example of a correspondence between block size and number of intra-prediction modes available for blocks of that size is shown in TABLE 1 and TABLE 2 above. Intra predictive unit 46 may intra-predictive encode the current video block relative to neighboring, previously-coded blocks, e.g., blocks above, above and to the right, above and to the left, or to the left of the current block, assuming a left-to-right, top-to-bottom encoding order or blocks. Intra prediction unit 46 may utilize a neighboring block based on a selected intra-prediction mode for the current block. [0073] Intra prediction unit 46 may determine the appropriate intra-prediction mode for the block, by selecting one of the available intra-prediction modes. Intra prediction unit 46 may select an intra-prediction mode by, for example, calculating error values for the various intra-prediction modes associated with the block size and selecting a mode that yields the lowest error value. Directional prediction modes may include functions for combining values of spatially neighboring pixels and applying the combined values to one or more pixel positions in a prediction unit (PU). Once values for all pixel positions in the PU have been calculated, intra-prediction unit 46 may calculate an error value for the prediction mode based on pixel differences between the PU and the current block to be encoded. Intra-prediction unit 46 may continue testing intra-prediction modes associated with the block size of the current block until an intra-prediction mode that yields an acceptable error value is discovered. The intra-prediction mode resulting in the lowest error value may then be used to generate the PU for the current block. Intra prediction unit 46 may signal the selected intra-prediction mode so that it is encoded with the syntax elements associated with the coded block. [0074] In accordance with this disclosure, video encoder 20 may determine whether or not to apply a smoothing filter to the pixels around the prediction samples of a current block that is encoded using intra-predictive coding. The determination may be based on the block size and the intra-prediction mode used in coding the current block. In one example according to the techniques of this disclosure, the smoothing filter is not applied when modes 0, 1, or 2 are used, which correspond to the vertical, horizontal, and DC modes, respectively, because each of these modes provides relatively accurate prediction results without applying smoothing. Therefore, when the prediction direction is perfectly horizontal, vertical, or the intra-prediction mode is DC mode, the smoothing filter is not applied. Determining whether or not to apply a smoothing filter for other WO 2012/044886 PCT/US20111/054130 23 modes (i.e., the diagonal modes), depends on the prediction unit size and the intra prediction mode. TABLE 3 below shows an example relationship of combinations of block size and intra-prediction mode for which a smoothing filter is applied. The combinations of block size and intra-prediction mode for which filtering may be applied may be based on off-line training and statistical results. TABLE 3 does not represent the only type of relationships that could be defined, but merely provides on example consistent with this disclosure. Block Size Modes that are filtered Shown in FIG. 3 2x2 no filtering for all modes n/a 4x4 mode 3, 6, and 9 modes between circle 0 and circle 1 8x8 mode 3, 4, 5, 6, 7, 8, and 9 modes between circle 0 and circle 2 16x16 mode 3 to 17 modes between circle 0 and circle 3 32x32 mode 3 to 33 modes between circle 0 and circle 4 64x64 mode 3 to 4 modes between circle 0 and circle 4 128x128 mode 3 to 4 modes between circle 0 and circle 4 TABLE 3 [0075] As TABLE 3 illustrates, determining whether to apply a smoothing filter is generic and remains the same based on block size and intra-prediction mode used to encode the block. In one example, the combinations of sizes and intra-prediction modes shown above in TABLE 3, and for which a smoothing filter is applied, may be pre defined in a look-up table (LUT). The LUT may be either available at both the encoder or decoder, or the encoder may send it to the decoder. Therefore, determining whether to apply a smoothing filter may be generic and remains the same regardless of changes to the encoder and/or decoder, and signaling of the filtering determination may not be needed. Additionally, making the determination of whether or not to apply a smoothing filter does not incur significant encoder complexity. [00761 In one example, during intra-predictive encoding of a block, the encoder may determine whether or not to apply a smoothing filter to the predictive samples based on the combination of the size of the block and the intra-predictive mode used, and according to the combinations defined in an LUT. These combinations may be associated with a most probable filtering option as indicated in a most probable filter table. For example, a most probable filter table may be created to indicate for each WO 2012/044886 PCT/US20111/054130 24 combination of block size and intra-prediction mode, what filtering option to utilize. In one example, a smoothing filter may be selected from a candidate list of filters for the each combination of block size and intra-prediction mode. The no filtering option may be generalized into a smoothing filter that is an all-pass filter. In some examples, one or more smoothing filters may be used, where for example one smoothing filter may work better for some combinations of block sizes and intra-prediction modes and a second smoothing filter may work better for other combinations of block sizes and intra prediction modes. The number of filters in the candidate set of smoothing filters may vary from one system to another. In one example, the filter options for a combination of block size and intra-prediction mode may be based on off-line training with different training video data. For simplicity, the number of filters may be 3, filter 0, filter 1, and filter 2, where filter 0 indicates an all-pass filtering (i.e., no filtering). Using the candidate filters, a most probable filter table may be generated according to the following table, which is represented in pseudocode: // Most probable filter table { {o, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, //2x2 {0, 0,0, 1,0,0, 1,0,0, 1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, 0, 0, 0, 0, 0, 0}, //4x4 {0,0,0,1,1,2,2,2,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, 0,0,0,0, 0,0,0, 0, 0, 0, 0, 0, 0}, //8x8 {0, 0, 0, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, //16x16 {0, 0, 0, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 0,0,0,0,0, 0}, //32x32 {0, 0,0,2,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, //64x64 {0, 0, 0, 2, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0} //128x128 } [0077] In the example above, the most probable smoothing filter may be defined for each block size and intra-prediction mode. The table index of a smoothing filter for a specific combination may be defined as [S, M] corresponding to size and mode. The block size may range from 1 to 7, corresponding to block sizes 2x2, 4x4, 8x8, 16x16, 32x32, 64x64, and 128x128, for example. The intra-prediction mode may range from 1 to 40, for example. However, in the example of this disclosure, only 35 modes are WO 2012/044886 PCT/US20111/054130 25 defined, and therefore, the rest of the modes are populated with 0, indicating filter 0 or all-pass filter. The example of the table above shows for each entry in the table a smoothing filter from the example set of filters (0, 1, 2). The intra-prediction modes for which a smoothing filter 1 or 2 is applied correspond to the combinations defined in TABLE 3 above. [0078] In one example, during encoding, video encoder 20 may implement fixed mode dependent intra-predictive coding, where video encoder 20 selects the most probable smoothing filter for each combination of block size and intra-prediction mode as defined by the table above. In this example, video encoder 20 may indicate the fixed mode-dependent intra-predictive coding, without having to encode which smoothing filter is used for a block. During decoding, if fixed mode-dependent intra-predictive coding is indicated, the decoder (e.g., video decoder 30) may determine which smoothing filter to apply using information from the table above based on the block size and intra-prediction mode information used as an index for the table. For example, an 8x8 block encoded using intra-prediction mode 6 may correspond to Filterl([3,6]) which is smoothing filter 2. Filter may indicate that the information is obtained from the table corresponding to the most probable filter table. [0079] In some cases, using the fixed mode-dependent intra-predictive coding may not yield the best results for some of the larger block sizes, e.g., 64x64 and 128x128. In one example, during intra-predictive encoding of a block, video encoder 20 may determine whether or not to apply a smoothing filter to predictive samples using adaptive mode dependent intra-predictive coding. For blocks smaller than a threshold size, e.g., 64x64, video encoder 20 may utilize the most probable filter table shown above. For blocks larger than or equal to the threshold, e.g., 64x64 blocks and larger, video encoder 20 may evaluate the results for applying different smoothing filters including no filter to the predictive samples, and determine which yields better results. The results may be determined based on a quality metric or a rate-distortion metric. The rate portion of the metric may be indicative of the coding rate of the current block, and the distortion portion of the metric may be indicative of the amount of distortion in the current block. The rate-distortion metric may be based on rate, distortion, or a combination of both. [0080] In one example, the evaluation of applying different smoothing filters may be based on the coding rate associated with applying each of the filters to the current block.
WO 2012/044886 PCT/US20111/054130 26 The coding rate may be proportional to the amount of residual data corresponding to the current block when a smoothing filter is used. The larger the amount of residual data, the higher the coding rate for the current block. The smoothing filter that results in a smaller amount of residual data, and therefore, a better coding rate, may be considered the filter that yields better results. [0081] In another example, the evaluation of applying different smoothing filters may be based on the amount of distortion associated with applying each of the filters to the current block. In one example, the amount of distortion may be determined based on a mean square error value between the prediction block and the original block. The prediction block may be the result of using prediction samples obtained by applying a selected smoothing filter. The smoothing filter that results in a smaller mean square error value, and therefore, less distortion, may be considered the filter that yields better results. [0082] In one example, video encoder 20 may compare results of applying the filter specified by the most probable filter table shown above with filters specified by a second most probable filter table, shown below, which is represented in pseudocode / Second most probable filter table { {0, 0, 0,0, 0,0,0,0, 0,0, 0, 0,0,0, 0, 0,0, 0, 0,0,0, 0,0, 0,0, 0, 0,0,0, 0,0, 0,0, 0, 0, 0, 0, 0, 0, 0}, //2x2 {1, 1, 1, 0, 1, 1, 0, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 1, 1, 1, 1, 1}, //4x4 {1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 1, 1, 1, 1, 1}, //8x8 {2, 2,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,2,2,2,2,2,2,2,2,2,2,2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2}, //16x16 {2, 2,2, 0,0,0, 0,0, 0, 0,0, 0,0,0, 0, 0,0, 0,0, 0,0,0, 0, 0,0, 0,0,0, 0, 0,0, 0,0, 0, 2, 2,2, 2, 2, 2},/32x32 {2, 2, 2, 0, 0, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,2, 2, 2, 2},/64x64 {2, 2,2, 0, 0,2,2, 2,2, 2, 2,2,2, 2,2, 2,2, 2,2, 2,2, 2,2, 2, 2,2,2, 2,2, 2,2, 2,2, 2, 2, 2, 2, 2, 2, 2} //128x128 } [0083] In some examples, more tables may be used to specify other filters. In the simple example of using a most probable filter table and a second most probable filter table, the entries corresponding to non-zero filters, e.g., filters 1 and 2, in the first table may be replaced with filter 0 in the second table, and vice versa. In this manner, the WO 2012/044886 PCT/US20111/054130 27 comparison between the most probable and the second most probable filter is between filtering and non-filtering. If the filtering option that yields the better result is the one specified in the most probable filter table, then video encoder 20 may not need to indicate anything, as the decoder assumes the most probable filter is used if not specified otherwise. If the filtering option that yields the better result is the one specified in the second most probable filter table, video encoder 20 may signal a filtering mode to indicate that a filter other than the most probable filter should be applied during decoding. The filter tables may be stored in a memory unit (not shown) associated with video encoder 20, and accessed by intra-prediction unit 46 during coding. [0084] The signaling of the filtering mode may be done in several ways. In one example, video encoder 20 may use a filtering mode flag to signal whether filtering other than what is specified in the most probable filter table is used for a certain block. In examples where there are more than two filter tables used, e.g., there is a third (or more) most probable filter tables, video encoder 20 may indicate which of the second or third (or more) most probable filter tables is used for a certain block. In yet another example, signaling may be based on a combination of contextual information, such as, the block size of the current block, the prediction mode, and the filtering mode of neighboring blocks. The contextual information may be used to create a VLC table or CABAC table that entropy code a signal as to whether filtering was used for a current block. In this manner, the decoder may determine based on contextual information whether filtering should or should not be used with a block, and use the VLC table or CABAC information to determine the filtering mode. [0085] In other examples, other techniques may be utilized to determine whether to apply a smoothing filter. The smoothing filter techniques of this disclosure may provide an intra smoothing filtering mode decision (whether to filter or not) based on statistics of a bit rate-distortion metric as a function of the combination of intra prediction mode and block size. [0086] Referring again to FIG. 2B, it illustrates the intra prediction modes and PU size combinations, which are candidates for intra smoothing filtering based on a comparison between statistics of the filtered and unfiltered intra smoothing modes. For example, the statistics indicate that the vertical (mode 0) and horizontal (mode 1) prediction WO 2012/044886 PCT/US20111/054130 28 directions are candidates for intra smoothing filtering for PU size 32x32 and the main diagonal intra prediction directions (modes 3, 6, 9) are candidates for intra smoothing filtering for PU sizes 32x32, 16x 16, 8x8, and 4x4. The statistics may also indicate that the intra prediction directions in between the horizontal or vertical intra prediction directions and the main diagonal directions are candidates for intra smoothing filtering at progressively smaller PU sizes. For the DC mode, the statistics may indicate that mode 2, the DC mode, is not a candidate for intra smoothing filtering, while the planar mode (mode 34) is a candidate for intra smoothing filtering at certain PU sizes, e.g., 8x8, 16x16, and 32x32. [0087] Although the statistics may indicate what intra prediction modes and what PU sizes are candidates for intra smoothing filtering, coding efficiency experiments may demonstrate that the intra smoothing filtering candidate assignment shown in FIG. 2B may not be optimal in a rate-distortion sense. Therefore, the intra smoothing candidates of FIG. 2B may be a "template pattern" for deriving "subset patterns" with higher coding efficiency. In one example, a "subset pattern" is defined by selecting candidates for intra smoothing filtering from the "template pattern" per intra prediction mode and per PU size, or alternatively no intra smoothing filtering for any PU size corresponding to a certain intra prediction mode. TABLES 4-7 below provide some examples of subset patterns. TABLES 4-7 may be generally referred to as filtering decision tables. [0088] In each of TABLES 4-7, "1" may indicate that intra smoothing filtering is applied to the corresponding intra prediction mode and block size. Therefore, "1" in a particular column and row position indicates that intra smoothing is applied in the case of an intra prediction mode and block size that map to those column and row positions, respectively. In one example, TABLE 4 may correspond to the "template pattern," and each of TABLES 5-7 may correspond to a different "subset pattern." In another example, TABLE 7 may correspond to the "template pattern," and each of TABLES 4 6 may correspond to a different "subset pattern." The "template pattern" may correspond to FIG. 2B, and is illustrated by TABLE 4, for example, which also shows 64x64 PU size for generalization. TABLES 5-7 may represent "subset patterns" In one example of this disclosure, TABLE 7 may represent the "subset pattern" that is suited for general video sequences based on coding efficiency experiments.
WO 2012/044886 PCT/US20111/054130 29 PU\Mode 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 13 19 20 21 2 23 24 25 26 27 28 29 30 31 32 33 34 4x4 1 1 1 1 1 1 1 8x8 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 16x15 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 32x32 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 64x64 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 TABLE 4 PU\Mode 0 1 2 3 4 5 6 7 8 9 1011121314151617 1819202122 2324 252627 28293031 323334 4x4 4A 1 1 1 1 1 1 1 16 1 11 16x16 11 11 1 1 1 1 1 1 1 1 1 1 1 1 1111 1111 32x32 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 64x64 TABLE 5 PU\Mode 0 1 2 3 4 5 6 7 8 9101112131415161718 19202122232425262728293031323334 4x4 x8 1 1 1 _1 1i1 11 16xI6 1 1 1 1 1 1 1 1 1 1 1 111111 1 1111 1111 32x32 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 64x64 TABLE 6 PU\Mude 0 1 2 3 4 5 6 7 8 9 1011121314151161711819120 2122232425126 272829 30131323334 4x4 TABLE 7 [0089] After prediction unit 41 generates the predictive block or PU for the current video block (inter- or intra-coded), video encoder 20 forms a residual video block by subtracting the predictive block from the current video block. Summer 50 represents the component or components that perform this subtraction operation. Transform unit 52 may form one or more transform units (TUs) from the residual block. Transform unit 52 applies a transform, such as a discrete cosine transform (DCT) or a conceptually similar transform, to the TU, producing a video block comprising residual transform WO 2012/044886 PCT/US20111/054130 30 coefficients. The transform may convert the residual block from a pixel domain to a transform domain, such as a frequency domain. [0090] Transform unit 52 may perform other transforms, such as those defined by the HM, which are conceptually similar to DCT. Wavelet transforms, integer transforms, sub-band transforms or other types of transforms could also be used. In any case, transform unit 52 applies the transform to the residual block, producing a block of residual transform coefficients. The transform may convert the residual information from a pixel value domain to a transform domain, such as a frequency domain. [0091] Transform unit 52 may send the resulting transform coefficients to quantization unit 54. Quantization unit 54 quantizes the transform coefficients to further reduce bit rate. The quantization process may reduce the bit depth associated with some or all of the coefficients. The degree of quantization may be modified by adjusting a quantization parameter. In some examples, quantization unit 54 may then perform a scan of the matrix including the quantized transform coefficients. Alternatively, entropy encoding unit 56 may perform the scan. [0092] Following quantization, entropy coding unit 56 entropy codes the quantized transform coefficients. For example, entropy coding unit 56 may perform context adaptive variable length coding (CAVLC), context adaptive binary arithmetic coding (CABAC), or another entropy coding technique. Following the entropy coding by entropy coding unit 56, the encoded video may be transmitted to another device (e.g., video decoder 30), or archived for later transmission or retrieval. [0093] In some cases, entropy coding unit 56 or another unit of video encoder 20 may be configured to perform other coding functions, in addition to entropy coding. For example, entropy coding unit 56 may be configured to determine the CBP values for the macroblocks and partitions. Also, in some cases, entropy coding unit 56 may perform run length coding of the coefficients in a macroblock or partition thereof. In particular, entropy coding unit 56 may apply a zig-zag scan or other scan pattern to scan the transform coefficients in a macroblock or partition and encode runs of zeros for further compression. Entropy coding unit 56 may also construct header information that includes appropriate syntax elements for transmission in the encoded video bitstream. To entropy encode the syntax elements, entropy encoding unit 56 may perform CABAC and binarize the syntax elements into one or more binary bits based on a context model.
WO 2012/044886 PCT/US20111/054130 31 Entropy encoding unit may also perform CAVLC and encode the syntax elements as codewords according to probabilities based on context. [0094] In accordance with the techniques of this disclosure, entropy coding unit 56 may be configured to encode an indication that a smoothing filter other than the most probable filter is applied to prediction samples during intra-predictive coding. When the filtering decision for a block is the same as that specified in the most probable filter table, video encoder 20 may not send an indication to the decoder, and therefore, no additional information may need to be encoded. When an indication is needed, e.g., when the filtering decision for a block is specified in the second (or more) most probable filter table, video encoder 20 may encode an indication regarding filtering. Additionally, video encoder 20 may encode the intra-prediction mode used in encoding the block. Entropy coding unit 56 may encode the indication (e.g., intra-prediction mode and filtering decision, when applicable) using CABAC. Furthermore, entropy coding unit 56 may use context information for performing CABAC to encode the indication that indicates the intra-prediction mode for a block and filtering information when the second (or more) most probable filter is applied to the prediction samples. [0095] Inverse quantization unit 58 and inverse transform unit 60 apply inverse quantization and inverse transformation, respectively, to reconstruct the residual block in the pixel domain for later use as a reference block of a reference frame. Motion compensation unit 44 may calculate a reference block by adding the residual block to a predictive block of one of the frames of reference frame store 64. Motion compensation unit 44 may also apply one or more interpolation filters to the reconstructed residual block to calculate sub-integer pixel values for use in motion estimation. Summer 62 adds the reconstructed residual block to the motion compensated prediction block produced by motion compensation unit 44 to produce a reconstructed video block for storage in reference frame store 64. The reconstructed video block may be used by motion estimation unit 42 and motion compensation unit 44 as a reference block to inter-predict a block in a subsequent video frame. [0096] FIG. 5 is a block diagram illustrating an example of video decoder 30, which decodes an encoded video sequence. In the example of FIG. 5, video decoder 30 includes an entropy decoding unit 70, prediction unit 71, inverse quantization unit 76, inverse transformation unit 78, reference frame store 82 and summer 80. Prediction unit WO 2012/044886 PCT/US20111/054130 32 71 includes motion compensation unit 72 and intra prediction unit 74. Video decoder 30 may, in some examples, perform a decoding pass generally reciprocal to the encoding pass described with respect to video encoder 20 (FIG. 4). Prediction unit 71 may generate prediction data based on information received from entropy decoding unit 70. When inter-predictive coding is indicated, motion compensation unit 72 may generate prediction data based on motion vectors received from entropy decoding unit 70. When intra-predictive coding is indicated, intra prediction unit 74 may generate prediction data for a current block of a current frame based on an indicated intra prediction mode and data from previously-decoded blocks of the current frame. [0097] Video decoder 30 may receive an encoded video bitstream, e.g., via network, broadcast, or from a physical medium. The encoded bitstream may include entropy coded video data. Entropy decoding unit 70 of video decoder 30 entropy-decodes the bitstream to generate quantized coefficients, motion vectors, and prediction data. Entropy decoding unit 70 forwards the motion vectors and prediction data to prediction unit 71. [0098] In accordance with the techniques of this disclosure, the entropy-coded video data may include an entropy-coded indication of the intra-prediction mode used in coding the current block. Entropy-coded video data may also include an entropy-coded indication of filtering, indicating a smoothing filter decision. In one example, the filtering indication may be used to indicate that the most probable filter table was not used to select the smoothing filter during intra-predictive coding of the current block. When entropy-coded video data does not include a filtering indication, the no indication implies that the most probable filter table was used to select the smoothing filter during intra-predictive coding of the current block. The entropy coded video data may also include block size information, which entropy decoding unit 70 may use along with the intra-prediction mode as context information when entropy decoding the filtering indication for the intra-predictive coded block. In this manner, entropy decoding unit 70 may decode the indication of filtering (e.g., whether or not a smoothing filter is applied) and send the indication to intra prediction unit 74. [0099] Motion compensation unit 72 may use motion vectors received in the bitstream to identify a prediction block in reference frames in reference frame store 82. Intra prediction unit 74 may use intra-prediction modes received in the bitstream to form a WO 2012/044886 PCT/US20111/054130 33 prediction block from spatially adjacent blocks. Inverse quantization unit 76 inverse quantizes, i.e., de-quantizes, the quantized block coefficients provided in the bitstream and decoded by entropy decoding unit 70. The inverse quantization process may include a conventional process, e.g., as defined by the H.264 decoding standard. The inverse quantization process may also include use of a quantization parameter QPy calculated by video encoder 20 for each video block or CU to determine a degree of quantization and, likewise, a degree of inverse quantization that should be applied. Inverse transform unit 78 applies an inverse transform, e.g., an inverse DCT, an inverse integer transform, or a conceptually similar inverse transform process, to the transform coefficients in order to produce residual blocks in the pixel domain. [0100] Motion compensation unit 72 may also perform interpolation based on interpolation filters. Motion compensation unit 72 may use interpolation filters as used by video encoder 20 during encoding of the video block to calculate interpolated values for sub-integer pixels of a reference block. Motion compensation unit 72 may determine the interpolation filters used by video encoder 20 from the received syntax elements and use the interpolation filters to produce predictive blocks. [0101] Motion compensation unit 72 uses some of the syntax information to determine sizes of LCUs and CUs used to encode frame(s) and/or slice(s) of the encoded video sequence, partition information that describes how each macroblock of a frame of the encoded video sequence is partitioned, modes indicating how each partition is encoded, one or more reference frames (and reference frame lists) for each inter-encoded CU, and other information to decode the encoded video sequence. [0102] Intra prediction unit 74 may also determine whether or not to apply a smoothing filter to the prediction samples when performing a prediction block. Intra prediction unit 74 may make the determination as to whether or not to apply the smoothing filter based on the block size and the corresponding intra-prediction mode. If no filtering indication is signaled, intra prediction unit 74 may determine filtering based on what is specified in the most probable filter table (shown above) for the block size and intra prediction mode combination. If a filtering indication is signaled, intra prediction unit 74 may determine that the filtering decision is not based on the most probable filter table, and may determine filtering based on what is specified in the second most probable filter table (shown above) for the block size and intra-prediction mode WO 2012/044886 PCT/US20111/054130 34 combination. In one example, more than one additional filter tables may be provided, e.g., second, third, or more, most probable filter tables. In this example, the filtering indication may also indicate which of the tables should be used to determine which smoothing filter to apply. The filter tables may be stored in a memory unit (not shown) in video decoder 30. Intra prediction unit 74 may access the filter tables from memory during decoding. [0103] Summer 80 sums the residual blocks with the corresponding prediction blocks generated by motion compensation unit 72 or intra prediction unit 74 to form decoded blocks. If desired, a deblocking filter may also be applied to filter the decoded blocks in order to remove blockiness artifacts. The decoded video blocks are then stored in reference frame store 82, which provides reference blocks for subsequent motion compensation and also produces decoded video for presentation on a display device (such as display device 32 of FIG. 1). [0104] FIG. 6 is a flowchart illustrating an example method for encoding video data in accordance with techniques of this disclosure. Although described with respect to video encoder 20 (FIGS. 1 and 4) for purposes of example, it should be understood that the techniques of FIG. 6 may be performed by any video coding unit. Moreover, the steps illustrated in FIG. 6 may be performed in a different order, certain steps may be omitted, and additional steps may be added, without departing from the techniques of this disclosure. [0105] Video encoder 20 may receive a block (e.g., a CU) of video data to be encoded. When the current block is designated as a block to be encoded using intra-predictive coding, video encoder 20 may determine whether or not to apply a smoothing filter to the prediction samples and determine the smoothing filter if one is to be applied. A smoothing filter may be in some instances applied to the prediction samples, or the predictors, which are used to predict a block in the same frame in intra-predictive coding. Applying the smoothing filter in some cases provides more accurate prediction and minimizes blockiness in the reconstructed predicted frame. [0106] Video encoder 20 may determine whether to operate in fixed mode-dependent intra-predictive coding or adaptive mode-dependent intra-predictive coding (602). In one example, the determination may be done at the sequence or picture level based on content, or based on block size. For example, for large blocks, adaptive mode- WO 2012/044886 PCT/US20111/054130 35 dependent intra-predictive coding may be used, and for small blocks, fixed mode dependent intra-predictive coding may be used. As a result, when large blocks are used, there are fewer blocks to encode within a picture, thus a smaller amount of overhead information, than when small blocks are used. However, fixed mode-dependent intra predictive coding adds little or no additional overhead information, whereas adaptive mode-dependent intra-predictive coding requires additional overhead information. In this manner, the selected mode may provide a trade-off between the overhead information and performance. [0107] If video encoder 20 is to operate in fixed mode-dependent intra-predictive coding, video encoder 20 may determine whether to apply a smoothing filter based on a filter specified in a filter table, e.g., most probable filter table, selected based on the block size and intra-prediction mode combination and apply the specified filter (604). [0108] In one example, for each of the available intra-prediction modes, e.g., the 35 modes defined by the HM, whether or not a smoothing filter is applied depends on the block size. TABLE 3 above shows the block size and intra-prediction mode combinations for which a smoothing filter is applied. A most probable filter table (shown above) may be generated based on the block size and intra-prediction mode combinations. Each of the entries of the table may indicate a filter that should be applied for the corresponding index, where the index is associated with a block size and an intra-prediction mode. Each of the filters specified in the table may be from a filter set, where the filter set may vary from one stream to another, one group of frames to another, one frame or slice to another, and so forth. For simplicity, an all-pass filter may be identified for entries where no smoothing filter needs to be applied. [0109] If video encoder 20 is to operate in an adaptive mode-dependent intra-predictive coding, video encoder 20 may determine whether the block size is equal to or above a threshold block size, e.g., 64x64 (606). If the block size is less than the threshold block size, then video encoder 20 may apply the filter specified by the most probable filter table and determine whether or not to apply a smoothing filter based on block size and intra-prediction mode (604). If the block size is equal to or greater than the threshold block size, video encoder 20 may determine whether applying a filter according to the most probable filter table yields better results than applying a filter according to a second most probable filter table (608). Therefore, video encoder 20 may apply the WO 2012/044886 PCT/US20111/054130 36 corresponding filter from the first table to block, apply the corresponding filter from the second table to the block, and evaluate the results of applying the two filters by comparing them to each other to determine which yields better results. [0110] In one example, for each block size and intra-prediction mode combination applying a filter according to one of the tables may be the same as not applying a filter at all, or in this example, applying an all-pass filter. Therefore, in reality, the comparison of applying a filter according to the most probable filter table and applying a filter according to the second most probable filter table may be the same as comparing the results of applying a filter or not applying a filter. [0111] If applying the filter according to the most probable filter table yields the better results, video encoder 20 may determine and apply the filter specified by the most probable filter table based on the block size and intra-prediction mode combination associated with the current block (604). If applying the filter according to the second most probable filter tables yields the better results, video encoder 20 may determine and apply the filter specified by the second most probable filter table based on the block size and intra-prediction mode combination associated with the current block (610). In some examples, when there are more than 2 most probable filter tables, e.g., third or more, the comparison among the results of applying all the possible filters may be compared to determine which filter table to use to select a smoothing filter to apply to the prediction samples. In some examples, a plurality of filtering decision tables, e.g., TABLES 4-7 above, may be used, where one table may be considered the "template pattern" and the remaining tables may be considered alternative tables or "subset patterns" providing alternative filtering option, as described above. [0112] Video encoder 20 may then encode the current block by applying the selected smoothing filter to the prediction samples and performing intra-predictive coding according to the intra-prediction mode associated with the current block (612). Video encoder 20 may also encode syntax elements associated with intra-predictive coding with the current block (614), e.g., one or more syntax elements that identify the intra prediction mode. Other examples of syntax elements associated with intra-predictive coding that may be encoded with a block may be the partition type associated with the block, PU size, TU size, CBP, and quantized coefficients. If the applied smoothing filter decision was not based on the most probable filter table or the "template pattern," e.g., WO 2012/044886 PCT/US20111/054130 37 the filtering decision was made using the second most probable filter table or other "subset patterns," video encoder 20 may also encode syntax elements indicating that the most probable filter table was not used to signal that the block was not encoded using fixed mode-dependent intra-predictive coding. For example, if TABLE 7 above is the "template pattern" and TABLES 4-6 are the "subset patterns," video encoder may encode syntax elements indicative of the "subset pattern" table used, when one is used instead of the "template pattern" table. Video encoder 20 may then transmit the encoded video block, within an encoded video frame, and with the syntax elements to a video decoder (616). [0113] FIG. 7 is a flowchart illustrating an example method for decoding video data in accordance with the techniques of this disclosure. Although described with respect to video decoder 30 (FIGS. 1 and 5) for purposes of example, it should be understood that the techniques of FIG. 7 may be performed by any video coding unit. Moreover, the steps illustrated in FIG. 7 may be performed in a different order, certain steps may be omitted, and additional steps may be added, without departing from the techniques of this disclosure. [0114] Video decoder 30 may receive an encoded block (e.g., a CU) of video data to be decoded (702). Video decoder 30 may decode the encoded video block and syntax elements to determine that the block is encoded using intra-predictive coding (704). Based on the syntax elements, video decoder 30 may also determine the intra-prediction mode of the block (706). Video decoder 30 may determine if the syntax elements include a filtering indication (708). [0115] If there is no filtering indication, video decoder 30 may then decode the block using intra-predictive coding, and apply a smoothing filter option as specified by the most probable filter table (710). If there is a filtering indication, video decoder 30 may then decode the block using intra-predictive coding, and applying a smoothing filter option as specified by the second most probable filter table (712). In either case, whether using the most probable filter table or the second most probable filter table, video decoder 30 may determine the filter based on the block size and the intra prediction mode combination associated with the current block. In some examples, multiple tables may define second (or more) probable filters or there may be multiple WO 2012/044886 PCT/US20111/054130 38 "subset pattern" filters, and the filtering indication may indicate the "subset pattern" table used alternatively to the most probable filter table or "template pattern" table. [0116] In this manner, video decoder 30 may not need to make any determinations regarding which filtering options provide the better results. If no indication is signaled by the encoder, then video decoder 30 assumes the most probable filter table or "template pattern" table was used, otherwise, any type of signaling indicates that the second most probable filter table was used. In some examples, where more than two filter tables are used, e.g., third (or more) most probable filter tables or "subset patterns," the filtering indication may identify which of the additional tables was used in selecting a smoothing filter. [0117] As discussed above, intra smoothing filtering may be utilized for large PU sizes as illustrated by FIG. 2B and TABLE 4, for example. Intra smoothing filtering may also be utilized for most PU sizes for intra prediction modes corresponding to true diagonal directions (i.e., +/-45 and +/-135 degrees) or modes 3, 6, 9, while intra smoothing filtering may not be utilized for smaller PU sizes in case of the vertical (mode 0) and horizontal (mode 1) directions. For the intra prediction directions between the diagonal directions and respectively the horizontal or vertical directions, intra predictive filtering may be less likely utilized for small PU sizes when the direction is close to horizontal or vertical directions, while more likely to be utilized for small PU sizes when the direction is close to the diagonal directions, as illustrated in FIG. 2B and TABLE 4. In one example, an encoder and a decoder according to the techniques of this disclosure may apply intra smoothing filtering according to the "subset patterns" specified by TABLE 7, shown above. In one example, for the DC mode (mode 2), intra smoothing filtering may not be utilized for any PU size. Also, for planar mode (mode 34), intra smoothing filtering may be utilized with larger PU sizes. [0118] The encoder and decoder may apply intra smoothing filtering according to a "subset pattern" that is derived from the "template pattern" (TABLE 4), which specifies for each PU size and intra prediction mode combination whether or not intra smoothing filtering is performed. A "subset pattern" may be derived by selecting candidates for intra smoothing filtering from the "template pattern" per intra prediction mode and per PU size, or alternatively no intra smoothing filtering for any PU size corresponding to that intra prediction mode. A "subset pattern" derived from the "template pattern" may WO 2012/044886 PCT/US20111/054130 39 have certain characteristics such as, for example, for each intra prediction mode, intra smoothing filtering is not applied at least for one of the PU sizes, so the encoder has the option of performing intra prediction without intra smoothing. The "subset pattern" may also have certain characteristics such as, for example, for each intra prediction mode, if intra smoothing filtering is not applied at certain PU size, the intra smoothing filtering may not be applied at any smaller PU sizes for that intra prediction mode. [0119] The computation of the prediction samples for each intra prediction mode and PU size combination may be subject to rounding rules, such as rounding down, rounding up, or rounding to the nearest integer. The rounding rules may be modified in the encoder and decoder based on prediction sample location in a deterministic manner, e.g., based on intra prediction mode and PU size, such as interleaving prediction samples with different rounding rules in order to increase coding efficiency. In the example of intra smoothing filtering of the reference samples for intra prediction, intra smoothing filtering may be skipped for certain reference sample locations, e.g., the top left corner reference sample or other reference sample locations in a deterministic manner (e.g., based on intra prediction mode and PU size) to increase coding efficiency. [0120] In one example, the encoder and/or decoder may store a "subset pattern" as a look-up table (LUT) and access this LUT to determine whether to apply intra smoothing filtering or not for a PU size and intra prediction mode combination associated with the current block. In another example, the encoder and/or decoder may represent a "subset pattern" by a set of conditions used to determine whether to apply intra smoothing filtering for the inputs: PU size and intra prediction mode. In another example, the encoder and/or decoder may represent a "subset pattern" by one or more mathematical equations, which compute whether to apply intra smoothing filtering for the inputs: PU size and intra prediction mode. In another example, the encoder and/or decoder may represent a "subset pattern" by a combination of LUT, set of conditions, and/or set of mathematical equations. [0121] In one example, the "template pattern" (e.g., TABLE 4) or "subset patterns" (e.g., TABLES 5-7) may be expanded to include multiple intra smoothing filter types that can be possibly used for each PU size and intra prediction mode combination. For example, for each combination where intra smoothing filtering is applied, the number in the table may indicate the type of filter to use. In one example, two intra smoothing WO 2012/044886 PCT/US20111/054130 40 filters may be defined and represented by "1" and "2." An entry in a table corresponding to a certain row/column position may have no entry, i.e., no filter is applied, or a "1" or a "2" to indicate that intra smoothing filtering is applied and the intra smoothing filter used, i.e., either filter "1" or filter "2." [0122] In some examples, HEVC may support short-distance intra prediction (SDIP) PUs, which may have various rectangular sizes per coding unit (CU). In one example, techniques of this disclosure may be applicable to square and rectangular PUs such as those used in Short-Distance Intra Prediction (SDIP). TABLE 8 below illustrates examples of rectangular PU sizes (in pixels) per CU size of SDIP. Size of CU Possible PU Size CU 32x32 8x32,32x8 CU 16x16 4x16, 16x4,1x16, 16x1 CU 8x8 2x8,8x2 TABLE 8 [0123] In addition to the techniques discussed above, the techniques of this disclosure may include techniques to improve application of MDIS to rectangular SDIP partitions. For example, applying intra smoothing filtering may depend on the width and/or height of the rectangular SDIP partitions. Techniques to determine dimensions of the SDIP partition, or dimension-determination rules, may be employed to determine a dimension or the dimensions of the partition. For example, such techniques for determining a dimension of the SDIP partition may include determining a minimum or maximum dimension of the partition, mathematical equations that calculate the dimensions of the partition based on other known variables associated with the partition, or conditional checks that may be applied to the width and height of the SDIP partition to determine the dimensions of the partition. In one example, the resulting determined dimension of the partition may be used to determine whether or not to apply intra smoothing filtering, for example, using one of the filtering decision tables described above. For example, the techniques may utilize the dimension to determine whether or not to filter. If in one illustrative example, the minimum dimension is 8 pixels, the filtering decision may be WO 2012/044886 PCT/US20111/054130 41 determined based on the table entry associated with 32x32 blocks and the appropriate intra prediction mode associated with the partition currently being processed. [0124] In one example, applying intra smoothing filtering may be based on the intra prediction direction associated with the SDIP partition and/or on the width and/or height of the SDIP partition. For example, when a vertical prediction direction is chosen, the height of the partition may be used in one of the filtering decision tables described above, and in case of a horizontal direction the width may be used in one of the filtering decision tables described above. In another example, horizontal, vertical, and diagonal directions may be separately considered to determine the dimension to be used. [0125] In one example, when the planar mode is utilized for SDIP partitions, dimension-determination techniques, as described above, may be utilized to determine a dimension of a SDIP partition. The determined dimension may be used to determine whether to apply intra smoothing filtering or not, for example, by accessing one of the filtering decision tables described above. [0126] FIG. 8 is a flowchart illustrating another example method for encoding video data in accordance with techniques of this disclosure. Although described with respect to video encoder 20 for purposes of example, it should be understood that the techniques of FIG. 8 may be performed by any video coding unit. Moreover, the steps illustrated in FIG. 8 may be performed in a different order, certain steps may be omitted, and additional steps may be added, without departing from the techniques of this disclosure. [0127] Video encoder 20 may receive a block (e.g., a CU) of video data to be encoded. When the current block is designated as a current block to be encoded using intra predictive coding, video encoder 20 may determine the current block size and the intra prediction mode used to encode the current block (802). The video encoder may then determine and apply a smoothing filter using a filter table, e.g., TABLE 7 above, based on the block size and the intra-prediction mode (804), as discussed above. [0128] Video encoder 20 may then encode the current block by applying the selected smoothing filter to the prediction samples and performing intra-predictive coding according to the intra-prediction mode associated with the current block (612). Video encoder 20 may also encode syntax elements associated with intra-predictive coding with the current block (614), e.g., one or more syntax elements that identify the intra- WO 2012/044886 PCT/US20111/054130 42 prediction mode. Other examples of syntax elements associated with intra-predictive coding that may be encoded with a block may be the partition type associated with the block, PU size, TU size, CBP, and quantized coefficients. Video encoder 20 may then transmit the encoded video block, within an encoded video frame, and with the syntax elements to a video decoder (616). [0129] FIG. 9 is a flowchart illustrating another example method for decoding video data in accordance with techniques of this disclosure. Although described with respect to video decoder 30 for purposes of example, it should be understood that the techniques of FIG. 9 may be performed by any video coding unit. Moreover, the steps illustrated in FIG. 9 may be performed in a different order, certain steps may be omitted, and additional steps may be added, without departing from the techniques of this disclosure. [0130] Video decoder 30 may receive an encoded block (e.g., a CU) of video data to be decoded (902). Video decoder 30 may decode the encoded video block and syntax elements to determine that the block is encoded using intra-predictive coding (904). Based on the syntax elements, video decoder 30 may also determine the intra-prediction mode of the block (906). Video decoder 30 may then decode the block using intra predictive coding, and apply a smoothing filter selected from the same filtering table, e.g., TABLE 7, used during encoding, based on the block size and the intra-prediction mode (908). In this manner, video decoder 30 may not need to make any determinations regarding filtering options other than selecting a filter from the filter table. [0131] In one or more examples, the functions described may be implemented in hardware, software, firmware, or any combination thereof. If implemented in software, the functions may be stored on or transmitted over as one or more instructions or code on a computer-readable medium and executed by a hardware-based processing unit. Computer-readable media may include computer-readable storage media, which corresponds to a tangible medium such as data storage media, or communication media including any medium that facilitates transfer of a computer program from one place to another, e.g., according to a communication protocol. In this manner, computer readable media generally may correspond to (1) tangible computer-readable storage media which is non-transitory or (2) a communication medium such as a signal or WO 2012/044886 PCT/US20111/054130 43 carrier wave. Data storage media may be any available media that can be accessed by one or more computers or one or more processors to retrieve instructions, code and/or data structures for implementation of the techniques described in this disclosure. A computer program product may include a computer-readable medium. [0132] By way of example, and not limitation, such computer-readable storage media can comprise RAM, ROM, EEPROM, CD-ROM or other optical disk storage, magnetic disk storage, or other magnetic storage devices, flash memory, or any other medium that can be used to store desired program code in the form of instructions or data structures and that can be accessed by a computer. Also, any connection is properly termed a computer-readable medium. For example, if instructions are transmitted from a website, server, or other remote source using a coaxial cable, fiber optic cable, twisted pair, digital subscriber line (DSL), or wireless technologies such as infrared, radio, and microwave, then the coaxial cable, fiber optic cable, twisted pair, DSL, or wireless technologies such as infrared, radio, and microwave are included in the definition of medium. It should be understood, however, that computer-readable storage media and data storage media do not include connections, carrier waves, signals, or other transient media, but are instead directed to non-transient, tangible storage media. Disk and disc, as used herein, includes compact disc (CD), laser disc, optical disc, digital versatile disc (DVD), floppy disk and blu-ray disc where disks usually reproduce data magnetically, while discs reproduce data optically with lasers. Combinations of the above should also be included within the scope of computer-readable media. [0133] Instructions may be executed by one or more processors, such as one or more digital signal processors (DSPs), general purpose microprocessors, application specific integrated circuits (ASICs), field programmable logic arrays (FPGAs), or other equivalent integrated or discrete logic circuitry. Accordingly, the term "processor," as used herein may refer to any of the foregoing structure or any other structure suitable for implementation of the techniques described herein. In addition, in some aspects, the functionality described herein may be provided within dedicated hardware and/or software modules configured for encoding and decoding, or incorporated in a combined codec. Also, the techniques could be fully implemented in one or more circuits or logic elements.
44 [0134] The techniques of this disclosure may be implemented in a wide variety of devices or apparatuses, including a wireless handset, an integrated circuit (IC) or a set of ICs (e.g., a chip set). Various components, modules, or units are described in this disclosure to emphasize functional aspects of devices configured to perform the disclosed techniques, but do not necessarily require realization by different hardware units. Rather, as described above, various units may be combined in a codec hardware unit or provided by a collection of interoperative hardware units, including one or more processors as described above, in conjunction with suitable software and/or firmware. [0135] It will be understood that the term "comprise" and any of its derivatives (eg comprises, comprising) as used in this specification is to be taken to be inclusive of features to which it refers, and is not meant to exclude the presence of any additional features unless otherwise stated or implied. [0136] The reference to any prior art in this specification is not, and should not be taken as, an acknowledgement of any form of suggestion that such prior art forms part of the common general knowledge.
Claims (19)
1. A method of coding video data, the method including: determining a block size associated with a current block of video data, the block size determined from a plurality of block sizes including a 4x4 block size, an 8x8 block size, a 16x16 block size, and a 32x32 block size; determining an intra-prediction coding mode associated with the current block of the video data, the intra-prediction coding mode determined from a plurality of intra-prediction coding modes including a horizontal mode, a vertical mode, a planar mode, a DC mode, and a plurality of diagonal modes, including an upper-left diagonal mode, an upper right diagonal mode, a down-left diagonal mode and wherein the plurality of diagonal modes include a plurality of modes that are directly adjacent to the horizontal mode or the vertical mode; determining based on the block size and intra-prediction coding mode a filtering decision for whether to apply a filter to prediction samples used to predict the current block, the determining including: if the block size is the 4x4 block size, determining the filter decision to be that no filtering is to be applied to prediction samples used to predict the current block for any of the plurality of intra-prediction coding modes, if the block size is the 8x8 block size, determining the filter decision to be that prediction samples used to predict the current block are to be filtered only if the coding mode is the planar mode, the upper-left diagonal mode, the upper-right diagonal mode and the down-left diagonal mode, if the block size is the 16x16 block size, determining the filter decision to be that prediction samples used to predict the current block are to be filtered if the coding mode is the planar mode, or if the coding mode is any other of the plurality of intra-prediction coding modes except for the horizontal mode, the vertical mode, the DC mode, and the modes directly adjacent to the horizontal mode or vertical mode, or 46 if the block size is the 32x32 block size, determining the filter decision to be that prediction samples used to predict the current block are to be filtered if the coding mode is the planar mode, or if the coding mode is any other of the plurality of the plurality of prediction coding modes except for the horizontal mode, the vertical mode, and the DC mode; and intra-predictive coding the current block, wherein intra-predictive coding the current block includes using the determined filtering decision to either filter or not filter the pixels used to predict the current block.
2. The method of claim 1, wherein determining the filtering decision includes: selecting from a first table based on the block size and the coding mode, when the block size is smaller than a threshold block size; and determining whether to select from the first table or a second table based on the block size and the coding mode, when the block size is equal to or greater than a threshold block size.
3. The method of claim 2, further including: selecting a filter decision from a first filter table or a second filter table; using the selected filter decision to filter the pixels used to predict the current block; evaluating a first result of the application of the filter from the first filter table and a second result of the application of the filter from the second filter table to determine which yields better results; and selecting the filtering decision from the first filter table or the second filter table based on the determination.
4. The method of claim 3, further including encoding a filtering indication when the selected filter is selected from the second filter table.
5. The method of claim 1, wherein intra-predictive coding the current block 47 includes intra-predictive decoding the current block, wherein the current block includes a block of video data encoded using intra-predictive coding, the method further including: determining whether the encoded current block includes a filtering indication, wherein determining the filter decision includes determining the filter decision based on the block size, the coding mode, and the encoded filtering indication.
6. The method of claim 3, wherein the first filter table and the second filter table each include entries corresponding to different combinations of block sizes and coding modes, and wherein each of the entries includes a filter selected from a set of filters.
7. The method of claim 6, wherein the set of filters includes at least two filters, and wherein one of the filters includes an all-pass filter.
8. The method of claim 1, further including: determining a dimension associated with the current block; and determining the block size based on the dimension using a set of dimension determination rules.
9. An apparatus for coding video data, the apparatus including: a memory configured to store at least a portion of the video data; and a processor configured to: determine a block size associated with a current block of the video data, the block size determined from a plurality of block sizes including a 4x4 block size, an 8x8 block size, a 16x16 block size, and a 32x32 block size, determine an intra-prediction coding mode associated with the current block of the video data, the intra-prediction coding mode determined from a plurality of intra-prediction coding modes including a horizontal mode, a vertical mode, a planar mode, a DC mode, and a plurality of diagonal modes, 48 including an upper-left diagonal mode, an upper right diagonal mode, a down left diagonal mode and wherein the plurality of diagonal modes include a plurality of modes that are directly adjacent to the horizontal mode or the vertical mode, determine based on the block size and intra-prediction coding mode a filtering decision for whether to apply a filter to prediction samples used to predict the current block, to determine the processor is further configured to: if the block size is the 4x4 block size, determine the filter decision to be that no filtering is to be applied to prediction samples used to predict the current block for any of the plurality of intra-prediction coding modes, if the block size is the 8x8 block size, determine the filter decision to be that prediction samples used to predict the current block are to be filtered only if the coding mode is the planar mode, the upper-left diagonal mode, the upper-right diagonal mode and the down-left diagonal mode, if the block size is the 16x16 block size, determine the filter decision to be that prediction samples used to predict the current block are to be filtered if the coding mode is the planar mode, or if the coding mode is any other of the plurality of intra-prediction coding modes except for the horizontal mode, the vertical mode, the DC mode, and the modes directly adjacent to the horizontal mode or vertical mode, or if the block size is the 32x32 block size, determine the filter decision to be that prediction samples used to predict the current block are to be filtered if the coding mode is the planar mode, or if the coding mode is any other of the plurality of the plurality of prediction coding modes except for the horizontal mode, the vertical mode, and the DC mode, and intra-predictive code the current block, wherein intra-predictive coding the current block includes using the determined filtering decision to either filter or not filter the pixels used to predict the current block. 49
10. The apparatus of claim 9, wherein to determine the filtering decision, the processor is further configured to: select from a first filter table based on the block size and the coding mode, when the block size is smaller than a threshold block size; and determine whether to select from the first filter table or a second filter table based on the block size and the coding mode, when the block size is equal to or greater than a threshold block size.
11. The apparatus of claim 10, wherein the processor is further configured to: select a filter decision from a first filter table or a second filter table; using the selected filter decision to filter the pixels used to predict the current block; evaluate a first result of the application of the filter from the first filter table and a second result of the application of the filter from the second filter table to determine which yields better results; and select the filter from the first filter table or the second filter table based on the determination.
12. The apparatus of claim 11, wherein the processor is further configured to encode a filtering indication when the selected filter is selected from the second filter table.
13. The apparatus of claim 10, further including a memory configured to store the first filter table and the second filter table.
14. The apparatus of claim 10, wherein the apparatus includes a video decoder, wherein the current block includes a block of video data encoded using intra predictive coding, the processor is further configured to: determine whether the encoded current block includes a filtering indication, wherein to determine the filter the processor is further configured to determine 50 the filter decision based on the block size, the coding mode, and the encoded filtering indication.
15. The apparatus of claim 10, wherein the first filter table and the second filter table each include entries corresponding to different combinations of block sizes and coding modes, and wherein each of the entries includes a filter selected from a set of filters.
16. The apparatus of claim 15, wherein the set of filters includes at least two filters, and wherein one of the filters includes an all-pass filter.
17. The apparatus of claim 9, wherein the processor is further configured to determine a dimension associated with the current block; and determine the block size based on the dimension using a set of dimension determination rules.
18. An apparatus for encoding video data, the apparatus including: means for determining a block size associated with a current block of the video data, the block size determined from a plurality of block sizes including a 4x4 block size, an 8x8 block size, a 16x16 block size, and a 32x32 block size; means for determining an intra-prediction coding mode associated with the current block of the video data, the intra-prediction coding mode determined from a plurality of intra-prediction coding modes including a horizontal mode, a vertical mode, a planar mode, a DC mode, and a plurality of diagonal modes, including an upper-left diagonal mode, an upper right diagonal mode, a down-left diagonal mode and wherein the plurality of diagonal modes include a plurality of modes that are directly adjacent to the horizontal mode or the vertical mode; means for determining based on the block size and intra-prediction coding mode a filtering decision for whether to apply a filter to prediction samples used to predict the current block, the means for determining including: 51 if the block size is the 4x4 block size, means for determining the filter decision to be that no filtering is to be applied to prediction samples used to predict the current block for any of the plurality of intra-prediction coding modes, if the block size is the 8x8 block size, means for determining the filter decision to be that prediction samples used to predict the current block are to be filtered only if the coding mode is the planar mode, the upper-left diagonal mode, the upper-right diagonal mode and the down-left diagonal mode, if the block size is the 16x16 block size, means for determining the filter decision to be that prediction samples used to predict the current block are to be filtered if the coding mode is the planar mode, or if the coding mode is any other of the plurality of intra-prediction coding modes except for the horizontal mode, the vertical mode, the DC mode, and the modes directly adjacent to the horizontal mode or vertical mode, or if the block size is the 32x32 block size, means for determining the filter decision to be that prediction samples used to predict the current block are to be filtered if the coding mode is the planar mode, or if the coding mode is any other of the plurality of the plurality of prediction coding modes except for the horizontal mode, the vertical mode, and the DC mode; and means for intra-predictive encoding the current block, wherein intra-predictive encoding the current block includes using the determined filtering decision to either filter or not filter the pixels used to predict the current block.
19. A non-transitory computer-readable storage medium including instructions for coding video data that, upon execution in a processor, cause the processor to: determine a block size associated with a current block of the video data, the block size determined from a plurality of block sizes including a 4x4 block size, an 8x8 block size, a 16x16 block size, and a 32x32 block size; determine an intra-prediction coding mode associated with the current block of the video data, the intra-prediction coding mode determined from a plurality of 52 intra-prediction coding modes including a horizontal mode, a vertical mode, a planar mode, a DC mode, and a plurality of diagonal modes, including an upper-left diagonal mode, an upper right diagonal mode, a down-left diagonal mode and wherein the plurality of diagonal modes include a plurality of modes that are directly adjacent to the horizontal mode or the vertical mode; determine based on the block size and intra-prediction coding mode a filtering decision for whether to apply a filter to prediction samples used to predict the current block, to determine the instructions further cause the processor to: if the block size is the 4x4 block size, determine the filter decision to be that no filtering is to be applied to prediction samples used to predict the current block for any of the plurality of intra-prediction coding modes, if the block size is the 8x8 block size, determine the filter decision to be that prediction samples used to predict the current block are to be filtered only if the coding mode is the planar mode, the upper-left diagonal mode, the upper-right diagonal mode and the down-left diagonal mode, if the block size is the 16x16 block size, determine the filter decision to be that prediction samples used to predict the current block are to be filtered if the coding mode is the planar mode, or if the coding mode is any other of the plurality of intra-prediction coding modes except for the horizontal mode, the vertical mode, the DC mode, and the modes directly adjacent to the horizontal mode or vertical mode, or if the block size is the 32x32 block size, determine the filter decision to be that prediction samples used to predict the current block are to be filtered if the coding mode is the planar mode, or if the coding mode is any other of the plurality of the plurality of prediction coding modes except for the horizontal mode, the vertical mode, and the DC mode; and intra-predictive code the current block, wherein intra-predictive coding the current block includes using the determined filtering decision to either filter or not filter the pixels used to predict the current block.
Applications Claiming Priority (17)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
US38917310P | 2010-10-01 | 2010-10-01 | |
US61/389,173 | 2010-10-01 | ||
US40604610P | 2010-10-22 | 2010-10-22 | |
US61/406,046 | 2010-10-22 | ||
US201061426388P | 2010-12-22 | 2010-12-22 | |
US61/426,388 | 2010-12-22 | ||
US201061426964P | 2010-12-23 | 2010-12-23 | |
US61/426,964 | 2010-12-23 | ||
US201161492335P | 2011-06-01 | 2011-06-01 | |
US61/492,335 | 2011-06-01 | ||
US201161499579P | 2011-06-21 | 2011-06-21 | |
US61/499,579 | 2011-06-21 | ||
US201161500095P | 2011-06-22 | 2011-06-22 | |
US61/500,095 | 2011-06-22 | ||
US13/248,968 | 2011-09-29 | ||
US13/248,968 US9008175B2 (en) | 2010-10-01 | 2011-09-29 | Intra smoothing filter for video coding |
PCT/US2011/054130 WO2012044886A1 (en) | 2010-10-01 | 2011-09-30 | Intra smoothing filter for video coding |
Publications (2)
Publication Number | Publication Date |
---|---|
AU2011308653A1 AU2011308653A1 (en) | 2013-05-02 |
AU2011308653B2 true AU2011308653B2 (en) | 2015-11-19 |
Family
ID=45889817
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
AU2011308653A Active AU2011308653B2 (en) | 2010-10-01 | 2011-09-30 | Intra smoothing filter for video coding |
Country Status (19)
Country | Link |
---|---|
US (1) | US9008175B2 (en) |
EP (1) | EP2622858B1 (en) |
JP (1) | JP5587508B2 (en) |
KR (2) | KR20130063030A (en) |
CN (1) | CN103141100B (en) |
AU (1) | AU2011308653B2 (en) |
BR (1) | BR112013007563B1 (en) |
CA (1) | CA2812307C (en) |
DK (1) | DK2622858T3 (en) |
ES (1) | ES2656494T3 (en) |
HK (1) | HK1182249A1 (en) |
HU (1) | HUE035458T2 (en) |
IL (1) | IL225331A (en) |
PL (1) | PL2622858T3 (en) |
PT (1) | PT2622858T (en) |
RU (1) | RU2543552C2 (en) |
SG (1) | SG189036A1 (en) |
SI (1) | SI2622858T1 (en) |
WO (1) | WO2012044886A1 (en) |
Families Citing this family (72)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP5544996B2 (en) * | 2010-04-09 | 2014-07-09 | ソニー株式会社 | Image processing apparatus and method |
KR20110113561A (en) | 2010-04-09 | 2011-10-17 | 한국전자통신연구원 | Method and apparatus for intra prediction encoding and decoding using adaptive filter |
KR20110123651A (en) | 2010-05-07 | 2011-11-15 | 한국전자통신연구원 | Apparatus and method for image coding and decoding using skip coding |
KR101663764B1 (en) * | 2010-08-26 | 2016-10-07 | 에스케이 텔레콤주식회사 | Apparatus and Method for Encoding and Decoding Using Intra Prediction |
KR102427824B1 (en) * | 2010-12-08 | 2022-08-02 | 엘지전자 주식회사 | Intra prediction method and encoding apparatus and decoding apparatus using same |
US10142630B2 (en) * | 2010-12-10 | 2018-11-27 | Texas Instruments Incorporated | Mode adaptive intra prediction smoothing in video coding |
KR101824241B1 (en) * | 2011-01-11 | 2018-03-14 | 에스케이 텔레콤주식회사 | Intra Additional Information Encoding/Decoding Apparatus and Method |
KR20120103517A (en) | 2011-03-10 | 2012-09-19 | 한국전자통신연구원 | Method for intra prediction and apparatus thereof |
WO2012121575A2 (en) | 2011-03-10 | 2012-09-13 | 한국전자통신연구원 | Method and device for intra-prediction |
KR101215152B1 (en) | 2011-04-21 | 2012-12-24 | 한양대학교 산학협력단 | Video encoding/decoding method and apparatus using prediction based on in-loop filtering |
US9602839B2 (en) * | 2011-06-15 | 2017-03-21 | Futurewei Technologies, Inc. | Mode dependent intra smoothing filter table mapping methods for non-square prediction units |
CN108391135B (en) * | 2011-06-15 | 2022-07-19 | 韩国电子通信研究院 | Scalable decoding method/apparatus, scalable encoding method/apparatus, and medium |
KR20120140181A (en) | 2011-06-20 | 2012-12-28 | 한국전자통신연구원 | Method and apparatus for encoding and decoding using filtering for prediction block boundary |
EP2740263B1 (en) * | 2011-09-16 | 2019-02-27 | HFI Innovation Inc. | Method and apparatus for prediction mode and partition mode syntax coding for coding units in hevc |
US9693064B2 (en) * | 2011-09-30 | 2017-06-27 | Avago Technologies General Ip (Singapore) Pte. Ltd | Video coding infrastructure using adaptive prediction complexity reduction |
EP2582134A1 (en) * | 2011-10-12 | 2013-04-17 | Thomson Licensing | Saliency value determination of predictively encoded video streams |
GB2561487B (en) | 2011-10-18 | 2019-01-02 | Kt Corp | Method for encoding image, method for decoding image, image encoder, and image decoder |
US10645398B2 (en) | 2011-10-25 | 2020-05-05 | Texas Instruments Incorporated | Sample-based angular intra-prediction in video coding |
US9503750B2 (en) * | 2011-11-04 | 2016-11-22 | Futurewei Technologies, Inc. | Binarization of prediction residuals for lossless video coding |
CN104350752B (en) * | 2012-01-17 | 2019-07-12 | 华为技术有限公司 | The device of intra-loop filtering for the lossless coding mode in high-performance video coding |
WO2013109867A1 (en) * | 2012-01-19 | 2013-07-25 | Futurewei Technologies, Inc. | Simplification of mode dependent intra smoothing |
WO2013133627A1 (en) * | 2012-03-06 | 2013-09-12 | 엘지전자 주식회사 | Method of processing video signals |
US9544612B2 (en) * | 2012-10-04 | 2017-01-10 | Intel Corporation | Prediction parameter inheritance for 3D video coding |
US10440377B2 (en) * | 2012-10-11 | 2019-10-08 | Intel Corporation | Motion estimation for video processing |
JP2014131162A (en) * | 2012-12-28 | 2014-07-10 | Nippon Telegr & Teleph Corp <Ntt> | Intra-prediction encoding method, intra-prediction decoding method, intra-prediction encoding device, intra-prediction decoding device, program therefor, and program recorded recording medium |
US20140192862A1 (en) * | 2013-01-07 | 2014-07-10 | Research In Motion Limited | Methods and systems for prediction filtering in video coding |
US9426473B2 (en) * | 2013-02-01 | 2016-08-23 | Qualcomm Incorporated | Mode decision simplification for intra prediction |
KR101468078B1 (en) * | 2013-02-06 | 2014-12-08 | 성균관대학교산학협력단 | Method and apparatus for intra prediction |
US9615086B2 (en) * | 2013-02-06 | 2017-04-04 | Research & Business Foundation Sungkyunkwan University | Method and apparatus for intra prediction |
US9491460B2 (en) * | 2013-03-29 | 2016-11-08 | Qualcomm Incorporated | Bandwidth reduction for video coding prediction |
KR102366842B1 (en) | 2013-04-08 | 2022-02-24 | 돌비 인터네셔널 에이비 | Method for encoding and method for decoding a lut and corresponding devices |
EP3078194B1 (en) * | 2014-01-02 | 2019-09-11 | HFI Innovation Inc. | Method and apparatus for intra prediction coding with boundary filtering control |
JP6528765B2 (en) * | 2014-03-28 | 2019-06-12 | ソニー株式会社 | Image decoding apparatus and method |
BR112016013761B1 (en) | 2014-05-23 | 2023-03-14 | Huawei Technologies Co., Ltd | METHOD AND APPARATUS FOR RECONSTRUCTING IMAGE BLOCKS USING PREDICTION AND COMPUTER READABLE STORAGE MEDIA |
US20160105685A1 (en) * | 2014-10-08 | 2016-04-14 | Qualcomm Incorporated | Boundary filtering and cross-component prediction in video coding |
US10148953B2 (en) * | 2014-11-10 | 2018-12-04 | Samsung Electronics Co., Ltd. | System and method for intra prediction in video coding |
US10841593B2 (en) | 2015-06-18 | 2020-11-17 | Qualcomm Incorporated | Intra prediction and intra mode coding |
US11463689B2 (en) | 2015-06-18 | 2022-10-04 | Qualcomm Incorporated | Intra prediction and intra mode coding |
KR102570911B1 (en) * | 2015-07-08 | 2023-08-24 | 인터디지털 매디슨 페턴트 홀딩스 에스에이에스 | Enhanced chroma coding using cross plane filtering |
WO2017043786A1 (en) * | 2015-09-10 | 2017-03-16 | 엘지전자 주식회사 | Intra prediction method and device in video coding system |
US10136131B2 (en) * | 2015-09-11 | 2018-11-20 | Beamr Imaging Ltd. | Video coding apparatus and method |
EP3363198B1 (en) | 2015-11-17 | 2020-09-16 | Huawei Technologies Co., Ltd. | Method and apparatus of adaptive filtering of samples for video coding |
CN117354536A (en) * | 2016-02-25 | 2024-01-05 | 株式会社Kt | Method and apparatus for processing video signal |
US10652575B2 (en) * | 2016-09-15 | 2020-05-12 | Qualcomm Incorporated | Linear model chroma intra prediction for video coding |
EP3522538A4 (en) * | 2016-09-30 | 2020-07-29 | LG Electronics Inc. -1- | Image processing method and apparatus therefor |
EP3545681A1 (en) | 2016-12-15 | 2019-10-02 | Huawei Technologies Co., Ltd. | Intra sharpening and/or de-ringing filter for video coding based on a bitstream flag |
EP3545680A1 (en) | 2016-12-15 | 2019-10-02 | Huawei Technologies Co., Ltd. | Intra sharpening and/or de-ringing filter for video coding |
WO2018174657A1 (en) * | 2017-03-23 | 2018-09-27 | 엘지전자 주식회사 | Method and device for image decoding according to intra-prediction in image coding system |
US10225578B2 (en) | 2017-05-09 | 2019-03-05 | Google Llc | Intra-prediction edge filtering |
US10992939B2 (en) * | 2017-10-23 | 2021-04-27 | Google Llc | Directional intra-prediction coding |
EP3410722A1 (en) | 2017-05-31 | 2018-12-05 | Thomson Licensing | Method and apparatus for low-complexity bi-directional intra prediction in video encoding and decoding |
JP6904156B2 (en) * | 2017-08-10 | 2021-07-14 | 富士通株式会社 | Video coding device, video coding method, and video coding program |
EP3454556A1 (en) * | 2017-09-08 | 2019-03-13 | Thomson Licensing | Method and apparatus for video encoding and decoding using pattern-based block filtering |
EP3496401A1 (en) * | 2017-12-05 | 2019-06-12 | Thomson Licensing | Method and apparatus for video encoding and decoding based on block shape |
US11277644B2 (en) | 2018-07-02 | 2022-03-15 | Qualcomm Incorporated | Combining mode dependent intra smoothing (MDIS) with intra interpolation filter switching |
US10567752B2 (en) * | 2018-07-02 | 2020-02-18 | Tencent America LLC | Method and apparatus for intra prediction for non-square blocks in video compression |
WO2020013735A1 (en) * | 2018-07-11 | 2020-01-16 | Huawei Technologies Co., Ltd. | Method and apparatus for aspect-ratio dependent filtering for intra-prediction |
US10630979B2 (en) * | 2018-07-16 | 2020-04-21 | Tencent America LLC | Reference sample padding and filtering for intra prediction in video compression |
US10834393B2 (en) * | 2018-09-10 | 2020-11-10 | Tencent America LLC | Intra interpolation filter for multi-line intra prediction |
EP3850840A1 (en) * | 2018-09-13 | 2021-07-21 | FRAUNHOFER-GESELLSCHAFT zur Förderung der angewandten Forschung e.V. | Affine linear weighted intra predictions |
US11303885B2 (en) * | 2018-10-25 | 2022-04-12 | Qualcomm Incorporated | Wide-angle intra prediction smoothing and interpolation |
WO2020085955A1 (en) * | 2018-10-26 | 2020-04-30 | Huawei Technologies Co., Ltd. | Method and apparatus for reference sample filtering |
WO2020140951A1 (en) | 2019-01-02 | 2020-07-09 | Beijing Bytedance Network Technology Co., Ltd. | Motion vector derivation between color components |
CN113261281B (en) * | 2019-01-02 | 2024-10-15 | 北京字节跳动网络技术有限公司 | Use of interleaving predictions |
US10778972B1 (en) | 2019-02-27 | 2020-09-15 | Google Llc | Adaptive filter intra prediction modes in image/video compression |
JP2022530240A (en) | 2019-05-02 | 2022-06-28 | 北京字節跳動網絡技術有限公司 | Intra-video coding with multiple reference filters |
US11445174B2 (en) * | 2019-05-06 | 2022-09-13 | Tencent America LLC | Method and apparatus for video coding |
WO2020228761A1 (en) * | 2019-05-14 | 2020-11-19 | Beijing Bytedance Network Technology Co., Ltd. | Filter selection for intra video coding |
CN114424541B (en) | 2019-08-16 | 2024-05-31 | 苹果公司 | System, method and storage medium for compressing video and reconstructing compressed video |
US11297316B2 (en) * | 2019-12-24 | 2022-04-05 | Tencent America LLC | Method and system for adaptive cross-component filtering |
CN113766246A (en) * | 2020-06-05 | 2021-12-07 | Oppo广东移动通信有限公司 | Image encoding method, image decoding method and related device |
CN113965764B (en) * | 2020-07-21 | 2023-04-07 | Oppo广东移动通信有限公司 | Image encoding method, image decoding method and related device |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20040136458A1 (en) * | 2001-11-30 | 2004-07-15 | Achim Dahlhoff | Method for conducting a directed prediction of an image block |
Family Cites Families (23)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP4120301B2 (en) | 2002-04-25 | 2008-07-16 | ソニー株式会社 | Image processing apparatus and method |
JP2005532725A (en) | 2002-07-09 | 2005-10-27 | ノキア コーポレイション | Method and system for selecting interpolation filter type in video coding |
US6795584B2 (en) * | 2002-10-03 | 2004-09-21 | Nokia Corporation | Context-based adaptive variable length coding for adaptive block transforms |
US7227901B2 (en) * | 2002-11-21 | 2007-06-05 | Ub Video Inc. | Low-complexity deblocking filter |
CN100584024C (en) | 2003-01-10 | 2010-01-20 | 汤姆森特许公司 | Defining interpolation filters for error concealment in a coded image |
JP2006157481A (en) | 2004-11-30 | 2006-06-15 | Canon Inc | Image coding apparatus and method thereof |
KR100657919B1 (en) | 2004-12-13 | 2006-12-14 | 삼성전자주식회사 | Apparatus and method for intra prediction of an image data, apparatus and method for encoding of an image data, apparatus and method for intra prediction compensation of an image data, apparatus and method for decoding of an image data |
JP2006229411A (en) | 2005-02-16 | 2006-08-31 | Matsushita Electric Ind Co Ltd | Image decoder and image decoding method |
US7876833B2 (en) * | 2005-04-11 | 2011-01-25 | Sharp Laboratories Of America, Inc. | Method and apparatus for adaptive up-scaling for spatially scalable coding |
US8548064B2 (en) * | 2006-01-05 | 2013-10-01 | Nippon Telegraph And Telephone Corporation | Video encoding method and decoding method by using selected parallax for parallax compensation, apparatuses therefor, programs therefor, and storage media for storing the programs |
JPWO2009001793A1 (en) * | 2007-06-26 | 2010-08-26 | 株式会社東芝 | Method and apparatus for image encoding and image decoding |
EP2191652B1 (en) | 2007-09-02 | 2017-02-08 | Lg Electronics Inc. | A method and an apparatus for processing a video signal |
JP2010081368A (en) | 2008-09-26 | 2010-04-08 | Toshiba Corp | Image processor, moving image decoding device, moving image encoding device, image processing method, moving image decoding method, and, moving image encoding method |
KR101590500B1 (en) * | 2008-10-23 | 2016-02-01 | 에스케이텔레콤 주식회사 | / Video encoding/decoding apparatus Deblocking filter and deblocing filtering method based intra prediction direction and Recording Medium therefor |
KR101510108B1 (en) * | 2009-08-17 | 2015-04-10 | 삼성전자주식회사 | Method and apparatus for encoding video, and method and apparatus for decoding video |
EP2559239A2 (en) | 2010-04-13 | 2013-02-20 | Fraunhofer-Gesellschaft zur Förderung der angewandten Forschung e.V. | Apparatus for intra predicting a block, apparatus for reconstructing a block of a picture, apparatus for reconstructing a block of a picture by intra prediction |
CN102948151B (en) | 2010-06-17 | 2016-08-03 | 夏普株式会社 | Image filtering device, decoding apparatus and code device |
HUE053802T2 (en) | 2010-07-14 | 2021-07-28 | Ntt Docomo Inc | Low-complexity intra prediction for video coding |
KR20120012385A (en) | 2010-07-31 | 2012-02-09 | 오수미 | Intra prediction coding apparatus |
HUE040604T2 (en) | 2010-08-17 | 2019-03-28 | M&K Holdings Inc | Apparatus for decoding an intra prediction mode |
ES2868133T3 (en) * | 2010-09-27 | 2021-10-21 | Lg Electronics Inc | Method for block partition and decoding device |
JP2012138884A (en) | 2010-12-10 | 2012-07-19 | Sony Corp | Encoding device, encoding method, decoding device, and decoding method |
WO2012096150A1 (en) | 2011-01-12 | 2012-07-19 | 三菱電機株式会社 | Dynamic image encoding device, dynamic image decoding device, dynamic image encoding method, and dynamic image decoding method |
-
2011
- 2011-09-29 US US13/248,968 patent/US9008175B2/en active Active
- 2011-09-30 CA CA2812307A patent/CA2812307C/en active Active
- 2011-09-30 ES ES11767583.5T patent/ES2656494T3/en active Active
- 2011-09-30 BR BR112013007563-5A patent/BR112013007563B1/en active IP Right Grant
- 2011-09-30 EP EP11767583.5A patent/EP2622858B1/en active Active
- 2011-09-30 DK DK11767583.5T patent/DK2622858T3/en active
- 2011-09-30 AU AU2011308653A patent/AU2011308653B2/en active Active
- 2011-09-30 PT PT117675835T patent/PT2622858T/en unknown
- 2011-09-30 RU RU2013120332/08A patent/RU2543552C2/en active
- 2011-09-30 CN CN201180047756.6A patent/CN103141100B/en active Active
- 2011-09-30 HU HUE11767583A patent/HUE035458T2/en unknown
- 2011-09-30 SI SI201131392T patent/SI2622858T1/en unknown
- 2011-09-30 KR KR1020137011347A patent/KR20130063030A/en active Application Filing
- 2011-09-30 KR KR1020157000979A patent/KR101626734B1/en active IP Right Grant
- 2011-09-30 PL PL11767583T patent/PL2622858T3/en unknown
- 2011-09-30 SG SG2013020904A patent/SG189036A1/en unknown
- 2011-09-30 WO PCT/US2011/054130 patent/WO2012044886A1/en active Application Filing
- 2011-09-30 JP JP2013531897A patent/JP5587508B2/en active Active
-
2013
- 2013-03-19 IL IL225331A patent/IL225331A/en active IP Right Grant
- 2013-08-15 HK HK13109524.1A patent/HK1182249A1/en unknown
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20040136458A1 (en) * | 2001-11-30 | 2004-07-15 | Achim Dahlhoff | Method for conducting a directed prediction of an image block |
Non-Patent Citations (1)
Title |
---|
Joint Collaborative Team on Video Coding (JCT-VC), 'Test Model under Consideration', 2nd Meeting: Geneva, Switzerland, 21-28 July, 2010, Document: JCTVC-B205. * |
Also Published As
Publication number | Publication date |
---|---|
DK2622858T3 (en) | 2018-01-15 |
BR112013007563B1 (en) | 2022-03-03 |
IL225331A0 (en) | 2013-06-27 |
EP2622858A1 (en) | 2013-08-07 |
IL225331A (en) | 2017-01-31 |
ES2656494T3 (en) | 2018-02-27 |
SG189036A1 (en) | 2013-05-31 |
KR101626734B1 (en) | 2016-06-01 |
PL2622858T3 (en) | 2018-05-30 |
US20120082224A1 (en) | 2012-04-05 |
KR20130063030A (en) | 2013-06-13 |
HK1182249A1 (en) | 2013-11-22 |
RU2543552C2 (en) | 2015-03-10 |
CN103141100A (en) | 2013-06-05 |
HUE035458T2 (en) | 2018-05-02 |
SI2622858T1 (en) | 2018-02-28 |
CA2812307C (en) | 2016-06-28 |
JP2013543315A (en) | 2013-11-28 |
CN103141100B (en) | 2016-08-24 |
BR112013007563A2 (en) | 2016-08-02 |
RU2013120332A (en) | 2014-11-20 |
US9008175B2 (en) | 2015-04-14 |
PT2622858T (en) | 2018-02-05 |
WO2012044886A1 (en) | 2012-04-05 |
EP2622858B1 (en) | 2017-11-01 |
JP5587508B2 (en) | 2014-09-10 |
AU2011308653A1 (en) | 2013-05-02 |
CA2812307A1 (en) | 2012-04-05 |
KR20150021113A (en) | 2015-02-27 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
AU2011308653B2 (en) | Intra smoothing filter for video coding | |
US9838718B2 (en) | Secondary boundary filtering for video coding | |
EP2628300B1 (en) | Adaptive motion vector resolution signaling for video coding | |
AU2012267737B2 (en) | Enhanced intra-prediction mode signaling for video coding using neighboring mode | |
US9532058B2 (en) | Intra prediction mode coding with directional partitions | |
EP2727353B1 (en) | Video coding using adaptive motion vector resolution | |
EP2756676B1 (en) | Non-square transform units and prediction units in video coding | |
US9215470B2 (en) | Signaling selected directional transform for video coding | |
EP2781094B1 (en) | Reference mode selection in intra mode coding | |
US20130163664A1 (en) | Unified partition mode table for intra-mode coding | |
KR20180059893A (en) | Delta QP for quantization of rectangular transform units, short-range intra prediction (SDIP) based video coding | |
AU2012267737A1 (en) | Enhanced intra-prediction mode signaling for video coding using neighboring mode |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
FGA | Letters patent sealed or granted (standard patent) |