WO2014005447A1 - 双向预测图像片的编码、解码方法及设备 - Google Patents
双向预测图像片的编码、解码方法及设备 Download PDFInfo
- Publication number
- WO2014005447A1 WO2014005447A1 PCT/CN2013/073813 CN2013073813W WO2014005447A1 WO 2014005447 A1 WO2014005447 A1 WO 2014005447A1 CN 2013073813 W CN2013073813 W CN 2013073813W WO 2014005447 A1 WO2014005447 A1 WO 2014005447A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- motion information
- indication
- fusion mode
- list
- indicate
- 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.)
- Ceased
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/46—Embedding additional information in the video signal during the compression process
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/50—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding
- H04N19/503—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding involving temporal prediction
- H04N19/51—Motion estimation or motion compensation
- H04N19/513—Processing of motion vectors
- H04N19/517—Processing of motion vectors by encoding
- H04N19/52—Processing of motion vectors by encoding by predictive encoding
Definitions
- the present application relates to codec technology, and in particular, to a method and device for encoding and decoding bidirectionally predicted image slices. Background technique
- High Efficiency Video Coding is a new generation of video coding standards designed to meet the growing demand for video applications, especially for high-definition video applications.
- the bi-predictive image slice may include a plurality of image blocks.
- a plurality of merge mode motion information is constructed to form a fusion mode motion information ⁇ 'J Table ( merge candidate list ).
- the prediction mode employed by the zero merge candidate utilized in constructing the fusion mode motion information list is bidirectional prediction, if the encoding device selects one of the zero motion information, the encoding device utilizes the zero motion. The processing of the information encoding operation is complicated. Similarly, decoding devices also have this problem. Summary of the invention
- aspects of the present application provide a method and a device for encoding and decoding a bidirectionally predicted image slice, which are used to reduce processing complexity of an encoding operation performed by the encoding device using zero motion information, and reduce decoding operation by the decoding device using zero motion information. Handling complexity.
- a method for decoding a bi-predictive image slice is provided, the bi-directional predicted image slice includes at least one image block, and the method includes:
- the code stream includes a fused mode indication and a motion information indication
- the fused mode indication is used to indicate that an encoding mode used by the image block is a fused mode
- the motion information indication is used to indicate a coding The fusion mode motion information used by the image block
- the zero motion information includes a first indication, where the first indication is used to indicate that the prediction mode is one-way prediction, according to the merging mode indication; And obtaining, in the fusion mode motion information list, the fusion mode motion information indicated by the motion information indication;
- the decoding operation is performed using the fusion mode motion information.
- a method for encoding a bi-predictive image slice, the bi-predictive image slice comprising at least one image block comprising:
- the fused mode motion information list where the zero motion information includes a first indication, where the first indication is used to indicate that the prediction mode is one-way prediction;
- a fusion mode motion information using the fusion mode motion information, encoding the image block, where the encoded code stream includes a fusion mode indication and a motion information indication, where
- the fusion mode indication is used to indicate that the coding mode used by the image block is a fusion mode
- the motion information indication is used to indicate the fusion mode motion information used to encode the image block.
- a decoding apparatus for bidirectionally predicting an image slice includes at least one image block, and the device includes:
- a receiving unit configured to receive a code stream, and transmit the code stream to a construction unit, an obtaining unit, and a decoding unit, where the code stream includes a fusion mode indication and a motion information indication, where the fusion mode indication is used to indicate the The coding mode used by the image block is a fusion mode, and the motion information indication is used to indicate the fusion mode motion information used to encode the image block;
- the constructing unit is configured to construct, according to the fusion mode indication, a fusion mode motion information list by using zero motion information, where the zero motion information includes a first indication, where the first indication is used to indicate that the prediction mode is one-way prediction ;
- the obtaining unit is configured to obtain, in the fusion mode motion information list, the fusion mode motion information indicated by the motion information indication, and transmit the fusion mode motion information to a decoding unit;
- the decoding unit is configured to perform a decoding operation by using the fusion mode motion information.
- an encoding apparatus for bidirectionally predicting an image slice is provided, the bidirectional predicted image slice includes at least one image block, and the device includes:
- a determining unit configured to determine that an encoding mode used by the image block is a merge mode, and Transmitting the fusion mode to the construction unit and the coding unit;
- the constructing unit is configured to construct a fusion mode motion information list by using zero motion information according to the fusion mode, where the zero motion information includes a first indication, where the first indication is used to indicate that the prediction mode is one-way prediction, Transmitting the fusion mode motion information list to the selection unit; the selecting unit, configured to: in the fusion mode motion information list, select a fusion mode motion information, and transmit the fusion mode motion information to the coding Unit
- the encoding unit is configured to encode the image block by using the fusion mode motion information, where the encoded code stream includes a fusion mode indication and a motion information indication, where the fusion mode indication is used to indicate the image
- the coding mode used by the block is a fused mode
- the motion information indication is used to indicate the fused mode motion information used to encode the image block.
- the embodiment of the present application constructs a fusion mode motion information list by using zero motion information, where the zero motion information includes a first indication, where the first indication is used to indicate that the prediction mode is one-way prediction, thereby reducing The processing complexity of the encoding operation by the encoding device using the zero motion information, or the processing complexity of the decoding operation by the decoding device using the zero motion information.
- FIG. 1 is a schematic flow chart of a method for decoding a bidirectional predicted image slice according to an embodiment of the present application
- FIG. 2 is a schematic flow chart of a method for encoding a bidirectional predicted image slice according to another embodiment of the present application
- FIG. 3 is a schematic structural diagram of a decoding device for a bidirectionally predicted image slice according to another embodiment of the present application.
- FIG. 4 is a schematic structural diagram of an apparatus for encoding a bidirectional predicted image slice according to another embodiment of the present disclosure.
- the technical solutions in the embodiments of the present application are clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the present application.
- the embodiments are part of the embodiments of the present application, and not all of the embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments of the present application without departing from the inventive scope are the scope of the present application.
- FIG. 1 is a schematic flow chart of a method for decoding a bidirectional predicted image slice according to an embodiment of the present disclosure, where the bidirectional predicted image slice includes at least one image block.
- the decoding method of the bidirectional prediction image slice of this embodiment may include:
- the code stream includes a fused mode indication and a motion information indication, where the fused mode indication is used to indicate that an encoding mode used by the image block is a fused mode, and the motion information indication is used to indicate The fused mode motion information used to encode the image block.
- a fusion mode motion information list by using zero motion information, where the zero motion information includes a first indication, where the first indication is used to indicate that the prediction mode is one-way prediction.
- fusion mode motion information list obtain the fusion mode motion information indicated by the motion information indication.
- the unidirectional prediction indicated by the first indication may be a forward prediction, or may be a backward prediction, which is not limited in this embodiment.
- the zero motion information may specifically include a first indication, where the first indication is used to indicate that the prediction mode is one-way prediction, that is, the prediction mode used by the zero motion information is a one-way prediction.
- the first indication can include two binary symbol markers, a first binary symbol marker and a second binary symbol marker.
- the first binary symbol mark indicates the prediction mode Whether it is forward prediction
- the second binary symbol flag indicates whether the prediction mode is backward prediction.
- the first binary symbol flag may be set to 1 to set the second binary symbol flag to 0 to indicate forward prediction, or the first binary symbol flag may also be set to 0.
- the hex symbol is set to 1 to indicate backward prediction.
- the binary symbol flag may be set to 0 to indicate forward prediction, then the binary symbol flag is set to 1 to indicate backward prediction, or the binary symbol flag may be set to 1 to indicate forward prediction. Then, the binary symbol flag is set to 0 to indicate backward prediction.
- the neighboring motion information may be specifically configured according to the motion information of the spatial neighboring block and/or the motion information of the temporal neighboring block, and configured according to the neighboring motion information.
- the fusion mode motion information list For example, the proximity motion information may be added to an empty list to construct the fusion mode motion information list. If the fusion mode motion information list is not filled, the combined motion information may be further configured according to the neighboring motion information, and the combined motion information is added to the fusion mode motion information list; if the fusion mode motion If the information list is still not filled, the zero motion information may be further configured according to the reference image list determined by the prediction manner, and the zero motion information is added to the fusion mode motion information list.
- the maximum number of the fused mode motion information that can be included in the fused mode motion information list is a preset value, if the number of the fused mode motion information in the fused mode motion information list does not reach the preset value. Then, it is considered that the fusion mode motion information list is not filled.
- the zero motion information may further include a second indication, where the second indication is used to indicate a reference in the reference image list determined by the prediction mode. image.
- the second indication (eg, refjdx ) may be used to indicate that one of the reference image list (ie, the forward reference image list) determined by the forward prediction is determined.
- Reference image Since the forward prediction does not use the backward reference picture list, accordingly, another indication (for example, refjdx) may be further included, and the value of the indication may be arbitrarily set to indicate backward prediction.
- Determined reference image list ie backward reference Determining any one of the reference images in the test image list) or indicating that the indication is invalid (for example,
- the zero motion information may further include a third indication, where the third indication is used to indicate the reference image indicated by the second indication.
- the displacement is 0.
- the third indication (eg, (0, 0)) may be used to indicate in the reference image indicated by the second indication (eg, refjdx) (0, 0) this position, determining the prediction signal required for the decoding; since the forward prediction does not use the backward reference picture list, accordingly, another indication may be further included, the value of the indication may be Any setting (for example, (0, 0)) for indicating the position of (0, 0) in any one of the reference images determined in the backward prediction determined reference image list (ie, the backward reference image list), Or to indicate that the indication is invalid.
- the default fusion mode motion information may also include the first indication.
- the fused mode motion information list is configured by using the zero motion information, where the zero motion information includes a first indication, where the first indication is used to indicate that the prediction mode is unidirectional prediction, thereby reducing the decoding device using zero.
- the processing complexity of the decoding operation of the motion information for example, the data loading burden is reduced to half of the fusion mode motion information using other bidirectional predictions, or the weighted average in the bidirectional prediction using the bidirectionally predicted fusion mode motion information is omitted. Operation operations, etc.
- FIG. 2 is a schematic flowchart of a method for encoding a bidirectional predicted image slice according to another embodiment of the present disclosure, where the bidirectional predicted image slice includes at least one image block.
- the encoding method of the bidirectional pre-j image slice of this embodiment may include: 201. Determine an encoding mode used by the image block to be a merge mode.
- a fused mode motion information list where the zero motion information includes a first indication, where the first indication is used to indicate that the prediction mode is unidirectional prediction.
- the encoded code stream includes a fusion mode indication and a motion information indication, where the fusion mode indication is used to indicate that the image block is used.
- the coding mode is a fusion mode
- the motion information indication is used to indicate the fusion mode motion information used to encode the image block.
- the unidirectional prediction indicated by the first indication may be a forward prediction, or may be a backward prediction, which is not limited in this embodiment.
- the zero motion information may specifically include a first indication, where the first indication is used to indicate that the prediction mode is one-way prediction, that is, the prediction mode used by the zero motion information is a one-way prediction.
- the first indication can include two binary symbol markers, a first binary symbol marker and a second binary symbol marker.
- the first binary symbol flag indicates whether the prediction mode is forward prediction
- the second binary symbol flag indicates whether the prediction mode is backward prediction.
- the first binary symbol flag may be set to 1 to set the second binary symbol flag to 0 to indicate forward prediction, or the first binary symbol flag may also be set to 0.
- the hex symbol is set to 1 to indicate backward prediction.
- the binary symbol flag may be set to 0 to indicate forward prediction, then the binary symbol flag is set to 1 to indicate backward prediction, or the binary symbol flag may be set to 1 to indicate forward prediction. Then, the binary symbol flag is set to 0 to indicate backward prediction.
- the neighboring motion information may be specifically configured according to the motion information of the spatial neighboring block and/or the motion information of the temporal neighboring block, and configured according to the neighboring motion information.
- the fusion mode motion information list For example, the proximity motion information may be added to an empty list to construct the fusion mode motion information list. If the fusion mode motion information list is not filled, then one can be further Step: constructing combined motion information according to the adjacent motion information, adding the combined motion information to the fusion mode motion information list; if the fusion mode motion information list is still not filled, further The reference mode list determined by the prediction mode constructs the zero motion information, and the zero motion information is added to the fusion mode motion information list.
- the maximum number of the fused mode motion information that can be included in the fused mode motion information list is a preset value, if the number of the fused mode motion information in the fused mode motion information list does not reach the preset value. Then, it is considered that the fusion mode motion information list is not filled.
- the zero motion information may further include a second indication, where the second indication is used to indicate a reference in the reference image list determined by the prediction mode. image.
- the second indication (eg, refjdx ) may be used to indicate that one of the reference image list (ie, the forward reference image list) determined by the forward prediction is determined.
- Reference image Since the forward prediction does not use the backward reference picture list, accordingly, another indication may be further included, and the value of the indication may be arbitrarily set (for example, refjdx ) for indicating backward prediction
- the determined reference image list ie, the backward reference image list
- the zero motion information may further include a third indication, where the third indication is used to indicate the reference image indicated by the second indication.
- the displacement is 0.
- the third indication (eg, (0, 0)) may be used to indicate in the reference image indicated by the second indication (eg, refjdx) (0, 0) this position, determining the prediction signal required for the decoding; since the forward prediction does not use the backward reference picture list, accordingly, another indication may be further included, the value of the indication may be Any setting (for example, (0, 0)) for indicating the position of (0, 0) in any one of the reference images determined in the backward prediction determined reference image list (ie, the backward reference image list), Or to indicate that the indication is invalid.
- the default fusion mode motion information may also include the first finger.
- the fused mode motion information list is configured by using the zero motion information, where the zero motion information includes a first indication, where the first indication is used to indicate that the prediction mode is unidirectional prediction, thereby reducing the coding device using zero.
- the processing complexity of the decoding operation of the motion information for example, the data loading burden is reduced to half of the fusion mode motion information using other bidirectional predictions, or the weighted average in the bidirectional prediction using the bidirectionally predicted fusion mode motion information is omitted. Operation operations, etc.
- FIG. 3 is a schematic structural diagram of a decoding apparatus for a bidirectionally predicted image slice according to another embodiment of the present disclosure, where the bidirectional predicted image slice includes at least one image block, and as shown in FIG. 3, the bidirectionally predicted image slice of the embodiment is decoded.
- the device may include a receiving unit 31, a construction unit 32, an obtaining unit 33, and a decoding unit 34.
- the receiving unit 31 is configured to receive the code stream, and transmit the code stream to the constructing unit 32, the obtaining unit 33, and the decoding unit 34, where the code stream includes a fusion mode indication and a motion information indication, where the fusion mode indication
- the coding mode used to indicate that the image block is used is a fusion mode
- the motion information indication is used to indicate the fusion mode motion information used to encode the image block
- the constructing unit 32 is configured to indicate according to the fusion mode, Constructing a fusion mode motion information list by using zero motion information, the zero motion information including the first finger
- the first indication is used to indicate that the prediction mode is unidirectional prediction
- the obtaining unit 33 is configured to obtain, in the fusion mode motion information list, the fusion mode motion information indicated by the motion information indication, and
- the fusion mode motion information is transmitted to the decoding unit 34
- the decoding unit 34 is configured to perform a decoding operation by using the fusion mode motion information.
- the unidirectional prediction indicated by the first indication may be a forward prediction, or may be a backward prediction, which is not limited in this embodiment.
- the zero motion information may specifically include a first indication, where the first indication is used to indicate that the prediction mode is one-way prediction, that is, the prediction mode used by the zero motion information is a one-way prediction.
- the first indication can include two binary symbol markers, a first binary symbol marker and a second binary symbol marker.
- the first binary symbol flag indicates whether the prediction mode is forward prediction
- the second binary symbol flag indicates whether the prediction mode is backward prediction.
- the construction unit 32 may set the first binary symbol flag to 1 to set the second binary symbol flag to 0 to indicate forward prediction, or may also set the first binary symbol flag to 0.
- the second binary symbol flag is set to 1 to indicate backward prediction.
- the construction unit 32 can also indicate whether the one-way prediction is forward prediction or backward prediction with only one binary symbol flag. Specifically, the construction unit 32 may set the binary symbol flag to 0 to indicate forward prediction, then set the binary symbol flag to 1 to indicate backward prediction, or the construction unit 32 may also set the binary symbol flag. A value of 1 indicates forward prediction, then the binary symbol flag is set to 0 to indicate backward prediction.
- the constructing unit 32 may specifically construct the adjacent motion information according to the motion information of the spatial neighboring block and/or the motion information of the temporal neighboring block, and construct the location according to the neighboring motion information.
- a list of fusion mode motion information For example, the construction unit 32 may add the adjacent motion information to an empty list, thereby constructing the fusion mode motion information list.
- the constructing unit 32 may further construct the combined motion information according to the adjacent motion information, and add the combined motion information to the fusion mode motion information list;
- the fusion mode motion information list is not filled, and the constructing unit 32 may further construct the zero motion information according to the reference image list determined by the prediction manner, and add the zero motion information to the fusion mode motion information list.
- the maximum number of the fused mode motion information that can be included in the fused mode motion information list is a preset value, if the number of the fused mode motion information in the fused mode motion information list does not reach the preset value. Then, it is considered that the fusion mode motion information list is not filled.
- the zero motion information may further include a second indication, where the second indication is used to indicate a reference in the reference image list determined by the prediction mode. image.
- the second indication (eg, refjdx ) may be used to indicate that one of the reference image list (ie, the forward reference image list) determined by the forward prediction is determined.
- refjdx for indicating that any one of the reference images is determined in the reference image list determined by the backward prediction (ie, the backward reference image list), or is used to indicate that the indication is invalid (for example,
- the zero motion information may further include a third indication, where the third indication is used to indicate the reference image indicated by the second indication.
- the displacement is 0.
- the third indication for example, (0, (1,2)
- 0)) may be used to indicate the position of (0, 0) in the reference image indicated by the second indication (eg, refjdx), determining the prediction signal required for the decoding; since the forward prediction does not
- the backward reference picture list is used, and accordingly, another indication may be further included, and the value of the indication may be arbitrarily set (for example, (0, 0)) for indicating the reference image list determined in the backward prediction.
- the default fusion mode motion information may also include the first indication.
- the decoding device constructs the fusion mode motion information list by using the zero motion information by the constructing unit, where the zero motion information includes a first indication, where the first indication is used to indicate that the prediction mode is one-way prediction, thereby reducing
- the processing complexity of the decoding operation by the decoding device using zero motion information for example, the data loading load is reduced to half of the fusion mode motion information using other bidirectional prediction, or the bidirectional prediction using the bidirectional prediction fusion mode motion information is omitted. Weighted average arithmetic operations, etc.
- FIG. 4 is a schematic structural diagram of an encoding apparatus for a bidirectionally predicted image slice according to another embodiment of the present application, where the bidirectional predicted image slice includes at least one image block.
- the encoding apparatus of the bidirectionally predicted image slice of the present embodiment may include a determining unit 41, a constructing unit 42, a selecting unit 43, and an encoding unit 44.
- the determining unit 41 is configured to determine that the encoding mode used by the image block is a merge mode, and transmit the merge mode to the constructing unit 42 and the encoding unit 44; the constructing unit 42 is configured to use according to the blending mode.
- Zero-motion information constructing a fusion mode motion information list, the zero motion information includes a first indication, the first indication is used to indicate that the prediction mode is unidirectional prediction, and the fusion mode motion information list is transmitted to the selection unit 43;
- the selecting unit 43 is configured to select, in the fusion mode motion information list, a fusion mode motion information, and transmit the fusion mode motion information to the encoding unit 44;
- the encoding unit 44 is configured to use the fusion mode motion information
- the image block is encoded, and the encoded code stream includes a fusion mode indication and a motion information indication, where the fusion mode indication is used to indicate that the coding mode used by the image block is a fusion mode, and the motion information indication Used to indicate the fusion mode motion information used to encode the image block.
- the unidirectional prediction indicated by the first indication may be a forward prediction, or may be a backward prediction, which is not limited in this embodiment.
- the zero motion information may specifically include a first indication, where the first indication is used to indicate that the prediction mode is one-way prediction, that is, the prediction mode used by the zero motion information is a one-way prediction.
- the first indication can include two binary symbol markers, a first binary symbol marker and a second binary symbol marker.
- the first binary symbol mark indicates the prediction mode Whether it is forward prediction
- the second binary symbol flag indicates whether the prediction mode is backward prediction.
- the construction unit 42 may set the first binary symbol flag to 1 to set the second binary symbol flag to 0 to indicate forward prediction, or the construction unit 42 may also set the first binary symbol flag.
- a second binary symbol flag of 0 is set to 0 to indicate backward prediction.
- the construction unit 42 may also indicate whether the one-way prediction is forward prediction or backward prediction with only one binary symbol flag. Specifically, the construction unit 42 may set the binary symbol flag to 0 to indicate forward prediction, then set the binary symbol flag to 1 to indicate backward prediction, or the construction unit 42 may also set the binary symbol flag. A value of 1 indicates forward prediction, then the binary symbol flag is set to 0 to indicate backward prediction.
- the constructing unit 42 may specifically construct the adjacent motion information according to the motion information of the spatial neighboring block and/or the motion information of the temporal neighboring block, and construct the location according to the neighboring motion information.
- a list of fusion mode motion information For example, the constructing unit 42 may add the adjacent motion information to an empty list, thereby constructing the fusion mode motion information list.
- the constructing unit 42 may construct combined motion information according to the neighbor motion information, and add the combined motion information to the fusion mode motion information list;
- the mode motion information list is not filled, and the constructing unit 42 may construct the zero motion information according to the reference image list determined by the prediction manner, and add the zero motion information to the fusion mode motion information list.
- the maximum number of the fused mode motion information that can be included in the fused mode motion information list is a preset value, if the number of the fused mode motion information in the fused mode motion information list does not reach the preset value. Then, it is considered that the fusion mode motion information list is not filled.
- the zero motion information may further include a second indication, where the second indication is used to indicate a reference in the reference image list determined by the prediction mode. image.
- the second indication (eg, refjdx ) may be used to indicate that one of the reference image list (ie, the forward reference image list) determined by the forward prediction is determined.
- refjdx for indicating that any one of the reference images is determined in the reference image list (ie, the backward reference image list) determined by the backward prediction, or is used to indicate that the indication is invalid (for example, -1 or -2 or the like is smaller than Number of 0).
- the zero motion information may further include a third indication, where the third indication is used to indicate the reference image indicated by the second indication.
- the displacement is 0.
- the third indication (eg, (0, 0)) may be used to indicate in the reference image indicated by the second indication (eg, refjdx) (0, 0) this position, determining the prediction signal required for the decoding; since the forward prediction does not use the backward reference picture list, accordingly, another indication may be further included, the value of the indication may be Any setting (for example, (0, 0)) for indicating the position of (0, 0) in any one of the reference images determined in the backward prediction determined reference image list (ie, the backward reference image list), Or to indicate that the indication is invalid.
- the default fusion mode motion information may also include the first indication.
- the coding device constructs a fusion mode motion information list by using the zero motion information, and the zero motion information includes a first indication, where the first indication is used to indicate that the prediction mode is one-way prediction, thereby reducing
- the processing complexity of the decoding operation by the encoding device using zero motion information for example, the data loading burden is reduced to half of the fusion mode motion information using other bidirectional predictions, or the bidirectional prediction using the bidirectionally predicted fusion mode motion information is omitted. Weighted average arithmetic operations, etc.
- the disclosed systems, devices, and methods may be implemented in other ways.
- the device embodiments described above are merely illustrative.
- the division of the unit is only a logical function division.
- there may be another division manner for example, multiple units or components may be combined or Can be integrated into another system, or some features can be ignored, or not executed.
- the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, and may be in an electrical, mechanical or other form.
- the units described as separate components may or may not be physically separate, and the components displayed as units may or may not be physical units, i.e., may be located in one place, or may be distributed over multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
- each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
- the above integrated unit can be implemented in the form of hardware or in the form of a hardware plus software functional unit.
- the above-described integrated unit implemented in the form of a software functional unit can be stored in a computer readable storage medium.
- the above software functional unit is stored in a storage medium and includes a plurality of instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) or a processor to execute the method of the various embodiments of the present application. Part of the steps.
- the foregoing storage medium includes: a U disk, a removable hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk, and the like, which can store program code. .
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Compression Or Coding Systems Of Tv Signals (AREA)
Abstract
本申请实施例提供一种双向预测图像片的编码、解码方法及设备。本申请实施例通过利用零运动信息,构造融合模式运动信息列表,所述零运动信息包括第一指示,所述第一指示用于指示预测方式为单向预测,从而降低了编码设备利用零运动信息进行编码操作的处理复杂度,或者降低了解码设备利用零运动信息进行解码操作的处理复杂度。
Description
双向预测图像片的编码、 解码方法及设备
技术领域
本申请涉及编解码技术, 尤其涉及一种双向预测图像片的编码、 解码 方法及设备。 背景技术
高性能视频编码(High Efficiency Video Coding , HEVC ) , 是为满足日 益增长的视频应用需求, 特别是高清视频的应用需求而制定的新一代视频编 码标准。 双向预测图像片可以包括多个图像块, 在 HEVC标准中, 当图像块 釆用融合(merge )模式编码时, 会构造若干个融合模式运动信息 (merge candidate ) , 组成融合模式运动信息歹 'J表( merge candidate list ) 。
然而, 由于在构造融合模式运动信息列表时所利用的零运动信息 (zero merge candidate )所釆用的预测方式为双向预测, 如果编码设备选择其中的 一个零运动信息, 则编码设备利用该零运动信息进行编码操作的处理复杂度 较高。 类似地, 解码设备同样也存在这个问题。 发明内容
本申请的多个方面提供一种双向预测图像片的编码、 解码方法及设 备, 用以降低编码设备利用零运动信息进行编码操作的处理复杂度, 以及 降低解码设备利用零运动信息进行解码操作的处理复杂度。
本申请的一方面, 提供一种双向预测图像片的解码方法, 所述双向预 测图像片包括至少一个图像块, 所述方法包括:
接收码流, 所述码流中包含融合模式指示和运动信息指示, 所述融合 模式指示用于指示所述图像块所釆用的编码模式为融合模式, 所述运动信 息指示用于指示编码所述图像块所使用的融合模式运动信息;
根据所述融合模式指示, 利用零运动信息, 构造融合模式运动信息列 表, 所述零运动信息包括第一指示, 所述第一指示用于指示预测方式为单 向预测;
在所述融合模式运动信息列表中, 获得所述运动信息指示所指示的所 述融合模式运动信息;
利用所述融合模式运动信息, 进行解码操作。
本申请的另一方面, 提供一种双向预测图像片的编码方法, 所述双向 预测图像片包括至少一个图像块, 所述方法包括:
确定所述图像块所釆用的编码模式为融合模式;
根据所述融合模式, 利用零运动信息, 构造融合模式运动信息列表, 所述零运动信息包括第一指示, 所述第一指示用于指示预测方式为单向预 测;
在所述融合模式运动信息列表中, 选择一个融合模式运动信息; 利用所述融合模式运动信息, 对所述图像块进行编码, 所述编码的码 流中包含融合模式指示和运动信息指示, 所述融合模式指示用于指示所述 图像块所釆用的编码模式为融合模式, 所述运动信息指示用于指示编码所 述图像块所使用的所述融合模式运动信息。
本申请的另一方面, 提供一种双向预测图像片的解码设备, 所述双向 预测图像片包括至少一个图像块, 所述设备包括:
接收单元, 用于接收码流, 以及将所述码流传输给构造单元、 获得单 元和解码单元, 所述码流中包含融合模式指示和运动信息指示, 所述融合 模式指示用于指示所述图像块所釆用的编码模式为融合模式, 所述运动信 息指示用于指示编码所述图像块所使用的融合模式运动信息;
所述构造单元, 用于根据所述融合模式指示, 利用零运动信息, 构造 融合模式运动信息列表, 所述零运动信息包括第一指示, 所述第一指示用 于指示预测方式为单向预测;
所述获得单元, 用于在所述融合模式运动信息列表中, 获得所述运动 信息指示所指示的所述融合模式运动信息, 以及将所述融合模式运动信息 传输给解码单元;
所述解码单元, 用于利用所述融合模式运动信息, 进行解码操作。 本申请的另一方面, 提供一种双向预测图像片的编码设备, 所述双向 预测图像片包括至少一个图像块, 所述设备包括:
确定单元, 用于确定所述图像块所釆用的编码模式为融合模式, 以及
将所述融合模式传输给构造单元和编码单元;
所述构造单元, 用于根据所述融合模式, 利用零运动信息, 构造融合 模式运动信息列表, 所述零运动信息包括第一指示, 所述第一指示用于指 示预测方式为单向预测, 将所述融合模式运动信息列表传输给选择单元; 所述选择单元, 用于在所述融合模式运动信息列表中, 选择一个融合 模式运动信息, 以及将所述融合模式运动信息传输给所述编码单元;
所述编码单元, 用于利用所述融合模式运动信息, 对所述图像块进行 编码, 所述编码的码流中包含融合模式指示和运动信息指示, 所述融合模 式指示用于指示所述图像块所釆用的编码模式为融合模式, 所述运动信息 指示用于指示编码所述图像块所使用的所述融合模式运动信息。
由上述技术方案可知, 本申请实施例通过利用零运动信息, 构造融合 模式运动信息列表, 所述零运动信息包括第一指示, 所述第一指示用于指 示预测方式为单向预测, 从而降低了编码设备利用零运动信息进行编码操 作的处理复杂度, 或者降低了解码设备利用零运动信息进行解码操作的处 理复杂度。 附图说明 为了更清楚地说明本申请实施例或现有技术中的技术方案, 下面将对 实施例或现有技术描述中所需要使用的附图作一简单地介绍, 显而易见 地, 下面描述中的附图是本申请的一些实施例, 对于本领域普通技术人员 来讲, 在不付出创造性劳动性的前提下, 还可以根据这些附图获得其他的 附图。
图 1为本申请一实施例提供的双向预测图像片的解码方法的流程示意 图;
图 2为本申请另一实施例提供的双向预测图像片的编码方法的流程示 意图;
图 3为本申请另一实施例提供的双向预测图像片的解码设备的结构示 意图;
图 4为本申请另一实施例提供的双向预测图像片的编码设备的结构示 意图。
具体实施方式 为使本申请实施例的目的、 技术方案和优点更加清楚, 下面将结合本 申请实施例中的附图, 对本申请实施例中的技术方案进行清楚、 完整地描 述,显然, 所描述的实施例是本申请一部分实施例, 而不是全部的实施例。 基于本申请中的实施例, 本领域普通技术人员在没有作出创造性劳动前提 下所获得的所有其他实施例, 都属于本申请保护的范围。
另外, 本文中术语"和 /或", 仅仅是一种描述关联对象的关联关系, 表 示可以存在三种关系, 例如, A和 /或 B, 可以表示: 单独存在 A, 同时存 在 A和 B, 单独存在 B这三种情况。 另外, 本文中字符 " , —般表示前后 关联对象是一种"或"的关系。
图 1为本申请一实施例提供的双向预测图像片的解码方法的流程示意 图, 所述双向预测图像片包括至少一个图像块。 如图 1所示, 本实施例的 双向预测图像片的解码方法可以包括:
101、 接收码流, 所述码流中包含融合模式指示和运动信息指示, 所 述融合模式指示用于指示所述图像块所釆用的编码模式为融合模式, 所述 运动信息指示用于指示编码所述图像块所使用的融合模式运动信息。
102、 根据所述融合模式指示, 利用零运动信息, 构造融合模式运动 信息列表, 所述零运动信息包括第一指示, 所述第一指示用于指示预测方 式为单向预测。
103、 在所述融合模式运动信息列表中, 获得所述运动信息指示所指 示的所述融合模式运动信息。
104、 利用所述融合模式运动信息, 进行解码操作。
具体地, 所述第一指示所指示的单向预测可以为前向预测, 或者还可 以为后向预测, 本实施例对此不进行限定。
由于所述零运动信息具体可以包括第一指示, 所述第一指示用于指示 预测方式为单向预测, 也就是说, 所述零运动信息所釆用的预测方式为单 向预测。
例如, 所述第一指示可以包含两个二进制符号标记, 第一二进制符号 标记与第二二进制符号标记。 其中第一二进制符号标记指示所述预测模式
是否为前向预测, 其中第二二进制符号标记指示所述预测模式是否为后向 预测。 具体地, 可以将第一二进制符号标记设置为 1将第二二进制符号标 记设置为 0来表示前向预测, 或者还可以将第一二进制符号标记设置为 0 将第二二进制符号标记设置为 1来表示后向预测。
再例如, 还可以仅用一个二进制符号标记指示所述单向预测为前向预 测还是后向预测。 具体地, 可以将所述二进制符号标记设置为 0表示前向 预测, 那么则将所述二进制符号标记设置为 1表示后向预测, 或者还可以 将所述二进制符号标记设置为 1表示前向预测, 那么则将所述二进制符号 标记设置为 0表示后向预测。
可选地, 在本实施例的一个可能的实现方式中, 在 102中, 具体可以 根据空间邻近块的运动信息和 /或时间邻近块的运动信息构造邻近运动信 息, 根据所述邻近运动信息构造所述融合模式运动信息列表。 例如, 可以 将所述邻近运动信息添加到一个空列表中, 从而构造得到所述融合模式运 动信息列表。 如果所述融合模式运动信息列表没有被填充满, 则可以进一 步根据所述邻近运动信息构造组合运动信息, 将所述组合运动信息添加到 所述融合模式运动信息列表中; 如果所述融合模式运动信息列表仍然没有 被填充满, 则还可以进一步根据所述预测方式确定的参考图像列表构造所 述零运动信息, 将所述零运动信息添加到所述融合模式运动信息列表中。
需要说明的是, 所述融合模式运动信息列表所能够包含的融合模式运 动信息的最大数量为一预设值, 若所述融合模式运动信息列表中的融合模 式运动信息数量未达到该预设值, 则认为所述融合模式运动信息列表没有 被凑充满。
可选地, 在本实施例的一个可能的实现方式中, 所述零运动信息还可 以进一步包括第二指示, 所述第二指示用于指示在所述预测方式确定的参 考图像列表中的参考图像。
例如,若所述预测方式为前向预测,那么所述第二指示(例如, refjdx ) 则可以用于指示在所述前向预测确定的参考图像列表(即前向参考图像列 表) 中确定一个参考图像; 由于前向预测不会使用后向参考图像列表, 因 此, 相应地, 还可以进一步包括另一个指示 (例如, refjdx ) , 该指示的 取值可以任意设置, 用于指示在后向预测确定的参考图像列表(即后向参
考图像列表)中确定任意一个参考图像, 或者用于指示该指示无效(例如,
-1或 -2等小于 0的数) 。
可选地, 在本实施例的一个可能的实现方式中, 所述零运动信息还可 以进一步包括第三指示, 所述第三指示用于指示在所述第二指示所指示的 参考图像中的位移为 0。
例如, 若所述预测方式为前向预测, 那么所述第三指示(例如, (0, 0 ) ) 则可以用于指示在所述第二指示 (例如, refjdx ) 所指示的参考图 像中的 (0, 0 )这个位置, 确定所述解码所需要的预测信号; 由于前向预 测不会使用后向参考图像列表, 因此, 相应地, 还可以进一步包括另一个 指示, 该指示的取值可以任意设置 (例如, (0, 0 ) ) , 用于指示在后向 预测确定的参考图像列表(即后向参考图像列表) 中所确定的任意一个参 考图像中的 (0, 0 ) 这个位置, 或者用于指示该指示无效。
可以理解的是, 如果在构造所述零运动信息时, 使用了默认的融合模 式运动信息, 那么所述默认的融合模式运动信息也可以包括所述第一指 示。
相应地, 若所述预测方式为前向预测, 那么所述默认的融合模式运动 信息还可以进一步包括一个指示, 该指示用于指示在前向预测确定的参考 图像列表中的一个默认参考图像(例如, ref_idx=0 ) ; 进一步地, 还可以 进一步再包括一个指示,该指示用于指示在所述默认参考图像( ref_idx=0 ) 中的位移为 0, 即 (0, 0 ) 。
本实施例中, 通过利用零运动信息, 构造融合模式运动信息列表, 所述 零运动信息包括第一指示, 所述第一指示用于指示预测方式为单向预测, 从 而降低了解码设备利用零运动信息进行解码操作的处理复杂度, 例如, 数 据载入负担降至利用其它双向预测的融合模式运动信息的一半, 或者省去 了利用其它双向预测的融合模式运动信息进行双向预测中的加权平均运算 操作等。
另外, 本实施例提供的技术方案, 对视频压缩效率没有影响。
图 2为本申请另一实施例提供的双向预测图像片的编码方法的流程示 意图, 所述双向预测图像片包括至少一个图像块。 如图 2所示, 本实施例 的双向预 ' j图像片的编码方法可以包括:
201、 确定所述图像块所釆用的编码模式为融合模式。
202、 根据所述融合模式, 利用零运动信息, 构造融合模式运动信息 列表, 所述零运动信息包括第一指示, 所述第一指示用于指示预测方式为 单向预测。
203、 在所述融合模式运动信息列表中, 选择一个融合模式运动信息。
204、 利用所述融合模式运动信息, 对所述图像块进行编码, 所述编 码的码流中包含融合模式指示和运动信息指示, 所述融合模式指示用于指 示所述图像块所釆用的编码模式为融合模式, 所述运动信息指示用于指示 编码所述图像块所使用的所述融合模式运动信息。
具体地, 所述第一指示所指示的单向预测可以为前向预测, 或者还可 以为后向预测, 本实施例对此不进行限定。
由于所述零运动信息具体可以包括第一指示, 所述第一指示用于指示 预测方式为单向预测, 也就是说, 所述零运动信息所釆用的预测方式为单 向预测。
例如, 所述第一指示可以包含两个二进制符号标记, 第一二进制符号 标记与第二二进制符号标记。 其中第一二进制符号标记指示所述预测模式 是否为前向预测, 其中第二二进制符号标记指示所述预测模式是否为后向 预测。 具体地, 可以将第一二进制符号标记设置为 1将第二二进制符号标 记设置为 0来表示前向预测, 或者还可以将第一二进制符号标记设置为 0 将第二二进制符号标记设置为 1来表示后向预测。
再例如, 还可以仅用一个二进制符号标记指示所述单向预测为前向预 测还是后向预测。 具体地, 可以将所述二进制符号标记设置为 0表示前向 预测, 那么则将所述二进制符号标记设置为 1表示后向预测, 或者还可以 将所述二进制符号标记设置为 1表示前向预测, 那么则将所述二进制符号 标记设置为 0表示后向预测。
可选地, 在本实施例的一个可能的实现方式中, 在 202中, 具体可以 根据空间邻近块的运动信息和 /或时间邻近块的运动信息构造邻近运动信 息, 根据所述邻近运动信息构造所述融合模式运动信息列表。 例如, 可以 将所述邻近运动信息添加到一个空列表中, 从而构造得到所述融合模式运 动信息列表。 如果所述融合模式运动信息列表没有被填充满, 则可以进一
步根据所述邻近运动信息构造组合运动信息, 将所述组合运动信息添加到 所述融合模式运动信息列表中; 如果所述融合模式运动信息列表仍然没有 被填充满, 则还可以进一步根据所述预测方式确定的参考图像列表构造所 述零运动信息, 将所述零运动信息添加到所述融合模式运动信息列表中。
需要说明的是, 所述融合模式运动信息列表所能够包含的融合模式运 动信息的最大数量为一预设值, 若所述融合模式运动信息列表中的融合模 式运动信息数量未达到该预设值, 则认为所述融合模式运动信息列表没有 被凑充满。
可选地, 在本实施例的一个可能的实现方式中, 所述零运动信息还可 以进一步包括第二指示, 所述第二指示用于指示在所述预测方式确定的参 考图像列表中的参考图像。
例如,若所述预测方式为前向预测,那么所述第二指示(例如, refjdx ) 则可以用于指示在所述前向预测确定的参考图像列表(即前向参考图像列 表) 中确定一个参考图像; 由于前向预测不会使用后向参考图像列表, 因 此, 相应地, 还可以进一步包括另一个指示, 该指示的取值可以任意设置 (例如, refjdx ) , 用于指示在后向预测确定的参考图像列表(即后向参 考图像列表)中确定任意一个参考图像, 或者用于指示该指示无效(例如, -1或 -2等小于 0的数) 。
可选地, 在本实施例的一个可能的实现方式中, 所述零运动信息还可 以进一步包括第三指示, 所述第三指示用于指示在所述第二指示所指示的 参考图像中的位移为 0。
例如, 若所述预测方式为前向预测, 那么所述第三指示(例如, (0, 0 ) ) 则可以用于指示在所述第二指示 (例如, refjdx ) 所指示的参考图 像中的 (0, 0 )这个位置, 确定所述解码所需要的预测信号; 由于前向预 测不会使用后向参考图像列表, 因此, 相应地, 还可以进一步包括另一个 指示, 该指示的取值可以任意设置 (例如, (0, 0 ) ) , 用于指示在后向 预测确定的参考图像列表(即后向参考图像列表) 中所确定的任意一个参 考图像中的 (0, 0 ) 这个位置, 或者用于指示该指示无效。
可以理解的是, 如果在构造所述零运动信息时, 使用了默认的融合模 式运动信息, 那么所述默认的融合模式运动信息也可以包括所述第一指
相应地, 若所述预测方式为前向预测, 那么所述默认的融合模式运动 信息还可以进一步包括一个指示, 该指示用于指示在前向预测确定的参考 图像列表中的一个默认参考图像(例如, ref_idx=0 ) ; 进一步地, 还可以 进一步包括再一个指示,该指示用于指示在所述默认参考图像( ref_idx=0 ) 中的位移为 0, 即 (0, 0 ) 。
本实施例中, 通过利用零运动信息, 构造融合模式运动信息列表, 所 述零运动信息包括第一指示, 所述第一指示用于指示预测方式为单向预 测, 从而降低了编码设备利用零运动信息进行解码操作的处理复杂度, 例 如, 数据载入负担降至利用其它双向预测的融合模式运动信息的一半, 或 者省去了利用其它双向预测的融合模式运动信息进行双向预测中的加权 平均运算操作等。
另外, 本实施例提供的技术方案, 对视频压缩效率没有影响。
需要说明的是, 对于前述的各方法实施例, 为了简单描述, 故将其都 表述为一系列的动作组合, 但是本领域技术人员应该知悉, 本申请并不受 所描述的动作顺序的限制, 因为依据本申请, 某些步骤可以釆用其他顺序 或者同时进行。 其次, 本领域技术人员也应该知悉, 说明书中所描述的实 施例均属于优选实施例, 所涉及的动作和模块并不一定是本申请所必须 的。
在上述实施例中, 对各个实施例的描述都各有侧重, 某个实施例中没 有详述的部分, 可以参见其他实施例的相关描述。
图 3为本申请另一实施例提供的双向预测图像片的解码设备的结构示 意图, 所述双向预测图像片包括至少一个图像块, 如图 3所示, 本实施例 的双向预测图像片的解码设备可以包括接收单元 31、 构造单元 32、 获得 单元 33和解码单元 34。 其中, 接收单元 31用于接收码流, 以及将所述 码流传输给构造单元 32、获得单元 33和解码单元 34, 所述码流中包含融 合模式指示和运动信息指示, 所述融合模式指示用于指示所述图像块所釆 用的编码模式为融合模式, 所述运动信息指示用于指示编码所述图像块所 使用的融合模式运动信息; 构造单元 32用于根据所述融合模式指示, 利 用零运动信息, 构造融合模式运动信息列表, 所述零运动信息包括第一指
示, 所述第一指示用于指示预测方式为单向预测; 获得单元 33用于在所 述融合模式运动信息列表中, 获得所述运动信息指示所指示的所述融合模 式运动信息, 以及将所述融合模式运动信息传输给解码单元 34; 解码单 元 34用于利用所述融合模式运动信息, 进行解码操作。
具体地, 所述第一指示所指示的单向预测可以为前向预测, 或者还可 以为后向预测, 本实施例对此不进行限定。
由于所述零运动信息具体可以包括第一指示, 所述第一指示用于指示 预测方式为单向预测, 也就是说, 所述零运动信息所釆用的预测方式为单 向预测。
例如, 所述第一指示可以包含两个二进制符号标记, 第一二进制符号 标记与第二二进制符号标记。 其中第一二进制符号标记指示所述预测模式 是否为前向预测, 其中第二二进制符号标记指示所述预测模式是否为后向 预测。 具体地, 构造单元 32可以将第一二进制符号标记设置为 1将第二 二进制符号标记设置为 0来表示前向预测, 或者还可以将第一二进制符号 标记设置为 0将第二二进制符号标记设置为 1来表示后向预测。
再例如, 构造单元 32还可以仅用一个二进制符号标记指示所述单向 预测为前向预测还是后向预测。 具体地, 构造单元 32可以将所述二进制 符号标记设置为 0表示前向预测, 那么则将所述二进制符号标记设置为 1 表示后向预测, 或者构造单元 32还可以将所述二进制符号标记设置为 1 表示前向预测, 那么则将所述二进制符号标记设置为 0表示后向预测。
可选地, 在本实施例的一个可能的实现方式中, 构造单元 32具体可 以根据空间邻近块的运动信息和 /或时间邻近块的运动信息构造邻近运动 信息, 根据所述邻近运动信息构造所述融合模式运动信息列表。 例如, 构 造单元 32可以将所述邻近运动信息添加到一个空列表中, 从而构造得到 所述融合模式运动信息列表。 如果所述融合模式运动信息列表没有被填充 满,构造单元 32则可以进一步根据所述邻近运动信息构造组合运动信息, 将所述组合运动信息添加到所述融合模式运动信息列表中; 如果所述融合 模式运动信息列表没有被填充满, 构造单元 32则还可以进一步根据所述 预测方式确定的参考图像列表构造所述零运动信息, 将所述零运动信息添 加到所述融合模式运动信息列表中。
需要说明的是, 所述融合模式运动信息列表所能够包含的融合模式运 动信息的最大数量为一预设值, 若所述融合模式运动信息列表中的融合模 式运动信息数量未达到该预设值, 则认为所述融合模式运动信息列表没有 被凑充满。
可选地, 在本实施例的一个可能的实现方式中, 所述零运动信息还可 以进一步包括第二指示, 所述第二指示用于指示在所述预测方式确定的参 考图像列表中的参考图像。
例如,若所述预测方式为前向预测,那么所述第二指示(例如, refjdx ) 则可以用于指示在所述前向预测确定的参考图像列表(即前向参考图像列 表) 中确定一个参考图像; 由于前向预测不会使用后向参考图像列表, 因 此, 相应地, 还可以进一步包括另一个指示, 该指示的取值可以任意设置
(例如, refjdx ) , 用于指示在后向预测确定的参考图像列表(即后向参 考图像列表)中确定任意一个参考图像, 或者用于指示该指示无效(例如,
-1或 -2等小于 0的数) 。
可选地, 在本实施例的一个可能的实现方式中, 所述零运动信息还可 以进一步包括第三指示, 所述第三指示用于指示在所述第二指示所指示的 参考图像中的位移为 0。
例如, 若所述预测方式为前向预测, 那么所述第三指示(例如, (0,
0 ) ) 则可以用于指示在所述第二指示 (例如, refjdx ) 所指示的参考图 像中的 (0, 0 )这个位置, 确定所述解码所需要的预测信号; 由于前向预 测不会使用后向参考图像列表, 因此, 相应地, 还可以进一步包括另一个 指示, 该指示的取值可以任意设置 (例如, (0, 0 ) ) , 用于指示在后向 预测确定的参考图像列表(即后向参考图像列表) 中所确定的任意一个参 考图像中的 (0, 0 ) 这个位置, 或者用于指示该指示无效。
可以理解的是, 如果构造单元 32在构造所述零运动信息时, 使用了 默认的融合模式运动信息, 那么所述默认的融合模式运动信息也可以包括 所述第一指示。
相应地, 若所述预测方式为前向预测, 那么所述默认的融合模式运动 信息还可以进一步包括一个指示, 该指示用于指示在前向预测确定的参考 图像列表中的一个默认参考图像(例如, ref_idx=0 ) ; 进一步地, 还可以
进一步包括再一个指示,该指示用于指示在所述默认参考图像( ref_idx=0 ) 中的位移为 0, 即 (0, 0 ) 。
本实施例中, 解码设备通过构造单元利用零运动信息, 构造融合模式 运动信息列表, 所述零运动信息包括第一指示, 所述第一指示用于指示预 测方式为单向预测, 从而降低了解码设备利用零运动信息进行解码操作的 处理复杂度, 例如, 数据载入负担降至利用其它双向预测的融合模式运动 信息的一半, 或者省去了利用其它双向预测的融合模式运动信息进行双向 预测中的加权平均运算操作等。
另外, 本实施例提供的技术方案, 对视频压缩效率没有影响。
图 4为本申请另一实施例提供的双向预测图像片的编码设备的结构示 意图, 所述双向预测图像片包括至少一个图像块。 如图 4所示, 本实施例 的双向预测图像片的编码设备可以包括确定单元 41、 构造单元 42、 选择 单元 43和编码单元 44。 其中, 确定单元 41用于确定所述图像块所釆用 的编码模式为融合模式, 以及将所述融合模式传输给构造单元 42和编码 单元 44; 构造单元 42用于根据所述融合模式, 利用零运动信息, 构造融 合模式运动信息列表, 所述零运动信息包括第一指示, 所述第一指示用于 指示预测方式为单向预测, 将所述融合模式运动信息列表传输给选择单元 43; 选择单元 43用于在所述融合模式运动信息列表中, 选择一个融合模 式运动信息, 以及将所述融合模式运动信息传输给编码单元 44; 编码单 元 44用于利用所述融合模式运动信息, 对所述图像块进行编码, 所述编 码的码流中包含融合模式指示和运动信息指示, 所述融合模式指示用于指 示所述图像块所釆用的编码模式为融合模式, 所述运动信息指示用于指示 编码所述图像块所使用的所述融合模式运动信息。
具体地, 所述第一指示所指示的单向预测可以为前向预测, 或者还可 以为后向预测, 本实施例对此不进行限定。
由于所述零运动信息具体可以包括第一指示, 所述第一指示用于指示 预测方式为单向预测, 也就是说, 所述零运动信息所釆用的预测方式为单 向预测。
例如, 所述第一指示可以包含两个二进制符号标记, 第一二进制符号 标记与第二二进制符号标记。 其中第一二进制符号标记指示所述预测模式
是否为前向预测, 其中第二二进制符号标记指示所述预测模式是否为后向 预测。 具体地, 构造单元 42可以将第一二进制符号标记设置为 1将第二 二进制符号标记设置为 0来表示前向预测, 或者构造单元 42还可以将第 一二进制符号标记设置为 0将第二二进制符号标记设置为 1来表示后向预 测。
再例如, 构造单元 42还可以仅用一个二进制符号标记指示所述单向 预测为前向预测还是后向预测。 具体地, 构造单元 42可以将所述二进制 符号标记设置为 0表示前向预测, 那么则将所述二进制符号标记设置为 1 表示后向预测, 或者构造单元 42还可以将所述二进制符号标记设置为 1 表示前向预测, 那么则将所述二进制符号标记设置为 0表示后向预测。
可选地, 在本实施例的一个可能的实现方式中, 构造单元 42具体可 以根据空间邻近块的运动信息和 /或时间邻近块的运动信息构造邻近运动 信息, 根据所述邻近运动信息构造所述融合模式运动信息列表。 例如, 构 造单元 42可以将所述邻近运动信息添加到一个空列表中, 从而构造得到 所述融合模式运动信息列表。 如果所述融合模式运动信息列表没有被填充 满, 构造单元 42则可以根据所述邻近运动信息构造组合运动信息, 将所 述组合运动信息添加到所述融合模式运动信息列表中; 如果所述融合模式 运动信息列表没有被填充满, 构造单元 42则可以根据所述预测方式确定 的参考图像列表构造所述零运动信息, 将所述零运动信息添加到所述融合 模式运动信息列表中。
需要说明的是, 所述融合模式运动信息列表所能够包含的融合模式运 动信息的最大数量为一预设值, 若所述融合模式运动信息列表中的融合模 式运动信息数量未达到该预设值, 则认为所述融合模式运动信息列表没有 被凑充满。
可选地, 在本实施例的一个可能的实现方式中, 所述零运动信息还可 以进一步包括第二指示, 所述第二指示用于指示在所述预测方式确定的参 考图像列表中的参考图像。
例如,若所述预测方式为前向预测,那么所述第二指示(例如, refjdx ) 则可以用于指示在所述前向预测确定的参考图像列表(即前向参考图像列 表) 中确定一个参考图像; 由于前向预测不会使用后向参考图像列表, 因
此, 相应地, 还可以进一步包括另一个指示, 该指示的取值可以任意设置
(例如, refjdx ) , 用于指示在后向预测确定的参考图像列表(即后向参 考图像列表)中确定任意一个参考图像, 或者用于指示该指示无效(例如, -1或 -2等小于 0的数) 。
可选地, 在本实施例的一个可能的实现方式中, 所述零运动信息还可 以进一步包括第三指示, 所述第三指示用于指示在所述第二指示所指示的 参考图像中的位移为 0。
例如, 若所述预测方式为前向预测, 那么所述第三指示(例如, (0, 0 ) ) 则可以用于指示在所述第二指示 (例如, refjdx ) 所指示的参考图 像中的 (0, 0 )这个位置, 确定所述解码所需要的预测信号; 由于前向预 测不会使用后向参考图像列表, 因此, 相应地, 还可以进一步包括另一个 指示, 该指示的取值可以任意设置 (例如, (0, 0 ) ) , 用于指示在后向 预测确定的参考图像列表(即后向参考图像列表) 中所确定的任意一个参 考图像中的 (0, 0 ) 这个位置, 或者用于指示该指示无效。
可以理解的是, 如果构造单元 42在构造所述零运动信息时, 使用了 默认的融合模式运动信息, 那么所述默认的融合模式运动信息也可以包括 所述第一指示。
相应地, 若所述预测方式为前向预测, 那么所述默认的融合模式运动 信息还可以进一步包括一个指示, 该指示用于指示在前向预测确定的参考 图像列表中的一个默认参考图像(例如, ref_idx=0 ) ; 进一步地, 还可以 进一步包括再一个指示,该指示用于指示在所述默认参考图像( ref_idx=0 ) 中的位移为 0, 即 (0, 0 ) 。
本实施例中, 编码设备通过构造单元利用零运动信息, 构造融合模式 运动信息列表, 所述零运动信息包括第一指示, 所述第一指示用于指示预 测方式为单向预测, 从而降低了编码设备利用零运动信息进行解码操作的 处理复杂度, 例如, 数据载入负担降至利用其它双向预测的融合模式运动 信息的一半, 或者省去了利用其它双向预测的融合模式运动信息进行双向 预测中的加权平均运算操作等。
另外, 本实施例提供的技术方案, 对视频压缩效率没有影响。
所属领域的技术人员可以清楚地了解到, 为描述的方便和简洁, 上述
描述的系统, 装置和单元的具体工作过程, 可以参考前述方法实施例中的 对应过程, 在此不再赘述。
在本申请所提供的几个实施例中, 应该理解到, 所揭露的系统, 装置 和方法, 可以通过其它的方式实现。 例如, 以上所描述的装置实施例仅仅 是示意性的, 例如, 所述单元的划分, 仅仅为一种逻辑功能划分, 实际实 现时可以有另外的划分方式, 例如多个单元或组件可以结合或者可以集成 到另一个系统, 或一些特征可以忽略, 或不执行。 另一点, 所显示或讨论 的相互之间的耦合或直接耦合或通信连接可以是通过一些接口, 装置或单 元的间接耦合或通信连接, 可以是电性, 机械或其它的形式。
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的, 作为单元显示的部件可以是或者也可以不是物理单元, 即可以位于一个地 方, 或者也可以分布到多个网络单元上。 可以根据实际的需要选择其中的 部分或者全部单元来实现本实施例方案的目的。
另外, 在本申请各个实施例中的各功能单元可以集成在一个处理单元 中, 也可以是各个单元单独物理存在, 也可以两个或两个以上单元集成在 一个单元中。 上述集成的单元既可以釆用硬件的形式实现, 也可以釆用硬 件加软件功能单元的形式实现。
上述以软件功能单元的形式实现的集成的单元, 可以存储在一个计算 机可读取存储介质中。 上述软件功能单元存储在一个存储介质中, 包括若 干指令用以使得一台计算机设备(可以是个人计算机, 服务器, 或者网络 设备等) 或处理器 (processor )执行本申请各个实施例所述方法的部分 步骤。 而前述的存储介质包括: U盘、 移动硬盘、 只读存储器( Read-Only Memory, ROM )、 随机存取存储器 ( Random Access Memory, RAM ) 、 磁碟或者光盘等各种可以存储程序代码的介质。
最后应说明的是: 以上实施例仅用以说明本申请的技术方案, 而非对 其限制; 尽管参照前述实施例对本申请进行了详细的说明, 本领域的普通 技术人员应当理解: 其依然可以对前述各实施例所记载的技术方案进行修 改, 或者对其中部分技术特征进行等同替换; 而这些修改或者替换, 并不 使相应技术方案的本质脱离本申请各实施例技术方案的精神和范围。
Claims
1、 一种双向预测图像片的解码方法, 所述双向预测图像片包括至少 一个图像块, 其特征在于, 所述方法包括:
接收码流, 所述码流中包含融合模式指示和运动信息指示, 所述融合 模式指示用于指示所述图像块所釆用的编码模式为融合模式, 所述运动信 息指示用于指示编码所述图像块所使用的融合模式运动信息;
根据所述融合模式指示, 利用零运动信息, 构造融合模式运动信息列 表, 所述零运动信息包括第一指示, 所述第一指示用于指示预测方式为单 向预测;
在所述融合模式运动信息列表中, 获得所述运动信息指示所指示的所 述融合模式运动信息;
利用所述融合模式运动信息, 进行解码操作。
2、 根据权利要求 1所述的方法, 其特征在于, 所述利用零运动信息, 构造融合模式运动信息列表, 包括:
根据空间邻近块的运动信息和 /或时间邻近块的运动信息构造邻近运 动信息, 根据所述邻近运动信息构造所述融合模式运动信息列表;
如果所述融合模式运动信息列表没有被填充满, 则根据所述邻近运动 信息构造组合运动信息, 将所述组合运动信息添加到所述融合模式运动信 息列表中;
如果所述融合模式运动信息列表仍没有被填充满, 则根据所述预测方 式确定的参考图像列表构造所述零运动信息, 将所述零运动信息添加到所 述融合模式运动信息列表中。
3、 根据权利要求 1或 2所述的方法, 其特征在于, 所述零运动信息 还包括第二指示, 所述第二指示用于指示在所述预测方式确定的参考图像 列表中的参考图像。
4、 根据权利要求 3所述的方法, 其特征在于, 所述零运动信息还包 括第三指示, 所述第三指示用于指示在所述第二指示所指示的参考图像中 的位移为 0。
5、 一种双向预测图像片的编码方法, 所述双向预测图像片包括至少 一个图像块, 其特征在于, 所述方法包括:
确定所述图像块所釆用的编码模式为融合模式;
根据所述融合模式, 利用零运动信息, 构造融合模式运动信息列表, 所述零运动信息包括第一指示, 所述第一指示用于指示预测方式为单向预 测;
在所述融合模式运动信息列表中, 选择一个融合模式运动信息; 利用所述融合模式运动信息, 对所述图像块进行编码, 所述编码的码 流中包含融合模式指示和运动信息指示, 所述融合模式指示用于指示所述 图像块所釆用的编码模式为融合模式, 所述运动信息指示用于指示编码所 述图像块所使用的所述融合模式运动信息。
6、 根据权利要求 5所述的方法, 其特征在于, 所述利用零运动信息, 构造融合模式运动信息列表, 包括:
根据空间邻近块的运动信息和 /或时间邻近块的运动信息构造邻近运 动信息, 根据所述邻近运动信息构造所述融合模式运动信息列表;
如果所述融合模式运动信息列表没有被填充满, 则根据所述邻近运动 信息构造组合运动信息, 将所述组合运动信息添加到所述融合模式运动信 息列表中;
如果所述融合模式运动信息列表仍没有被填充满, 则根据所述预测方 式确定的参考图像列表构造所述零运动信息, 将所述零运动信息添加到所 述融合模式运动信息列表中。
7、 根据权利要求 5或 6所述的方法, 其特征在于, 所述零运动信息 还包括第二指示, 所述第二指示用于指示在所述预测方式确定的参考图像 列表中的参考图像。
8、 根据权利要求 7所述的方法, 其特征在于, 所述零运动信息还包 括第三指示, 所述第三指示用于指示在所述第二指示所指示的参考图像中 的位移为 0。
9、 一种双向预测图像片的解码设备, 所述双向预测图像片包括至少 一个图像块, 其特征在于, 所述设备包括:
接收单元, 用于接收码流, 以及将所述码流传输给构造单元、 获得单 元和解码单元, 所述码流中包含融合模式指示和运动信息指示, 所述融合 模式指示用于指示所述图像块所釆用的编码模式为融合模式, 所述运动信
息指示用于指示编码所述图像块所使用的融合模式运动信息; 所述构造单元, 用于根据所述融合模式指示, 利用零运动信息, 构造 融合模式运动信息列表, 所述零运动信息包括第一指示, 所述第一指示用 于指示预测方式为单向预测;
所述获得单元, 用于在所述融合模式运动信息列表中, 获得所述运动 信息指示所指示的所述融合模式运动信息, 以及将所述融合模式运动信息 传输给解码单元;
所述解码单元, 用于利用所述融合模式运动信息, 进行解码操作。
10、 根据权利要求 9所述的设备, 其特征在于, 所述构造单元具体用 于
根据空间邻近块的运动信息和 /或时间邻近块的运动信息构造邻近运 动信息, 根据所述邻近运动信息构造所述融合模式运动信息列表;
如果所述融合模式运动信息列表没有被填充满, 则根据所述邻近运动 信息构造组合运动信息, 将所述组合运动信息添加到所述融合模式运动信 息列表中;
如果所述融合模式运动信息列表仍没有被填充满, 则根据所述预测方 式确定的参考图像列表构造所述零运动信息, 将所述零运动信息添加到所 述融合模式运动信息列表中。
1 1、 根据权利要求 9或 10所述的设备, 其特征在于, 所述零运动信 息还包括第二指示, 所述第二指示用于指示在所述预测方式确定的参考图 像列表中的参考图像。
12、 根据权利要求 1 1所述的设备, 其特征在于, 所述零运动信息还 包括第三指示, 所述第三指示用于指示在所述第二指示所指示的参考图像 中的位移为 0。
13、 一种双向预测图像片的编码设备, 所述双向预测图像片包括至少 一个图像块, 其特征在于, 所述设备包括:
确定单元, 用于确定所述图像块所釆用的编码模式为融合模式, 以及 将所述融合模式传输给构造单元和编码单元;
所述构造单元, 用于根据所述融合模式, 利用零运动信息, 构造融合 模式运动信息列表, 所述零运动信息包括第一指示, 所述第一指示用于指
示预测方式为单向预测, 将所述融合模式运动信息列表传输给选择单元; 所述选择单元, 用于在所述融合模式运动信息列表中, 选择一个融合 模式运动信息, 以及将所述融合模式运动信息传输给所述编码单元;
所述编码单元, 用于利用所述融合模式运动信息, 对所述图像块进行 编码, 所述编码的码流中包含融合模式指示和运动信息指示, 所述融合模 式指示用于指示所述图像块所釆用的编码模式为融合模式, 所述运动信息 指示用于指示编码所述图像块所使用的所述融合模式运动信息。
14、 根据权利要求 13所述的设备, 其特征在于, 所述构造单元具体 用于
根据空间邻近块的运动信息和 /或时间邻近块的运动信息构造邻近运 动信息, 根据所述邻近运动信息构造所述融合模式运动信息列表;
如果所述融合模式运动信息列表没有被填充满, 则根据所述邻近运动 信息构造组合运动信息, 将所述组合运动信息添加到所述融合模式运动信 息列表中;
如果所述融合模式运动信息列表仍没有被填充满, 则根据所述预测方 式确定的参考图像列表构造所述零运动信息, 将所述零运动信息添加到所 述融合模式运动信息列表中。
15、 根据权利要求 13或 14所述的设备, 其特征在于, 所述零运动信 息还包括第二指示, 所述第二指示用于指示在所述预测方式确定的参考图 像列表中的参考图像。
16、 根据权利要求 15所述的设备, 其特征在于, 所述零运动信息还 包括第三指示, 所述第三指示用于指示在所述第二指示所指示的参考图像 中的位移为 0。
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201210225267.1 | 2012-07-02 | ||
| CN201210225267.1A CN103533372B (zh) | 2012-07-02 | 2012-07-02 | 双向预测图像片的编码、解码方法及设备 |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2014005447A1 true WO2014005447A1 (zh) | 2014-01-09 |
Family
ID=49881306
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2013/073813 Ceased WO2014005447A1 (zh) | 2012-07-02 | 2013-04-07 | 双向预测图像片的编码、解码方法及设备 |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN103533372B (zh) |
| WO (1) | WO2014005447A1 (zh) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN113453013A (zh) * | 2019-06-21 | 2021-09-28 | 杭州海康威视数字技术股份有限公司 | 预测模式的解码、编码方法及装置 |
Families Citing this family (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN110650348A (zh) * | 2018-10-03 | 2020-01-03 | 北京达佳互联信息技术有限公司 | 运动矢量的推导方法和编码方法、装置、设备及介质 |
| US20200169757A1 (en) * | 2018-11-23 | 2020-05-28 | Mediatek Inc. | Signaling For Multi-Reference Line Prediction And Multi-Hypothesis Prediction |
Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20110274158A1 (en) * | 2010-05-10 | 2011-11-10 | Mediatek Inc. | Method and Apparatus of Adaptive Loop Filtering |
| CN102447907A (zh) * | 2012-01-31 | 2012-05-09 | 北京工业大学 | 一种针对hevc的视频序列的编码方法 |
Family Cites Families (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US9215475B2 (en) * | 2006-02-02 | 2015-12-15 | Thomson Licensing | Method and apparatus for motion estimation using combined reference bi-prediction |
| US10080034B2 (en) * | 2008-03-10 | 2018-09-18 | Thomson Licensing Dtv | Method and apparatus for predictive frame selection supporting enhanced efficiency and subjective quality |
-
2012
- 2012-07-02 CN CN201210225267.1A patent/CN103533372B/zh active Active
-
2013
- 2013-04-07 WO PCT/CN2013/073813 patent/WO2014005447A1/zh not_active Ceased
Patent Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20110274158A1 (en) * | 2010-05-10 | 2011-11-10 | Mediatek Inc. | Method and Apparatus of Adaptive Loop Filtering |
| CN102447907A (zh) * | 2012-01-31 | 2012-05-09 | 北京工业大学 | 一种针对hevc的视频序列的编码方法 |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN113453013A (zh) * | 2019-06-21 | 2021-09-28 | 杭州海康威视数字技术股份有限公司 | 预测模式的解码、编码方法及装置 |
| CN113453013B (zh) * | 2019-06-21 | 2022-02-18 | 杭州海康威视数字技术股份有限公司 | 预测模式的解码、编码方法及装置 |
Also Published As
| Publication number | Publication date |
|---|---|
| CN103533372A (zh) | 2014-01-22 |
| CN103533372B (zh) | 2016-12-07 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN113194314B (zh) | 视频处理方法、编码端及解码端 | |
| JP6718976B2 (ja) | ビデオの符号化方法及び装置、機器、記憶媒体 | |
| CN112703737B (zh) | 多向视频流的可扩展性 | |
| KR102081213B1 (ko) | 화상 예측 방법 및 관련 장치 | |
| CN113905235B (zh) | 视频图像处理方法与装置 | |
| WO2016155576A1 (zh) | 图像编解码方法和相关装置 | |
| KR20250026874A (ko) | 비디오 처리 방법 및 기기 | |
| JP2021519039A (ja) | 動画の符号化並びに復号の方法、装置及びコンピュータプログラム | |
| EP3099071A1 (en) | Three-dimensional image coding method, three-dimensional image decoding method and related device | |
| CN103079067B (zh) | 运动矢量预测值列表构建方法和视频编解码方法及装置 | |
| TWI694713B (zh) | 處理視頻資料的方法和裝置 | |
| CN109005412B (zh) | 运动矢量获取的方法及设备 | |
| WO2014005447A1 (zh) | 双向预测图像片的编码、解码方法及设备 | |
| CN110832868A (zh) | 编码方法、解码方法、编码设备和解码设备 | |
| US9819958B2 (en) | Drawing system, information processing apparatus and drawing control method which switch drawing from still image data to video image data | |
| CN103108178B (zh) | 视频图像编解码的方法及装置 | |
| GB2585022A (en) | Video coding and decoding | |
| CN116760986B (zh) | 候选运动矢量生成方法、装置、计算机设备和存储介质 | |
| CN104301734B (zh) | 处理图像的方法和设备 | |
| CN103139556B (zh) | 视频图像编解码的方法及装置 | |
| BR112020026941B1 (pt) | Método e aparelho de predição de vetor de movimento, codificador, e decodificador | |
| HK1243852B (zh) | 图像预测方法和相关设备 | |
| JP2016134858A (ja) | 符号化装置、復号化装置及び映像送受信システム |
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: 13813552 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: 13813552 Country of ref document: EP Kind code of ref document: A1 |