WO2013064112A1 - Method and device of video image filtering process - Google Patents

Method and device of video image filtering process Download PDF

Info

Publication number
WO2013064112A1
WO2013064112A1 PCT/CN2012/084070 CN2012084070W WO2013064112A1 WO 2013064112 A1 WO2013064112 A1 WO 2013064112A1 CN 2012084070 W CN2012084070 W CN 2012084070W WO 2013064112 A1 WO2013064112 A1 WO 2013064112A1
Authority
WO
WIPO (PCT)
Prior art keywords
parameter
aps
video
alf
identifier
Prior art date
Application number
PCT/CN2012/084070
Other languages
French (fr)
Chinese (zh)
Inventor
张新峰
马思伟
杨名远
Original Assignee
华为技术有限公司
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
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Publication of WO2013064112A1 publication Critical patent/WO2013064112A1/en

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/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/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/46Embedding additional information in the video signal during the compression process

Definitions

  • the present invention relates to video codec technology in the field of digital signal processing technology, and more particularly to a video image filtering processing method and apparatus. Background technique
  • voice, image, audio, and video transmissions have a wide range of application requirements, such as mobile phone calls, audio and video conferencing, broadcast television, multimedia entertainment, and the like.
  • video on demand, Internet TV, videophone, etc. have become the main business of broadband networks, and these services will become the main business of the 3G (the 3rd generation) wireless network.
  • the video signal is compressed and processed at the transmitting end and transmitted to the receiving end, and the receiving end recovers the video signal and plays it by decompressing.
  • a video encoding method generally divides a video image into a plurality of video frames, each video frame is further divided into a plurality of slices (video strips), and each slice is encoded, and the decoding end decodes the information, and then Composite into a video frame.
  • ALF Adaptive Loop Filter
  • SAO Sample Adaptive Offset
  • the ALF technique refers to training multiple sets of filter parameters by decoding the reconstructed image and the original input image, filtering the coded reconstructed image, improving the reconstructed image quality, and improving the motion compensation prediction performance inside the coding loop, thereby improving the coding. effectiveness.
  • the SA0 technology classifies the pixels of the decoded reconstructed image according to the edge information and the intensity information, and improves the quality of the reconstructed image by correcting each type of pixel by using the pixel adaptive offset parameter, and passes through the coding loop. Improve motion compensation prediction performance, and thus improve coding efficiency.
  • ALF and SA0 need to record more side information at the slice level, such as ALF filter coefficients, SA0 offset values, and so on. Because of the large correlation between image space and time, the ALF/SA0 parameters between different slices also have a large correlation. If you simply write these parameters in In the S ice header, when each frame has multiple SI ices, the parameters occupy more code rates and there is greater redundancy between them. Summary of the invention
  • An object of the embodiments of the present invention is to provide a video image filtering processing method and apparatus, which improve the flexibility of selecting a filtering parameter in a video encoding process.
  • a video image filtering processing method including: receiving a video stripe encoded code stream;
  • the number of APS identifiers is the same as the number of filter parameters
  • the video strip is filtered using the at least two filter parameters.
  • a video image filtering processing apparatus including: a receiving unit, configured to receive a video stripe encoded code stream;
  • An extracting unit configured to obtain an identifier of at least two APSs from a video stripe header, where the at least two APSs are used to store at least two filter parameters, where each ASP stores at least two filter parameters,
  • the number of the APS identifiers in the video stripe header is the same as the number of the filter parameters;
  • the parameter obtaining unit is configured to obtain the at least two filter parameters according to the at least two APS identifiers respectively;
  • a filtering unit configured to filter the video strip by using the at least two filter parameters.
  • at least two filter parameters are stored in the APS, and the parameters of the APS of the at least two filter parameters corresponding to the video strip are stored in the header of the video stripe, because at least one video stripe header includes at least Two APS identifiers can be obtained by different filter parameters from different APSs during decoding to improve the flexibility of filter parameter selection, thereby improving video coding efficiency.
  • 1 is a sequence diagram of a video code stream
  • FIG. 2 is a schematic flowchart of a video image filtering processing method according to an embodiment of the present invention
  • FIG. 3 is a schematic flowchart of another embodiment of a video image filtering processing method according to the present invention.
  • FIG. 5 is a schematic flowchart of another embodiment of a video image filtering processing method according to the present invention
  • FIG. 6 is a schematic structural diagram of an embodiment of a video image filtering processing apparatus according to the present invention
  • FIG. 7 is a video image filtering processing provided by the present invention
  • FIG. 8 is a schematic structural diagram of another embodiment of a video image filtering processing apparatus according to the present invention.
  • video codecs are widely used in various electronic devices, such as: mobile phones, wireless devices, personal data assistants (PDAs), handheld or portable computers, GPS receivers/navigators, cameras, video playback. , camera, video recorder, monitoring equipment, etc.
  • PDAs personal data assistants
  • video encoder or decoder can be directly implemented by a digital circuit or a chip such as a DSP ( dig i ta ls igna l proces sor ), or the processor can be driven by software code. Implemented by executing the process in the software code.
  • DSP dig i ta ls igna l proces sor
  • APS Adaptation Parameter Set
  • the technology stores the ALF and SA0 parameters into a given APS.
  • Each APS is identified by a specific aps_id, and each alice header is written with aps_id used by the current slice, thus flexibly implementing ALF and SA0.
  • the reuse of airspace and time domain parameters effectively reduces the redundancy of ALF and SA0 parameters.
  • a sequence of video streams is processed in units of frames, and a video stream of each frame includes SPS (Sequence Parameter Set), PPS (Picture Parameter Set) , image parameter set), multiple APS and multiple video stripe information.
  • the header information of the video stripe includes an aps_id indicating the APS identifier of the ALF and SA0 parameters corresponding to the video stripe.
  • the decoding end parses the sps, pps, sps, and Slice information, reconstructs the image according to the decoded information, obtains the ALF and SA0 parameters through the APS corresponding to the aps_id, and filters the reconstructed image by the ALF and SA0 parameters.
  • the filtered reconstructed image output display is also stored in the buffer as a reference for the subsequent decoded frame.
  • this technique only writes an aps.id in the Slice header, which causes both ALF and SA0 to take advantage of the parameters in the same aps_id.
  • the use of this ALF and SA0 parameter binding limits these two post-processing techniques. Performance, because the ALF and SA0 parameters in the same APS do not necessarily optimize the performance of both technologies at the same time. This technique limits the flexibility of selecting ALF and SA0 parameters.
  • an embodiment of a video image filtering processing method of the present invention includes:
  • S201 Receive a video stripe coded code stream.
  • S202 Obtain an identifier of at least two APSs from a video stripe header, where the at least two APSs are used to store at least two filter parameters, where each ASP stores at least two filter parameters, and the video strips
  • the number of APS identifiers in the header is the same as the number of filter parameters
  • the video strip header includes two APS identifiers for indicating where the ALF and SA0 parameters are stored. These two identifiers may or may not be the same.
  • S203 Obtain the at least two filter parameters according to the at least two APS identifiers respectively.
  • S204 Filter the video strip by using the at least two filter parameters.
  • at least two filter parameters are stored in the APS, and the parameters of the APS of the at least two filter parameters corresponding to the video strip are stored in the header of the video stripe, because at least one video stripe header includes at least Two APS identifiers can obtain different filter parameters from different APSs during decoding, which improves the flexibility of filter parameter selection, thereby improving the processing performance of video coding.
  • another embodiment of the video image filtering processing method of the present invention includes:
  • S301 Receive a video stripe coded code stream.
  • the video encoded code stream sequence at the decoding end includes: SPS, PPS, multiple APSs, and information of multiple video strips.
  • the decoding end parses the data of each data packet in turn, and includes a series of SPS packets, PPS packets, APS packet information (including parameter information of various filter groups therein), and each video strip. (Slice) data information.
  • S302 Obtain an identifier of a first APS for storing ALF parameters and a second APS identifier for storing SA0 parameters from a video stripe header; where each ASP stores an ALF parameter and an SA0 parameter; wherein, the video strip
  • the header contains two APS identifiers, which are used to indicate where the ALF and SA0 parameters are stored. These two identifiers may or may not be the same.
  • the order in which the ALF parameters and the SAO parameters are stored in the ASP may be the same as or different from the order of the APS identifiers in the video stripe header.
  • the syntax information of the video strip header is parsed, and the syntax element of the APS_ID is included, and the information of each APS-ID is analyzed in turn, and each filter group information used according to the parsing order of the APS-ID is performed.
  • APS_idl and APS_id2 For example, in the header information of Slice_c in Figure 4, two APS_IDs (APS_idl and APS_id2) need to be parsed, for example, corresponding to APS_a and APS_c respectively, then SI ice_c will use ALF (a) and SAO (c) (or ALF (c) and SAO. (a)) Perform a filtering operation on this video strip.
  • S303 Obtain an ALF parameter and an SA0 parameter according to the identifier of the first APS and the identifier of the second APS, respectively.
  • S304 Perform post processing on the video strip by using the ALF parameter and the SA0 parameter.
  • the ALF parameter is used for adaptive filtering, and the video strip is corrected by the SA0 parameter. These two post-processing techniques can also be seen as filtering.
  • the syntax of the corresponding video stripe header is as follows: ⁇
  • a method of another embodiment of the present invention includes:
  • the video encoding code stream sequence at the decoding end includes: SPS, PPS, multiple APSs, and information of multiple video strips.
  • the decoding end parses the data of each data packet in turn, and includes a series of SPS packets, PPS packets, APS packet information (including parameter information of various filter groups therein), and each video strip. (S li ce ) data information.
  • S502 Obtain a parameter sharing identifier from the video stripe header, where the parameter shared identifier is used to indicate whether the ALF parameter and the SA0 parameter corresponding to the video stripe are stored in the same APS.
  • Parsing the syntax information of the video strip header which includes the syntax element of the parameter shared identifier sao-a lf - share-aps -f lag. If the value is 0, it indicates that the strip shares each filter group in the same APS packet. After the information, only one APS_ID information needs to be parsed. If the value is 1, it indicates that the strip shares the information of each filter group in different APS packets, and then needs to parse multiple APS_ID information.
  • S504 Obtain an ALF parameter and an SA0 parameter according to the identifier of the first APS and the identifier of the second APS, respectively.
  • S507 The video strip is post-processed by using the ALF parameter and the SA0 parameter.
  • the video stripe header includes a parameter sharing identifier, identifies whether the ALF parameter and the SA0 are stored in the same APS, and determines whether to add two APS identifiers in one video strip according to the parameter shared identifier.
  • APS identification a video strip can be filtered by using filters in APS or different filter banks in different APSs according to the situation, improving the flexibility and compatibility of filter parameter selection, thereby improving the processing performance of video coding.
  • a person skilled in the art can understand that all or part of the process of implementing the above embodiment method can be completed by a computer program to instruct related hardware, and the program can be stored in a computer readable storage medium. In execution, the flow of an embodiment of the methods as described above may be included.
  • the storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM), or a random access memory (RAM).
  • the present invention also provides a video image filtering processing apparatus, which may be located in a terminal device, a network device, or a test device.
  • the video image filtering processing device may be implemented by a hardware circuit or by software in cooperation with hardware.
  • a video image filtering processing device is invoked by a processor to obtain filter parameters in video decoding.
  • the video image filtering processing apparatus can perform various methods and processes in the above method embodiments. Referring to FIG. 7, an embodiment of a video image filtering processing apparatus includes:
  • the receiving unit 701 is configured to receive a video stripe coded code stream.
  • the extracting unit 702 is configured to obtain, from the video stripe header, identifiers of the at least two APSs, where the at least two APSs are used to store at least two filter parameters, where each ASP stores at least two filter parameters.
  • the number of APS identifiers in the video stripe header is the same as the number of the filter parameters;
  • a parameter obtaining unit 703 configured to respectively obtain the at least two filter parameters according to the at least two APS identifiers
  • the filtering unit 704 is configured to filter the video strip by using the at least two filter parameters.
  • the extracting unit 702 is configured to obtain an identifier of a first APS storing an ALF parameter and an identifier of a second APS for storing the SA0 parameter, where each ASP stores an ALF parameter and an SA0 parameter;
  • the parameter obtaining unit 703 is configured to obtain an ALF parameter and an SA0 parameter according to the first APS identifier and the second APS identifier, respectively;
  • the filtering unit 704 is configured to filter the video strip by using the ALF parameter and the SA0 parameter.
  • another embodiment of the video image filtering processing apparatus includes:
  • the receiving unit 801 is configured to receive a video stripe coded code stream
  • the identifier extracting unit 802 is configured to obtain a parameter sharing identifier from the video stripe header, where the parameter sharing identifier is used to indicate whether the ALF parameter and the SA0 parameter corresponding to the video stripe are stored in the same APS, and the determining unit 803 is configured to determine The parameter sharing identifier indicates whether the ALF parameter and the SA0 parameter corresponding to the video strip are stored in different APSs;
  • the extracting unit 804 is configured to: when the determining unit confirms that the ALF parameter and the SA0 parameter are stored in different APSs, obtain the identifier of the first APS storing the ALF parameter and the identifier of the second APS storing the SA0 parameter; wherein each ASP stores the ALF Parameters and SA0 parameters;
  • a parameter obtaining unit 805 configured to obtain an ALF parameter and an SA0 parameter according to the first APS identifier and the second APS identifier, respectively;
  • the filtering unit 808 is configured to filter the video strip by using the ALF parameter and the SA0 parameter.
  • the video image filtering processing apparatus further includes:
  • the second extracting unit 806 is configured to: when the determining unit determines that the ALF parameter and the SA0 parameter are stored in the same APS, obtain a shared APS identifier from the video stripe header; wherein each ASP stores the ALF parameter and the SA0 Parameter
  • a second parameter obtaining unit 807 configured to obtain an ALF parameter and an SA0 parameter from the ASP corresponding to the shared APS identifier
  • the filtering unit 808 is configured to filter the video strip by using the ALF parameter and the SA0 parameter.
  • the unitized sub-module in this implementation is not fixed.
  • the extractable unit and the second extracting unit, the parameter obtaining unit, and the second parameter obtaining unit may respectively be the same module when implemented, and the output of the determining unit is different. Different operations are performed when judging the results.

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Compression Or Coding Systems Of Tv Signals (AREA)

Abstract

Disclosed in the embodiments of the present invention are a method and device of video image filtering process. The method comprises the steps of receiving a stream of encoded video slices; obtaining at least two Adaptation Parameter Set (APS) identifications from a video slice header, the at least two APSs being respectively used to store at least two filter parameters, wherein each of the APSs stores at least two filter parameters, and the number of APS identifications in the video slice header is the same as the number of the filter parameters; respectively obtaining the at least two filter parameters according to the at least two APS identifications; and performing the filtering process on the video slices by using the at least two filter parameters.

Description

说 明 书  Description
一种视频图像滤波处理方法和装置 技术领域  Video image filtering processing method and device
本发明涉及数字信号处理技术领域的视频编解码技术, 尤其是一种视频图 像滤波处理方法和装置。 背景技术  The present invention relates to video codec technology in the field of digital signal processing technology, and more particularly to a video image filtering processing method and apparatus. Background technique
在数字通信领域, 语音、 图像、 音频、 视频的传输有着非常广泛的应用需 求, 如手机通话、 音视频会议、 广播电视、 多媒体娱乐等。 随着网络技术的发 展, 影视点播、 网络电视、 可视电话等已成为宽带网络的主要业务, 并且这些 业务也将成为第三代(3G, the 3rd Generation) 无线网络的主要业务。 为了 降低视频信号存储或者传输过程中占用的资源, 视频信号在发送端进行压缩处 理后传输到接收端, 接收端通过解压缩处理恢复视频信号并进行播放。  In the field of digital communications, voice, image, audio, and video transmissions have a wide range of application requirements, such as mobile phone calls, audio and video conferencing, broadcast television, multimedia entertainment, and the like. With the development of network technology, video on demand, Internet TV, videophone, etc. have become the main business of broadband networks, and these services will become the main business of the 3G (the 3rd generation) wireless network. In order to reduce the resources occupied during the storage or transmission of the video signal, the video signal is compressed and processed at the transmitting end and transmitted to the receiving end, and the receiving end recovers the video signal and plays it by decompressing.
一种视频编码的方法, 通常将视频图像划分为多个视频帧, 每个视频帧又 分为多个 Slice (视频条带), 对每个 Slice进行编码, 解码端解码出该信息后, 再合成为视频帧。 以 Slice 为单位的视频编码技术中, 为了提高编码效率, 引 入 ALF ( Adaptive Loop Filter, 自适应环路滤波)和 SAO (Sample adaptive offset, 像素自适应偏移)后处理技术。  A video encoding method generally divides a video image into a plurality of video frames, each video frame is further divided into a plurality of slices (video strips), and each slice is encoded, and the decoding end decodes the information, and then Composite into a video frame. In the video coding technology based on Slice, in order to improve coding efficiency, ALF (Adaptive Loop Filter) and SAO (Sample Adaptive Offset) post-processing techniques are introduced.
ALF技术是指利用解码重构图像和原始输入图像训练多组滤波器参数,对编 码重构图像进行滤波, 提高重构图像质量, 同时在编码环路内部通过提高运动 补偿预测性能, 进而提高编码效率。  The ALF technique refers to training multiple sets of filter parameters by decoding the reconstructed image and the original input image, filtering the coded reconstructed image, improving the reconstructed image quality, and improving the motion compensation prediction performance inside the coding loop, thereby improving the coding. effectiveness.
SA0 技术是通过将解码重构图像的像素根据边缘信息和强度信息等进行分 类, 通过利用像素自适应偏移参数对每一类像素进行修正, 提高重构图像质量, 同时在编码环路内部通过提高运动补偿预测性能, 进而提高编码效率。  The SA0 technology classifies the pixels of the decoded reconstructed image according to the edge information and the intensity information, and improves the quality of the reconstructed image by correcting each type of pixel by using the pixel adaptive offset parameter, and passes through the coding loop. Improve motion compensation prediction performance, and thus improve coding efficiency.
ALF和 SA0需要在 Slice级别记录较多的边信息, 例如 ALF的滤波器系数, SA0的 offset值等。 由于图像空间和时间上都具有较大的相关性, 因此, 不同 Slice间的 ALF/SA0参数也同样存在较大的相关性, 如果简单的将这些参数写在 S l ice header中, 在每帧图像具有多个 S I ice时会使得参数占用较多的码率而 且他们之间具有较大冗余。 发明内容 ALF and SA0 need to record more side information at the slice level, such as ALF filter coefficients, SA0 offset values, and so on. Because of the large correlation between image space and time, the ALF/SA0 parameters between different slices also have a large correlation. If you simply write these parameters in In the S ice header, when each frame has multiple SI ices, the parameters occupy more code rates and there is greater redundancy between them. Summary of the invention
本发明实施例的目的在于提供一种视频图像滤波处理方法和装置, 提高视 频编码处理中选择滤波参数的灵活性。  An object of the embodiments of the present invention is to provide a video image filtering processing method and apparatus, which improve the flexibility of selecting a filtering parameter in a video encoding process.
根据本发明的一实施例, 提供一种视频图像滤波处理方法, 包括: 接收视频条带编码码流;  According to an embodiment of the present invention, a video image filtering processing method is provided, including: receiving a video stripe encoded code stream;
从视频条带包头中获得至少两个 APS的标识, 所述至少两个 APS分别用于 存储至少两个滤波器参数; 其中, 每一个 ASP存储有至少两个滤波器参数, 视 频条带包头中的 APS标识的数量与所述滤波器参数的数量相同;  Obtaining at least two APS identifiers from the video stripe header, the at least two APSs respectively for storing at least two filter parameters; wherein each ASP stores at least two filter parameters, in the video strip header The number of APS identifiers is the same as the number of filter parameters;
根据所述至少两个 APS标识分别获得所述至少两个滤波器参数;  Obtaining the at least two filter parameters according to the at least two APS identifiers respectively;
利用所述至少两个滤波器参数对视频条带进行滤波处理。  The video strip is filtered using the at least two filter parameters.
根据本发明的另一实施例, 提供一种视频图像滤波处理装置, 包括: 接收单元, 用于接收视频条带编码码流; According to another embodiment of the present invention, a video image filtering processing apparatus is provided, including: a receiving unit, configured to receive a video stripe encoded code stream;
提取单元, 用于从视频条带包头中获得至少两个 APS 的标识, 所述至少两 个 APS分别用于存储至少两个滤波器参数; 其中, 每一个 ASP存储有至少两个 滤波器参数, 视频条带包头中的 APS标识的数量与所述滤波器参数的数量相同; 参数获得单元, 用于根据所述至少两个 APS 标识分别获得所述至少两个滤 波器参数;  An extracting unit, configured to obtain an identifier of at least two APSs from a video stripe header, where the at least two APSs are used to store at least two filter parameters, where each ASP stores at least two filter parameters, The number of the APS identifiers in the video stripe header is the same as the number of the filter parameters; the parameter obtaining unit is configured to obtain the at least two filter parameters according to the at least two APS identifiers respectively;
滤波单元, 用于利用所述至少两个滤波器参数对视频条带进行滤波处理。 本发明实施例在 APS 中存储有至少两个滤波器参数, 在视频条带的包头中 存储该视频条带对应的至少两个滤波器参数的 APS 的参数, 由于一个视频条带 包头中包含至少两个 APS标识, 解码时可以从不同的 APS中分别获得不同的滤 波器参数进行滤波, 提高滤波器参数选择的灵活性, 从而提高视频编码效率。 附图说明 And a filtering unit, configured to filter the video strip by using the at least two filter parameters. In the embodiment of the present invention, at least two filter parameters are stored in the APS, and the parameters of the APS of the at least two filter parameters corresponding to the video strip are stored in the header of the video stripe, because at least one video stripe header includes at least Two APS identifiers can be obtained by different filter parameters from different APSs during decoding to improve the flexibility of filter parameter selection, thereby improving video coding efficiency. DRAWINGS
为了更清楚地说明本发明实施例或现有技术中的技术方案, 下面将对实施 例或现有技术描述中所需要使用的附图作简单地介绍, 显而易见地, 下面描述 中的附图仅仅是本发明的一些实施例, 对于本领域普通技术人员来讲, 在不付 出创造性劳动性的前提下, 还可以根据这些附图获得其他的附图。  In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the embodiments or the description of the prior art will be briefly described below. Obviously, the drawings in the following description are only It is a certain embodiment of the present invention, and other drawings can be obtained from those skilled in the art without any inventive labor.
图 1为一种视频码流的顺序示意图;  1 is a sequence diagram of a video code stream;
图 2为本发明提供的视频图像滤波处理方法一个实施例的流程示意图; 图 3为本发明提供的视频图像滤波处理方法另一个实施例的流程示意图; 图 4为本发明提供的视频码流的顺序示意图;  2 is a schematic flowchart of a video image filtering processing method according to an embodiment of the present invention; FIG. 3 is a schematic flowchart of another embodiment of a video image filtering processing method according to the present invention; Schematic diagram
图 5为本发明提供的视频图像滤波处理方法另一个实施例的流程示意图; 图 6为本发明提供的视频图像滤波处理装置一个实施例的结构示意图; 图 7为本发明提供的视频图像滤波处理装置另一个实施例的结构示意图; 图 8为本发明提供的视频图像滤波处理装置另一个实施例的结构示意图。 具体实施方式  5 is a schematic flowchart of another embodiment of a video image filtering processing method according to the present invention; FIG. 6 is a schematic structural diagram of an embodiment of a video image filtering processing apparatus according to the present invention; FIG. 7 is a video image filtering processing provided by the present invention. FIG. 8 is a schematic structural diagram of another embodiment of a video image filtering processing apparatus according to the present invention. detailed description
下面将结合本发明实施例中的附图, 对本发明实施例中的技术方案进行清 楚、 完整地描述, 显然, 所描述的实施例仅仅是本发明一部分实施例, 而不是 全部的实施例。 基于本发明中的实施例, 本领域普通技术人员在没有作出创造 性劳动前提下所获得的所有其他实施例, 都属于本发明保护的范围。  BRIEF DESCRIPTION OF THE DRAWINGS The technical solutions in the embodiments of the present invention will be described in detail with reference to the accompanying drawings. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments of the present invention without creative work are within the scope of the present invention.
数字信号处理领域, 视频编解码器广泛应用于各种电子设备中, 例如: 移 动电话, 无线装置, 个人数据助理(PDA ), 手持式或便携式计算机, GPS接收机 /导航器, 照相机, 视频播放器, 摄像机, 录像机, 监控设备等。 通常, 这类电 子设备中包括视频编码器或视频解码器, 视频编码器或者解码器可以直接由数 字电路或芯片例如 DSP ( dig i ta l s igna l proces sor ) 实现, 或者由软件代码驱 动处理器执行软件代码中的流程而实现。  In the field of digital signal processing, video codecs are widely used in various electronic devices, such as: mobile phones, wireless devices, personal data assistants (PDAs), handheld or portable computers, GPS receivers/navigators, cameras, video playback. , camera, video recorder, monitoring equipment, etc. Generally, such an electronic device includes a video encoder or a video decoder, and the video encoder or decoder can be directly implemented by a digital circuit or a chip such as a DSP ( dig i ta ls igna l proces sor ), or the processor can be driven by software code. Implemented by executing the process in the software code.
为了有效的存储 S l i ce级的 ALF/SA0等参数, 同时降低这些参数在空域和 时域上的相关性, 进一步提高编码效率, 一种技术提出了釆用新的高层语法元 素 APS (Adaptation Parameter Set, 自适应参数集合)来存储 ALF/SAO等参数。 该技术将 ALF和 SA0参数存放到给定的 APS中, 每个 APS由特定 aps_id标识, 在每个 Slice header中写入一个当前 Slice 所使用的 aps_id即可, 这样就灵 活的实现了 ALF和 SA0的空域和时域参数重用, 有效地降低了 ALF和 SA0参数 的冗余。 In order to effectively store parameters such as ALF/SA0 of S li ce level, and reduce the correlation between these parameters in the airspace and time domain, and further improve coding efficiency, a technique proposes to use new high-level syntax elements. APS (Adaptation Parameter Set) to store parameters such as ALF/SAO. The technology stores the ALF and SA0 parameters into a given APS. Each APS is identified by a specific aps_id, and each alice header is written with aps_id used by the current slice, thus flexibly implementing ALF and SA0. The reuse of airspace and time domain parameters effectively reduces the redundancy of ALF and SA0 parameters.
参考图 1, 一种视频码流的顺序, 对一个视频图像以帧为单位进行处理, 每 帧的视频码流中包含 SPS( Sequence Parameter Set,序歹' J参数集), PPS( Picture Parameter Set, 图像参数集), 多个 APS 和多个视频条带的信息。 视频条带 (Slice) 的包头信息中, 包含一个 aps_id, 该 aps_id表示该视频条带对应的 存储 ALF和 SA0参数的 APS标识。 解码端接收到码流后解析 sps、 pps、 sps 以 及 Slice信息, 根据解码的信息重构图像, 通过 aps_id对应的 APS获得 ALF和 SA0参数, 并 ALF和 SA0参数对重构图像进行滤波处理。 滤波后的重构图像输出 显示同时也存储在緩存中作为之后解码帧的参考。  Referring to FIG. 1, a sequence of video streams is processed in units of frames, and a video stream of each frame includes SPS (Sequence Parameter Set), PPS (Picture Parameter Set) , image parameter set), multiple APS and multiple video stripe information. The header information of the video stripe includes an aps_id indicating the APS identifier of the ALF and SA0 parameters corresponding to the video stripe. After receiving the code stream, the decoding end parses the sps, pps, sps, and Slice information, reconstructs the image according to the decoded information, obtains the ALF and SA0 parameters through the APS corresponding to the aps_id, and filters the reconstructed image by the ALF and SA0 parameters. The filtered reconstructed image output display is also stored in the buffer as a reference for the subsequent decoded frame.
然而, 该技术仅在 Slice header 中写入一个 aps.id, 该做法导致 ALF和 SA0都利用同一个 aps_id中的参数, 这种 ALF和 SA0参数绑定的使用方式限制 了这两种后处理技术性能, 因为同一个 APS中的 ALF和 SA0参数不一定能够同 时使两种技术的性能达到最优。 该技术限制了选择 ALF和 SA0参数的灵活性。  However, this technique only writes an aps.id in the Slice header, which causes both ALF and SA0 to take advantage of the parameters in the same aps_id. The use of this ALF and SA0 parameter binding limits these two post-processing techniques. Performance, because the ALF and SA0 parameters in the same APS do not necessarily optimize the performance of both technologies at the same time. This technique limits the flexibility of selecting ALF and SA0 parameters.
参考图 2, 本发明视频图像滤波处理方法的一个实施例包括:  Referring to FIG. 2, an embodiment of a video image filtering processing method of the present invention includes:
S201: 接收视频条带编码码流;  S201: Receive a video stripe coded code stream.
S202: 从视频条带包头中获得至少两个 APS的标识,所述至少两个 APS分 别用于存储至少两个滤波器参数, 其中, 每一个 ASP存储有至少两个滤波器参 数, 视频条带包头中的 APS标识的数量与滤波器参数的数量相同;  S202: Obtain an identifier of at least two APSs from a video stripe header, where the at least two APSs are used to store at least two filter parameters, where each ASP stores at least two filter parameters, and the video strips The number of APS identifiers in the header is the same as the number of filter parameters;
一个实施例中, 视频条带包头中包含两个 APS标识, 分别用于指示 ALF和 SA0参数的存储地方。 这两个标识可以相同也可以不相同。  In one embodiment, the video strip header includes two APS identifiers for indicating where the ALF and SA0 parameters are stored. These two identifiers may or may not be the same.
S203: 根据所述至少两个 APS标识分别获得所述至少两个滤波器参数; S203: Obtain the at least two filter parameters according to the at least two APS identifiers respectively.
S204: 利用所述至少两个滤波器参数对视频条带进行滤波处理。 本发明实施例在 APS 中存储有至少两个滤波器参数, 在视频条带的包头中 存储该视频条带对应的至少两个滤波器参数的 APS 的参数, 由于一个视频条带 包头中包含至少两个 APS标识, 解码时可以从不同的 APS中分别获得不同的滤 波器参数, 提高滤波器参数选择的灵活性, 从而提高视频编码的处理性能。 参考图 3, 为了提高选择 ALF和 SA0参数的灵活性, 本发明视频图像滤波处 理方法另一个实施例包括: S204: Filter the video strip by using the at least two filter parameters. In the embodiment of the present invention, at least two filter parameters are stored in the APS, and the parameters of the APS of the at least two filter parameters corresponding to the video strip are stored in the header of the video stripe, because at least one video stripe header includes at least Two APS identifiers can obtain different filter parameters from different APSs during decoding, which improves the flexibility of filter parameter selection, thereby improving the processing performance of video coding. Referring to FIG. 3, in order to improve the flexibility of selecting ALF and SA0 parameters, another embodiment of the video image filtering processing method of the present invention includes:
S301: 接收视频条带编码码流;  S301: Receive a video stripe coded code stream.
参考图 4, 解码端的视频编码码流顺序包括: SPS, PPS, 多个 APS和多个视 频条带的信息。 解码端接收到视频编码码流后依次解析各个数据包的数据, 其 中包含一系列 SPS包, PPS包, APS包的信息(包含其中的各类滤波器组的参数 信息), 以及各个视频条带 (Slice) 的数据信息。  Referring to FIG. 4, the video encoded code stream sequence at the decoding end includes: SPS, PPS, multiple APSs, and information of multiple video strips. After receiving the video encoded code stream, the decoding end parses the data of each data packet in turn, and includes a series of SPS packets, PPS packets, APS packet information (including parameter information of various filter groups therein), and each video strip. (Slice) data information.
S302:从视频条带包头中获得用于存储 ALF参数的第一 APS的标识和用于存 储 SA0参数的第二 APS标识; 其中, 每一个 ASP存储有 ALF参数和 SA0参数; 其中, 视频条带包头中包含两个 APS标识, 分别用于指示 ALF和 SA0参数 的存储地方。 这两个标识可以相同也可以不相同。 ASP中存储 ALF参数和 SAO 参数的顺序与视频条带包头中 APS标识的顺序可以相同也可以不同。  S302: Obtain an identifier of a first APS for storing ALF parameters and a second APS identifier for storing SA0 parameters from a video stripe header; where each ASP stores an ALF parameter and an SA0 parameter; wherein, the video strip The header contains two APS identifiers, which are used to indicate where the ALF and SA0 parameters are stored. These two identifiers may or may not be the same. The order in which the ALF parameters and the SAO parameters are stored in the ASP may be the same as or different from the order of the APS identifiers in the video stripe header.
解析视频条带头的语法信息, 其中包含 APS_ID的语法元素, 依次解析各个 APS-ID的信息, 根据 APS-ID的解析顺序使用的各个滤波器组信息。  The syntax information of the video strip header is parsed, and the syntax element of the APS_ID is included, and the information of each APS-ID is analyzed in turn, and each filter group information used according to the parsing order of the APS-ID is performed.
例如图 4中 Slice_c的头信息中需要解析两个 APS_ID( APS_idl和 APS_id2 ), 比如分别对应 APS_a和 APS_c, 那么 SI ice_c将会使用 ALF (a)和 SAO (c) (或者 ALF (c)和 SAO (a) )对本视频条带进行滤波操作。  For example, in the header information of Slice_c in Figure 4, two APS_IDs (APS_idl and APS_id2) need to be parsed, for example, corresponding to APS_a and APS_c respectively, then SI ice_c will use ALF (a) and SAO (c) (or ALF (c) and SAO. (a)) Perform a filtering operation on this video strip.
S303: 分别根据第一 APS的标识和第二 APS的标识获得 ALF参数和 SA0参 数。  S303: Obtain an ALF parameter and an SA0 parameter according to the identifier of the first APS and the identifier of the second APS, respectively.
S304: 利用 ALF参数和 SA0参数对视频条带进行后处理。  S304: Perform post processing on the video strip by using the ALF parameter and the SA0 parameter.
利用 ALF参数进行自适应滤波, 利用 SA0参数对视频条带进行像素修正, 这两个后处理技术也可以看成是滤波处理。 对应的视频条带包头的语法如下表:
Figure imgf000007_0001
}
The ALF parameter is used for adaptive filtering, and the video strip is corrected by the SA0 parameter. These two post-processing techniques can also be seen as filtering. The syntax of the corresponding video stripe header is as follows:
Figure imgf000007_0001
}
if( slice—type = = B )  If( slice_type = = B )
collocated from 10— flag u(l) if( adaptive loop filter enabled flag 8L8L aps_adaptive_loop_filter_flag ) {  Collocated from 10—flag u(l) if( adaptive loop filter enabled flag 8L8L aps_adaptive_loop_filter_flag ) {
byte_align()  Byte_align()
alf_cu_control_param( )  Alf_cu_control_param( )
byte_align()  Byte_align()
}  }
} 本实施例中, 在一个视频条带中添加两个 APS 标识, 可以根据编码性能独 立选择 ALF参数和 SA0的参数, 由于一个视频条带包头中包含两个 APS标识, 一个视频条带可以使用不同 APS 中的各个滤波器组进行滤波, 提高滤波器参数 选择的灵活性, 从而提高视频编码的处理性能。 参考图 5 , 本发明另一个实施例的方法包括:  In this embodiment, two APS identifiers are added to one video strip, and ALF parameters and SA0 parameters can be independently selected according to coding performance. Since one video strip header includes two APS identifiers, one video strip can be used. Each filter bank in different APSs is filtered to improve the flexibility of filter parameter selection, thereby improving the processing performance of video coding. Referring to FIG. 5, a method of another embodiment of the present invention includes:
S501 : 接收视频条带编码码流;  S501: Receive a video stripe coded code stream;
参考图 4 , 解码端的视频编码码流顺序包括: SPS , PPS , 多个 APS和多个视 频条带的信息。 解码端接收到视频编码码流后依次解析各个数据包的数据, 其 中包含一系列 SPS包, PPS包, APS包的信息(包含其中的各类滤波器组的参数 信息), 以及各个视频条带 (S l i ce ) 的数据信息。  Referring to FIG. 4, the video encoding code stream sequence at the decoding end includes: SPS, PPS, multiple APSs, and information of multiple video strips. After receiving the video encoded code stream, the decoding end parses the data of each data packet in turn, and includes a series of SPS packets, PPS packets, APS packet information (including parameter information of various filter groups therein), and each video strip. (S li ce ) data information.
S502:从视频条带包头中获得参数共享标识, 该参数共享标识用于表示视频 条带对应的 ALF参数和 SA0参数是否存储于同一 APS中;  S502: Obtain a parameter sharing identifier from the video stripe header, where the parameter shared identifier is used to indicate whether the ALF parameter and the SA0 parameter corresponding to the video stripe are stored in the same APS.
解析视频条带 头 的 语法信 息 , 其 中 包含参数共 享标识 sao-a l f - share-aps -f lag的语法元素, 如果其数值为 0的话, 说明此条带共享 同一个 APS包内的各个滤波器组信息,之后只需要解析一个 APS_ ID的信息, 如 果其数值是为 1的话, 说明此条带分享不同的 APS包内的各个滤波器组的信息, 之后需要解析多个 APS_ ID的信息。  Parsing the syntax information of the video strip header, which includes the syntax element of the parameter shared identifier sao-a lf - share-aps -f lag. If the value is 0, it indicates that the strip shares each filter group in the same APS packet. After the information, only one APS_ID information needs to be parsed. If the value is 1, it indicates that the strip shares the information of each filter group in different APS packets, and then needs to parse multiple APS_ID information.
S503: 如果该参数共享标识表示视频条带对应的 ALF参数和 SA0参数存储 于不同 APS中, 则从视频条带包头中获得用于存储 ALF参数的第一 APS的标识 和用于存储 SAO参数的第二 APS的标识; 其中, 每一个 ASP存储有 ALF参数和 SA0参数。 S503: If the parameter shared identifier indicates that the ALF parameter and the SA0 parameter corresponding to the video stripe are stored in different APSs, obtaining an identifier of the first APS for storing the ALF parameter from the video stripe header And an identifier of the second APS for storing the SAO parameter; wherein each ASP stores an ALF parameter and an SA0 parameter.
S504: 分别根据第一 APS的标识和第二 APS的标识获得 ALF参数和 SA0参 数;  S504: Obtain an ALF parameter and an SA0 parameter according to the identifier of the first APS and the identifier of the second APS, respectively.
例如如果上图中 Slice_c的头信息中 sao_alf_share_aps_flag=0, 其后需 要解析一个 APS— ID, 比如为 APS_a, 那么 SI ice_c将会使用 ALF (a)和 SAO (c)对 本视频条带进行滤波操作。  For example, if the header information of Slice_c in the above figure is sao_alf_share_aps_flag=0, and then an APS_ID needs to be parsed, such as APS_a, then SI ice_c will use ALF (a) and SAO (c) to filter the video stripe.
S505: 如果该参数共享标识表示视频条带对应的 ALF参数和 SA0参数存储 于同一个 APS 中, 则从视频条带包头中获得一个共享 APS标识; 其中, 每一个 ASP存储有 ALF参数和 SA0参数;  S505: If the parameter shared identifier indicates that the ALF parameter and the SA0 parameter corresponding to the video stripe are stored in the same APS, obtain a shared APS identifier from the video stripe header; wherein each ASP stores the ALF parameter and the SA0 parameter. ;
S506: 从该共享 APS标识对应的 ASP中获得 ALF参数和 SA0参数; 如果 sao_alf-share_aps_f lag=l,其后需要解析两个 APS— ID,比如为 APS_a 和 APS_b, 那么 31 6_0将会使用 1^(&)和3 0(0) (或者 ALF (c)和 SAO (a) ) 对本视频条带进行滤波操作。  S506: Obtain the ALF parameter and the SA0 parameter from the ASP corresponding to the shared APS identifier. If the sao_alf-share_aps_f lag=l, and then need to resolve two APS_IDs, such as APS_a and APS_b, then 31 6_0 will use 1^ (&) and 3 0 (0) (or ALF (c) and SAO (a)) filter the video stripe.
S507: 利用 ALF参数和 SA0参数对视频条带进行后处理。  S507: The video strip is post-processed by using the ALF parameter and the SA0 parameter.
对应的视频条带包头的语法如下表: The syntax of the corresponding video stripe header is as follows:
CD CD
Figure imgf000010_0001
Figure imgf000010_0001
} }
if( slice—type = = B )  If( slice_type = = B )
collocated from 10— flag u(l) if( adaptive loop filter enabled flag 8L8L aps_adaptive_loop_filter_flag ) {  Collocated from 10—flag u(l) if( adaptive loop filter enabled flag 8L8L aps_adaptive_loop_filter_flag ) {
byte_align()  Byte_align()
alf_cu_control_param( )  Alf_cu_control_param( )
byte_align()  Byte_align()
}  }
} 本实施例中, 视频条带包头中包含一个参数共享标识, 标识 ALF参数和 SA0 是否存储与同一个 APS 中, 并根据该参数共享标识确定在一个视频条带中添加 两个 APS标识还是一个 APS标识, 一个视频条带可以根据情况使用 APS中滤波 器或者不同 APS 中的各个滤波器组进行滤波, 提高滤波器参数选择的灵活性和 兼容性, 从而提高视频编码的处理性能。 本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程, 是可以通过计算机程序来指令相关的硬件来完成, 所述的程序可存储于一计算 机可读取存储介质中, 该程序在执行时, 可包括如上述各方法的实施例的流程。 其中, 所述的存储介质可为磁碟、 光盘、 只读存储记忆体(Read-Only Memory, ROM )或随机存储记忆体 ( Random Acces s Memory , RAM )等。 与上述方法实施例相关联, 本发明还提供一种视频图像滤波处理装置, 该 装置可以位于终端设备, 网络设备, 或测试设备中。 所述视频图像滤波处理装 置可以由硬件电路来实现, 或者由软件配合硬件来实现。 例如, 参考图 6 , 由一 个处理器调用视频图像滤波处理装置来获得视频解码中滤波器参数。 该视频图 像滤波处理装置可以执行上述方法实施例中的各种方法和流程。 参考图 7 , 视频图像滤波处理装置的一个实施例包括:  In this embodiment, the video stripe header includes a parameter sharing identifier, identifies whether the ALF parameter and the SA0 are stored in the same APS, and determines whether to add two APS identifiers in one video strip according to the parameter shared identifier. APS identification, a video strip can be filtered by using filters in APS or different filter banks in different APSs according to the situation, improving the flexibility and compatibility of filter parameter selection, thereby improving the processing performance of video coding. A person skilled in the art can understand that all or part of the process of implementing the above embodiment method can be completed by a computer program to instruct related hardware, and the program can be stored in a computer readable storage medium. In execution, the flow of an embodiment of the methods as described above may be included. The storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM), or a random access memory (RAM). In association with the above method embodiments, the present invention also provides a video image filtering processing apparatus, which may be located in a terminal device, a network device, or a test device. The video image filtering processing device may be implemented by a hardware circuit or by software in cooperation with hardware. For example, referring to Figure 6, a video image filtering processing device is invoked by a processor to obtain filter parameters in video decoding. The video image filtering processing apparatus can perform various methods and processes in the above method embodiments. Referring to FIG. 7, an embodiment of a video image filtering processing apparatus includes:
接收单元 701 , 用于接收视频条带编码码流; 提取单元 702 , 用于从视频条带包头中获得至少两个 APS的标识, 所述至少 两个 APS分别用于存储至少两个滤波器参数; 其中, 每一个 ASP存储有至少两 个滤波器参数, 视频条带包头中的 APS 标识的数量与所述滤波器参数的数量相 同; The receiving unit 701 is configured to receive a video stripe coded code stream. The extracting unit 702 is configured to obtain, from the video stripe header, identifiers of the at least two APSs, where the at least two APSs are used to store at least two filter parameters, where each ASP stores at least two filter parameters. The number of APS identifiers in the video stripe header is the same as the number of the filter parameters;
参数获得单元 703 ,用于根据所述至少两个 APS标识分别获得所述至少两个 滤波器参数;  a parameter obtaining unit 703, configured to respectively obtain the at least two filter parameters according to the at least two APS identifiers;
滤波单元 704 , 用于利用所述至少两个滤波器参数对视频条带进行滤波处 理。  The filtering unit 704 is configured to filter the video strip by using the at least two filter parameters.
一个实施例中, 所述提取单元 702 , 用于获得存储 ALF参数的第一 APS的标 识和用于存储 SA0参数的第二 APS的标识; 其中, 每一个 ASP存储有 ALF参数 和 SA0参数;  In an embodiment, the extracting unit 702 is configured to obtain an identifier of a first APS storing an ALF parameter and an identifier of a second APS for storing the SA0 parameter, where each ASP stores an ALF parameter and an SA0 parameter;
所述参数获得单元 703 , 用于分别根据第一 APS标识和第二 APS标识获得 ALF参数和 SA0参数;  The parameter obtaining unit 703 is configured to obtain an ALF parameter and an SA0 parameter according to the first APS identifier and the second APS identifier, respectively;
所述滤波单元 704 ,用于利用 ALF参数和 SA0参数对视频条带进行滤波处理。 参考图 8 , 视频图像滤波处理装置的另一个实施例包括:  The filtering unit 704 is configured to filter the video strip by using the ALF parameter and the SA0 parameter. Referring to FIG. 8, another embodiment of the video image filtering processing apparatus includes:
接收单元 801 , 用于接收视频条带编码码流;  The receiving unit 801 is configured to receive a video stripe coded code stream;
标识提取单元 802 , 用于从视频条带包头中获得参数共享标识, 该参数共享 标识用于表示视频条带对应的 ALF参数和 SA0参数是否存储于同一 APS中; 判断单元 803 ,用于确定所述参数共享标识表示视频条带对应的 ALF参数和 SA0参数是否存储于不同 APS中;  The identifier extracting unit 802 is configured to obtain a parameter sharing identifier from the video stripe header, where the parameter sharing identifier is used to indicate whether the ALF parameter and the SA0 parameter corresponding to the video stripe are stored in the same APS, and the determining unit 803 is configured to determine The parameter sharing identifier indicates whether the ALF parameter and the SA0 parameter corresponding to the video strip are stored in different APSs;
提取单元 804 ,用于在判断单元确认 ALF参数和 SA0参数存储于不同 APS时, 获得存储 ALF参数的第一 APS的标识和存储 SA0参数的第二 APS的标识; 其中, 每一个 ASP存储有 ALF参数和 SA0参数;  The extracting unit 804 is configured to: when the determining unit confirms that the ALF parameter and the SA0 parameter are stored in different APSs, obtain the identifier of the first APS storing the ALF parameter and the identifier of the second APS storing the SA0 parameter; wherein each ASP stores the ALF Parameters and SA0 parameters;
参数获得单元 805 ,用于分别根据第一 APS标识和第二 APS标识获得 ALF参 数和 SA0参数;  a parameter obtaining unit 805, configured to obtain an ALF parameter and an SA0 parameter according to the first APS identifier and the second APS identifier, respectively;
滤波单元 808 , 用于利用 ALF参数和 SA0参数对视频条带进行滤波处理。 另一个实施例中, 视频图像滤波处理装置还包括: The filtering unit 808 is configured to filter the video strip by using the ALF parameter and the SA0 parameter. In another embodiment, the video image filtering processing apparatus further includes:
第二提取单元 806 ,用于当所述判断单元确定 ALF参数和 SA0参数存储于同 一个 APS 中时, 从视频条带包头中获得一个共享 APS标识; 其中, 每一个 ASP 存储有 ALF参数和 SA0参数;  The second extracting unit 806 is configured to: when the determining unit determines that the ALF parameter and the SA0 parameter are stored in the same APS, obtain a shared APS identifier from the video stripe header; wherein each ASP stores the ALF parameter and the SA0 Parameter
第二参数获得单元 807 ,用于从该共享 APS标识对应的 ASP中获得 ALF参数 和 SA0参数;  a second parameter obtaining unit 807, configured to obtain an ALF parameter and an SA0 parameter from the ASP corresponding to the shared APS identifier;
其中, 所述滤波单元 808 , 用于利用 ALF参数和 SA0参数对视频条带进行滤 波处理。  The filtering unit 808 is configured to filter the video strip by using the ALF parameter and the SA0 parameter.
当然, 本实施中的单元化分模块并不是固定的, 例如, 可以提取单元与第 二提取单元、 参数获得单元与第二参数获得单元在实现时候可以分别是同一个 模块, 在判断单元输出不同判断结果时候分别执行不同的操作。  Certainly, the unitized sub-module in this implementation is not fixed. For example, the extractable unit and the second extracting unit, the parameter obtaining unit, and the second parameter obtaining unit may respectively be the same module when implemented, and the output of the determining unit is different. Different operations are performed when judging the results.
以上所述仅为本发明的几个实施例, 本领域的技术人员依据申请文件公开 的可以对本发明进行各种改动或变型而不脱离本发明的精神和范围。  The above is only a few embodiments of the present invention, and various changes and modifications may be made to the present invention without departing from the spirit and scope of the invention.

Claims

权利 要求 书 Claim
1、 一种视频图像滤波处理方法, 其特征在于, 包括: 接收视频条带编码码流; 从视频条带包头中获得至少两个 APS的标识,所述至少两个 APS分别用于 存储至少两个滤波器参数; 其中, 每一个 ASP存储有至少两个滤波器参数, 视 频条带包头中的 APS标识的数量与所述滤波器参数的数量相同; 根据所述至少两个 APS标识分别获得所述至少两个滤波器参数; 利用所述至少两个滤波器参数对视频条带进行滤波处理。 A video image filtering processing method, comprising: receiving a video stripe coded code stream; obtaining at least two APS identifiers from a video stripe header, the at least two APSs respectively for storing at least two Filter parameters; wherein each ASP stores at least two filter parameters, and the number of APS identifiers in the video stripe header is the same as the number of the filter parameters; respectively, according to the at least two APS identifiers Decoding at least two filter parameters; filtering the video strip by using the at least two filter parameters.
2、根据权利要求 1所述的方法, 其特征在于, 所述至少两个 APS的标识包 括: 用于存储 ALF参数的第一 APS的标识和用于存储 SA0参数的第二 APS的标 识; 其中, 每一个 ASP存储有 ALF参数和 SA0参数; 根据所述至少两个 APS 标识分别获得所述至少两个滤波器参数包括: 分别 根据第一 APS标识和第二 APS标识获得 ALF参数和 SA0参数。 The method according to claim 1, wherein the identifiers of the at least two APSs comprise: an identifier of a first APS for storing ALF parameters and an identifier of a second APS for storing SA0 parameters; Each of the ASPs stores an ALF parameter and an SA0 parameter. Obtaining the at least two filter parameters according to the at least two APS identifiers respectively includes: obtaining an ALF parameter and an SA0 parameter according to the first APS identifier and the second APS identifier, respectively.
3、 根据权利要求 2所述的方法, 其特征在于, 还包括: 从视频条带包头中获得参数共享标识, 该参数共享标识用于表示视频条带 对应的 ALF参数和 SA0参数是否存储于同一 APS中; 确定所述参数共享标识表示视频条带对应的 ALF参数和 SA0参数存储于不 同 APS中。 The method according to claim 2, further comprising: obtaining a parameter sharing identifier from the video stripe header, where the parameter sharing identifier is used to indicate whether the ALF parameter and the SA0 parameter corresponding to the video strip are stored in the same In the APS, determining that the parameter sharing identifier indicates that the ALF parameter and the SA0 parameter corresponding to the video stripe are stored in different APSs.
4、 根据权利要求 3所述的方法, 其特征在于, 还包括: 如果所述参数共享标识表示视频条带对应的 ALF参数和 SA0参数存储于同 一个 APS 中, 则从视频条带包头中获得一个共享 APS标识; 其中, 每一个 ASP 存储有 ALF参数和 SA0参数; 从该共享 APS标识对应的 ASP中获得 ALF参数和 SAO参数; 利用 ALF参数和 SA0参数对视频条带进行滤波处理。 The method according to claim 3, further comprising: if the parameter sharing identifier indicates that the ALF parameter corresponding to the video strip and the SA0 parameter are stored in the same APS, obtained from the video strip header A shared APS identifier; wherein each ASP stores an ALF parameter and an SA0 parameter; The ALF parameter and the SAO parameter are obtained from the ASP corresponding to the shared APS identifier; and the video strip is filtered by using the ALF parameter and the SA0 parameter.
5、 根据权利要求 2所述的方法, 其特征在于, 所述 ASP存储 ALF参数和 SA0参数的顺序与 S l i ce包头中 ID顺序相同。 The method according to claim 2, wherein the order in which the ASP stores the ALF parameter and the SA0 parameter is the same as the ID sequence in the S l i ce header.
6、 一种视频图像滤波处理装置, 其特征在于, 包括: 接收单元, 用于接收视频条带编码码流; 提取单元, 用于从视频条带包头中获得至少两个 APS 的标识, 所述至少两 个 APS分别用于存储至少两个滤波器参数; 其中, 每一个 ASP存储有至少两个 滤波器参数, 视频条带包头中的 APS标识的数量与所述滤波器参数的数量相同; 参数获得单元, 用于根据所述至少两个 APS 标识分别获得所述至少两个滤 波器参数; 滤波单元, 用于利用所述至少两个滤波器参数对视频条带进行滤波处理。 A video image filtering processing apparatus, comprising: a receiving unit, configured to receive a video stripe coded code stream; and an extracting unit, configured to obtain, from the video stripe packet header, an identifier of at least two APSs, where At least two APSs are respectively used to store at least two filter parameters; wherein each ASP stores at least two filter parameters, and the number of APS identifiers in the video stripe header is the same as the number of the filter parameters; And an obtaining unit, configured to respectively obtain the at least two filter parameters according to the at least two APS identifiers; and a filtering unit, configured to perform filtering processing on the video strips by using the at least two filter parameters.
7、 根据权利要求 6所述的装置, 其特征在于, 所述提取单元, 用于获得存 储 ALF参数的第一 APS的标识和用于存储 SA0参数的第二 APS的标识; 其中, 每一个 ASP存储有 ALF参数和 SA0参数; 所述参数获得单元, 用于分别根据第一 APS标识和第二 APS标识获得 ALF 参数和 SA0参数; 所述滤波单元, 用于利用 ALF参数和 SA0参数对视频条带进行滤波处理。 The device according to claim 6, wherein the extracting unit is configured to obtain an identifier of a first APS storing an ALF parameter and an identifier of a second APS for storing an SA0 parameter; wherein, each ASP The ALF parameter and the SA0 parameter are stored; the parameter obtaining unit is configured to obtain the ALF parameter and the SA0 parameter according to the first APS identifier and the second APS identifier respectively; the filtering unit is configured to use the ALF parameter and the SA0 parameter to the video strip The band is filtered.
8、 根据权利要求 7所述的装置, 其特征在于, 还包括: 标识提取单元, 用于从视频条带包头中获得参数共享标识, 该参数共享标 识用于表示视频条带对应的 ALF参数和 SA0参数是否存储于同一 APS中; 判断单元,用于确定所述参数共享标识表示视频条带对应的 ALF参数和 SA0 参数是否存储于不同 APS中; 并在判断单元确认 ALF参数和 SA0参数存储于不 同 APS时, 启动提取单元的处理功能。 The device according to claim 7, further comprising: an identifier extracting unit, configured to obtain a parameter sharing identifier from the video stripe header, where the parameter sharing identifier is used to indicate an ALF parameter corresponding to the video stripe Whether the SA0 parameter is stored in the same APS; the determining unit is configured to determine whether the parameter shared identifier indicates that the ALF parameter and the SA0 parameter corresponding to the video stripe are stored in different APSs; and the determining unit confirms that the ALF parameter and the SA0 parameter are stored in Do not When the same as APS, the processing function of the extraction unit is started.
9、 根据权利要求 8所述的装置, 其特征在于, 还包括: 第二提取单元, 用于当所述判断单元确定 ALF参数和 SA0参数存储于同一 个 APS中时, 从视频条带包头中获得一个共享 APS标识; 其中, 每一个 ASP存 储有 ALF参数和 SA0参数; 第二提取单元, 用于从该共享 APS标识对应的 ASP中获得 ALF参数和 SA0 参数; 其中, 所述滤波单元, 用于利用 ALF参数和 SA0参数对视频条带进行滤波 处理。 The device according to claim 8, further comprising: a second extracting unit, configured to: when the determining unit determines that the ALF parameter and the SA0 parameter are stored in the same APS, from the video strip header Obtaining a shared APS identifier, where each ASP stores an ALF parameter and an SA0 parameter; a second extracting unit is configured to obtain an ALF parameter and an SA0 parameter from the ASP corresponding to the shared APS identifier; wherein, the filtering unit is used by The video strip is filtered by using the ALF parameter and the SA0 parameter.
PCT/CN2012/084070 2011-11-04 2012-11-05 Method and device of video image filtering process WO2013064112A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201110347691.9A CN103096054B (en) 2011-11-04 2011-11-04 Video image filtering processing method and device thereof
CN201110347691.9 2011-11-04

Publications (1)

Publication Number Publication Date
WO2013064112A1 true WO2013064112A1 (en) 2013-05-10

Family

ID=48191371

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2012/084070 WO2013064112A1 (en) 2011-11-04 2012-11-05 Method and device of video image filtering process

Country Status (2)

Country Link
CN (1) CN103096054B (en)
WO (1) WO2013064112A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020176635A1 (en) * 2019-02-27 2020-09-03 Futurewei Technologies, Inc. Adaptation parameter set identifier value spaces in video coding

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020097232A1 (en) * 2018-11-07 2020-05-14 Futurewei Technologies, Inc. Header parameter set for video coding
CN111279706B (en) * 2019-03-13 2022-03-22 北京大学 Loop filtering method, device, computer system and mobile equipment
JP2022527012A (en) 2019-04-16 2022-05-27 北京字節跳動網絡技術有限公司 ON adaptive loop filtering for video coding
TWI741584B (en) * 2019-05-03 2021-10-01 聯發科技股份有限公司 Methods and apparatuses of syntax signaling and referencing constraint in video coding system
MX2021013470A (en) * 2019-05-04 2022-02-03 Huawei Tech Co Ltd An encoder, a decoder and corresponding methods using an adaptive loop filter.
CN115299051A (en) 2020-03-11 2022-11-04 抖音视界有限公司 Video coding and decoding consistency window parameter
KR20210129583A (en) * 2020-04-20 2021-10-28 사운드하운드, 인코포레이티드 Content filtering in media playing devices
CN115699753A (en) 2020-05-31 2023-02-03 抖音视界有限公司 Palette mode with native dual tree mode type definition

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005311855A (en) * 2004-04-23 2005-11-04 Toshiba Corp Moving image decoding method and moving image decoding device
CN101485208A (en) * 2006-07-05 2009-07-15 汤姆森许可贸易公司 Methods and apparatus for multi-view video encoding and decoding
CN101540901A (en) * 2008-03-20 2009-09-23 华为技术有限公司 Method and device for coding/decoding
US20110145549A1 (en) * 2009-12-15 2011-06-16 Electronics And Telecommunications Research Institute Pipelined decoding apparatus and method based on parallel processing

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8326075B2 (en) * 2008-09-11 2012-12-04 Google Inc. System and method for video encoding using adaptive loop filter
KR101709358B1 (en) * 2009-03-12 2017-02-22 톰슨 라이센싱 Methods and apparatus for region-based filter parameter selection for de-artifact filtering
KR101757947B1 (en) * 2009-10-05 2017-07-13 톰슨 라이센싱 Methods and apparatus for adaptive filtering of prediction pixels for chroma components in video encoding and decoding
CN101917627B (en) * 2010-08-20 2012-01-25 浙江大学 Video fault-tolerant coding method based on self-adaptation flexible macro-block order

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005311855A (en) * 2004-04-23 2005-11-04 Toshiba Corp Moving image decoding method and moving image decoding device
CN101485208A (en) * 2006-07-05 2009-07-15 汤姆森许可贸易公司 Methods and apparatus for multi-view video encoding and decoding
CN101540901A (en) * 2008-03-20 2009-09-23 华为技术有限公司 Method and device for coding/decoding
US20110145549A1 (en) * 2009-12-15 2011-06-16 Electronics And Telecommunications Research Institute Pipelined decoding apparatus and method based on parallel processing

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020176635A1 (en) * 2019-02-27 2020-09-03 Futurewei Technologies, Inc. Adaptation parameter set identifier value spaces in video coding
US11889030B2 (en) 2019-02-27 2024-01-30 Huawei Technologies Co., Ltd. Adaptation parameter set types in video coding
US11895294B2 (en) 2019-02-27 2024-02-06 Huawei Technologies Co., Ltd. Luma mapping with chroma scaling adaptation parameter set in video coding

Also Published As

Publication number Publication date
CN103096054A (en) 2013-05-08
CN103096054B (en) 2015-07-08

Similar Documents

Publication Publication Date Title
WO2013064112A1 (en) Method and device of video image filtering process
RU2479937C2 (en) Information processing apparatus and method
CN102857751B (en) Video encoding and decoding methods and device
JP5650183B2 (en) Filter video data using multiple filters
US11272176B2 (en) Encoding processing method and device, decoding processing method and device, encoder, and decoder
US20200204831A1 (en) Encoding apparatus, decoding apparatus and transmission control method
KR20100042632A (en) Video indexing method, and video indexing device
CN113473126B (en) Video stream processing method and device, electronic equipment and computer readable medium
WO2021057697A1 (en) Video encoding and decoding methods and apparatuses, storage medium, and electronic device
CN110996122B (en) Video frame transmission method, device, computer equipment and storage medium
WO2013004161A1 (en) Method and device for classifying pixel of video image
CN110868610A (en) Streaming media transmission method and device and server
CN112740676A (en) Coordination of intra transform coding and wide-angle intra prediction
CN103517027B (en) Video data processing method and electronic equipment
CN112385229A (en) Virtual time affine candidates
JP2002010265A (en) Transmitting device and its method and receiving device and it method
CN105812922A (en) Multimedia file data processing method, system, player and client
CN114286194B (en) Instant messaging video processing method and device, electronic equipment and storage medium
CN112449188B (en) Video decoding method, video encoding device, video encoding medium, and electronic apparatus
AU2019301656B2 (en) In-loop filter with multiple regions
US20060072670A1 (en) Method for encoding and decoding video signals
EP3989566A1 (en) Motion information list construction method in video encoding and decoding, device, and apparatus
US8638859B2 (en) Apparatus for decoding residual data based on bit plane and method thereof
WO2023041317A1 (en) Method and apparatus for video encoding and decoding with chroma residuals sampling
WO2023046463A1 (en) Methods and apparatuses for encoding/decoding a video

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 12845510

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 12845510

Country of ref document: EP

Kind code of ref document: A1