[go: up one dir, main page]

CN107040778A - Loop filtering method and loop filtering device - Google Patents

Loop filtering method and loop filtering device Download PDF

Info

Publication number
CN107040778A
CN107040778A CN201610162343.7A CN201610162343A CN107040778A CN 107040778 A CN107040778 A CN 107040778A CN 201610162343 A CN201610162343 A CN 201610162343A CN 107040778 A CN107040778 A CN 107040778A
Authority
CN
China
Prior art keywords
loop filtering
image unit
sample
sao
filtering processing
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.)
Withdrawn
Application number
CN201610162343.7A
Other languages
Chinese (zh)
Inventor
赵屏
林惠敏
王智鸣
张永昌
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
MediaTek Inc
Original Assignee
MediaTek Inc
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Priority claimed from US15/015,552 external-priority patent/US20160241881A1/en
Application filed by MediaTek Inc filed Critical MediaTek Inc
Publication of CN107040778A publication Critical patent/CN107040778A/en
Withdrawn legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/102Methods 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/117Filters, e.g. for pre-processing or post-processing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/169Methods 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/17Methods 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/174Methods 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 slice, e.g. a line of blocks or a group of blocks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/42Methods or arrangements for coding, decoding, compressing or decompressing digital video signals characterised by implementation details or hardware specially adapted for video compression or decompression, e.g. dedicated software implementation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/70Methods or arrangements for coding, decoding, compressing or decompressing digital video signals characterised by syntax aspects related to video coding, e.g. related to compression standards
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/80Details of filtering operations specially adapted for video compression, e.g. for pixel interpolation
    • H04N19/82Details 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)
  • Compression Or Coding Systems Of Tv Signals (AREA)

Abstract

The invention provides a loop filter processing device or method. And performing sample offset compensation processing on the pixels subjected to the deblocking filtering processing in the current image unit according to one or more sample offset compensation parameters. All or some of the pixels within the boundary of the sample offset compensation parameter of the current image unit share the same sample offset compensation parameter. The vertical sample offset compensation parameter boundary of the current image unit is shifted left by xs lines from the vertical edge of the current image unit, and the horizontal sample offset compensation parameter boundary of the current image unit is shifted up by ys lines from the horizontal edge of the current image unit. To reduce the line buffer requirement, xs is larger than m, m is the number of pixels on each side of the horizontal side line for deblocking filtering correction, and ys is larger than or equal to 0. The loop filtering method and the loop filtering device provided by the invention can improve the hardware efficiency.

Description

环路滤波方法以及环路滤波装置Loop filtering method and loop filtering device

技术领域technical field

本发明是有关于视频编码系统,特别是有关于,对于结合样值偏移补偿(Sample Adaptive Offset,缩写SAO)以及样本滤波补偿(Adaptive Loop Filter,缩写ALF)虚拟边界(virtual boundary)的视频编码系统,本发明关于降低样值偏移补偿(SAO)以及样本滤波补偿(ALF)的行缓冲器(line buffers)。The present invention relates to a video coding system, in particular to video coding combined with a sample offset compensation (Sample Adaptive Offset, abbreviated SAO) and a sample filter compensation (Adaptive Loop Filter, abbreviated ALF) virtual boundary (virtual boundary) system, the present invention relates to reducing line buffers for sample offset offset (SAO) and sample filter offset (ALF).

背景技术Background technique

运动估计(motion estimation)是一种有效的帧间编码(Inter-frame coding)技术,用以利用视频序列中的时间冗余信息(temporal redundancy)。已运动补偿(motioncompensation)的帧间编码(Inter-frame coding)已广泛应用在各种国际视频编码标准。应用在各种编码标准的运动估计常是以区块(block)为基础的,使用的运动信息(motion information)(如,编码模式(coding mode)以及运动向量(motion vector))对应每一宏块(macroblock)或类似区块结构。此外,帧内编码(Intra-coding)也被自适应地应用(adaptively applied),其中图片的处理不参考其他图片。帧间预测或帧内预测残差(Inter-predicted or Intra-predicted residues)通常进一步进行转换(transformation)、量化(quantization)以及熵编码(entropy coding),以产生压缩的视频比特流。在编码过程中(特别是在量化程序中),编码损伤(coding artifacts)发生。为了降低编码损伤,较新的编码系统需在重建的视频上进行额外的处理,以提升图片质量。额外的处理常设计成环路内操作(in-loop operation),以使得编码器和解码器可导出同样的参考图片,提升系统效能。Motion estimation is an effective inter-frame coding technique for utilizing temporal redundancy in video sequences. Inter-frame coding with motion compensation has been widely used in various international video coding standards. Motion estimation applied in various coding standards is usually block-based, and the motion information (such as coding mode and motion vector) used corresponds to each macro block (macroblock) or similar block structure. In addition, Intra-coding is also adaptively applied, where a picture is processed without reference to other pictures. Inter-predicted or Intra-predicted residues are usually further subjected to transformation, quantization, and entropy coding to generate a compressed video bitstream. During encoding (especially in quantization procedures), coding artifacts occur. To reduce coding impairments, newer coding systems require additional processing on the reconstructed video to improve picture quality. The additional processing is often designed as an in-loop operation, so that the encoder and decoder can derive the same reference picture, improving system performance.

图1A描述了包括环路内处理的自适应帧间/帧内视频编码系统的示意图。对于帧间预测(Inter prediction)而言,运动估计(Motion Estimation,缩写ME)/运动补偿(Motion Compensation,缩写MC)112用于基于其他单一画面或多个画面的视频数据,提供预测数据。切换器114选择帧内预测(Intra Prediction)110或帧间预测数据,且选定的预测数据供应至加法器116而形成预测误差(predictionerror),又称残差(residues)。预测误差再由转换器(Transformation,缩写T)118以及其后的量化器(Quantization,缩写Q)120处理。转换以及量化后的残差再由熵编码器(Entropy Encoder)122编码,以形成对应压缩的视频数据的视频比特流。转换系数(transform coefficients)相关的比特流再填入辅助信息(sideinformation)(如,动作(motion)、模式(mode)、或其他与影像区域相关的信息)。辅助信息也可用于熵编码,以减少带宽需求。因此,辅助信息相关的数据可如图1A所示供应给熵编码器122。使用帧间预测模式时,单一参考图片或多个参考图片也必须于编码器端重建。因此,转换以及量化后的残差交由反量化器(Inverse Quantization,缩写IQ)124以及反转换器(Inverse Transformation,缩写IT)126处理,使残差复原(recover)。复原后的残差可在重建器(Reconstruction,缩写REC)128处加回预测数据136,以重建视频数据(reconstruct video data)。重建的视频数据可存入参考图片缓冲器(Refernce Picture Biffer)134、且用于预测其他帧。FIG. 1A depicts a schematic diagram of an adaptive inter/intra video coding system including in-loop processing. For inter prediction (Inter prediction), the Motion Estimation (ME)/Motion Compensation (MC) 112 is used to provide prediction data based on other video data of a single frame or multiple frames. The switcher 114 selects the intra prediction (Intra Prediction) 110 or the inter prediction data, and the selected prediction data is supplied to the adder 116 to form prediction errors, also known as residues. The prediction error is then processed by a transformer (Transformation, abbreviated T) 118 followed by a quantizer (Quantization, abbreviated Q) 120 . The converted and quantized residual is then encoded by an entropy encoder (Entropy Encoder) 122 to form a video bitstream corresponding to the compressed video data. The bitstream associated with the transform coefficients is then filled with side information (eg, motion, mode, or other information related to the image region). Side information can also be used for entropy coding to reduce bandwidth requirements. Therefore, side information related data may be supplied to the entropy encoder 122 as shown in FIG. 1A . When using the inter prediction mode, a single reference picture or multiple reference pictures must also be reconstructed at the encoder. Therefore, the converted and quantized residual is processed by an inverse quantization (Inverse Quantization, IQ for short) 124 and an inverse transformation (Inverse Transformation, IT for short) 126 to recover the residual. The restored residual can be added back to the prediction data 136 at a reconstruction (REC) 128 to reconstruct video data. The reconstructed video data can be stored in a reference picture buffer (Reference Picture Biffer) 134 and used to predict other frames.

如图1A所示,接收的视频数据在编码系统内经一连串的处理。来自重建器128的重建视频数据可能因一连串的处理有多种损坏(impairment)。因此,重建的视频数据在存入参考图片缓冲器134之前,更被施以多种环路内处理,提升视频质量。在高效视频编码(High Efficiency Video Coding,缩写HEVC)标准的发展中,已发展去块滤波器(Deblocking Filter,缩写DF)130、样值偏移补偿(SampleAdaptive Offset,缩写SAO)131、以及样本滤波补偿(Adaptive Loop Filter,缩写ALF)132来提升图片质量。环路内滤波器信息(in-loop filter information)可能需并入比特流中,使得解码器可适当地复原所需信息。因此,出自样值偏移补偿(SAO)以及样本滤波补偿(ALF)的环路内滤波器信息将供应给熵编码器122,以包含于比特流中。图1A中,去块滤波器130首先施用于重建视频(reconstructed video),样值偏移补偿(SAO)131再施用于去块滤波(DF)处理后的视频,样本滤波补偿(ALF)132再施用于样值偏移补偿(SAO)处理后的视频。然而,去块滤波器(DF)、样值偏移补偿(SAO)、以及样本滤波补偿(ALF)的顺序可调。图1A所示系统可对应高效视频编码(HEVC)系统(样本滤波补偿(ALF)除外)、或视频编码标准AVS2(此由中国团队发展的视频与音频编码标准)。高效视频编码(HEVC)发展中已评估过样本滤波补偿(ALF),但样本滤波补偿(ALF)在目前高效视频编码(HEVC)尚未被采用。As shown in FIG. 1A, the received video data undergoes a series of processing in the encoding system. The reconstructed video data from the reconstructor 128 may have various impairments due to a series of processes. Therefore, before the reconstructed video data is stored in the reference picture buffer 134, various in-loop processes are performed to improve the video quality. In the development of the High Efficiency Video Coding (abbreviated HEVC) standard, a deblocking filter (Deblocking Filter, abbreviated DF) 130, a sample offset compensation (Sample Adaptive Offset, abbreviated SAO) 131, and a sample filter have been developed. Compensation (Adaptive Loop Filter, ALF for short) 132 to improve image quality. In-loop filter information may need to be incorporated into the bitstream so that the decoder can properly recover the required information. Therefore, the in-loop filter information from sample offset offset (SAO) and sample filter offset (ALF) will be supplied to entropy encoder 122 for inclusion in the bitstream. In Fig. 1A, the deblocking filter 130 is firstly applied to the reconstructed video, the sample offset compensation (SAO) 131 is then applied to the deblocking filter (DF) processed video, and the sample filter compensation (ALF) 132 is applied again Applied to video after Sample Offset Offset (SAO) processing. However, the order of deblocking filter (DF), sample offset compensation (SAO), and sample filter compensation (ALF) is adjustable. The system shown in FIG. 1A can correspond to the High Efficiency Video Coding (HEVC) system (except for Sample Filter Compensation (ALF)), or the video coding standard AVS2 (this is a video and audio coding standard developed by a Chinese team). Sample filter compensation (ALF) has been evaluated in the development of high-efficiency video coding (HEVC), but sample filter compensation (ALF) has not been adopted in current high-efficiency video coding (HEVC).

图1B为系统方块图,其对应包括去块滤波器(DF)、样值偏移补偿(SAO)以及样本滤波补偿(ALF)的视频解码器。由于编码器可包括用于视频数据重构的本地解码器(local decoder),因此部分解码器组件(除了熵解码器142)已经使用在编码器中。此外,解码器端尚需求运动补偿144。切换器146选择帧间预测或帧内预测,且选定的预测数据用于重建器(REC)128,以与复原的残差结合。除了对压缩视频数据执行熵解码,熵解码器142也负责辅助信息的熵解码,为对应区块提供辅助信息。例如,帧内模式信息供应至帧内预测缓冲器111、帧间模式信息供应至运动补偿144、自适应偏移信息(adaptive offset information)供应至样值偏移补偿(SAO)131、样本滤波补偿信息供应至样本滤波补偿(ALF)132、且残差供应至反量化器(IQ)124。残差经反量化(IQ)124、反转换(IT)126以及随后的的重建程序处理,重建出视频数据。再一次地,重建器(REC)128提供的重建视频数据是经过如图1B所示的包括反量化(IQ)124、反转换(IT)126的一连串处理后,存在强度偏移(intensity shift)。重建视频数据进一步由去块(DF)130、样值偏移补偿(SAO)131、以及样本滤波补偿(ALF)132处理。FIG. 1B is a system block diagram corresponding to a video decoder including a deblocking filter (DF), sample offset compensation (SAO) and sample filter compensation (ALF). Since the encoder may include a local decoder for video data reconstruction, some decoder components (except entropy decoder 142) are already used in the encoder. In addition, motion compensation 144 is still required at the decoder side. A switch 146 selects either inter prediction or intra prediction, and the selected prediction data is used in a reconstructor (REC) 128 for combination with the restored residual. In addition to performing entropy decoding on the compressed video data, the entropy decoder 142 is also responsible for entropy decoding of side information to provide side information for corresponding blocks. For example, the intra mode information is supplied to the intra prediction buffer 111, the inter mode information is supplied to the motion compensation 144, the adaptive offset information is supplied to the sample offset compensation (SAO) 131, the sample filter compensation The information is supplied to sample filter compensation (ALF) 132 and the residual is supplied to inverse quantizer (IQ) 124 . The residual is processed by inverse quantization (IQ) 124, inverse transformation (IT) 126 and subsequent reconstruction procedures to reconstruct the video data. Once again, the reconstructed video data provided by the reconstructor (REC) 128 is after a series of processing including inverse quantization (IQ) 124 and inverse transformation (IT) 126 as shown in FIG. 1B , there is an intensity shift (intensity shift) . The reconstructed video data is further processed by deblocking (DF) 130 , sample offset compensation (SAO) 131 , and sample filter compensation (ALF) 132 .

高效视频编码(HEVC)的编码程序是根据最大编码单元(Logic Coding Unit,缩写LCU,又称编码树单元(Coding Tree Unit,缩写CTU))施行。最大编码单元利用四分树(quadtree)自适应地分割成(adaptively partitioned)多个编码单元。高效视频编码(HEVC)中,去块滤波(DF)作用在8x8区块范围。对每个8x8区块,跨垂直区块边界的水平滤波首先施行,接着施行跨水平区块边界的垂直滤波。图2A举例说明高效视频编码(HEVC)亮度(luma)组分的去块滤波(DF)处理。区块边界210两侧各需考虑4个边界像素。边界可对应垂直边界或水平边界。边界像素标号为q0、q1、q2与q3以及p0、p1、p2与p3。q0与p0两个像素紧邻该边界。亮度区块边界的处理过程中,各侧的四个像素用于滤波参数推导,且各侧多达3个像素(即,p0、p1、p2或q0、q1、q2)可经滤波修正。关于跨垂直区块边界的水平滤波,未滤波的重建像素用于滤波器参数推导,且也用作滤波的原始像素。关于跨水平区块边界的垂直滤波,去块滤波(DF)处理过的中间的像素(即,水平滤波后的像素)用于滤波器参数推导,且也用作滤波的原始像素。高效视频编码(HEVC)色度(chroma)组分的去块滤波(DF)处理中,区块边界各侧使用到两个边界像素,且各侧仅一像素(即,p0或q0)被修正。The encoding procedure of High Efficiency Video Coding (HEVC) is implemented according to a largest coding unit (Logic Coding Unit, LCU for short, also known as a coding tree unit (CTU for short)). The largest coding unit is adaptively partitioned into a plurality of coding units using a quadtree. In High Efficiency Video Coding (HEVC), Deblocking Filter (DF) works on 8x8 blocks. For each 8x8 block, horizontal filtering across vertical block boundaries is performed first, followed by vertical filtering across horizontal block boundaries. 2A illustrates deblocking filtering (DF) processing of a high-efficiency video coding (HEVC) luma (luma) component. Four boundary pixels need to be considered on both sides of the block boundary 210 . A boundary may correspond to a vertical boundary or a horizontal boundary. The boundary pixels are labeled q0, q1, q2 and q3 and p0, p1, p2 and p3. Two pixels, q0 and p0, are adjacent to the boundary. During processing of luma block boundaries, four pixels on each side are used for filter parameter derivation, and up to three pixels on each side (ie, p0, p1, p2 or q0, q1, q2) can be filtered. Regarding horizontal filtering across vertical block boundaries, unfiltered reconstructed pixels are used for filter parameter derivation and also serve as raw pixels for filtering. Regarding vertical filtering across horizontal block boundaries, deblocking filtered (DF) processed intermediate pixels (ie, horizontally filtered pixels) are used for filter parameter derivation and are also used as raw pixels for filtering. In the deblocking filtering (DF) process of the high-efficiency video coding (HEVC) chroma (chroma) component, two boundary pixels are used on each side of the block boundary, and only one pixel on each side (i.e., p0 or q0) is modified .

图2B描述了视频编码标准AVS2亮度组分(luma component)的去块滤波(DF)处理,其中涉及区块边界220各侧三个边界像素。边界像素标号为q0、q1、q2以及p0、p1与p2,两个像素q0与p0紧邻该边界。至于色度区块边界的去块滤波(DF)处理,各侧的两个像素用于滤波器参数推导。对应视频编码标准AVS2,去块滤波(DF)处理可修正涉及的所有边界像素。换句话说,区块边界各侧的三个亮度像素以及两个色度像素可被调整。FIG. 2B depicts deblocking filtering (DF) processing of the video coding standard AVS2 luma component, involving three boundary pixels on each side of a block boundary 220 . The border pixels are labeled q0, q1, q2 and p0, p1 and p2, and two pixels q0 and p0 are next to the border. As for deblocking filtering (DF) processing of chroma block boundaries, two pixels on each side are used for filter parameter derivation. Corresponding to the video coding standard AVS2, the deblocking filtering (DF) process can correct all the boundary pixels involved. In other words, three luma pixels and two chroma pixels on each side of the block boundary can be adjusted.

根据高效视频编码(HEVC)以及视频编码标准AVS2所作的样值偏移补偿(SAO)类型如图3所示,有四种样值偏移补偿(SAO)类型对应0度、90度、135度以及45度四种指向。样值偏移补偿(SAO)对每个像素作环路内滤波(per-pixelin-loop filtering)。样值偏移补偿(SAO)参数对应于各最大编码单元(LCU)或编码树单元(CTU)作更新。对应样值偏移补偿(SAO)的指向类型,首先实施像素分类,如根据表格1的分类状况,将像素归类为多个组(groups,又称为种类(categories)或等级(classes))。分类后,每个重建并去块滤波(DF)后的像素基于选定的指向类型以及分类结果由一个偏移数值补偿。The types of sample offset compensation (SAO) based on High Efficiency Video Coding (HEVC) and the video coding standard AVS2 are shown in Figure 3. There are four types of sample offset compensation (SAO) corresponding to 0 degrees, 90 degrees, and 135 degrees. And four directions of 45 degrees. Sample Offset Offset (SAO) performs per-pixel in-loop filtering on each pixel. The sample offset offset (SAO) parameter is updated corresponding to each largest coding unit (LCU) or coding tree unit (CTU). Corresponding to the direction type of sample offset compensation (SAO), first implement pixel classification, such as classifying pixels into multiple groups (groups, also called categories or classes) according to the classification status in Table 1 . After classification, each reconstructed and deblock filtered (DF) pixel is compensated by an offset value based on the selected orientation type and classification result.

表格1Table 1

种类type 状况situation 11 C<两个相邻像素C< two adjacent pixels 22 C<其一相邻像素&&C==另一邻像素C<one adjacent pixel &&C==another adjacent pixel 33 C>其一邻像素&&C==另一邻像素C> one adjacent pixel && C==another adjacent pixel 44 C>两个相邻像素C> two adjacent pixels 00 不为上述任一状况None of the above

如表格1所示,样值偏移补偿(SAO)分类状况的实施可将中央像素(C)与两个相邻像素分开比较。分类状况检查中央像素是否大于、小于或等于所对应的相邻像素。三种比较结果可用两个比特(2-bit)数据表示。As shown in Table 1, the implementation of the sample offset offset (SAO) classification situation can compare the center pixel (C) separately from the two adjacent pixels. Classification checks whether the central pixel is greater than, less than, or equal to the corresponding neighboring pixel. The three kinds of comparison results can be represented by two bits (2-bit) data.

样值偏移补偿(SAO)参数(如,像素偏移数值(pixel offset)以及样值偏移补偿类型(SAO type))可对应各编码树单元(CTU)而自适应地决定。对于高效视频编码(HEVC)而言,样值偏移补偿(SAO)参数边界(parameter boundary)与编码树单元(CTU)相同。参数边界内的所有像素的样值偏移补偿(SAO)处理共享同样的样值偏移补偿(SAO)类型以及偏移数值。因为样值偏移补偿(SAO)应用于去块滤波(DF)后的像素,当前编码树单元(CTU)的样值偏移补偿处理(SAO process)必须等到当前编码树单元(CTU)的去块滤波(DF)处理完成后才可进行。然而,直至编码树单元(CTU)边界旁位于该编码树单元(CTU)边界另一侧的重建视频数据备妥前,编码树单元(CTU)边界周围的像素不能作去块滤波(DF)处理。基于如此数据相依性,视频编码标准AVS2使用偏移的样值偏移补偿(SAO)参数边界。图4描述了根据视频编码标准AVS2的样值偏移补偿(SAO)的参数边界的偏移的示例。对于高效视频编码(HEVC)而言,相应的样值偏移补偿(SAO)参数边界的实施例410对应编码树单元(CTU)边界。对于视频编码标准AVS2而言,相应的样值偏移补偿(SAO)参数边界420对应于编码树单元(CTU)边界向左位移xS、且向上位移yS。进一步而言,视频编码标准AVS2中,xS=4且yS=4。Sample offset compensation (SAO) parameters (eg, pixel offset value (pixel offset) and sample offset compensation type (SAO type)) can be adaptively determined corresponding to each coding tree unit (CTU). For High Efficiency Video Coding (HEVC), the Sample Offset Offset (SAO) parameter boundary is the same as the Coding Tree Unit (CTU). The sample offset offset (SAO) processing of all pixels within the parameter boundary shares the same sample offset offset (SAO) type and offset value. Because sample offset compensation (SAO) is applied to pixels after deblocking filtering (DF), the sample offset compensation process (SAO process) of the current coding tree unit (CTU) must wait until the deblocking of the current coding tree unit (CTU) It can only be performed after block filtering (DF) processing is completed. However, pixels around a CTU boundary cannot be deblocking filtered (DF) until the reconstructed video data is available next to the CTU boundary on the other side of the CTU boundary . Based on such data dependencies, the video coding standard AVS2 uses offset Sample Offset Offset (SAO) parameter boundaries. Fig. 4 depicts an example of shifting of parameter boundaries of Sample Offset Offset (SAO) according to the video coding standard AVS2. For High Efficiency Video Coding (HEVC), embodiments 410 of corresponding Sample Offset Offset (SAO) parameter boundaries correspond to Coding Tree Unit (CTU) boundaries. For the video coding standard AVS2, the corresponding sample offset offset (SAO) parameter boundary 420 is shifted left by xS and upward by yS corresponding to the coding tree unit (CTU) boundary. Furthermore, in the video coding standard AVS2, xS=4 and yS=4.

样本滤波补偿(ALF)132为视频编码工具,用于提升图片质量。样本滤波补偿(ALF)已在高效视频编码(HEVC)发展阶段做过评估。然而,样本滤波补偿(ALF)并未使用在目前高效视频编码(HEVC)标准上,却已被结合入视频编码标准AVS2。特别是如图5所示的用于视频编码标准AVS2的17抽头(17-tap)对称样本滤波补偿(ALF)。17抽头对称样本滤波补偿(ALF)意味当前像素的滤波操作可能需要下方三行(lines)的数据。若该些行来自另一个编码树单元(CTU)(特别是位于随后的编码树单元行(CTU row)的该编码树单元(CTU)),样本滤波补偿(ALF)处理必须延迟直至获得后续的相关数据。以上特征意味着需配置行缓冲器(line buffer),以瞬时储存当前编码树单元(CTU)的相关数据,供后续处理使用。为了应付数据依赖的问题,视频编码标准AVS2采用样本滤波补偿(ALF)虚拟边界(virtualboundary),以限制样本滤波补偿(ALF)处理不跨越该虚拟边界。图6描述了根据视频编码标准AVS2的亮度组分的样本滤波补偿(ALF)虚拟边界的示例,其中描述了关于选定像素(如,像素a、b、c与d)的样本滤波补偿(ALF)处理。行(line)610为编码树单元(CTU)X与编码树单元(CTU)Y之间的编码树单元(CTU)边界。行620为亮度的样本滤波补偿(ALF)虚拟边界(即yC-4),其根据视频编码标准AVS2的规范而位于编码树单元(CTU)边界(即yC)上方距离四行(即位于yC-4)之处。关于色度组分,根据视频编码标准AVS2(参阅:Information Technology–AdvancedMedia Coding Part2:Video Final Committee Draft,Audio and Video CodingStandard Workgroup of China,Feb.7,2015,Document:N2120.D3),样本滤波补偿(ALF)虚拟边界位于编码树单元(CTU)边界上方距离3行(即位于yC-3)之处。像素a、b与c的样本滤波补偿(ALF)处理在编码树单元(CTU)X处理阶段施行。此外,像素a、b与c的样本滤波补偿(ALF)处理仅使用虚拟边界上方的信息。至于虚拟边界下方的像素d,其样本滤波补偿(ALF)处理是在编码树单元(CTU)Y处理阶段实施,且仅使用虚拟边界下方的信息。虚拟边界的使用将抑制数据依赖性,降低行缓冲的容量需求。Sample Filter Compensation (ALF) 132 is a video coding tool used to improve picture quality. Sample Filter Compensation (ALF) has been evaluated during the development phase of High Efficiency Video Coding (HEVC). However, the sample filter compensation (ALF) is not used in the current high-efficiency video coding (HEVC) standard, but has been incorporated into the video coding standard AVS2. In particular, the 17-tap symmetrical sample filter compensation (ALF) used in the video coding standard AVS2 as shown in FIG. 5 . The 17-tap symmetrical sample filter compensation (ALF) means that the filtering operation of the current pixel may require the data of the lower three lines (lines). If the rows are from another CTU (specifically, the CTU located in a subsequent CTU row), the Sample Filter Compensation (ALF) process must be delayed until the subsequent related data. The above characteristics mean that a line buffer (line buffer) needs to be configured to instantaneously store the relevant data of the current coding tree unit (CTU) for subsequent processing. In order to deal with the problem of data dependence, the video coding standard AVS2 adopts an ALF virtual boundary to restrict ALF processing from crossing the virtual boundary. 6 depicts an example of the sample filter compensation (ALF) virtual boundary of the luma component according to the video coding standard AVS2, which depicts the sample filter compensation (ALF) for selected pixels (such as pixels a, b, c and d). )deal with. Line 610 is a coding tree unit (CTU) boundary between coding tree unit (CTU) X and coding tree unit (CTU) Y. Row 620 is the sample filter compensation (ALF) virtual boundary (i.e. yC-4) of luminance, which is located four lines above the coding tree unit (CTU) boundary (i.e. yC) according to the specification of the video coding standard AVS2 (i.e. at yC-4). 4) place. Regarding the chroma component, according to the video coding standard AVS2 (see: Information Technology–Advanced Media Coding Part2: Video Final Committee Draft, Audio and Video Coding Standard Workgroup of China, Feb.7, 2015, Document: N2120.D3), sample filter compensation The (ALF) virtual boundary is located at a distance of 3 lines (ie, at yC-3) above the coding tree unit (CTU) boundary. The sample filter compensation (ALF) processing of pixels a, b and c is performed in the coding tree unit (CTU) X processing stage. Furthermore, the sample filter compensation (ALF) process for pixels a, b and c only uses information above the virtual boundary. As for the pixel d below the virtual boundary, its sample filter compensation (ALF) processing is implemented in the coding tree unit (CTU) Y processing stage, and only the information below the virtual boundary is used. The use of virtual boundaries will suppress data dependencies and reduce the capacity requirements of the row buffer.

如上述内容,去块滤波器(DF)、样值偏移补偿(SAO)以及样本滤波补偿(ALF)程序涉及相邻的数据。在高效视频编码(HEVC)以及视频编码标准(AVS2),编码树单元(CTU)已用作编码处理的单元。去块滤波器(DF)、样值偏移补偿(SAO)以及样本滤波补偿(ALF)处理跨编码树单元(CTU)边界施行时,数据相依性必须被谨慎管理,以减少行缓冲器的需求。因为去块滤波器(DF)、样值偏移补偿(SAO)以及样本滤波补偿(ALF)处理相继施行在各编码树单元(CTU),对应的硬件实践必须设计为管线化(pipeline)方式。图7描述了对应视频编码标准AVS2解码器的、去块滤波器(DF)、样值偏移补偿(SAO)以及样本滤波补偿(ALF)处理的数据依赖性。采用编码树单元(CTU)的处理顺序700如图7所示,且编码树单元(CTU)X以及编码树单元(CTU)Y之间的编码树单元(CTU)边界标号为705。如图7所示,来自重建方块710的重建视频由去块滤波器(DF)720、样值偏移补偿(SAO)730以及样本滤波补偿(ALF)740处理。样本滤波补偿(ALF)740的输出储存于已解码的帧缓冲器。As mentioned above, the deblocking filter (DF), sample offset offset (SAO) and sample filter offset (ALF) procedures involve adjacent data. In High Efficiency Video Coding (HEVC) and Video Coding Standard (AVS2), Coding Tree Unit (CTU) has been used as the unit of encoding process. When deblocking filter (DF), sample offset offset (SAO), and sample filter offset (ALF) processes are performed across coding tree unit (CTU) boundaries, data dependencies must be carefully managed to reduce line buffer requirements . Since the deblocking filter (DF), sample offset offset (SAO) and sample filter offset (ALF) processes are sequentially implemented in each coding tree unit (CTU), the corresponding hardware implementation must be designed as a pipeline. Figure 7 depicts the data dependencies of the Deblocking Filter (DF), Sample Offset Offset (SAO) and Sample Filter Offset (ALF) processes for the video coding standard AVS2 decoder. A processing sequence 700 using CTUs is shown in FIG. 7 , and the CTU boundary between CTU X and CTU Y is labeled 705 . As shown in FIG. 7 , the reconstructed video from reconstruction block 710 is processed by deblocking filter (DF) 720 , sample offset compensation (SAO) 730 and sample filter compensation (ALF) 740 . The output of sample filter compensation (ALF) 740 is stored in the decoded frame buffer.

去块滤波器(DF)720、样值偏移补偿(SAO)730以及样本滤波补偿(ALF)740处理对应的处理状态分别标号725、735以及745。图形725显示编码树单元(CTU)X的去块滤波(DF)处理阶段结束时的去块滤波(DF)处理状态。行722上方的亮度像素以及行724上方的色度像素已完成去块滤波(DF)。因为区块边界另一侧的像素(即编码树单元(CTU)边界705以下)尚不可得,行722下方的亮度像素以及行724下方的色度像素无法在编码树单元(CTU)X的去块滤波(DF)处理阶段中被处理。图形735显示编码树单元(CTU)X的样值偏移补偿(SAO)处理阶段结束时的样值偏移补偿(SAO)处理状态。行732上方的亮度像素以及行734上方的色度像素已完成样值偏移补偿(SAO),其中行732与行734对齐。图形745显示编码树单元(CTU)X的样本滤波补偿(ALF)处理阶段结束时的样本滤波补偿(ALF)处理状态。类似地,因为其中涉及编码树单元(CTU)Y标志的样值偏移补偿(SAO)参数,其尚未由可变长度解码(variable length decode,VLD)处理完成,行732下方的亮度像素以及行734下方的色度像素尚无法作编码树单元(CTU)X的样值偏移补偿(SAO)。行742(亮度的样本滤波补偿(ALF)虚拟边界)上方的亮度像素基于视频编码标准AVS2草案经样本滤波补偿(ALF)处理。行744(色度的样本滤波补偿(ALF)虚拟边界)上方的色度像素可经样本滤波补偿(ALF)处理。然而,色度组分的样本滤波补偿(ALF)不能在编码树单元(CTU)X处理阶段中对色度行A至D执行。例如,像素746的样本滤波补偿(ALF)处理将使用像素748。因为色度像素748位于色度样值偏移补偿(SAO)边界734下方,色度像素748在编码树单元(CTU)X处理阶段尚未作样值偏移补偿(SAO)处理。因此,虽然位于色度的样本滤波补偿(ALF)虚拟边界上方,色度像素746仍无法作样本滤波补偿(ALF)处理。因此,像素748上方(即行D上方)已作过样值偏移补偿(SAO)处理的六行必须储存至缓冲器,以稍后在编码树单元(CTU)Y处理阶段作行A至D的样本滤波补偿(ALF)处理时使用。其中,行A上方三行已经在编码树单元(CTU)X处理阶作过样本滤波补偿(ALF),但也需要使用在行A的样本滤波补偿(ALF)处理。The corresponding processing states of the deblocking filter (DF) 720 , sample offset offset (SAO) 730 , and sample filter offset (ALF) 740 processes are numbered 725 , 735 , and 745 , respectively. Graph 725 shows the deblocking filtering (DF) processing status at the end of the deblocking filtering (DF) processing stage of coding tree unit (CTU) X. Luma pixels above row 722 and chroma pixels above row 724 have deblocking filtering (DF) done. Because the pixels on the other side of the block boundary (i.e., below the coding tree unit (CTU) boundary 705) are not yet available, the luma pixels below row 722 and the chrominance pixels below row 724 cannot be located in the coding tree unit (CTU) X. are processed in the Block Filtering (DF) processing stage. Graph 735 shows the state of the sample offset compensation (SAO) processing at the end of the sample offset compensation (SAO) processing phase of coding tree unit (CTU) X. The luma pixels above row 732 and the chroma pixels above row 734 have sample offset compensation (SAO) done, where row 732 is aligned with row 734 . Graph 745 shows the sample filter compensation (ALF) processing status at the end of the sample filter compensation (ALF) processing stage of coding tree unit (CTU) X. Similarly, the luma pixels below row 732 and the row Chroma pixels below 734 cannot be used for sample offset compensation (SAO) of coding tree unit (CTU) X. Luma pixels above row 742 (Ample Filtered (ALF) Virtual Boundary for Luma) are sample filtered (ALF) processed based on the video coding standard AVS2 draft. Chroma pixels above row 744 (the ALF virtual boundary for chroma) may be ALF processed. However, sample filter compensation (ALF) of chroma components cannot be performed on chroma lines A to D in the coding tree unit (CTU) X processing stage. For example, an sample filter compensation (ALF) process for pixel 746 would use pixel 748 . Because the chroma pixel 748 is located below the SAO boundary 734 , the chroma pixel 748 has not been SAO processed in the coding tree unit (CTU) X processing stage. Therefore, although located above the ALF virtual boundary of chroma, the chroma pixel 746 is not ALF-processed. Therefore, the six lines above pixel 748 (i.e., above line D) that have undergone sample offset compensation (SAO) processing must be stored in a buffer for later processing of lines A to D in the coding tree unit (CTU) Y processing stage. Used during sample filter compensation (ALF) processing. Among them, the three lines above line A have been subjected to sample filter compensation (ALF) at the coding tree unit (CTU) X processing stage, but the sample filter compensation (ALF) processing on line A is also required.

硬件实现上,图片宽度六行的色度采样必须储存于行缓冲器,一般使用嵌入式存储器实现,且如此应用可能需要高芯片成本。因此,期望发展一种方法与装置,用于降低环路滤波处理(如去块滤波器(DF)、样值偏移补偿(SAO)、样本滤波补偿(ALF)处理、其他环路滤波处理或其组合)需要的行缓冲器数量。此外,针对不同的样值偏移补偿(SAO)参数边界,系统将在不同的样值偏移补偿(SAO)参数间切换。如此一来会增加系统复杂度以及耗电量。因此,期望发展出具有适当系统参数设计的环路滤波处理(如去块滤波器(DF)、样值偏移补偿(SAO)、样本滤波补偿(ALF)处理其他环路滤波程序或其组合),以降低行缓冲需求、系统复杂度以及系统耗电量或获得以上任何改良的结合好处。在另一观点中,本领域期望发展出一种方法与装置,以高效以及节省成本的方式作包括去块滤波器(DF)、样值偏移补偿(SAO)、样本滤波补偿(ALF)、其他环路滤波程序或其组合的环路滤波处理,供结合如此环路滤波处理的视频编码系统应用。In terms of hardware implementation, chrominance samples with a picture width of six lines must be stored in a line buffer, which is generally implemented using an embedded memory, and such an application may require high chip costs. Therefore, it is desired to develop a method and an apparatus for reducing loop filter processing (such as deblocking filter (DF), sample value offset compensation (SAO), sample filter compensation (ALF) processing, other loop filter processing or combination) the number of line buffers required. In addition, for different sample value offset compensation (SAO) parameter boundaries, the system will switch between different sample value offset compensation (SAO) parameters. This will increase system complexity and power consumption. Therefore, it is desirable to develop loop filtering processes (such as deblocking filter (DF), sample offset compensation (SAO), sample filter compensation (ALF) processing other loop filtering procedures or combinations thereof) with appropriate system parameter design , to reduce line buffer requirements, system complexity, and system power consumption, or to obtain a combination of any of the above improvements. In another point of view, it is desirable in the art to develop a method and apparatus for performing deblocking filter (DF), sample offset compensation (SAO), sample filter compensation (ALF), Loop filter processing of other loop filter procedures or combinations thereof for use in video coding systems incorporating such loop filter processing.

发明内容Contents of the invention

本发明揭示一种进行重建视频数据的环路滤波处理的方法以及装置。为了降低样值偏移补偿(SAO)参数切换的计算复杂度、并减少行缓冲器需求,本发明的实施方式根据对应目标对样值偏移补偿(SAO)参数边界作水平方向与垂直方向位移。根据本发明的实施方式,去块滤波(DF)处理先施行在重建像素上。去块滤波(DF)处理在两个影像单元之间的影像单元边界对应的水平边线的各侧修正多达m个像素。根据一个或多个样值偏移补偿(SAO)参数,对当前影像单元中经去块滤波(DF)处理过的像素进行样值偏移补偿(SAO)处理。当前影像单元的样值偏移补偿(SAO)参数边界内的全部或部分像素共享同样的上述一个或多个样值偏移补偿(SAO)参数。当前影像单元的垂直样值偏移补偿参数(SAO)边界由当前影像单元的垂直边向左位移xs行,且当前影像单元的水平样值偏移补偿(SAO)参数边界由当前影像单元的水平边向上位移ys行。根据一个或多个空间环路滤波器参数对当前影像单元中空间环路滤波器限缩边界上方已经样值偏移补偿(SAO)处理过的像素作空间环路滤波处理。当前影像单元的该空间环路滤波器限缩边界自当前影像单元的底边向上位移yv行。为了降低行缓冲器需求,m、xs、ys以及yv为正整数,xs大于m,ys大于或等于0,且ys小于yv,且yv根据m设定。The invention discloses a method and a device for loop filtering processing of reconstructed video data. In order to reduce the computational complexity of sample offset compensation (SAO) parameter switching and reduce the demand for line buffers, the embodiments of the present invention make horizontal and vertical displacements for the sample value offset compensation (SAO) parameter boundary according to the corresponding target . According to an embodiment of the present invention, deblocking filtering (DF) processing is first performed on the reconstructed pixels. The deblocking filtering (DF) process modifies up to m pixels on each side of a horizontal edge corresponding to an image unit boundary between two image units. According to one or more sample value offset compensation (SAO) parameters, sample value offset compensation (SAO) processing is performed on the pixels processed by deblocking filter (DF) in the current image unit. All or part of the pixels within the boundary of the SAO parameters of the current image unit share the same one or more SAO parameters. The vertical sample offset compensation parameter (SAO) boundary of the current image unit is shifted to the left by xs lines from the vertical edge of the current image unit, and the horizontal sample offset compensation (SAO) parameter boundary of the current image unit is changed from the horizontal edge of the current image unit Edge shifted up by ys rows. According to one or more spatial loop filter parameters, spatial loop filtering is performed on the pixels above the narrowing boundary of the spatial loop filter in the current image unit that have been processed by Sample Offset Compensation (SAO). The spatial loop filter confinement boundary of the current image unit is shifted upwards by yv lines from the bottom edge of the current image unit. In order to reduce the line buffer requirements, m, xs, ys and yv are positive integers, xs is greater than m, ys is greater than or equal to 0, and ys is less than yv, and yv is set according to m.

各影像单元可对应编码树单元(CTU)。空间环路滤波器处理可对应样本滤波补偿(ALF)处理。Each image unit may correspond to a coding tree unit (CTU). Spatial loop filter processing may correspond to sample filter compensation (ALF) processing.

若上述重建视频数据报括亮度组分以及色度组分,上述去块滤波处理、样值偏移补偿处理以及空间环路滤波处理分亮度组分以及色度组分进行,各自使用的上述m值标号为M与N,各自使用的上述xs标号为xS与xSC,各自使用的上述ys标号为yS与ySC。且,各自使用的上述yv标号为yV与yVC。在一种实施方式中,yS与ySC等于0。yV可大于M且yVC可大于N。例如,yV等于(M+1)且yVC等于(N+1)。在一种实施方式中,M等于3且N等于2。If the above-mentioned reconstructed video data includes a luma component and a chroma component, the above-mentioned deblocking filter processing, sample value offset compensation processing, and spatial loop filter processing are performed in a luma component and a chroma component, and the above m The values are labeled M and N, the above-mentioned xs used respectively are labeled xS and xSC, and the above-mentioned ys used respectively are labeled yS and ySC. Also, the above-mentioned yv used respectively are labeled as yV and yVC. In one embodiment, yS and ySC are equal to zero. yV may be greater than M and yVC may be greater than N. For example, yV is equal to (M+1) and yVC is equal to (N+1). In one embodiment, M is equal to 3 and N is equal to 2.

在另一种实施方式中,yS等于ySC、yV等于yVC且yVC大于MAX(M,N)。例如,yV与yVC等于MAX(M,N)+1且yS与ySC可为0至MAX(M,N)的整数。在一种实施方式中,M等于3且N等于2。In another embodiment, yS is equal to ySC, yV is equal to yVC, and yVC is greater than MAX(M,N). For example, yV and yVC are equal to MAX(M, N)+1 and yS and ySC can be integers ranging from 0 to MAX(M, N). In one embodiment, M is equal to 3 and N is equal to 2.

在另一种实施方式中,当前影像单元的当前处理阶段中处理的当前行的当前像素与随后的处理阶段中处理的相邻行的相邻像素的比较所得的符号数据储存下来,上述符号数据对应”大于”、”小于”、或”等于”。上述符号数据可使用2位(bit)储存。In another embodiment, the sign data obtained by comparing the current pixel of the current row processed in the current processing stage of the current image unit with the adjacent pixels of the adjacent row processed in the subsequent processing stage are stored, and the above sign data Corresponds to "greater than", "less than", or "equal to". The above symbol data can be stored using 2 bits.

本发明所提出的环路滤波方法以及环路滤波装置,可提升硬件效率。The loop filtering method and the loop filtering device proposed by the present invention can improve hardware efficiency.

附图说明Description of drawings

图1A描述了自适应帧间/帧内视频编码系统,其中结合环路滤波器,所述环路滤波器包括去块滤波器(DF)、样值偏移补偿(SAO)以及样本滤波补偿(ALF)用以处理重建的视频数据;Figure 1A depicts an adaptive inter/intra video coding system in which a loop filter including a deblocking filter (DF), a sample offset offset (SAO) and a sample filter offset ( ALF) is used to process the reconstructed video data;

图1B描述了对应视频解码器的系统方块图,视频解码器包括去块滤波器(DF)、样值偏移补偿(SAO)以及样本滤波补偿(ALF);FIG. 1B depicts a system block diagram corresponding to a video decoder, which includes a deblocking filter (DF), sample offset compensation (SAO) and sample filter compensation (ALF);

图2A描述了根据高效视频编码(HEVC)对亮度组分作去块滤波(DF)处理所涉及的区块边界两侧的像素;2A depicts pixels on both sides of a block boundary involved in deblocking filtering (DF) processing of luma components according to High Efficiency Video Coding (HEVC);

图2B描述了根据视频编码标准AVS2对亮度组分作去块滤波(DF)处理所涉及的区块边界两侧的像素;FIG. 2B depicts pixels on both sides of the block boundary involved in deblocking filtering (DF) processing of the luma component according to the video coding standard AVS2;

图3描述了基于3x3窗口所作的像素分类,有四种指向形式,对应0度、90度、135度以及45度;Figure 3 describes the pixel classification based on the 3x3 window, there are four pointing forms, corresponding to 0 degrees, 90 degrees, 135 degrees and 45 degrees;

图4描述了根据视频编码标准AVS2的样值偏移补偿(SAO)边界位移;Fig. 4 has described the sample offset compensation (SAO) boundary displacement according to video coding standard AVS2;

图5描述了用于视频编码标准AVS2的17抽头(17-tap)对称样本滤波补偿(ALF);Fig. 5 has described the 17-tap (17-tap) symmetrical sample filter compensation (ALF) that is used for video coding standard AVS2;

图6描述了根据视频编码标准AVS2的亮度组分的样本滤波补偿(ALF)虚拟边界;Figure 6 depicts the sample filter compensation (ALF) virtual boundary of the luma component according to the video coding standard AVS2;

图7描述了用于视频编码标准AVS2的解码器的、与去块滤波器(DF)、样值偏移补偿(SAO)以及样本滤波补偿(ALF)处理相关的数据依赖性;Figure 7 depicts the data dependencies associated with the Deblocking Filter (DF), Sample Offset Offset (SAO) and Sample Filter Offset (ALF) processes for a decoder of the video coding standard AVS2;

图8描述了去块滤波器(DF)、样值偏移补偿(SAO)以及样本滤波补偿(ALF)处理的处理状态,其中标示环路滤波器相关的边界参数;Fig. 8 describes the processing state of the deblocking filter (DF), sample value offset compensation (SAO) and sample filter compensation (ALF) processing, wherein the boundary parameters related to the loop filter are indicated;

图9描述了根据本发明实施方式的具有不同的水平样值偏移补偿(SAO)参数边界和水平样值偏移补偿(SAO)处理边界的样值偏移补偿(SAO)处理;FIG. 9 depicts sample offset compensation (SAO) processing with different horizontal sample offset offset (SAO) parameter boundaries and horizontal sample offset compensation (SAO) processing boundaries according to an embodiment of the present invention;

图10描述了根据本发明第一实施方式的当前编码树单元(CTU)处理阶段结束时去块滤波器(DF)、样值偏移补偿(SAO)以及样本滤波补偿(ALF)处理的处理状态;Fig. 10 depicts the processing state of the Deblocking Filter (DF), Sample Offset Offset (SAO) and Sample Filter Offset (ALF) processes at the end of the current Coding Tree Unit (CTU) processing stage according to the first embodiment of the present invention ;

图11描述了根据本发明第二实施方式的当前编码树单元(CTU)处理阶段结束时去块滤波器(DF)、样值偏移补偿(SAO)以及样本滤波补偿(ALF)处理的处理状态;Fig. 11 depicts the processing state of the Deblocking Filter (DF), Sample Offset Offset (SAO) and Sample Filter Offset (ALF) processes at the end of the current Coding Tree Unit (CTU) processing stage according to the second embodiment of the present invention ;

图12描述了包括本发明实施方式的编码系统的流程图,所述系统对齐环路滤波器相关边界,以降低行缓冲器需求。Figure 12 depicts a flow diagram of an encoding system incorporating an embodiment of the present invention that aligns loop filter correlation boundaries to reduce line buffer requirements.

具体实施方式detailed description

以下描述了列举的本发明的较佳实施方式。以下叙述目的是介绍本发明的基本概念,并非意图限制本发明内容。本发明的保护范围应依照权利要求确定的范围为准。The enumerated preferred embodiments of the present invention are described below. The purpose of the following description is to introduce the basic concept of the present invention, and is not intended to limit the content of the present invention. The scope of protection of the present invention should be based on the scope determined by the claims.

为了方便讨论不同环路处理阶段之间的数据依赖性,本申请介绍边界参数相关的环路滤波器。图8再现图7的去块滤波器(Deblocking Filter,DF)、样值偏移补偿(Sample Adaptive Offset,SAO)以及样本滤波补偿(Adaptive Loop Filter,ALF)处理的相关处理状态,并将环路滤波器相关的边界参数标示其中。去块滤波器(DF)、样值偏移补偿(SAO)以及样本滤波补偿(ALF)的处理状态分别标号825、835以及845。图形825显示编码树单元(CTU)X于去块滤波(DF)处理阶段末端的去块滤波(DF)处理状况。行822(即亮度去块滤波器边界)上方的亮度像素以及行824(即色度去块滤波器边界)上方的色度像素经去块滤波(DF)处理。在由去块滤波(DF)处理中更新的区块边界各侧的亮度像素最大数量为M,以及色度像素最大数量为N。图8中,编码树单元(CTU)界线805也是区块边界。In order to facilitate the discussion of data dependencies between different loop processing stages, this application introduces a loop filter with boundary parameter correlation. Figure 8 reproduces the relevant processing states of the deblocking filter (Deblocking Filter, DF), sample offset compensation (Sample Adaptive Offset, SAO) and sample filter compensation (Adaptive Loop Filter, ALF) processing in Figure 7, and the loop Filter-related boundary parameters are marked therein. The processing states for the Deblocking Filter (DF), Sample Offset Offset (SAO) and Sample Filter Offset (ALF) are numbered 825, 835 and 845, respectively. Graph 825 shows the DF processing status of the coding tree unit (CTU) X at the end of the DF processing stage. Luma pixels above row 822 (ie, luma DF boundary) and chroma pixels above row 824 (ie, chroma DF boundary) are deblock filtered (DF). The maximum number of luma pixels is M, and the maximum number of chroma pixels is N, on each side of the block boundary updated in the deblocking filtering (DF) process. In FIG. 8, the coding tree unit (CTU) boundary 805 is also a block boundary.

图形835显示编码树单元(CTU)X于样值偏移补偿(SAO)处理阶段末端的样值偏移补偿(SAO)处理状况。行832(即亮度的样值偏移补偿(SAO)边界)上方的亮度像素以及行834(即色度的样值偏移补偿(SAO)边界)上方的色度像素经样值偏移补偿(SAO)处理。基于视频编码标准AVS2提出的样值偏移补偿(SAO)参数边界位移技术,行832与行834对齐。为了避免在各编码树单元(CTU)的处理阶段中发生样值偏移补偿(SAO)参数切换,样值偏移补偿(SAO)参数边界在亮度组分位移(xS,yS),且在色度组分位移(xSC,ySC)。换句话说,对应左上方点为(xC,yC)的编码树单元(CTU),对应亮度组分的样值偏移补偿(SAO)参数的上方边界位移至(yC-yS)、并对应色度组分的样值偏移补偿(SAO)参数的上方边界位移至(yC-ySC)(如图8所绘示)。类似地,样值偏移补偿(SAO)参数边界位移也实施在x方向。起初,高效视频编码(HEVC)的规范下,样值偏移补偿(SAO)参数根据编码树单元(CTU)决定。现有技术中,为了降低样值偏移补偿(SAO)参数切换的运算复杂度,样值偏移补偿(SAO)参数基于已去块滤波(DF)处理后、且准备作样值偏移补偿(SAO)处理的该些像素决定。也就是,现有技术的样值偏移补偿(SAO)参数边界等同于准备好作样值偏移补偿(SAO)处理的已去块滤波(DF)处理的像素边界。准备好作样值偏移补偿(SAO)处理的已去块滤波(DF)处理的像素边界又称样值偏移补偿(SAO)处理边界(processing boundary)。Graph 835 shows the SAO processing status of CTU X at the end of the SAO processing stage. Luma pixels above row 832 (i.e., the sample offset offset (SAO) boundary for luma) and chrominance pixels above row 834 (i.e., the sample offset offset (SAO) boundary for chroma) are sample offset compensated ( SAO) processing. Line 832 is aligned with line 834 based on the sample offset compensation (SAO) parameter boundary displacement technique proposed by the video coding standard AVS2. In order to avoid sample offset compensation (SAO) parameter switching in each coding tree unit (CTU) processing stage, the sample value offset compensation (SAO) parameter boundary is at the luma component displacement (xS, yS), and at the color Degree component displacement (xSC, ySC). In other words, corresponding to the coding tree unit (CTU) whose upper left point is (xC, yC), the upper boundary of the sample value offset compensation (SAO) parameter corresponding to the luma component is shifted to (yC-yS), and corresponding to the color The upper boundary of the sample offset compensation (SAO) parameter of the degree component is shifted to (yC-ySC) (as shown in FIG. 8 ). Similarly, the Sample Offset Offset (SAO) parameter boundary displacement is also implemented in the x direction. Initially, under the High Efficiency Video Coding (HEVC) specification, the Sample Offset Offset (SAO) parameter is determined according to the Coding Tree Unit (CTU). In the prior art, in order to reduce the computational complexity of sample offset compensation (SAO) parameter switching, the sample offset compensation (SAO) parameters are based on deblocking filter (DF) processed and ready for sample offset compensation (SAO) processing of these pixel decisions. That is, prior art SAO parameter boundaries are equivalent to deblocking filtered (DF) processed pixel boundaries ready for SAO processing. A deblocking filter (DF) processed pixel boundary ready for SAO processing is also called a SAO processing boundary.

图形845显示编码树单元(CTU)X于样本滤波补偿(ALF)处理阶段末端的样本滤波补偿(ALF)的处理状况。行842(即亮度的样本滤波补偿(ALF)虚拟边界)上方的亮度像素经样本滤波补偿(ALF)处理。行844(即色度的样本滤波补偿(ALF)虚拟边界)上方的色度像素可经样本滤波补偿(ALF)处理。然而,色度行D无法在编码树单元(CTU)X处理阶段实施色度组分的样本滤波补偿(ALF)处理。对应亮度组分的样本滤波补偿(ALF)虚拟边界为(yC-yV)、对应色度组分的样本滤波补偿(ALF)虚拟边界为(yC-yVC)。其中,yV与yVC分别对应亮度及色度组分的边界垂直位移。对视频编码标准AVS2草案而言,将被更新的亮度以及色度组分的边界像素数量(即M与N)分别为3与2。亮度以及色度组分的样值偏移补偿(SAO)参数边界垂直位移都设为4。另一方面,亮度以及色度组分的样本滤波补偿(ALF)虚拟边界的垂直位移(即yV与yVC)分别设为4与3。Graph 845 shows the ALF processing status of the coding tree unit (CTU) X at the end of the ALF processing stage. Luma pixels above row 842 (ie, the ALF virtual boundary for luma) are ALF processed. Chroma pixels above row 844 (ie, the ALF virtual boundary for chroma) may be ALF processed. However, chroma row D cannot perform sample filter compensation (ALF) processing of chroma components at the coding tree unit (CTU) X processing stage. The sample filter compensation (ALF) virtual boundary corresponding to the luma component is (yC-yV), and the sample filter compensation (ALF) virtual boundary corresponding to the chroma component is (yC-yVC). Among them, yV and yVC respectively correspond to the boundary vertical displacement of luma and chrominance components. For the video coding standard AVS2 draft, the number of boundary pixels (ie, M and N) of the luma and chroma components to be updated are 3 and 2, respectively. The Sample Offset Offset (SAO) parameter Boundary Vertical Offset is set to 4 for both luma and chroma components. On the other hand, the vertical shifts (ie, yV and yVC) of the ALF virtual boundaries of the luma and chrominance components are set to 4 and 3, respectively.

为了同时降低行缓冲器尺寸需求、并降低编码树单元(CTU)处理阶段的样值偏移补偿(SAO)参数切换的运算复杂度,本申请揭露一种样值偏移补偿(SAO)参数边界设定技巧,根据各个目标,水平及垂直方向而位移样值偏移补偿(SAO)参数边界,而有不同的样值偏移补偿(SAO)参数边界以及样值偏移补偿(SAO)处理边界。如前述内容,现有技术中,样值偏移补偿(SAO)参数边界以及样值偏移补偿(SAO)处理边界相同。根据本发明,垂直样值偏移补偿(SAO)参数边界维持等于样值偏移补偿(SAO)处理边界,但水平样值偏移补偿(SAO)参数边界可不同于样值偏移补偿(SAO)处理边界。特别是,样值偏移补偿(SAO)处理边界是根据已去块滤波处理过的像素数据的位置决定。图9描述了根据本发明实施方式的不相等的水平样值偏移补偿(SAO)参数以及处理边界。在一种实施方式中,水平样值偏移补偿(SAO)参数边界912等同编码树单元(CTU)水平边界910。另一方面,水平样值偏移补偿(SAO)处理边界920位于去块边界930上一行。至于水平样值偏移补偿(SAO)处理边界920上方的像素940,其样值偏移补偿(SAO)处理是基于编码树单元(CTU)X的样值偏移补偿(SAO)参数边界内(即其上方)的样值偏移补偿(SAO)参数进行。然而,根据本申请的内容,行D上的像素950也是基于编码树单元(CTU)X的样值偏移补偿(SAO)参数进行样值偏移补偿(SAO)处理,因为像素950位于水平样值偏移补偿(SAO)参数边界912之内(即其上方)。传统样值偏移补偿(SAO)处理中,行D上的像素950是根据编码树单元(CTU)Y的样值偏移补偿(SAO)参数进行样值偏移补偿(SAO)。In order to simultaneously reduce the line buffer size requirements and reduce the computational complexity of sample offset compensation (SAO) parameter switching in the coding tree unit (CTU) processing stage, the present application discloses a sample offset compensation (SAO) parameter boundary Setting skills, according to each target, the horizontal and vertical directions of displacement of the sample offset compensation (SAO) parameter boundary, and there are different sample value offset compensation (SAO) parameter boundaries and sample value offset compensation (SAO) processing boundaries . As mentioned above, in the prior art, the sample offset compensation (SAO) parameter boundary and the sample value offset offset (SAO) processing boundary are the same. According to the present invention, the vertical sample offset offset (SAO) parameter boundary remains equal to the sample offset offset (SAO) processing boundary, but the horizontal sample offset offset (SAO) parameter boundary can be different from the sample offset offset (SAO ) handles boundaries. In particular, the Sample Offset Offset (SAO) processing boundary is determined according to the location of the DF-processed pixel data. Figure 9 depicts unequal horizontal sample offset offset (SAO) parameters and processing boundaries according to an embodiment of the present invention. In one embodiment, the horizontal sample offset offset (SAO) parameter boundary 912 is equivalent to the coding tree unit (CTU) horizontal boundary 910 . On the other hand, a horizontal sample offset offset (SAO) processing boundary 920 is located one row above the deblocking boundary 930 . As for the pixel 940 above the horizontal sample offset offset (SAO) processing boundary 920, its sample offset offset (SAO) processing is based on the sample offset offset (SAO) parameter boundary of the coding tree unit (CTU) X ( That is, the Sample Offset Offset (SAO) parameter above it). However, according to the content of the present application, the pixel 950 on row D is also subjected to sample offset compensation (SAO) processing based on the sample value offset compensation (SAO) parameter of the coding tree unit (CTU) X, because the pixel 950 is located in the horizontal sample Value Offset Compensation (SAO) parameter boundary 912 (ie, above). In traditional sample offset compensation (SAO) processing, the pixel 950 on row D is subjected to sample offset compensation (SAO) according to the sample value offset compensation (SAO) parameter of coding tree unit (CTU) Y.

在以上讨论中,一个影像划分为多个编码树单元,且各编码树单元划分为一个或多个编码单元(CUs)。去块滤波器(DF)、样值偏移补偿(SAO)以及样本滤波补偿(ALF)处理施行在区块边界内,降低区块边界上、或附近的伪像(artifacts)。对其中编码树单元(CTUs)以水平光栅扫描顺序作处理的编码系统而言,编码树单元(CTU,又称区块范围)为边界的去块滤波器(DF)、样值偏移补偿(SAO)以及样本滤波补偿(ALF)处理将需要行缓冲器储存跨编码树单元行(CTU row)边界的信息。然而,影像也可被划分作其他影像单元(如宏块(macroblock)或磁砖状(tile))以作编码处理。影像单元边界(image unit boundary)同样面临编码树单元(CTU)边界面临的行缓冲器议题。In the above discussion, an image is divided into multiple coding tree units, and each coding tree unit is divided into one or more coding units (CUs). Deblocking Filter (DF), Sample Offset Offset (SAO) and Sample Filter Offset (ALF) processes are performed within block boundaries to reduce artifacts on or near block boundaries. For coding systems in which coding tree units (CTUs) are processed in horizontal raster scan order, deblocking filters (DF) bounded by coding tree units (CTUs, also known as block extents), sample offset compensation ( SAO) and sample filter compensation (ALF) processing will require row buffers to store information across coding tree unit row (CTU row) boundaries. However, the image can also be divided into other image units (such as macroblocks or tiles) for encoding processing. Image unit boundaries face the same line buffer issues as coding tree unit (CTU) boundaries face.

上述的样本滤波补偿(ALF)仅为一个例子,本发明可应用在任何空间环路滤波器(spatial loop filter)。例如,具有一组空间环路滤波器参数的二维有限冲激响应(finite impulse response,缩写FIR)滤波器可用于取代样本滤波补偿(ALF)。为了降低空间环路滤波处理的行缓冲器需求,限缩的空间环路滤波边界可用于限制空间环路滤波处理仅使用限缩空间环路滤波边界内经样值偏移补偿(SAO)处理过的数据。例如,限缩的空间环路滤波器边界可位于编码树单元(CTU)边界上方距离y行处。空间环路滤波器实施于限缩的空间环路滤波器边界上方经样值偏移补偿(SAO)处理过的像素,且将仅会使用限缩的空间环路滤波器边界上方经样值偏移补偿(SAO)处理过的像素作为空间环路滤波器的输入。The ALF described above is just an example, and the present invention can be applied to any spatial loop filter. For example, a two-dimensional finite impulse response (FIR) filter with a set of spatial loop filter parameters may be used instead of sample filter compensation (ALF). In order to reduce the line buffer requirements of the spatial loop filter processing, the restricted spatial loop filter boundary can be used to restrict the spatial loop filter processing to only use the sample offset offset (SAO) processed data. For example, the narrowed spatial loop filter boundary may be located a distance y rows above the coding tree unit (CTU) boundary. The spatial loop filter is implemented on the sample offset offset (SAO) processed pixels above the restricted spatial loop filter boundary, and will only use the sample offset offset above the restricted spatial loop filter boundary. The pixels processed by motion compensation (SAO) are used as the input of the spatial loop filter.

图9描述本发明的一种实施方式,水平样值偏移补偿(SAO)参数边界912无须与编码树单元(CTU)水平边界910相同。根据本发明的实施方式,水平样值偏移补偿(SAO)参数边界912可设计在编码树单元(CTU)水平边界910起至水平样值偏移补偿(SAO)处理边界920下一行中任一行。对于编码树单元(CTU)X中水平样值偏移补偿(SAO)处理边界920下方的像素,因为该区像素的样值偏移补偿(SAO)操作是基于编码树单元(CPU)X中的样值偏移补偿(SAO)参数信息,故样值偏移补偿(SAO)操作所需的样值偏移补偿(SAO)参数信息需缓冲储存。然而,在高效视频编码(HEVC)与视频编码标准AVS2中,样值偏移补偿(SAO)参数可编码为向上合并(merge-up)或向左合并(merge-left)语法(syntax),也需要缓冲储存整个编码树单元行(CTU row)的样值偏移补偿(SAO)参数,故储存的样值偏移补偿(SAO)参数可共享。FIG. 9 depicts an embodiment of the present invention in which the horizontal sample offset offset (SAO) parameter boundary 912 need not be the same as the coding tree unit (CTU) horizontal boundary 910 . According to the embodiment of the present invention, the horizontal sample offset compensation (SAO) parameter boundary 912 can be designed in any row from the horizontal boundary 910 of the coding tree unit (CTU) to the next row of the horizontal sample offset compensation (SAO) processing boundary 920 . For the pixels below the horizontal sample offset compensation (SAO) processing boundary 920 in the coding tree unit (CTU) X, because the sample value offset compensation (SAO) operation of the pixels in this area is based on the Sample value offset compensation (SAO) parameter information, so the sample value offset compensation (SAO) parameter information required for the sample value offset compensation (SAO) operation needs to be buffered and stored. However, in High Efficiency Video Coding (HEVC) and video coding standard AVS2, Sample Offset Offset (SAO) parameters can be coded as merge-up or merge-left syntax, and The sample offset offset (SAO) parameters of the entire coding tree unit row (CTU row) need to be buffered and stored, so the stored sample offset offset (SAO) parameters can be shared.

若处理中的视频数据对应彩色视频数据,本案技术可应用在亮度组分与色度组分。在第一种实施例中,水平样值偏移补偿(SAO)参数边界的垂直位移yS与ySC以及样本滤波补偿(ALF)虚拟边界的垂直位移yV与yVC以式(1)以及(2)决定:If the video data being processed corresponds to color video data, the technology in this case can be applied to the luma component and the chrominance component. In the first embodiment, the vertical displacement yS and ySC of the horizontal sample offset compensation (SAO) parameter boundary and the vertical displacement yV and yVC of the sample filter compensation (ALF) virtual boundary are determined by formulas (1) and (2) :

0≤yS<yV=M+1,以及 (1)0≤yS<yV=M+1, and (1)

0≤ySC<yVC=N+1 (2)0≤ySC<yVC=N+1 (2)

行缓冲器需求的主要作用是起于一个编码树单元行至下一编码树单元行的边界环路滤波处理的储存需求。因为一个影像可能很宽,对应的行缓冲器尺寸可能很大。因此,本发明的目标是缩减跨两个编码树单元行(CTU row)之间编码树单元(CTU)边界的环路滤波处理的行缓冲器需求。若对应垂直边界的边界位移对行缓冲器需求有影响,也非常小。亮度与色度组分的样值偏移补偿(SAO)参数边界水平位移xS以及xSC维持与传统方式相同(即,xS=M+1以及xSC=N+1)。当系统以垂直扫描顺序处理图片时,编码树单位栏(CTU column)处理方式同编码树单位行(CTU row)。The main role of the row buffer requirement is to fulfill the storage requirement for the boundary loop filtering process from one CTU row to the next CTU row. Because an image may be very wide, the corresponding line buffer size may be large. Therefore, it is an object of the present invention to reduce the row buffer requirements of the loop filtering process across a coding tree unit (CTU) boundary between two coding tree unit rows (CTU rows). If the boundary displacement corresponding to the vertical boundary has an effect on the row buffer requirements, it is also very small. The SAO parameter boundary horizontal shifts xS and xSC of the luma and chrominance components remain the same as conventional (ie, xS=M+1 and xSC=N+1). When the system processes pictures in vertical scanning order, the CTU column is processed in the same manner as the CTU row.

图10描述了根据本发明的实施方式,其中M=3、N=2、yS=3、ySC=2、yV=4且yVC=3。去块滤波器(DF)、样值偏移补偿(SAO)以及样本滤波补偿(ALF)处理的处理状态分别在图10标号1025、1035以及1045。环路处理边界与图8所示内容部分相同。图10中,同图8参考编号者表示该些环路处理边界相同。图10指示用于亮度与色度组分的样值偏移补偿(SAO)处理边界,亮度组分的样值偏移补偿(SAO)处理的垂直位移(yS’)为4,色度组分的样值偏移补偿(SAO)处理的垂直位移(ySC’)为3。如图10所示,亮度以及色度组分的样值偏移补偿(SAO)参数边界1032以及1034在对应的样值偏移补偿(SAO)处理边界1036以及1038下方一行。FIG. 10 depicts an embodiment according to the invention, where M=3, N=2, yS=3, ySC=2, yV=4 and yVC=3. The processing states of the deblocking filter (DF), sample offset offset (SAO) and sample filter offset (ALF) processes are referenced 1025, 1035 and 1045 in FIG. 10, respectively. The loop processing boundary is partly the same as that shown in Figure 8. In FIG. 10 , the reference numerals in FIG. 8 represent the same loop processing boundaries. Figure 10 indicates the sample offset offset (SAO) processing boundary for the luma and chroma components, the vertical shift (yS') of the sample offset offset (SAO) process for the luma component is 4, and the chroma component The vertical displacement (ySC') of the Sample Offset Offset (SAO) process is 3. As shown in FIG. 10 , SAO parameter boundaries 1032 and 1034 for luma and chroma components are one row below corresponding SAO processing boundaries 1036 and 1038 .

样值偏移补偿(SAO)参数边界水平方向的位移等于样值偏移补偿(SAO)处理边界。例如,亮度以及色度组分的样值偏移补偿(SAO)参数边界水平位移xS以及xSC与样值偏移补偿(SAO)处理边界水平方向的位移相同。The displacement in the horizontal direction of the sample value offset compensation (SAO) parameter boundary is equal to the sample value offset compensation (SAO) processing boundary. For example, the horizontal displacement xS and xSC of the sample value offset compensation (SAO) parameter boundary of luma and chrominance components is the same as the horizontal displacement of the sample value offset compensation (SAO) processing boundary.

在第二种实施方式中,样值偏移补偿(SAO)参数边界垂直位移yS以及ySC以及样本滤波补偿(ALF)虚拟边界垂直位移yV以及yVC是根据式(3)决定:In the second embodiment, the sample value offset compensation (SAO) parameter boundary vertical displacement yS and ySC and the sample filter compensation (ALF) virtual boundary vertical displacement yV and yVC are determined according to formula (3):

0≤yS=ySC<yV=yVC=MAX(M,N)+1 (3)0≤yS=ySC<yV=yVC=MAX(M,N)+1 (3)

换句话说,亮度以及色度组分的样值偏移补偿(SAO)参数边界相同,使内存存取行为一致。亮度以及色度组分的样本滤波补偿(ALF)虚拟边界也相同。此外,样本滤波补偿(ALF)虚拟边界位于样值偏移补偿(SAO)参数边界上方至少一行。In other words, the sample offset offset (SAO) parameter boundaries for luma and chroma components are the same, making memory access behavior consistent. The sample filter compensation (ALF) virtual boundaries for luma and chroma components are also the same. Additionally, the Sample Filter Offset (ALF) virtual boundary is located at least one row above the Sample Offset Offset (SAO) parameter boundary.

图11描述了根据本发明的实施方式,其中M=3、N=2、yS=ySC=2、yV=VC=4。去块滤波器(DF)、样值偏移补偿(SAO)以及样本滤波补偿(ALF)处理的处理状态分别在图11标号1125、1135以及1145。环路处理边界与图8所示内容部分相同。图11中,与图8相同的参考编号者表示相同的环路处理边界。图11也描述用于亮度与色度组分的样值偏移补偿(SAO)处理边界,亮度组分与色度组分的样值偏移补偿(SAO)处理边界垂直位移(即标号为yS’与ySC’)为4。如图11所示,亮度以及色度组分的样值偏移补偿(SAO)参数边界1132以及1134位在对应的样值偏移补偿(SAO)处理边界1136以及1138下方距离两行之处。图中进一步标示亮度以及色度组分的样本滤波补偿(ALF)虚拟边界1142以及1044。FIG. 11 depicts an embodiment according to the present invention, where M=3, N=2, yS=ySC=2, yV=VC=4. The processing states of the deblocking filter (DF), sample offset offset (SAO) and sample filter offset (ALF) processes are referenced 1125, 1135 and 1145 in FIG. 11, respectively. The loop processing boundary is partly the same as that shown in Figure 8. In FIG. 11, the same reference numerals as in FIG. 8 denote the same loop processing boundaries. Figure 11 also depicts the sample value offset compensation (SAO) processing boundary for the luma and chroma components, the vertical displacement of the sample value offset compensation (SAO) processing boundary of the luma component and the chrominance component (that is, labeled yS 'with ySC') is 4. As shown in FIG. 11 , SAO parameter boundaries 1132 and 1134 for the luma and chroma components are located two rows below corresponding SAO processing boundaries 1136 and 1138 . The figure further indicates sample filter compensation (ALF) virtual boundaries 1142 and 1044 for luma and chrominance components.

水平方向的样值偏移补偿(SAO)参数边界等于水平方向的样值偏移补偿(SAO)处理边界。例如,亮度以及色度组分的样值偏移补偿(SAO)参数边界水平位移xS以及xSC可设定为xS=xSC=MAX(M,N)+1。The sample offset offset (SAO) parameter boundary in the horizontal direction is equal to the sample offset offset (SAO) processing boundary in the horizontal direction. For example, the sample value offset compensation (SAO) parameters boundary horizontal displacement xS and xSC of luma and chrominance components can be set as xS=xSC=MAX(M,N)+1.

在样值偏移补偿(SAO)处理中,当前编码树单元(CTU)处理边界中的像素数据可用于稍后的样值偏移补偿(SAO)处理。例如,图9行D是在编码树单元(CTU)Y的管线级(pipeline stage)处理。行D的样值偏移补偿(SAO)处理将需要行C的数据;所述行C数据是在编码树单元(CTU)X的样值偏移补偿(SAO)处理阶段中处理。如前述内容,样值偏移补偿(SAO)分类处理将中央像素数据与两个个别的相邻像素进行比较。比较结果判断该中央像素是否大于、小于或等于选择的相邻像素。据此,样值偏移补偿(SAO)操作模块可预处理行C与行D之间的比较行为,并储存其结果(即,”>”、”<”或”=”)。因为未对齐的样值偏移补偿(SAO)参数边界以及处理边界会使得行D将同行C采用同样的样值偏移补偿(SAO)参数作样值偏移补偿(SAO)处理,比较结果在编码树单元(CTU)X的管线级处理对行C作样值偏移补偿(SAO)处理时即可得。In sample offset compensation (SAO) processing, pixel data in the current coding tree unit (CTU) processing boundary can be used for later sample offset compensation (SAO) processing. For example, row D of FIG. 9 is processed at the pipeline stage of coding tree unit (CTU) Y. The sample offset offset (SAO) processing of row D will require the data of row C; the row C data is processed in the sample offset offset (SAO) processing stage of coding tree unit (CTU) X. As previously discussed, the sample offset offset (SAO) classification process compares the central pixel data with two individual neighboring pixels. The comparison result determines whether the central pixel is greater than, less than or equal to the selected adjacent pixels. Accordingly, the sample offset compensation (SAO) operation module can preprocess the comparison between row C and row D and store the result (ie, ">", "<" or "="). Because the unaligned sample offset compensation (SAO) parameter boundaries and processing boundaries will cause row D to use the same sample value offset compensation (SAO) parameters for row C to perform sample offset compensation (SAO) processing, the comparison results are in The pipeline-level processing of coding tree unit (CTU) X is obtained when row C is sampled offset offset (SAO) processed.

像素行C以及相邻像素行D之间的比较结果可逐一像素由二比特数据代表,以标示三种比较结果之一。相较一般为8位或更多位的完整像素储存,所述二比特符号数据的数据量较低。据此,行缓冲器成本可大大地调降。The comparison result between the pixel row C and the adjacent pixel row D can be represented by two-bit data for each pixel to indicate one of three comparison results. The two-bit symbol data is relatively low in data size compared to full pixel storage, which is typically 8 or more bits. Accordingly, the cost of the line buffer can be greatly reduced.

以上揭露的环路滤波处理边界设计可用于解决包括去块滤波器(DF)、样值偏移补偿(SAO)以及样本滤波补偿(ALF)处理的视频系统(如视频编码标准AVS2)的数据依赖状况引发的大量的行缓冲器需求。本发明也可施行在任何包括去块滤波器(DF)、样值偏移补偿(SAO)以及样本滤波补偿(ALF)处理的高阶视频编码系统。The loop filter processing boundary design disclosed above can be used to solve the data dependence of the video system (such as the video coding standard AVS2) including deblocking filter (DF), sample value offset compensation (SAO) and sample filter compensation (ALF) processing. The condition causes a large row buffer requirement. The present invention can also be implemented in any high-order video coding system including deblocking filter (DF), sample offset compensation (SAO) and sample filter compensation (ALF) processing.

表格2比较视频编码标准AVS2以及本发明实施例的行缓冲器需求。如前述内容,以上所有实施方式对亮度与色度组分各需要三行储存数据,用作去块滤波(DF)。对样值偏移补偿(SAO)处理,所有系统都需要对亮度与色度组分储存行C与行D数据。然而,替代行C像素数据的储存,可通过储存行C与行D之间的比较结果来降低储存需求。如前述内容,各比较结果仅需要用两比特储存。根据传统视频编码标准AVS2,六行的样值偏移补偿(SAO)结果将储存作色度组分的样本滤波补偿(ALF)处理。包括本发明任何实施方式的系统可解决以六行缓冲器储存色度组分样本滤波补偿(ALF)处理的需求。对应传统视频编码标准AVS2、第一实施例以及第二实施例,去块滤波器(DF)、样值偏移补偿(SAO)以及样本滤波补偿(ALF)所需要的行缓冲器总数分别为16、7.5与8.5。通过储存样值偏移补偿(SAO)处理涉及的比较结果的符号,两个实施例都达到额外的存储空间精简效果。换句话说,第一与第二实施例可分别缩减8.5与7.5条行缓冲器。在表2例子中,传统视频编码标准AVS2的样本滤波补偿(ALF)色度虚拟边界为yC-3,样值偏移补偿(SAO)位移像素量(由参数SAO_SHIFT_PIX_NUM表达)为4;第一实施例对应图9内容;且第二实施例对应图10内容。Table 2 compares the line buffer requirements of the video coding standard AVS2 and the embodiment of the present invention. As stated above, all of the above embodiments require three rows of stored data for each of the luma and chrominance components for deblocking filtering (DF). For sample offset compensation (SAO) processing, all systems need to store line C and line D data for the luma and chrominance components. However, instead of storing row C pixel data, storage requirements can be reduced by storing the comparison result between row C and row D. As mentioned above, each comparison result only needs to be stored with two bits. According to the conventional video coding standard AVS2, the sample offset offset (SAO) results of the six lines will be stored as the sample filter offset (ALF) process of the chroma component. A system incorporating any of the embodiments of the present invention can address the need to store chroma component sample filter compensation (ALF) processing in a six-line buffer. Corresponding to the traditional video coding standard AVS2, the first embodiment and the second embodiment, the total number of line buffers required by the deblocking filter (DF), sample value offset compensation (SAO) and sample filter compensation (ALF) is 16 respectively , 7.5 and 8.5. Both embodiments achieve additional memory compaction by storing the sign of the comparison result involved in the sample offset offset (SAO) process. In other words, the first and second embodiments can reduce 8.5 and 7.5 line buffers, respectively. In the example of Table 2, the sample filter compensation (ALF) chroma virtual boundary of the traditional video coding standard AVS2 is yC-3, and the sample offset compensation (SAO) displacement pixel amount (expressed by the parameter SAO_SHIFT_PIX_NUM) is 4; the first implementation The example corresponds to the content in FIG. 9 ; and the second embodiment corresponds to the content in FIG. 10 .

表格2Form 2

图12描述了包括本发明实施方式的视频编码系统的流程图,所述视频系统系对齐环路滤波器相关边界,以降低行缓冲器需求。步骤1210,视频系统接收对应一个影像单元的重建视频数据。重建的视频数据可取自存储器(例如,计算机存储器、缓冲器(随机存取内存(RAM)或动态随机存取内存(DRAM)或其他媒体),或取自处理器。去块滤波(DF)处理接着在步骤1220施行于重建像素。去块滤波(DF)处理修正两个影像单元之间的影像单元边界对应的水平边界各侧多达m个像素。步骤1230,基于一个或多个样值偏移补偿(SAO)参数,样值偏移补偿(SAO)处理施行在当前影像单元中去块滤波(DF)处理过的像素。当前影像单元的样值偏移补偿(SAO)参数边界内的全部或部分像素共享同样的样值偏移补偿(SAO)参数。当前影像单元的垂直样值偏移补偿(SAO)参数边界自当前影像单元的垂直边界向左位移xs行,且当前影像单元的水平样值偏移补偿(SAO)参数边界自当前影像单元的水平边界向上位移ys行。步骤1240,根据一个或多个空间环路滤波器参数,对当前影像单元的空间环路滤波器的限缩边界上方经样值偏移补偿(SAO)处理过的像素施行空间环路滤波处理,其中自当前影像单元的底边向上位移yV行获得所述当前影像单元的空间环路滤波器的限缩边界。为了降低行缓冲器需求且/或减少环路滤波处理切换,环路滤波器相关边界根据正整数m、xs、ys以及yv设定,xs大于m,ys大于或等于0、且ys小于yv,且yv根据m设定(如步骤1250所示)。Figure 12 depicts a flow diagram of a video encoding system incorporating an embodiment of the present invention that aligns loop filter correlation boundaries to reduce line buffer requirements. Step 1210, the video system receives reconstructed video data corresponding to one image unit. The reconstructed video data can be taken from memory (e.g., computer memory, a buffer (random access memory (RAM) or dynamic random access memory (DRAM) or other media), or from a processor. Deblocking filtering (DF) Processing is then performed on the reconstructed pixels at step 1220. The deblocking filtering (DF) process corrects up to m pixels on each side of the horizontal boundary corresponding to the image unit boundary between the two image units. Step 1230, based on one or more samples Offset compensation (SAO) parameters, sample value offset compensation (SAO) processes pixels processed by deblocking filter (DF) in the current image unit. Within the boundary of the sample value offset compensation (SAO) parameter of the current image unit All or part of the pixels share the same sample value offset compensation (SAO) parameter. The vertical sample value offset compensation (SAO) parameter boundary of the current image unit is shifted to the left by xs lines from the vertical boundary of the current image unit, and the current image unit’s Horizontal Sample Offset Compensation (SAO) parameter boundary shifts ys rows upwards from the horizontal boundary of the current image unit.Step 1240, according to one or more spatial loop filter parameters, the limit of the spatial loop filter of the current image unit The pixels processed by Sample Offset Compensation (SAO) above the shrinkage boundary are subjected to spatial loop filter processing, wherein the bottom edge of the current image unit is shifted upward by yV lines to obtain the shrinkage of the spatial loop filter of the current image unit Boundary. In order to reduce line buffer requirements and/or reduce loop filter processing switching, loop filter related boundaries are set according to positive integers m, xs, ys, and yv, where xs is greater than m, ys is greater than or equal to 0, and ys is less than yv, and yv is set according to m (as shown in step 1250).

上面所示的流程图旨在根据本发明来说明环路滤波处理的例子。本领域的技术人员可以修改各步骤,重新排列步骤顺序,分割步骤,或结合步骤来实施本发明而不脱离本发明的精神实质。在本公开,特定的语法和语义已被用来说明实施例。本领域技术人员可通过等效替换语法和语义不脱离本发明的精神的前提实施本发明。The flowchart shown above is intended to illustrate an example of loop filtering processing according to the present invention. Those skilled in the art can modify the steps, rearrange the order of the steps, divide the steps, or combine the steps to implement the present invention without departing from the spirit of the present invention. In this disclosure, specific syntax and semantics have been used to describe the embodiments. Those skilled in the art can implement the present invention by substituting equivalent syntax and semantics without departing from the spirit of the present invention.

以上说明使本技术领域人员得以依照所揭露的特定应用的内文以及条件实现本发明。本案技术人员当可以多种方式变动以上实施例内容,且本说明书定义的一般原则可能应用在其他实施例中。因此,本案并不意图限定于以上显示与描述的特定实施例,而应符合所描述的原理以及新颖特征授予最广范围。以上详细说明中,多种具体细节的描述用于帮助彻底理解本案。本领域技术人员应理解本发明可以实践。The above description enables those skilled in the art to practice the present invention in accordance with the disclosed context and conditions of specific applications. Those skilled in the art may change the content of the above embodiments in various ways, and the general principles defined in this specification may be applied in other embodiments. Therefore, the present invention is not intended to be limited to the particular embodiments shown and described above, but is to be accorded the widest scope consistent with the principles and novel features described. In the above detailed description, descriptions of various specific details are used to help a thorough understanding of this case. Those skilled in the art will understand that the present invention can be practiced.

如上述的本发明的实施例可由各种硬件、软件代码、或两者的组合来实现。例如,一个本发明的实施例可以是一个或一个以上电子电路集成到一个视频压缩芯片、或程序代码集成到视频压缩软件来执行此处描述的处理程序。本发明的一个实施方案也可以是程序代码,由数字信号处理器(DSP)执行,以执行本文描述的处理程序。本案也可能涉及若干数量的功能方快,由计算器处理器、数字信号处理器、微处理器、或场效可编程逻辑数组(FPGA)执行。这些处理器可根据本案被配置来执行特定任务,其中执行机器可读软件代码、或执行定义由本发明所体现的具体方法的固件代码。软件代码或固件代码可由不同的编程语言和不同的格式或样式开发。该软件代码也针对不同的目标平台作编译。然而,根据本案技术执行任务的不同的编码格式,风格和软件代码语言和其他编码装置将不脱离本发明的精神和范围。The embodiments of the present invention as described above can be realized by various hardware, software codes, or a combination of both. For example, an embodiment of the present invention may be that one or more electronic circuits are integrated into a video compression chip, or program codes are integrated into video compression software to execute the processes described herein. An embodiment of the present invention may also be program code, executed by a digital signal processor (DSP), to perform the processing routines described herein. This case may also involve a number of functional blocks implemented by computer processors, digital signal processors, microprocessors, or field-effect programmable logic arrays (FPGAs). These processors may be configured to perform specific tasks according to the present invention, by executing machine-readable software code, or by executing firmware code that defines specific methods embodied by the invention. Software code or firmware code may be developed in different programming languages and in different formats or styles. The software code is also compiled for different target platforms. However, different coding formats, styles, and software code languages and other coding means for performing tasks according to the present technology will not depart from the spirit and scope of the present invention.

在不脱离本发明精神或本质特征的情况下,可以其他特定形式实施本发明。描述示例被认为仅在所有方面进行说明并且不是限制性的。因此,本发明的范围由权利要求书指示,而非前面描述。所有在权利要求等同的方法与范围中的变化都属于本发明的涵盖范围。The present invention may be embodied in other specific forms without departing from the spirit or essential characteristics of the inventions. The described examples are considered to be illustrative in all respects only and not restrictive. Accordingly, the scope of the invention is indicated by the claims rather than the foregoing description. All changes within the methods and ranges equivalent to the claims belong to the scope of the present invention.

Claims (26)

1. a kind of method of loop filtering processing, it is characterised in that methods described is entered for video coding system Row rebuilds video data, and above-mentioned reconstruction video data is divided into multiple image units, and methods described includes:
Receive the reconstruction video data of image unit;
To rebuild pixel implement block elimination filtering processing, wherein, block elimination filtering processing two image units it Between the corresponding horizontal end in image unit border each side correct up to m pixel;
According to one or more sample value migration parameters, to being handled in current image unit through block elimination filtering The pixel crossed carries out the sample value migration parameter side of sample value migration processing, wherein current image unit All or part of pixel in boundary shares same said one or multiple sample value migration parameters, wherein The vertical sample value migration bound of parameter of current image unit by current image unit vertical boundary to the left Displacement x s rows, and current image unit horizontal sample value migration bound of parameter by current image unit Horizontal boundary shifts up ys rows;And
According to one or more space loop filter parameters to hollow loop filter of current image unit Limit the pixel that sample value migration has been treated above border and make space loop filtering process, wherein when The space loop filter of preceding image unit limits border and shifts up yv from the base of current image unit OK;
Wherein, m, xs, ys and yv are positive integer, and xs is more than m, and ys is more than or equal to 0, and ys Less than yv, and yv is set according to m.
2. the method for loop filtering processing according to claim 1, it is characterised in that each shadow As unit one code tree unit of correspondence.
3. the method for loop filtering processing according to claim 1, it is characterised in that above-mentioned space Loop filtering processing correspondence adaptive loop filter processing.
4. the method for loop filtering processing according to claim 1, it is characterised in that above-mentioned reconstruction Video data is included at luma component and chrominance components, above-mentioned block elimination filtering processing, sample value migration Reason and space loop filtering process point luma component and chrominance components are carried out, the above-mentioned m each used Value is marked as M and N, and the above-mentioned xs each used is marked as xS and xSC, the above-mentioned ys each used Marked as yS and ySC, and the above-mentioned yv each used is marked as yV and yVC.
5. the method method of loop filtering according to claim 4 processing, it is characterised in that yS with YSC is equal to 0.
6. the method for loop filtering processing according to claim 4, it is characterised in that yV is more than M and yVC are more than N.
7. the method for loop filtering processing according to claim 6, it is characterised in that yV is equal to (M+1) and yVC be equal to (N+1).
8. the method for loop filtering processing according to claim 7, it is characterised in that M is equal to 3 And N is equal to 2.
9. the method for loop filtering processing according to claim 4, it is characterised in that yS is equal to YSC, yV are equal to yVC, and yVC is more than MAX (M, N).
10. the method for loop filtering processing according to claim 9, it is characterised in that yV and yVC Equal to MAX (M, N)+1.
11. the method for loop filtering processing according to claim 10, it is characterised in that M is equal to 3 and N is equal to 2.
12. the method for loop filtering processing according to claim 1, it is characterised in that further By the current pixel of the current line handled in the currently processed stage of current image unit and subsequent processing rank Symbol data obtained by the comparison of the adjacent pixel of the adjacent lines handled in section is stored, above-mentioned symbolic number According to corresponding to " being more than ", " being less than " or " being equal to ".
13. the method for loop filtering processing according to claim 12, it is characterised in that above-mentioned symbol Number is stored with two bits.
14. a kind of device of loop filtering processing, it is characterised in that described device is entered for video coding system Row rebuilds video data, and above-mentioned reconstruction video data is divided into multiple code tree units, and described device bag Include:
One or more electronic circuits, are coupled to line buffer, and be configured as:
Receive the reconstruction video data of image unit;
To rebuild pixel implement block elimination filtering processing, wherein, block elimination filtering processing two image units it Between the corresponding horizontal end in image unit border each side correct up to m pixel;
According to one or more sample value migration parameters, to being handled in current image unit through block elimination filtering The pixel crossed carries out the sample value migration parameter side of sample value migration processing, wherein current image unit All or part of pixel in boundary shares same said one or multiple sample value migration parameters, wherein The vertical sample value migration bound of parameter of current image unit by current image unit vertical boundary to the left Displacement x s rows, and current image unit horizontal sample value migration bound of parameter by current image unit Horizontal boundary shifts up ys rows;And
According to one or more space loop filter parameters to hollow loop filter of current image unit Limit the pixel that sample value migration has been treated above border and make space loop filtering process, wherein when The space loop filter of preceding image unit limits border and shifts up yv from the base of current image unit OK;
Wherein, m, xs, ys and yv are positive integer, and xs is more than m, and ys is more than or equal to 0 and small In yv, and yv is set according to m.
15. the device of loop filtering processing according to claim 14, it is characterised in that each Image unit one code tree unit of correspondence.
16. the device of loop filtering processing according to claim 14, it is characterised in that above-mentioned sky Between loop filtering processing correspondence adaptive loop filter processing.
17. the device of loop filtering processing according to claim 14, it is characterised in that above-mentioned heavy Building video data report includes luma component and chrominance components, and above-mentioned block elimination filtering processing, sample value skew are mended Repay processing and space loop filtering process point luma component and chrominance components are carried out, what is each used is upper M values are stated marked as M and N, the above-mentioned xs each used is marked as xS and xSC, and what is each used is upper Ys is stated marked as yS and ySC, and the above-mentioned yv each used is marked as yV and yVC.
18. the device of loop filtering according to claim 17 processing, it is characterised in that yS with YSC is equal to 0.
19. the device of loop filtering processing according to claim 17, it is characterised in that yV is big It is more than N in M and yVC.
20. the device of loop filtering processing according to claim 19, it is characterised in that yV etc. It is equal to (N+1) in (M+1) and yVC.
21. the device of loop filtering processing according to claim 20, it is characterised in that M is equal to 3 and N is equal to 2.
22. the device of loop filtering processing according to claim 17, it is characterised in that yS is equal to YSC, yV are equal to yVC and yVC is more than MAX (M, N).
23. the device of loop filtering according to claim 22 processing, it is characterised in that yV with YVC is equal to MAX (M, N)+1.
24. the device of loop filtering processing according to claim 23, it is characterised in that M is equal to 3 and N is equal to 2.
25. the device of loop filtering processing according to claim 14, it is characterised in that current shadow As unit the currently processed stage in the current pixel of current line that handles with being handled in subsequent processing stage Adjacent lines adjacent pixel comparison obtained by symbol data be stored, above-mentioned symbol data correspondence " More than ", " be less than " or " be equal to ".
26. the device of loop filtering processing according to claim 25, it is characterised in that above-mentioned symbol Number is stored with two bits.
CN201610162343.7A 2016-02-04 2016-03-22 Loop filtering method and loop filtering device Withdrawn CN107040778A (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
US15/015,552 US20160241881A1 (en) 2015-02-13 2016-02-04 Method and Apparatus of Loop Filters for Efficient Hardware Implementation
US15/015,552 2016-02-04

Publications (1)

Publication Number Publication Date
CN107040778A true CN107040778A (en) 2017-08-11

Family

ID=59532170

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610162343.7A Withdrawn CN107040778A (en) 2016-02-04 2016-03-22 Loop filtering method and loop filtering device

Country Status (1)

Country Link
CN (1) CN107040778A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020043192A1 (en) * 2018-08-31 2020-03-05 Mediatek Inc. Method and apparatus of in-loop filtering for virtual boundaries in video coding
US11089335B2 (en) 2019-01-14 2021-08-10 Mediatek Inc. Method and apparatus of in-loop filtering for virtual boundaries
US11094088B2 (en) 2018-08-31 2021-08-17 Mediatek Inc. Method and apparatus of in-loop filtering for virtual boundaries in video coding
CN113489984A (en) * 2021-05-25 2021-10-08 杭州博雅鸿图视频技术有限公司 Sample adaptive compensation method and device of AVS3, electronic equipment and storage medium
CN114731399A (en) * 2019-11-22 2022-07-08 韩国电子通信研究院 Adaptive in-loop filtering method and device
US11765349B2 (en) 2018-08-31 2023-09-19 Mediatek Inc. Method and apparatus of in-loop filtering for virtual boundaries

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103238318A (en) * 2010-11-02 2013-08-07 联发科技股份有限公司 Method and apparatus for band edge filtering for high efficiency video coding
US20130322523A1 (en) * 2011-05-10 2013-12-05 Mediatek Inc. Method and apparatus for reduction of in-loop filter buffer
CN103843350A (en) * 2011-10-14 2014-06-04 联发科技股份有限公司 Loop filtering method and device
CN103891277A (en) * 2011-10-14 2014-06-25 联发科技股份有限公司 Loop filtering method and device
CN104067245A (en) * 2012-08-03 2014-09-24 联发科技股份有限公司 Video processing system using shared/configurable loop filter data buffer architecture and related video processing method
CN104584561A (en) * 2012-08-06 2015-04-29 联发科技股份有限公司 Sampling adaptive offset processing method and device applied in video decoder
CN104823446A (en) * 2012-12-06 2015-08-05 索尼公司 Image processing device, image processing method, and program

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103238318A (en) * 2010-11-02 2013-08-07 联发科技股份有限公司 Method and apparatus for band edge filtering for high efficiency video coding
US20130322523A1 (en) * 2011-05-10 2013-12-05 Mediatek Inc. Method and apparatus for reduction of in-loop filter buffer
CN103843350A (en) * 2011-10-14 2014-06-04 联发科技股份有限公司 Loop filtering method and device
CN103891277A (en) * 2011-10-14 2014-06-25 联发科技股份有限公司 Loop filtering method and device
CN104067245A (en) * 2012-08-03 2014-09-24 联发科技股份有限公司 Video processing system using shared/configurable loop filter data buffer architecture and related video processing method
CN104584561A (en) * 2012-08-06 2015-04-29 联发科技股份有限公司 Sampling adaptive offset processing method and device applied in video decoder
CN104823446A (en) * 2012-12-06 2015-08-05 索尼公司 Image processing device, image processing method, and program

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
ESENLIK S ET AL: "《Grid displacements for in-loop filtering》", 《JOINT COLLABORATIVE TEAM ON VIDEO CODING (JCT-VC)》 *

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020043192A1 (en) * 2018-08-31 2020-03-05 Mediatek Inc. Method and apparatus of in-loop filtering for virtual boundaries in video coding
US11094088B2 (en) 2018-08-31 2021-08-17 Mediatek Inc. Method and apparatus of in-loop filtering for virtual boundaries in video coding
US11765349B2 (en) 2018-08-31 2023-09-19 Mediatek Inc. Method and apparatus of in-loop filtering for virtual boundaries
US11089335B2 (en) 2019-01-14 2021-08-10 Mediatek Inc. Method and apparatus of in-loop filtering for virtual boundaries
CN114731399A (en) * 2019-11-22 2022-07-08 韩国电子通信研究院 Adaptive in-loop filtering method and device
CN113489984A (en) * 2021-05-25 2021-10-08 杭州博雅鸿图视频技术有限公司 Sample adaptive compensation method and device of AVS3, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
US10306246B2 (en) Method and apparatus of loop filters for efficient hardware implementation
US20160241881A1 (en) Method and Apparatus of Loop Filters for Efficient Hardware Implementation
EP2708027B1 (en) Method and apparatus for reduction of in-loop filter buffer
JP7350082B2 (en) Loop filtering method, apparatus and computer storage medium
TWI751623B (en) Method and apparatus of cross-component adaptive loop filtering with virtual boundary for video coding
US10009612B2 (en) Method and apparatus for block partition of chroma subsampling formats
CN103947208B (en) Method and device for reducing deblocking filter
CN104303506B (en) Device and method for processing adaptive sampling point offset of video data
US8913656B2 (en) Method and apparatus for in-loop filtering
KR102755171B1 (en) Method and device for nonlinear adaptive loop filtering in video coding
RU2589341C2 (en) Size of element of icon in video coding
CN107040778A (en) Loop filtering method and loop filtering device
US9344717B2 (en) Method and apparatus for sample adaptive offset in a video decoder
TWI507019B (en) Method and apparatus for decoding video data
US20220021895A1 (en) Method and device for video coding using various transform techniques
CN103051892B (en) Embedded loop filtering method and embedded loop filtering device
MX2012001649A (en) Apparatus and method for deblocking filtering image data and video decoding apparatus and method using the same.
EP2880861B1 (en) Method and apparatus for video processing incorporating deblocking and sample adaptive offset
US20200021849A1 (en) Devices and methods for video coding
WO2020136987A1 (en) Video encoding device, video encoding method, video encoding program, video decoding device, video decoding method, and video decoding program
TW202420813A (en) Method and apparatus for adaptive loop filter with tap constraints for video coding

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
WW01 Invention patent application withdrawn after publication
WW01 Invention patent application withdrawn after publication

Application publication date: 20170811