+

WO2012113197A1 - Encoding or decoding method of prediction mode, and device thereof - Google Patents

Encoding or decoding method of prediction mode, and device thereof Download PDF

Info

Publication number
WO2012113197A1
WO2012113197A1 PCT/CN2011/076827 CN2011076827W WO2012113197A1 WO 2012113197 A1 WO2012113197 A1 WO 2012113197A1 CN 2011076827 W CN2011076827 W CN 2011076827W WO 2012113197 A1 WO2012113197 A1 WO 2012113197A1
Authority
WO
WIPO (PCT)
Prior art keywords
prediction mode
combination
prediction
image unit
adjacent image
Prior art date
Application number
PCT/CN2011/076827
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 WO2012113197A1 publication Critical patent/WO2012113197A1/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/46Embedding additional information in the video signal during the compression process
    • H04N19/463Embedding additional information in the video signal during the compression process by compressing encoding parameters before transmission

Definitions

  • the present invention relates to the field of video coding and decoding, and in particular, to a coding mode or decoding method and apparatus for a prediction mode. Background technique
  • Video coding algorithms use a range of techniques to achieve efficient video coding, such as intra prediction, inter prediction, transform, quantization, and entropy coding.
  • block-based motion vector is used to prevent inter-frame redundancy of the image through inter prediction, and then intra-prediction is used to eliminate intra-frame redundancy of the image by using spatial prediction mode; then, the prediction residual is transformed and quantized to eliminate Visual redundancy of the image; finally further compression by entropy coding process of motion vector, prediction mode, quantization parameter and transformation parameter.
  • skip mode In the video coding prediction mode, skip mode, direct mode, merge mode, inter mode, and intra mode are included.
  • the encoding order currently used is the highest priority in the skip mode, and then several other modes.
  • the above coding order is based on probability statistics, that is, the number of skip patterns is assumed to be the most, and so on.
  • the main object of the present invention is to provide a coding mode or decoding method and apparatus for predictive mode, which can adaptively select a prediction mode coding method and improve the efficiency of video compression.
  • a method of encoding or decoding a prediction mode comprising:
  • the prediction mode included in the pre-stored prediction mode list index table is a combination of prediction modes of one adjacent image unit, a combination of prediction modes of two adjacent image units, and three adjacent images. a combination of prediction modes of cells, or a combination of prediction modes of four adjacent image cells;
  • the order of the prediction modes in the pre-stored prediction mode list is sorted according to the prediction mode combination corresponding to the prediction mode list index in the prediction mode list index table.
  • the prediction mode combination in the pre-stored prediction mode list index table is combined into a prediction mode of three adjacent image units
  • the prediction mode combination of acquiring adjacent image units is:
  • the prediction mode combination in the pre-stored prediction mode list index table is combined into a prediction mode of three adjacent image units
  • the prediction mode combination of acquiring adjacent image units is:
  • a prediction mode of any unavailable adjacent image unit of the current image unit is configured as one of the prediction modes of the two available adjacent image units.
  • the prediction mode combination in the pre-stored prediction mode list index table is combined into a prediction mode of three adjacent image units
  • the prediction mode combination of acquiring adjacent image units is:
  • a prediction mode of any two unavailable adjacent image units of the current picture unit is configured as a prediction mode of the one available adjacent picture unit.
  • the prediction mode combination in the pre-stored prediction mode list index table is combined into a prediction mode of three adjacent image units
  • the prediction mode combination of acquiring adjacent image units is:
  • the prediction modes of any three unavailable neighboring image units of the current image unit are respectively configured as one of the prediction modes in the prediction mode list index table, and the prediction modes of the selected three unavailable adjacent image units may be Configured to be the same or different.
  • An apparatus for predicting a mode comprising: a prediction mode acquisition module, a prediction mode list query module, and an encoding module;
  • a prediction mode acquiring module configured to determine availability of adjacent image units of the current image unit, and obtain a prediction mode combination of the adjacent image units according to the determination result;
  • a prediction mode list querying module configured to obtain a prediction mode list of the current image unit according to the prediction mode combination obtained by the prediction mode acquisition module and the pre-stored prediction mode list index table;
  • an encoding module configured to entropy encode the actual prediction mode of the current image unit according to the prediction mode list of the current image unit obtained by the prediction mode list query module.
  • the prediction mode combination in the prediction mode list index table stored in the prediction mode list query module is a combination of prediction modes of one adjacent image unit, and two adjacent images. a combination of a prediction mode of a unit, a combination of prediction modes of three adjacent image units, or a combination of prediction modes of four adjacent image units;
  • the order of the prediction modes in the pre-stored prediction mode list is sorted according to the prediction mode combination corresponding to the prediction mode list index in the prediction mode list index table.
  • the prediction mode list query module is specifically configured to acquire four of the current image unit. a prediction mode of one or three available neighboring image units; three prediction modes are selected from the four or three available prediction modes as prediction mode combinations of adjacent image units.
  • the prediction mode list query module is specifically configured to acquire two current image units.
  • a prediction mode of available adjacent image units; a prediction mode of any unavailable adjacent image units of the current picture unit is configured as one of the prediction modes of the two available adjacent image units.
  • the prediction mode list query module is specifically configured to acquire one of the current image units. Prediction mode of adjacent image units; a prediction mode of any two unavailable adjacent image units of the current image unit is configured as a prediction mode of the one available adjacent image unit.
  • the prediction mode list query module is specifically configured to use the current image unit
  • the prediction modes of the three unavailable neighboring image units are respectively configured as one of the prediction modes in the prediction mode list index table, and the prediction modes of the selected three unavailable adjacent image units may be configured to be the same or different.
  • a decoding device for predictive mode comprising: a prediction mode acquisition module, a prediction Mode list query module, decoding module; wherein
  • a prediction mode acquiring module configured to determine availability of adjacent image units of the current image unit, and obtain a prediction mode combination of the adjacent image units according to the determination result;
  • a prediction mode list querying module configured to obtain a prediction mode list of the current image unit according to the prediction mode combination obtained by the prediction mode acquisition module and the pre-stored prediction mode list index table;
  • a decoding module configured to perform entropy decoding on the prediction mode of the current image unit according to the prediction mode list of the current image unit obtained by the prediction mode list query module, to obtain an actual prediction mode of the current image unit.
  • the prediction mode combination in the prediction mode list index table stored in the prediction mode list query module is a combination of prediction modes of one adjacent image unit, a combination of prediction modes of two adjacent image units, and three combinations. a combination of prediction modes of adjacent image units, or a combination of prediction modes of four adjacent image units;
  • the order of the prediction modes in the pre-stored prediction mode list is sorted according to the prediction mode combination corresponding to the prediction mode list index in the prediction mode list index table.
  • the invention obtains a prediction mode list most suitable for the current image unit by acquiring a prediction mode combination of adjacent image units of the current image unit, and entropy encodes the actual prediction mode of the current image unit according to the obtained prediction mode list, and effectively combines The motion attribute and texture information of the current image unit realize the adaptive selection prediction mode coding method, which improves the efficiency of video compression.
  • Figure 1 is a schematic diagram of an image unit and an adjacent image unit
  • FIG. 2 is a schematic diagram of an image unit and an adjacent image unit in a frame image
  • FIG. 5 is a schematic flowchart of an implementation of a method for encoding or decoding a prediction mode according to the present invention;
  • FIG. 6 is a schematic structural diagram of an encoding apparatus of a prediction mode provided by the present invention.
  • FIG. 7 is a schematic structural diagram of a decoding apparatus for a prediction mode according to the present invention. detailed description
  • the basic idea of the present invention is: determining the availability of adjacent image units of the current image unit, and acquiring the prediction mode combination of the adjacent image units according to the determination result; obtaining the prediction mode combination and the pre-stored prediction mode list index table according to the obtained prediction mode combination table a prediction mode list of the current image unit; when it is an encoding end, entropy encoding the actual prediction mode of the current image unit according to the prediction mode list of the current image unit; or, when it is a decoding end, according to the A prediction mode list of the current image unit, entropy decoding the prediction mode of the current image unit to obtain an actual prediction mode of the current image unit.
  • the spatial position between an image unit E and its adjacent image units A, B, C and D is as shown in Fig. 1.
  • the size of the image unit in Fig. 1 may be 16x16, 32x32, 64x64 or other pixel size; Is the left image unit of E, B is the upper image unit of E, C is the upper right image unit of E, and D is the upper left image unit of E.
  • the "availability" of an adjacent image unit means that the image unit should be within the image, and the image unit should belong to the same strip as the current image unit E (Slice/GOB/VP) Medium, and has been completed before E encoding or decoding; otherwise, adjacent image units are considered "unavailable".
  • the image unit may be a Coding Unit (CU) or a Prediction Unit (High Efficiency Video Coding, HEVC).
  • PU can also be a macro block (MB) in standards such as H.264, H.263, and MPEG-4.
  • FIG. 2 is a schematic diagram of an image unit and an adjacent image unit in a frame image, it can be seen that adjacent image units of the image unit E at the edge of the image are only partially available, even unavailable, such as the image unit E located in the upper left corner. Adjacent image units are not available; adjacent image unit portions of image unit E located in the lower left corner are available.
  • FIG. 3 is a schematic diagram of an image unit and an adjacent image unit in one frame of images using Slice/GOB/VP. As shown in FIG. 3, even if image unit E is not at the edge of the image, since Slice/GOB/VP is used, Some adjacent image units may also be partially unavailable.
  • FIG. 4 shows an implementation flow of a coding or decoding method of a prediction mode of the present invention. As shown in FIG. 4, the method includes the following steps:
  • Step 401 Determine the availability of adjacent image units of the current image unit.
  • the availability of the adjacent image unit is determined by determining whether the actual prediction mode of the adjacent image unit has been obtained; if it has been obtained, the adjacent image unit is available, otherwise it is unavailable.
  • Step 402 Acquire a prediction mode combination of adjacent image units.
  • the prediction mode combination of the adjacent image unit of the current image unit is acquired according to the determination result of step 401; then, the adjacent image unit included in the prediction mode combination in the prediction mode list index table stored in advance is combined; Number, obtaining a prediction mode combination of adjacent image units; wherein, the combination of prediction modes may be a combination of prediction modes of one adjacent image unit, a combination of prediction modes of two adjacent image units, three adjacent Combination of prediction modes of image units, or combination of prediction modes of four adjacent image units; prediction mode list index table is an index table used to index a list of prediction modes, including predictions The mode combination and the prediction mode list index corresponding to the combination; the order of the prediction modes in the pre-stored prediction mode list is sorted according to the prediction mode combination corresponding to the prediction mode list index.
  • the prediction mode further includes multiple types in the actual video standard
  • Skip Mode, Inter Mode, and Intra mode can be performed on the prediction modes of adjacent image units for the convenience of implementation.
  • Step 403 Obtain a prediction mode list Lp of the current image unit according to the prediction mode combination of the adjacent image unit of the current image unit obtained in step 402 and the pre-stored prediction mode list index table;
  • the prediction mode list index table is queried, and the prediction mode combination of the prediction mode combination of the adjacent image unit obtained in step 402 is found in the prediction mode list index table, and the prediction mode list index corresponding to the combination is obtained. Through the index, a pre-stored prediction mode list corresponding to the index is further obtained as the prediction mode list Lp of the current image unit.
  • Step 404 when it is the encoding end, encoding the current image unit to obtain an actual prediction mode P;
  • Step 405 Entropy encoding the actual prediction mode P of the current image unit according to the prediction mode list Lp of the current image unit;
  • Step 406 When it is the decoding end, entropy decoding the prediction mode of the current image unit in the code stream according to the prediction mode list Lp of the current image unit, to obtain an actual pre-presence of the current image unit. Test mode P.
  • the prediction mode list index table shown in FIG. 5 and Table 1 wherein the prediction mode combinations in the prediction mode list index table shown in Table 1 include three adjacent images.
  • the prediction mode of the unit, and for convenience of explanation, the prediction modes included in the prediction mode combination are: skip mode (represented as 0), inter mode (represented as 1), and intra mode (represented as 2).
  • skip mode represented as 0
  • inter mode represented as 1
  • intra mode represented as 2
  • Adjacent image unit one adjacent image unit two adjacent image unit three prediction mode of the prediction mode of the current image unit pre-prediction mode prediction mode list index
  • Figure 5 shows an implementation flow of a specific embodiment of the encoding or decoding method of the prediction mode of the present invention. As shown in Figure 5, the specific embodiment includes the following steps:
  • Step 501 Determine the availability of adjacent image units of the current image unit.
  • the availability of the adjacent image unit is determined by determining whether the actual prediction mode of the adjacent image unit has been obtained; if it has been obtained, the adjacent image unit is available, otherwise it is unavailable.
  • Step 502 Obtain a prediction mode of available adjacent image units.
  • step 503 when the current image unit has 3 or 4 available adjacent image units, the obtained adjacent image unit has a prediction mode of 3 or 4, and step 503 is performed; When the prediction modes of the available adjacent image units are two, step 504 is performed; when the obtained prediction mode of the adjacent image units is one, step 505 is performed; when there are no adjacent image units available in the current image unit When the obtained prediction mode of the adjacent image unit is 0, step 506 is performed;
  • Step 503 selecting three prediction modes from the obtained four or three available prediction modes as prediction mode combinations of adjacent image units, and performing step 507;
  • Step 504 Configure a prediction mode of any unavailable adjacent image unit of the current image unit as one of prediction modes of the available adjacent image unit, to obtain a prediction mode including 3 adjacent image units. Combination of prediction modes, step 507;
  • Step 505 Configure a prediction mode of any two unavailable adjacent image units of the current image unit as a prediction mode of the one available adjacent image unit, to obtain a prediction mode including three adjacent image units. Combination of prediction modes, step 507;
  • Step 506 predicting modes of any three unavailable adjacent image units of the current image unit
  • Each of the prediction modes in the prediction mode list index table is configured to obtain a prediction mode combination of prediction modes including three adjacent image units, and step 507 is performed;
  • the prediction modes of the selected three unavailable adjacent image units may be configured to be the same or different.
  • Step 507 Obtain a prediction mode list Lp of the current image unit according to the obtained prediction mode combination of the adjacent image unit and the pre-stored prediction mode list index table.
  • the prediction mode list index table is searched, and the prediction mode combination of the same prediction mode combination of the obtained adjacent image unit is found in the prediction mode list index table, and the prediction mode list index corresponding to the combination is obtained, and the index is obtained. Further obtaining a pre-stored prediction mode list corresponding to the index as a prediction mode list Lp of the current image unit;
  • the prediction mode with index 0 can be further searched in the pre-stored prediction mode list.
  • the P frame in the Baseline in the H.264 standard is taken as an example, and the prediction mode list with the index of 0 can use the prediction mode list in the H.264 standard, as shown in Table 2: Prediction mode Number prediction mode
  • the order of the prediction modes in the prediction mode list is a ranking according to the prediction mode combination corresponding to the prediction mode list index in the prediction mode list index table, for example, the index is
  • the prediction mode list of 13 is as shown in Table 3.
  • the prediction mode corresponding to index 13 in Table 1 is combined to be (1, 1, 1), that is, the prediction modes of adjacent image units of the current image unit are all inter mode. Therefore, the prediction mode of the current image unit is the most likely to be the inter mode, so the prediction mode numbers 1 to 5 belonging to the inter mode in Table 2 are raised to 0 to 4, and Table 3 is obtained, which can pass well.
  • the motion relationship between the adjacent image unit and the current image unit effectively combines the motion attributes, texture information, and the like of the current image unit to select a prediction mode encoding method.
  • Step 508 When the encoding end is used, the current image unit is encoded to obtain an actual prediction. Mode P, performing step 509;
  • Step 509 Entropy encoding the actual prediction mode P of the current image unit according to the prediction mode list Lp of the current image unit;
  • the prediction mode list Lp of the current image unit is a prediction mode list with an index of 26; as shown in Table 4;
  • the actual prediction mode P is an intra mode.
  • the prediction mode numbers belonging to the intra mode in Table 2 are increased from 6 to 10 to 0 to 4, and a prediction mode list with an index of 26 shown in Table 4 is obtained.
  • the priority of the actual prediction mode of the current image unit is significantly improved. For example, when the actual prediction mode of the current image unit is Intra_4 x 4, at this time, when the prediction mode Intra_4 4 is entropy encoded by Table 4, since the number corresponding to the prediction mode Intra_4 4 is 0, one bit can be used.
  • the entropy coding of 0 is completed, so that only one bit is needed at this time to complete the entropy coding of the prediction mode Intra_4 4; and the prediction mode list in the H.264 standard is used (as shown in Table 2), due to the prediction mode
  • the number corresponding to Intra_4 4 is 6, so it is necessary to use 5 bits to complete the entropy coding of 6. Therefore, 5 bits are needed at this time to complete the entropy coding of the prediction mode Intra_4 x 4 , and thus it can be seen that the present invention
  • the purpose of entropy coding of the actual prediction mode P can be accomplished with fewer codewords. Prediction mode number prediction mode
  • Step 510 When it is the decoding end, entropy decoding the prediction mode of the current image unit in the code stream according to the prediction mode list Lp of the current image unit, to obtain the actual prediction mode P of the current image unit.
  • FIG. 6 is a schematic diagram showing the structure of the encoding apparatus of the prediction mode provided by the present invention.
  • the encoding apparatus includes: a prediction mode acquisition module 61, a prediction mode list query module 62, and an encoding module 63;
  • the prediction mode obtaining module 61 is configured to determine the availability of the adjacent image unit of the current image unit, and acquire the prediction mode combination of the adjacent image unit according to the determination result; first, acquire a prediction mode of the adjacent image unit that is available for the current image unit; Then, based on pre-stored prediction modes The number of adjacent image units included in the prediction mode combination in the list index table is obtained, and the prediction mode combination of the adjacent image units is obtained; wherein the combination of the prediction modes may be a combination of prediction modes of one adjacent image unit, a combination of prediction modes of two adjacent image units, a combination of prediction modes of three adjacent image units, or a combination of prediction modes of four adjacent image units;
  • the prediction mode list index table is an index table used to index the prediction mode list, and includes a prediction mode combination and a prediction mode list index corresponding to the combination; and an arrangement order of the prediction modes in the pre-stored prediction mode list according to the prediction mode list The combination of prediction modes corresponding to the index is sorted.
  • the prediction mode list querying module 62 is configured to obtain a prediction mode list of the current image unit according to the prediction mode combination obtained by the prediction mode obtaining module 61 and the pre-stored prediction mode list index table; specifically, the query prediction mode list index table And obtaining, in the prediction mode list index table, a prediction mode combination that is the same as the prediction mode combination obtained by the prediction mode acquiring module 61, and further obtaining a prediction mode list index corresponding to the combination, and further obtaining the index by using the index A corresponding pre-stored prediction mode list is used as a prediction mode list of the current image unit.
  • the encoding module 63 is configured to entropy encode the actual prediction mode of the current image unit according to the prediction mode list of the current image unit obtained by the prediction mode list query module 62.
  • the prediction mode combination in the prediction mode list index table stored in the prediction mode list query module 62 is a combination of prediction modes of one adjacent image unit, a combination of prediction modes of two adjacent image units, and three Combination of prediction modes of adjacent image units, or combination of prediction modes of four adjacent image units; for ease of implementation, skip mode, inter mode, intra frame may be performed on prediction modes of adjacent image units
  • skip mode, inter mode, intra frame may be performed on prediction modes of adjacent image units.
  • the distinction between large categories such as patterns, and no further distinction is the inter mode between 16 X 16 or 16 x 8 between frames, so when the prediction mode includes skip mode, inter mode, intra mode , each prediction mode
  • the order of the prediction modes in the pre-stored prediction mode list is sorted according to the prediction mode combination corresponding to the prediction mode list index in the prediction mode list index table.
  • the prediction mode list querying module 62 is specifically configured to acquire four or three available current image units. a prediction mode of adjacent image units; three prediction modes are selected from the four or three available prediction modes as prediction mode combinations of adjacent image units.
  • the prediction mode list querying module 62 is specifically configured to acquire two available adjacent images of the current image unit. a prediction mode of the unit; configuring a prediction mode of any unavailable adjacent image unit of the current picture unit as one of the prediction modes of the two available adjacent image units.
  • the prediction mode list querying module 62 is specifically configured to acquire one available adjacent image unit of the current image unit. Prediction mode; a prediction mode of any two unavailable adjacent image units of the current picture unit is configured as a prediction mode of the one available adjacent picture unit.
  • the prediction mode list query module 62 is specifically configured to use any three of the current image units that are unavailable.
  • the prediction modes of the adjacent image units are respectively configured as one of the prediction modes in the prediction mode list index table, and a prediction mode combination including a prediction mode of three adjacent image units is obtained; wherein the three unavailable phases are selected Prediction of adjacent image units Modes can be configured to be the same or different.
  • FIG. 7 is a schematic diagram showing the structure of a decoding apparatus of a prediction mode provided by the present invention.
  • the decoding apparatus includes: a prediction mode acquisition module 71, a prediction mode list query module 72, and a decoding module 73;
  • the prediction mode obtaining module 71 is configured to determine the availability of the adjacent image unit of the current image unit, and obtain the prediction mode combination of the adjacent image unit according to the determination result; first, acquire a prediction mode of the adjacent image unit that is available for the current image unit; Then, the prediction mode combination of the adjacent image unit is obtained according to the number of adjacent image units included in the prediction mode combination in the pre-stored prediction mode list index table; wherein the combination of the prediction modes may be one adjacent image unit a combination of a prediction mode, a combination of prediction modes of two adjacent image units, a combination of prediction modes of three adjacent image units, or a combination of prediction modes of four adjacent image units;
  • the prediction mode list index table is an index table used to index the prediction mode list, and includes a prediction mode combination and a prediction mode list index corresponding to the combination; and an arrangement order of the prediction modes in the pre-stored prediction mode list according to the prediction mode list The combination of prediction modes corresponding to the index is sorted.
  • the prediction mode list querying module 72 is configured to obtain a prediction mode list of the current image unit according to the prediction mode combination obtained by the prediction mode obtaining module 71 and the pre-stored prediction mode list index table; specifically, the query prediction mode list index table And obtaining, in the prediction mode list index table, a prediction mode combination that is the same as the prediction mode combination obtained by the prediction mode acquiring module 71, and further obtaining a prediction mode list index corresponding to the combination, and further obtaining the index by using the index A corresponding pre-stored prediction mode list is used as a prediction mode list of the current image unit.
  • the decoding module 73 is configured to perform entropy decoding on the prediction mode of the current image unit according to the prediction mode list of the current image unit obtained by the prediction mode list query module 72, to obtain a current The actual prediction mode of the image unit.
  • the prediction mode combination in the prediction mode list index table stored in the prediction mode list query module 72 is a combination of prediction modes of one adjacent image unit, a combination of prediction modes of two adjacent image units, and three a combination of prediction modes of adjacent image units, or a combination of prediction modes of four adjacent image units; for ease of implementation, a prediction mode of available adjacent image units may be skip mode, inter mode,
  • a prediction mode of available adjacent image units may be skip mode, inter mode.
  • the distinction between large categories such as intra mode, and no further distinction is the inter mode between 16 X 16 or 16 x 8 between frames, so when the prediction mode includes skip mode, inter mode, frame
  • the order of the prediction modes in the pre-stored prediction mode list is sorted according to the prediction mode combination corresponding to the prediction mode list index in the prediction mode list index table.
  • the foregoing encoding apparatus and decoding apparatus may also be combined in the same apparatus, and the combined codec apparatus includes a prediction mode acquiring module, a prediction mode list querying module, an encoding module, and a decoding module; wherein each module has the function and the above The same, no longer repeat them.

Landscapes

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

Abstract

Disclosed in the present invention are an encoding or decoding method of a prediction mode, and a device thereof. The method comprises: judging the availability of an adjacent image unit of a current image unit,and obtaining the prediction mode combination of the adjacent image unit; according to the obtained prediction mode combination and a pre-stored index list of a prediction mode list, obtaining a prediction mode list of the current image unit; and according to the prediction mode list of the current image unit, entropy encoding an actual prediction mode of the current image unit at an encoding end. The present invention obtains the prediction mode list most suitable for the current image unit by obtaining the prediction mode combination of the adjacent image unit, and entropy encodes the actual prediction mode according to the obtained prediction mode list, thus effectively combining the motion attribute, texture information, the current image unit and the like, realizing the encoding method for adaptive choosing prediction mode, and improving the efficiency of video compression.

Description

一种预测模式的编码或解码方法及装置 技术领域  Method and device for encoding or decoding prediction mode
本发明涉及视频编解码领域, 尤其涉及一种预测模式的编码或解码方 法及装置。 背景技术  The present invention relates to the field of video coding and decoding, and in particular, to a coding mode or decoding method and apparatus for a prediction mode. Background technique
视频编码算法中釆用一系列技术来达到高效率的视频编码, 例如帧内 预测、 帧间预测、 变换、 量化和熵编码等等。 其中首先通过帧间预测使用 基于块的运动矢量来消除图像的帧间冗余, 再通过帧内预测使用空间预测 模式来消除图像的帧内冗余; 然后通过对预测残差进行变换和量化消除图 像的视觉冗余; 最后通过运动矢量、 预测模式、 量化参数和变换参数等熵 编码过程进行进一步压缩。  Video coding algorithms use a range of techniques to achieve efficient video coding, such as intra prediction, inter prediction, transform, quantization, and entropy coding. Firstly, block-based motion vector is used to prevent inter-frame redundancy of the image through inter prediction, and then intra-prediction is used to eliminate intra-frame redundancy of the image by using spatial prediction mode; then, the prediction residual is transformed and quantized to eliminate Visual redundancy of the image; finally further compression by entropy coding process of motion vector, prediction mode, quantization parameter and transformation parameter.
在视频编码预测模式中, 包含有跳过模式、 直接模式、 合并模式、 帧 间模式和帧内模式。 对于这些预测模式的编码方法, 目前通常釆用的编码 顺序是以跳过模式为最优先, 然后依次是其他几种模式。 上述编码顺序是 基于概率统计得到的, 即假设跳过模式的数量最多, 依此类推。  In the video coding prediction mode, skip mode, direct mode, merge mode, inter mode, and intra mode are included. For the encoding methods of these prediction modes, the encoding order currently used is the highest priority in the skip mode, and then several other modes. The above coding order is based on probability statistics, that is, the number of skip patterns is assumed to be the most, and so on.
但针对某一帧的图像来说, 由于帧图像之间的运动属性、 紋理信息和 编码参数等的影响, 使得上述预测模式的排序并不一定能很好地适应于待 编码帧图像, 可能会造成码字的冗余, 使得视频压缩的效率不高。 发明内容  However, for an image of a certain frame, due to the influence of motion attributes, texture information, and coding parameters between the frame images, the ordering of the above prediction modes may not be well adapted to the frame image to be encoded, and may be The redundancy of the codewords makes the video compression inefficient. Summary of the invention
有鉴于此, 本发明的主要目的在于提供一种预测模式的编码或解码方 法及装置, 能够自适应选择预测模式编码方法, 提高了视频压缩的效率。  In view of this, the main object of the present invention is to provide a coding mode or decoding method and apparatus for predictive mode, which can adaptively select a prediction mode coding method and improve the efficiency of video compression.
为达到上述目的, 本发明的技术方案是这样实现的: 一种预测模式的编码或解码方法, 所述方法包括: In order to achieve the above object, the technical solution of the present invention is achieved as follows: A method of encoding or decoding a prediction mode, the method comprising:
判断当前图像单元的相邻图像单元的可用性, 并根据判断结果获取相 邻图像单元的预测模式组合;  Determining the availability of adjacent image units of the current image unit, and acquiring a prediction mode combination of the adjacent image units according to the determination result;
根据获得的预测模式组合和预先存储的预测模式列表索引表, 得到当 前图像单元的预测模式列表;  Obtaining a prediction mode list of the current image unit according to the obtained prediction mode combination and the pre-stored prediction mode list index table;
当为编码端时, 根据所述当前图像单元的预测模式列表, 对所述当前 图像单元的实际预测模式进行熵编码; 或者,  When it is an encoding end, entropy encoding an actual prediction mode of the current image unit according to a prediction mode list of the current image unit; or
当为解码端时, 根据所述当前图像单元的预测模式列表, 对当前图像 单元的预测模式进行熵解码, 得到当前图像单元的实际的预测模式。  When it is a decoding end, entropy decoding the prediction mode of the current image unit according to the prediction mode list of the current image unit, to obtain an actual prediction mode of the current image unit.
其中, 所述预先存储的预测模式列表索引表中所包括的预测模式组合 为一个相邻图像单元的预测模式进行的组合、 两个相邻图像单元的预测模 式进行的组合、 三个相邻图像单元的预测模式进行的组合、 或四个相邻图 像单元的预测模式进行的组合;  The prediction mode included in the pre-stored prediction mode list index table is a combination of prediction modes of one adjacent image unit, a combination of prediction modes of two adjacent image units, and three adjacent images. a combination of prediction modes of cells, or a combination of prediction modes of four adjacent image cells;
所述预先存储的预测模式列表中预测模式的排列顺序根据所述预测模 式列表索引表中预测模式列表索引所对应的预测模式组合进行排序。  The order of the prediction modes in the pre-stored prediction mode list is sorted according to the prediction mode combination corresponding to the prediction mode list index in the prediction mode list index table.
优选地, 所述预先存储的预测模式列表索引表中的预测模式组合为三 个相邻图像单元的预测模式进行的组合时, 所述获取相邻图像单元的预测 模式组合为:  Preferably, when the prediction mode combination in the pre-stored prediction mode list index table is combined into a prediction mode of three adjacent image units, the prediction mode combination of acquiring adjacent image units is:
获取当前图像单元的四个或三个可用的相邻图像单元的预测模式; 从所述四个或三个可用的预测模式中选取三个预测模式作为相邻图像 单元的预测模式组合。  Obtaining prediction modes of four or three available neighboring image units of the current image unit; selecting three prediction modes from the four or three available prediction modes as prediction mode combinations of adjacent image units.
优选地, 所述预先存储的预测模式列表索引表中的预测模式组合为三 个相邻图像单元的预测模式进行的组合时, 所述获取相邻图像单元的预测 模式组合为:  Preferably, when the prediction mode combination in the pre-stored prediction mode list index table is combined into a prediction mode of three adjacent image units, the prediction mode combination of acquiring adjacent image units is:
获取当前图像单元两个可用的相邻图像单元的预测模式; 将当前图像单元的任一不可用的相邻图像单元的预测模式配置为所述 两个可用的相邻图像单元的预测模式之一。 Obtaining a prediction mode of two available adjacent image units of the current image unit; A prediction mode of any unavailable adjacent image unit of the current image unit is configured as one of the prediction modes of the two available adjacent image units.
优选地, 所述预先存储的预测模式列表索引表中的预测模式组合为三 个相邻图像单元的预测模式进行的组合时, 所述获取相邻图像单元的预测 模式组合为:  Preferably, when the prediction mode combination in the pre-stored prediction mode list index table is combined into a prediction mode of three adjacent image units, the prediction mode combination of acquiring adjacent image units is:
获取当前图像单元一个可用的相邻图像单元的预测模式;  Obtaining a prediction mode of an available adjacent image unit of the current image unit;
将当前图像单元的任意两个不可用的相邻图像单元的预测模式配置为 所述一个可用的相邻图像单元的预测模式。  A prediction mode of any two unavailable adjacent image units of the current picture unit is configured as a prediction mode of the one available adjacent picture unit.
优选地, 所述预先存储的预测模式列表索引表中的预测模式组合为三 个相邻图像单元的预测模式进行的组合时, 所述获取相邻图像单元的预测 模式组合为:  Preferably, when the prediction mode combination in the pre-stored prediction mode list index table is combined into a prediction mode of three adjacent image units, the prediction mode combination of acquiring adjacent image units is:
将当前图像单元的任三个不可用的相邻图像单元的预测模式分别配置 为预测模式列表索引表中预测模式的一种, 且所选择的三个不可用的相邻 图像单元的预测模式可以配置为相同或不同。  The prediction modes of any three unavailable neighboring image units of the current image unit are respectively configured as one of the prediction modes in the prediction mode list index table, and the prediction modes of the selected three unavailable adjacent image units may be Configured to be the same or different.
一种预测模式的编码装置, 所述装置包括: 预测模式获取模块、 预测 模式列表查询模块、 编码模块; 其中,  An apparatus for predicting a mode, the apparatus comprising: a prediction mode acquisition module, a prediction mode list query module, and an encoding module;
预测模式获取模块, 用于判断当前图像单元的相邻图像单元的可用性, 并根据判断结果获取相邻图像单元的预测模式组合;  a prediction mode acquiring module, configured to determine availability of adjacent image units of the current image unit, and obtain a prediction mode combination of the adjacent image units according to the determination result;
预测模式列表查询模块, 用于根据所述预测模式获取模块获得的预测 模式组合和预先存储的预测模式列表索引表, 得到当前图像单元的预测模 式列表;  a prediction mode list querying module, configured to obtain a prediction mode list of the current image unit according to the prediction mode combination obtained by the prediction mode acquisition module and the pre-stored prediction mode list index table;
编码模块, 用于根据所述预测模式列表查询模块得到的当前图像单元 的预测模式列表, 对所述当前图像单元的实际预测模式进行熵编码。  And an encoding module, configured to entropy encode the actual prediction mode of the current image unit according to the prediction mode list of the current image unit obtained by the prediction mode list query module.
其中, 所述预测模式列表查询模块预先存储的预测模式列表索引表中 的预测模式组合为一个相邻图像单元的预测模式进行的组合、 两个相邻图 像单元的预测模式进行的组合、 三个相邻图像单元的预测模式进行的组合、 或四个相邻图像单元的预测模式进行的组合; The prediction mode combination in the prediction mode list index table stored in the prediction mode list query module is a combination of prediction modes of one adjacent image unit, and two adjacent images. a combination of a prediction mode of a unit, a combination of prediction modes of three adjacent image units, or a combination of prediction modes of four adjacent image units;
所述预先存储的预测模式列表中预测模式的排列顺序根据所述预测模 式列表索引表中预测模式列表索引所对应的预测模式组合进行排序。  The order of the prediction modes in the pre-stored prediction mode list is sorted according to the prediction mode combination corresponding to the prediction mode list index in the prediction mode list index table.
优选地, 所述预先存储的预测模式列表索引表中的预测模式组合为三 个相邻图像单元的预测模式进行的组合时, 所述预测模式列表查询模块, 具体用于获取当前图像单元的四个或三个可用的相邻图像单元的预测模 式; 从所述四个或三个可用的预测模式中选取三个预测模式作为相邻图像 单元的预测模式组合。  Preferably, when the prediction mode combination in the pre-stored prediction mode list index table is combined by the prediction mode of three adjacent image units, the prediction mode list query module is specifically configured to acquire four of the current image unit. a prediction mode of one or three available neighboring image units; three prediction modes are selected from the four or three available prediction modes as prediction mode combinations of adjacent image units.
优选地, 所述预先存储的预测模式列表索引表中的预测模式组合为三 个相邻图像单元的预测模式进行的组合时, 所述预测模式列表查询模块, 具体用于获取当前图像单元两个可用的相邻图像单元的预测模式; 将当前 图像单元的任一不可用的相邻图像单元的预测模式配置为所述两个可用的 相邻图像单元的预测模式之一。  Preferably, when the prediction mode combination in the pre-stored prediction mode list index table is combined by the prediction mode of three adjacent image units, the prediction mode list query module is specifically configured to acquire two current image units. A prediction mode of available adjacent image units; a prediction mode of any unavailable adjacent image units of the current picture unit is configured as one of the prediction modes of the two available adjacent image units.
优选地, 所述预先存储的预测模式列表索引表中的预测模式组合为三 个相邻图像单元的预测模式进行的组合时, 所述预测模式列表查询模块, 具体用于获取当前图像单元一个可用的相邻图像单元的预测模式; 将当前 图像单元的任两个不可用的相邻图像单元的预测模式配置为所述一个可用 的相邻图像单元的预测模式。  Preferably, when the prediction mode combination in the pre-stored prediction mode list index table is combined by the prediction mode of three adjacent image units, the prediction mode list query module is specifically configured to acquire one of the current image units. Prediction mode of adjacent image units; a prediction mode of any two unavailable adjacent image units of the current image unit is configured as a prediction mode of the one available adjacent image unit.
优选地, 所述预先存储的预测模式列表索引表中的预测模式组合为三 个相邻图像单元的预测模式进行的组合时, 所述预测模式列表查询模块, 具体用于将当前图像单元的任三个不可用的相邻图像单元的预测模式分别 配置为预测模式列表索引表中预测模式的一种, 且所选择的三个不可用的 相邻图像单元的预测模式可以配置为相同或不同。  Preferably, when the prediction mode combination in the pre-stored prediction mode list index table is combined by the prediction mode of three adjacent image units, the prediction mode list query module is specifically configured to use the current image unit The prediction modes of the three unavailable neighboring image units are respectively configured as one of the prediction modes in the prediction mode list index table, and the prediction modes of the selected three unavailable adjacent image units may be configured to be the same or different.
一种预测模式的解码装置, 所述装置包括: 预测模式获取模块、 预测 模式列表查询模块、 解码模块; 其中, A decoding device for predictive mode, the device comprising: a prediction mode acquisition module, a prediction Mode list query module, decoding module; wherein
预测模式获取模块, 用于判断当前图像单元的相邻图像单元的可用性, 并根据判断结果获取相邻图像单元的预测模式组合;  a prediction mode acquiring module, configured to determine availability of adjacent image units of the current image unit, and obtain a prediction mode combination of the adjacent image units according to the determination result;
预测模式列表查询模块, 用于根据所述预测模式获取模块获得的预测 模式组合和预先存储的预测模式列表索引表, 得到当前图像单元的预测模 式列表;  a prediction mode list querying module, configured to obtain a prediction mode list of the current image unit according to the prediction mode combination obtained by the prediction mode acquisition module and the pre-stored prediction mode list index table;
解码模块, 用于根据所述预测模式列表查询模块得到的当前图像单元 的预测模式列表, 对当前图像单元的预测模式进行熵解码, 得到当前图像 单元的实际的预测模式。  And a decoding module, configured to perform entropy decoding on the prediction mode of the current image unit according to the prediction mode list of the current image unit obtained by the prediction mode list query module, to obtain an actual prediction mode of the current image unit.
其中, 所述预测模式列表查询模块预先存储的预测模式列表索引表中 的预测模式组合为一个相邻图像单元的预测模式进行的组合、 两个相邻图 像单元的预测模式进行的组合、 三个相邻图像单元的预测模式进行的组合、 或四个相邻图像单元的预测模式进行的组合;  The prediction mode combination in the prediction mode list index table stored in the prediction mode list query module is a combination of prediction modes of one adjacent image unit, a combination of prediction modes of two adjacent image units, and three combinations. a combination of prediction modes of adjacent image units, or a combination of prediction modes of four adjacent image units;
所述预先存储的预测模式列表中预测模式的排列顺序根据所述预测模 式列表索引表中预测模式列表索引所对应的预测模式组合进行排序。  The order of the prediction modes in the pre-stored prediction mode list is sorted according to the prediction mode combination corresponding to the prediction mode list index in the prediction mode list index table.
本发明通过获取当前图像单元的相邻图像单元的预测模式组合, 得到 最适合当前图像单元的预测模式列表, 根据得到的预测模式列表, 对当前 图像单元的实际预测模式进行熵编码, 有效地结合当前图像单元的运动属 性、 紋理信息等, 实现了自适应选择预测模式编码方法, 提高了视频压缩 的效率。 附图说明  The invention obtains a prediction mode list most suitable for the current image unit by acquiring a prediction mode combination of adjacent image units of the current image unit, and entropy encodes the actual prediction mode of the current image unit according to the obtained prediction mode list, and effectively combines The motion attribute and texture information of the current image unit realize the adaptive selection prediction mode coding method, which improves the efficiency of video compression. DRAWINGS
图 1为图像单元与相邻图像单元的示意图;  Figure 1 is a schematic diagram of an image unit and an adjacent image unit;
图 2为一帧图像中图像单元与相邻图像单元的示意图;  2 is a schematic diagram of an image unit and an adjacent image unit in a frame image;
图 3为使用了条带 Slice/GOB/VP的一帧图像中图像单元与相邻图像单 元的示意图; 图 4为本发明提供的预测模式的编码或解码方法的实现流程示意图; 图 5 为本发明提供的预测模式的编码或解码方法的具体实施例的实现 流程示意图; 3 is a schematic diagram of an image unit and an adjacent image unit in a frame image using a stripe Slice/GOB/VP; 4 is a schematic flowchart of an implementation of a coding or decoding method for a prediction mode according to the present invention; FIG. 5 is a schematic flowchart of an implementation of a method for encoding or decoding a prediction mode according to the present invention;
图 6为本发明提供的预测模式的编码装置的结构示意图;  6 is a schematic structural diagram of an encoding apparatus of a prediction mode provided by the present invention;
图 7为本发明提供的预测模式的解码装置的结构示意图。 具体实施方式  FIG. 7 is a schematic structural diagram of a decoding apparatus for a prediction mode according to the present invention. detailed description
本发明的基本思想为: 判断当前图像单元的相邻图像单元的可用性, 并根据判断结果获取相邻图像单元的预测模式组合; 根据获得的预测模式 组合和预先存储的预测模式列表索引表, 得到当前图像单元的预测模式列 表; 当为编码端时, 根据所述当前图像单元的预测模式列表, 对所述当前 图像单元的实际预测模式进行熵编码; 或者, 当为解码端时, 根据所述当 前图像单元的预测模式列表, 对当前图像单元的预测模式进行熵解码, 得 到当前图像单元的实际的预测模式。  The basic idea of the present invention is: determining the availability of adjacent image units of the current image unit, and acquiring the prediction mode combination of the adjacent image units according to the determination result; obtaining the prediction mode combination and the pre-stored prediction mode list index table according to the obtained prediction mode combination table a prediction mode list of the current image unit; when it is an encoding end, entropy encoding the actual prediction mode of the current image unit according to the prediction mode list of the current image unit; or, when it is a decoding end, according to the A prediction mode list of the current image unit, entropy decoding the prediction mode of the current image unit to obtain an actual prediction mode of the current image unit.
为了便于本发明的理解, 首先介绍一下图像单元的相邻图像单元及其 可用性的概念。  In order to facilitate the understanding of the present invention, the concept of adjacent image elements of an image unit and its usability is first introduced.
一个图像单元 E和它的相邻图像单元 A、 B、 C和 D之间的空间位置如 图 1所示, 图 1中图像单元的大小可以为 16x16、 32x32、 64x64或其他像 素尺寸; 其中 A是 E的左方图像单元, B是 E的上方图像单元, C是 E的 右上方图像单元, D是 E的左上方图像单元。  The spatial position between an image unit E and its adjacent image units A, B, C and D is as shown in Fig. 1. The size of the image unit in Fig. 1 may be 16x16, 32x32, 64x64 or other pixel size; Is the left image unit of E, B is the upper image unit of E, C is the upper right image unit of E, and D is the upper left image unit of E.
相邻图像单元 ( 为八、 B、 C或 D ) 的 "可用性" 是指该图像单元 应在该图像内, 并且该图像单元应与当前图像单元 E 属于同一条带 ( Slice/GOB/VP ) 中, 且已经先于 E编码或解码完成; 否则, 相邻图像单 元视为 "不可用"。  The "availability" of an adjacent image unit (eight, B, C or D) means that the image unit should be within the image, and the image unit should belong to the same strip as the current image unit E (Slice/GOB/VP) Medium, and has been completed before E encoding or decoding; otherwise, adjacent image units are considered "unavailable".
这里, 图像单元可以是高效视频编码 ( High Efficiency Video Coding , HEVC ) 中的编码单元(Coding Unit, CU )或预测单元( Prediction Unit, PU ), 也可以是 H.264、 H.263和 MPEG-4等标准中的宏块 ( Macro Block, MB )。 Here, the image unit may be a Coding Unit (CU) or a Prediction Unit (High Efficiency Video Coding, HEVC). PU) can also be a macro block (MB) in standards such as H.264, H.263, and MPEG-4.
图 2是一帧图像中图像单元与相邻图像单元的示意图, 可以看出在图 像边缘的图像单元 E的相邻图像单元只有部分可用, 甚至都不可用, 如位 于左上角的图像单元 E的相邻图像单元都不可用;位于左下角的图像单元 E 的相邻图像单元部分可用。  2 is a schematic diagram of an image unit and an adjacent image unit in a frame image, it can be seen that adjacent image units of the image unit E at the edge of the image are only partially available, even unavailable, such as the image unit E located in the upper left corner. Adjacent image units are not available; adjacent image unit portions of image unit E located in the lower left corner are available.
图 3是使用了 Slice/GOB/VP的一帧图像中图像单元与相邻图像单元的 示意图, 如图 3所示, 由于使用了 Slice/GOB/VP打包, 即使图像单元 E不 处于图像边缘, 其相邻图像单元也会出现部分不可用的情况。  3 is a schematic diagram of an image unit and an adjacent image unit in one frame of images using Slice/GOB/VP. As shown in FIG. 3, even if image unit E is not at the edge of the image, since Slice/GOB/VP is used, Some adjacent image units may also be partially unavailable.
为使本发明的目的、 技术方案和优点更加清楚明白, 以下举实施例并 参照附图, 对本发明进一步详细说明。  The present invention will be further described in detail below with reference to the accompanying drawings.
图 4示出了本发明预测模式的编码或解码方法的实现流程, 如图 4所 示, 所述方法包括下述步骤:  4 shows an implementation flow of a coding or decoding method of a prediction mode of the present invention. As shown in FIG. 4, the method includes the following steps:
步骤 401 , 判断当前图像单元的相邻图像单元的可用性;  Step 401: Determine the availability of adjacent image units of the current image unit.
具体地, 本步骤中, 通过判断相邻图像单元的实际预测模式是否已经 得到来确定相邻图像单元的可用性; 若已经得到, 则该相邻图像单元为可 用, 否则为不可用。  Specifically, in this step, the availability of the adjacent image unit is determined by determining whether the actual prediction mode of the adjacent image unit has been obtained; if it has been obtained, the adjacent image unit is available, otherwise it is unavailable.
步骤 402, 获取相邻图像单元的预测模式组合;  Step 402: Acquire a prediction mode combination of adjacent image units.
本步骤中, 首先, 根据步骤 401 的判断结果获取当前图像单元的相邻 图像单元的预测模式组合; 然后, 根据预先存储的预测模式列表索引表中 的预测模式组合所包括的相邻图像单元的个数, 获取相邻图像单元的预测 模式组合; 其中, 预测模式的组合可以为一个相邻图像单元的预测模式进 行的组合、 两个相邻图像单元的预测模式进行的组合、 三个相邻图像单元 的预测模式进行的组合、 或四个相邻图像单元的预测模式进行的组合; 预测模式列表索引表是用来索引预测模式列表的索引表, 其包括预测 模式组合及该组合所对应的预测模式列表索引; 所述预先存储的预测模式 列表中预测模式的排列顺序根据预测模式列表索引所对应的预测模式组合 进行排序。 In this step, first, the prediction mode combination of the adjacent image unit of the current image unit is acquired according to the determination result of step 401; then, the adjacent image unit included in the prediction mode combination in the prediction mode list index table stored in advance is combined; Number, obtaining a prediction mode combination of adjacent image units; wherein, the combination of prediction modes may be a combination of prediction modes of one adjacent image unit, a combination of prediction modes of two adjacent image units, three adjacent Combination of prediction modes of image units, or combination of prediction modes of four adjacent image units; prediction mode list index table is an index table used to index a list of prediction modes, including predictions The mode combination and the prediction mode list index corresponding to the combination; the order of the prediction modes in the pre-stored prediction mode list is sorted according to the prediction mode combination corresponding to the prediction mode list index.
另外, 由于实际视频标准中, 预测模式进一步包括多种, 为了便于实 现, 可以对相邻图像单元的预测模式进行跳过模式(Skip Mode ), 帧间模 式( Inter Mode )、 帧内模式( Intra Mode )等大类别上的区分, 而不再进一 步区分是帧间 16 x 16 , 还是帧间 16 x 8等等的帧间模式, 如此, 当预测模 式包括跳过模式、 帧间模式、 帧内模式, 每个预测模式的组合包括 3 个相 邻图像单元的预测模式时,根据排列组合,则需要预先存储 33=27个预测模 式列表即可; 当每个预测模式的组合包括 2个相邻图像单元的预测模式时, 则需要预先存储 32=9个预测模式列表即可; 以此类推, 不再赘述。 In addition, since the prediction mode further includes multiple types in the actual video standard, Skip Mode, Inter Mode, and Intra mode can be performed on the prediction modes of adjacent image units for the convenience of implementation. Mode) distinguishes between large categories, and does not further distinguish between inter-frame mode of 16 x 16 or 16 x 8 between frames, so when the prediction mode includes skip mode, inter mode, intra-frame Mode, when the combination of each prediction mode includes prediction modes of 3 adjacent image units, according to the arrangement and combination, it is necessary to store 3 3 = 27 prediction mode lists in advance; when each prediction mode combination includes 2 phases When the prediction mode of the adjacent image unit is used, it is necessary to store 3 2 = 9 prediction mode lists in advance; and so on, and will not be described again.
步骤 403 ,根据步骤 402得到的当前图像单元的相邻图像单元的预测模 式组合和预先存储的预测模式列表索引表, 得到当前图像单元的预测模式 列表 Lp;  Step 403: Obtain a prediction mode list Lp of the current image unit according to the prediction mode combination of the adjacent image unit of the current image unit obtained in step 402 and the pre-stored prediction mode list index table;
具体地, 查询预测模式列表索引表, 在所述预测模式列表索引表中找 到与步骤 402得到的相邻图像单元的预测模式组合相同的预测模式组合, 进而得到该组合对应的预测模式列表索引, 通过该索引, 进一步得到与该 索引对应的预先存储的预测模式列表, 作为当前图像单元的预测模式列表 Lp。  Specifically, the prediction mode list index table is queried, and the prediction mode combination of the prediction mode combination of the adjacent image unit obtained in step 402 is found in the prediction mode list index table, and the prediction mode list index corresponding to the combination is obtained. Through the index, a pre-stored prediction mode list corresponding to the index is further obtained as the prediction mode list Lp of the current image unit.
步骤 404, 当为编码端时, 对当前图像单元进行编码, 得到实际的预测 模式 P;  Step 404, when it is the encoding end, encoding the current image unit to obtain an actual prediction mode P;
步骤 405 , 根据当前图像单元的预测模式列表 Lp对当前图像单元的实 际预测模式 P进行熵编码;  Step 405: Entropy encoding the actual prediction mode P of the current image unit according to the prediction mode list Lp of the current image unit;
步骤 406, 当为解码端时, 根据当前图像单元的预测模式列表 Lp, 对 码流中当前图像单元的预测模式进行熵解码, 得到当前图像单元实际的预 测模式 P。 Step 406: When it is the decoding end, entropy decoding the prediction mode of the current image unit in the code stream according to the prediction mode list Lp of the current image unit, to obtain an actual pre-presence of the current image unit. Test mode P.
下面结合图 5和表 1所示的预测模式列表索引表, 对上述编码或解码 的方法进行具体说明, 其中表 1 所示的预测模式列表索引表中的预测模式 组合包括的 3个相邻图像单元的预测模式, 同时, 为了便于说明, 该预测 模式组合中包括的预测模式分别为: 跳过模式(表示为 0 )、 帧间模式(表 示为 1 )、 帧内模式(表示为 2 )。 相邻图像单元一 相邻图像单元二 相邻图像单元三 当前图像单元预 的预测模式 的预测模式 的预测模式 测模式列表索引  The foregoing method for encoding or decoding is specifically described below with reference to the prediction mode list index table shown in FIG. 5 and Table 1, wherein the prediction mode combinations in the prediction mode list index table shown in Table 1 include three adjacent images. The prediction mode of the unit, and for convenience of explanation, the prediction modes included in the prediction mode combination are: skip mode (represented as 0), inter mode (represented as 1), and intra mode (represented as 2). Adjacent image unit one adjacent image unit two adjacent image unit three prediction mode of the prediction mode of the current image unit pre-prediction mode prediction mode list index
0 0 0 0 0 0 0 0
0 0 1 10 0 1 1
0 0 2 20 0 2 2
0 1 0 30 1 0 3
0 1 1 40 1 1 4
0 1 2 50 1 2 5
0 2 0 60 2 0 6
0 2 1 70 2 1 7
0 2 2 80 2 2 8
1 0 0 91 0 0 9
1 0 1 10 1 0 1 10
1 0 2 11  1 0 2 11
1 1 0 12  1 1 0 12
1 1 1 13  1 1 1 13
1 1 2 14  1 1 2 14
1 2 0 15  1 2 0 15
1 2 1 16  1 2 1 16
1 2 2 17  1 2 2 17
2 0 0 18  2 0 0 18
2 0 1 19  2 0 1 19
2 0 2 20  2 0 2 20
2 1 0 21  2 1 0 21
2 1 1 22  2 1 1 22
2 1 2 23 2 2 0 24 2 1 2 23 2 2 0 24
2 2 1 25 2 2 1 25
2 2 2 26 2 2 2 26
表 1  Table 1
图 5 示出了本发明预测模式的编码或解码方法的具体实施例的实现流 程, 如图 5所示, 所述具体实施例包括下述步骤:  Figure 5 shows an implementation flow of a specific embodiment of the encoding or decoding method of the prediction mode of the present invention. As shown in Figure 5, the specific embodiment includes the following steps:
步骤 501 , 判断当前图像单元的相邻图像单元的可用性;  Step 501: Determine the availability of adjacent image units of the current image unit.
具体地, 本步骤中, 通过判断相邻图像单元的实际预测模式是否已经 得到来确定相邻图像单元的可用性; 若已经得到, 则该相邻图像单元为可 用, 否则为不可用。  Specifically, in this step, the availability of the adjacent image unit is determined by determining whether the actual prediction mode of the adjacent image unit has been obtained; if it has been obtained, the adjacent image unit is available, otherwise it is unavailable.
步骤 502, 获取可用的相邻图像单元的预测模式;  Step 502: Obtain a prediction mode of available adjacent image units.
本步骤中, 当当前图像单元具有 3个或 4个可用的相邻图像单元时, 则获得的可用的相邻图像单元的预测模式为 3个或 4个,此时执行步骤 503; 当获得的可用的相邻图像单元的预测模式为 2个时,执行步骤 504; 当获得 的可用的相邻图像单元的预测模式为 1个时,执行步骤 505; 当当前图像单 元没有可用的相邻图像单元时,获得的可用的相邻图像单元的预测模式为 0 个, 则执行步骤 506;  In this step, when the current image unit has 3 or 4 available adjacent image units, the obtained adjacent image unit has a prediction mode of 3 or 4, and step 503 is performed; When the prediction modes of the available adjacent image units are two, step 504 is performed; when the obtained prediction mode of the adjacent image units is one, step 505 is performed; when there are no adjacent image units available in the current image unit When the obtained prediction mode of the adjacent image unit is 0, step 506 is performed;
步骤 503 ,从所述获得的四个或三个可用的预测模式中选取三个预测模 式作为相邻图像单元的预测模式组合, 执行步骤 507;  Step 503, selecting three prediction modes from the obtained four or three available prediction modes as prediction mode combinations of adjacent image units, and performing step 507;
步骤 504,将当前图像单元的任一不可用的相邻图像单元的预测模式配 置为所述可用的相邻图像单元的预测模式之一, 得到一个包含有 3个相邻 图像单元的预测模式的预测模式组合, 执行步骤 507;  Step 504: Configure a prediction mode of any unavailable adjacent image unit of the current image unit as one of prediction modes of the available adjacent image unit, to obtain a prediction mode including 3 adjacent image units. Combination of prediction modes, step 507;
步骤 505 ,将当前图像单元的任两个不可用的相邻图像单元的预测模式 配置为所述一个可用的相邻图像单元的预测模式, 得到一个包含有 3 个相 邻图像单元的预测模式的预测模式组合, 执行步骤 507;  Step 505: Configure a prediction mode of any two unavailable adjacent image units of the current image unit as a prediction mode of the one available adjacent image unit, to obtain a prediction mode including three adjacent image units. Combination of prediction modes, step 507;
步骤 506,将当前图像单元的任三个不可用的相邻图像单元的预测模式 分别配置为预测模式列表索引表中预测模式的一种, 得到一个包含有 3个 相邻图像单元的预测模式的预测模式组合, 执行步骤 507; Step 506, predicting modes of any three unavailable adjacent image units of the current image unit Each of the prediction modes in the prediction mode list index table is configured to obtain a prediction mode combination of prediction modes including three adjacent image units, and step 507 is performed;
其中本步骤中, 所选择的三个不可用的相邻图像单元的预测模式可以 配置为相同或不同。  In this step, the prediction modes of the selected three unavailable adjacent image units may be configured to be the same or different.
步骤 507,根据得到的相邻图像单元的预测模式组合和预先存储的预测 模式列表索引表, 得到当前图像单元的预测模式列表 Lp;  Step 507: Obtain a prediction mode list Lp of the current image unit according to the obtained prediction mode combination of the adjacent image unit and the pre-stored prediction mode list index table.
这里, 查询预测模式列表索引表, 在所述预测模式列表索引表中找到 与得到的相邻图像单元的预测模式组合相同的预测模式组合, 进而得到该 组合对应的预测模式列表索引, 通过该索引, 进一步得到与该索引对应的 预先存储的预测模式列表, 作为当前图像单元的预测模式列表 Lp;  Here, the prediction mode list index table is searched, and the prediction mode combination of the same prediction mode combination of the obtained adjacent image unit is found in the prediction mode list index table, and the prediction mode list index corresponding to the combination is obtained, and the index is obtained. Further obtaining a pre-stored prediction mode list corresponding to the index as a prediction mode list Lp of the current image unit;
例如当得到的预测模式组合为 (0, 0, 0 ) 时, 通过表 1得知其对应的 预测模式列表索引为 0,则可以进一步在预先存储的预测模式列表中查找索 引为 0的预测模式列表, 本发明实施例中, 具体以 H.264标准中 Baseline 中 P帧为例, 索引为 0的预测模式列表可以釆用 H.264标准中的预测模式 列表, 如表 2所示: 预测模式编号 预测模式  For example, when the obtained prediction mode combination is (0, 0, 0), if the corresponding prediction mode list index is 0 by using Table 1, the prediction mode with index 0 can be further searched in the pre-stored prediction mode list. For example, in the embodiment of the present invention, the P frame in the Baseline in the H.264 standard is taken as an example, and the prediction mode list with the index of 0 can use the prediction mode list in the H.264 standard, as shown in Table 2: Prediction mode Number prediction mode
0 P— Skip  0 P — Skip
1 P—L0— 16x16  1 P—L0—16x16
2 P_L0_L0_16x8  2 P_L0_L0_16x8
3 P_L0_L0_8xl6  3 P_L0_L0_8xl6
4 P_8x8  4 P_8x8
5 P_8x8ref0  5 P_8x8ref0
6 Intra— 4x4  6 Intra — 4x4
7 1—16x16—0—0—0  7 1—16x16—0—0—0
8 1—16x16—1—0—0  8 1—16x16—1—0—0
9 1—16x16—2—0—0  9 1—16x16—2—0—0
10 1—16x16—3—0—0  10 1—16x16—3—0—0
11 1—16x16—0—1—0 12 1—16x16—1—1—0 11 1-16x16—0—1—0 12 1—16x16—1—1—0
13 1—16x16—2—1—0  13 1—16x16—2—1—0
14 1—16x16—3—1—0  14 1-16x16—3—1—0
15 1—16x16—0—2—0  15 1-16x16—0—2—0
16 1—16x16—1—2—0  16 1—16x16—1—2—0
17 1—16x16—2—2—0  17 1—16x16—2—2—0
18 1—16x16—3—2—0  18 1—16x16—3—2—0
19 1—16x16—0—0—1  19 1—16x16—0—0—1
20 1—16x16—1—0—1  20 1-16x16—1—0—1
21 1—16x16—2—0—1  21 1—16x16—2—0—1
22 1—16x16—3—0—1  22 1-16x16—3—0—1
23 1—16x16—0—1—1  23 1-16x16—0—1—1
24 1—16x16—1—1—1  24 1-16x16—1—1—1
25 1—16x16—2—1—1  25 1—16x16—2—1—1
26 1—16x16—3—1—1  26 1—16x16—3—1—1
27 1—16x16—0—2—1  27 1-16x16—0—2—1
28 1—16x16—1—2—1  28 1—16x16—1—2—1
29 1—16x16—2—2—1  29 1—16x16—2—2—1
30 1—16x16—3—2—1  30 1—16x16—3—2—1
31 I— PCM  31 I- PCM
表 2  Table 2
同时, 预测模式列表中各预测模式的排序, 即各预测模式所对应的预 测模式编号, 是根据预测模式列表索引表中该预测模式列表索引所对应的 预测模式组合进行的排序, 例如, 索引为 13的预测模式列表如表 3所示, 索引 13在表 1中所对应的预测模式组合为 (1 , 1 , 1 ), 即当前图像单元的 相邻图像单元的预测模式均为帧间模式, 故当前图像单元的预测模式为帧 间模式的可能性最大, 故将表 2中属于帧间模式的预测模式编号 1~5提升 为 0~4, 得到表 3 , 该种排序可以很好地通过相邻图像单元与当前图像单元 的运动关系, 有效地结合了当前图像单元的运动属性、 紋理信息等, 进行 预测模式编码方法的选择。 预测模式编号 预测模式 0 P—LO— 16x16 At the same time, the order of the prediction modes in the prediction mode list, that is, the prediction mode number corresponding to each prediction mode, is a ranking according to the prediction mode combination corresponding to the prediction mode list index in the prediction mode list index table, for example, the index is The prediction mode list of 13 is as shown in Table 3. The prediction mode corresponding to index 13 in Table 1 is combined to be (1, 1, 1), that is, the prediction modes of adjacent image units of the current image unit are all inter mode. Therefore, the prediction mode of the current image unit is the most likely to be the inter mode, so the prediction mode numbers 1 to 5 belonging to the inter mode in Table 2 are raised to 0 to 4, and Table 3 is obtained, which can pass well. The motion relationship between the adjacent image unit and the current image unit effectively combines the motion attributes, texture information, and the like of the current image unit to select a prediction mode encoding method. Prediction mode number prediction mode 0 P-LO—16x16
1 P— LO— LO— 16x8  1 P— LO— LO— 16x8
2 P— LO— LO— 8x16  2 P- LO— LO— 8x16
3 P_8x8  3 P_8x8
4 P_8x8ref0  4 P_8x8ref0
5 P— Skip  5 P- Skip
6 Intra— 4x4  6 Intra — 4x4
7 1—16x16—0—0—0  7 1—16x16—0—0—0
8 1—16x16—1—0—0  8 1—16x16—1—0—0
9 1—16x16—2—0—0  9 1—16x16—2—0—0
10 1—16x16—3—0—0  10 1—16x16—3—0—0
11 1—16x16—0—1—0  11 1-16x16—0—1—0
12 1—16x16—1—1—0  12 1—16x16—1—1—0
13 1—16x16—2—1—0  13 1—16x16—2—1—0
14 1—16x16—3—1—0  14 1-16x16—3—1—0
15 1—16x16—0—2—0  15 1-16x16—0—2—0
16 1—16x16—1—2—0  16 1—16x16—1—2—0
17 1—16x16—2—2—0  17 1—16x16—2—2—0
18 1—16x16—3—2—0  18 1—16x16—3—2—0
19 1—16x16—0—0—1  19 1—16x16—0—0—1
20 1—16x16—1—0—1  20 1-16x16—1—0—1
21 1—16x16—2—0—1  21 1—16x16—2—0—1
22 1—16x16—3—0—1  22 1-16x16—3—0—1
23 1—16x16—0—1—1  23 1-16x16—0—1—1
24 1—16x16—1—1—1  24 1-16x16—1—1—1
25 1—16x16—2—1—1  25 1—16x16—2—1—1
26 1—16x16—3—1—1  26 1—16x16—3—1—1
27 1—16x16—0—2—1  27 1-16x16—0—2—1
28 1—16x16—1—2—1  28 1—16x16—1—2—1
29 1—16x16—2—2—1  29 1—16x16—2—2—1
30 1—16x16—3—2—1  30 1—16x16—3—2—1
31 I— PCM  31 I- PCM
表 3  table 3
步骤 508 , 当为编码端时, 对当前图像单元进行编码, 得到实际的预测 模式 P, 执行步骤 509; Step 508: When the encoding end is used, the current image unit is encoded to obtain an actual prediction. Mode P, performing step 509;
步骤 509 , 根据当前图像单元的预测模式列表 Lp对当前图像单元的实 际预测模式 P进行熵编码;  Step 509: Entropy encoding the actual prediction mode P of the current image unit according to the prediction mode list Lp of the current image unit;
具体地, 当当前图像单元的的预测模式组合为 (2, 2, 2 ), 则当前图 像单元的预测模式列表 Lp为索引为 26的预测模式列表; 具体如表 4所示; 又当前图像单元的实际预测模式 P为帧内模式, 参考表 2,将表 2中属 于帧内模式的预测模式编号为 6~10提升至 0~4, 得到表 4所示索引为 26 的预测模式列表, 如此, 当前图像单元的实际预测模式的优先级明显提高。 例如, 当当前图像单元的实际预测模式为 Intra_4 x 4 时, 此时, 利用表 4 对预测模式 Intra_4 4进行熵编码时,由于预测模式 Intra_4 4所对应的编 号为 0, 利用 1个比特即可完成对 0的熵编码, 因此此时仅需 1个比特即可 完成对预测模式 Intra_4 4的熵编码;而釆用 H.264标准中的预测模式列表 (如表 2所示 ), 由于预测模式 Intra_4 4所对应的编号为 6 , 因此需要利 用 5个比特才可完成对 6的熵编码, 故此时需要 5个比特才能完成对预测 模式 Intra_4 x 4的熵编码, 由此可以看出,本发明利用较少的码字即可完成 对实际预测模式 P的熵编码的目的。 预测模式编号 预测模式  Specifically, when the prediction mode combination of the current image unit is (2, 2, 2), the prediction mode list Lp of the current image unit is a prediction mode list with an index of 26; as shown in Table 4; The actual prediction mode P is an intra mode. Referring to Table 2, the prediction mode numbers belonging to the intra mode in Table 2 are increased from 6 to 10 to 0 to 4, and a prediction mode list with an index of 26 shown in Table 4 is obtained. The priority of the actual prediction mode of the current image unit is significantly improved. For example, when the actual prediction mode of the current image unit is Intra_4 x 4, at this time, when the prediction mode Intra_4 4 is entropy encoded by Table 4, since the number corresponding to the prediction mode Intra_4 4 is 0, one bit can be used. The entropy coding of 0 is completed, so that only one bit is needed at this time to complete the entropy coding of the prediction mode Intra_4 4; and the prediction mode list in the H.264 standard is used (as shown in Table 2), due to the prediction mode The number corresponding to Intra_4 4 is 6, so it is necessary to use 5 bits to complete the entropy coding of 6. Therefore, 5 bits are needed at this time to complete the entropy coding of the prediction mode Intra_4 x 4 , and thus it can be seen that the present invention The purpose of entropy coding of the actual prediction mode P can be accomplished with fewer codewords. Prediction mode number prediction mode
0 Intra— 4x4  0 Intra— 4x4
1 1—16x16—0—0—0  1 1—16x16—0—0—0
2 1—16x16—1—0—0  2 1—16x16—1—0—0
3 1—16x16—2—0—0  3 1—16x16—2—0—0
4 1—16x16—3—0—0  4 1—16x16—3—0—0
5 P—L0— 16x16  5 P-L0-16x16
6 P_L0_L0_16x8  6 P_L0_L0_16x8
7 P_L0_L0_8xl6  7 P_L0_L0_8xl6
8 P_8x8  8 P_8x8
9 P_8x8ref0  9 P_8x8ref0
10 P— Skip 11 1—16x16—0—1—0 10 P — Skip 11 1-16x16—0—1—0
12 1—16x16—1—1—0  12 1—16x16—1—1—0
13 1—16x16—2—1—0  13 1—16x16—2—1—0
14 1—16x16—3—1—0  14 1-16x16—3—1—0
15 1—16x16—0—2—0  15 1-16x16—0—2—0
16 1—16x16—1—2—0  16 1—16x16—1—2—0
17 1—16x16—2—2—0  17 1—16x16—2—2—0
18 1—16x16—3—2—0  18 1—16x16—3—2—0
19 1—16x16—0—0—1  19 1—16x16—0—0—1
20 1—16x16—1—0—1  20 1-16x16—1—0—1
21 1—16x16—2—0—1  21 1—16x16—2—0—1
22 1—16x16—3—0—1  22 1-16x16—3—0—1
23 1—16x16—0—1—1  23 1-16x16—0—1—1
24 1—16x16—1—1—1  24 1-16x16—1—1—1
25 1—16x16—2—1—1  25 1—16x16—2—1—1
26 1—16x16—3—1—1  26 1—16x16—3—1—1
27 1—16x16—0—2—1  27 1-16x16—0—2—1
28 1—16x16—1—2—1  28 1—16x16—1—2—1
29 1—16x16—2—2—1  29 1—16x16—2—2—1
30 1—16x16—3—2—1  30 1—16x16—3—2—1
31 I— PCM  31 I- PCM
表 4  Table 4
步骤 510, 当为解码端时, 根据当前图像单元的预测模式列表 Lp, 对 码流中当前图像单元的预测模式进行熵解码, 得到当前图像单元实际的预 测模式 P。  Step 510: When it is the decoding end, entropy decoding the prediction mode of the current image unit in the code stream according to the prediction mode list Lp of the current image unit, to obtain the actual prediction mode P of the current image unit.
图 6示出了本发明提供的预测模式的编码装置的结构示意, 如图 6所 示, 所述编码装置包括: 预测模式获取模块 61、预测模式列表查询模块 62、 编码模块 63; 其中,  FIG. 6 is a schematic diagram showing the structure of the encoding apparatus of the prediction mode provided by the present invention. As shown in FIG. 6, the encoding apparatus includes: a prediction mode acquisition module 61, a prediction mode list query module 62, and an encoding module 63;
预测模式获取模块 61 , 用于判断当前图像单元的相邻图像单元的可用 性, 并根据判断结果获取相邻图像单元的预测模式组合; 首先, 获取当前 图像单元可用的相邻图像单元的预测模式; 然后, 根据预先存储的预测模 式列表索引表中的预测模式组合所包括的相邻图像单元的个数, 获取相邻 图像单元的预测模式组合; 其中, 预测模式的组合可以为一个相邻图像单 元的预测模式进行的组合、 两个相邻图像单元的预测模式进行的组合、 三 个相邻图像单元的预测模式进行的组合、 或四个相邻图像单元的预测模式 进行的组合; The prediction mode obtaining module 61 is configured to determine the availability of the adjacent image unit of the current image unit, and acquire the prediction mode combination of the adjacent image unit according to the determination result; first, acquire a prediction mode of the adjacent image unit that is available for the current image unit; Then, based on pre-stored prediction modes The number of adjacent image units included in the prediction mode combination in the list index table is obtained, and the prediction mode combination of the adjacent image units is obtained; wherein the combination of the prediction modes may be a combination of prediction modes of one adjacent image unit, a combination of prediction modes of two adjacent image units, a combination of prediction modes of three adjacent image units, or a combination of prediction modes of four adjacent image units;
预测模式列表索引表是用来索引预测模式列表的索引表, 其包括预测 模式组合及该组合所对应的预测模式列表索引; 所述预先存储的预测模式 列表中预测模式的排列顺序根据预测模式列表索引所对应的预测模式组合 进行排序。  The prediction mode list index table is an index table used to index the prediction mode list, and includes a prediction mode combination and a prediction mode list index corresponding to the combination; and an arrangement order of the prediction modes in the pre-stored prediction mode list according to the prediction mode list The combination of prediction modes corresponding to the index is sorted.
预测模式列表查询模块 62,用于根据所述预测模式获取模块 61获得的 预测模式组合和预先存储的预测模式列表索引表, 得到当前图像单元的预 测模式列表; 具体地, 查询预测模式列表索引表, 在所述预测模式列表索 引表中找到与所述预测模式获取模块 61获得的预测模式组合相同的预测模 式组合, 进而得到该组合对应的预测模式列表索引, 通过该索引, 进一步 得到与该索引对应的预先存储的预测模式列表, 作为当前图像单元的预测 模式列表。  The prediction mode list querying module 62 is configured to obtain a prediction mode list of the current image unit according to the prediction mode combination obtained by the prediction mode obtaining module 61 and the pre-stored prediction mode list index table; specifically, the query prediction mode list index table And obtaining, in the prediction mode list index table, a prediction mode combination that is the same as the prediction mode combination obtained by the prediction mode acquiring module 61, and further obtaining a prediction mode list index corresponding to the combination, and further obtaining the index by using the index A corresponding pre-stored prediction mode list is used as a prediction mode list of the current image unit.
编码模块 63,用于根据所述预测模式列表查询模块 62得到的当前图像 单元的预测模式列表, 对所述当前图像单元的实际预测模式进行熵编码。  The encoding module 63 is configured to entropy encode the actual prediction mode of the current image unit according to the prediction mode list of the current image unit obtained by the prediction mode list query module 62.
其中, 所述预测模式列表查询模块 62预先存储的预测模式列表索引表 中的预测模式组合为一个相邻图像单元的预测模式进行的组合、 两个相邻 图像单元的预测模式进行的组合、 三个相邻图像单元的预测模式进行的组 合、 或四个相邻图像单元的预测模式进行的组合; 为了便于实现, 可以对 相邻图像单元的预测模式进行跳过模式、 帧间模式、 帧内模式等大类别上 的区分, 而不再进一步区分是帧间 16 X 16, 还是帧间 16 x 8等等的帧间模 式, 如此, 当预测模式包括跳过模式、 帧间模式、 帧内模式, 每个预测模 式的组合包括 3个相邻图像单元的预测模式时,则需要预先存储 33=27个预 测模式列表即可; 当每个预测模式的组合包括 2个相邻图像单元的预测模 式时, 则需要预先存储 32=9个预测模式列表即可; 以此类推, 不再赘述。 The prediction mode combination in the prediction mode list index table stored in the prediction mode list query module 62 is a combination of prediction modes of one adjacent image unit, a combination of prediction modes of two adjacent image units, and three Combination of prediction modes of adjacent image units, or combination of prediction modes of four adjacent image units; for ease of implementation, skip mode, inter mode, intra frame may be performed on prediction modes of adjacent image units The distinction between large categories such as patterns, and no further distinction is the inter mode between 16 X 16 or 16 x 8 between frames, so when the prediction mode includes skip mode, inter mode, intra mode , each prediction mode When the combination of the modes includes prediction modes of three adjacent image units, it is only necessary to store 3 3 = 27 prediction mode lists in advance; when the combination of each prediction mode includes prediction modes of two adjacent image units, It is necessary to store 3 2 = 9 prediction mode lists in advance; and so on, and will not be described again.
所述预先存储的预测模式列表中预测模式的排列顺序根据所述预测模 式列表索引表中预测模式列表索引所对应的预测模式组合进行排序。  The order of the prediction modes in the pre-stored prediction mode list is sorted according to the prediction mode combination corresponding to the prediction mode list index in the prediction mode list index table.
进一步地, 所述预先存储的预测模式列表索引表中的预测模式组合为 三个预测模式进行的组合时, 所述预测模式列表查询模块 62具体用于获取 当前图像单元的四个或三个可用的相邻图像单元的预测模式; 从所述四个 或三个可用的预测模式中选取三个预测模式作为相邻图像单元的预测模式 组合。  Further, when the prediction mode combination in the pre-stored prediction mode list index table is combined into three prediction modes, the prediction mode list querying module 62 is specifically configured to acquire four or three available current image units. a prediction mode of adjacent image units; three prediction modes are selected from the four or three available prediction modes as prediction mode combinations of adjacent image units.
进一步地, 所述预先存储的预测模式列表索引表中的预测模式组合为 三个预测模式进行的组合时, 所述预测模式列表查询模块 62具体用于获取 当前图像单元两个可用的相邻图像单元的预测模式; 将当前图像单元的任 一不可用的相邻图像单元的预测模式配置为所述两个可用的相邻图像单元 的预测模式之一。  Further, when the prediction mode combination in the pre-stored prediction mode list index table is combined into three prediction modes, the prediction mode list querying module 62 is specifically configured to acquire two available adjacent images of the current image unit. a prediction mode of the unit; configuring a prediction mode of any unavailable adjacent image unit of the current picture unit as one of the prediction modes of the two available adjacent image units.
进一步地, 所述预先存储的预测模式列表索引表中的预测模式组合为 三个预测模式进行的组合时, 所述预测模式列表查询模块 62具体用于获取 当前图像单元一个可用的相邻图像单元的预测模式; 将当前图像单元的任 两个不可用的相邻图像单元的预测模式配置为所述一个可用的相邻图像单 元的预测模式。  Further, when the prediction mode combination in the pre-stored prediction mode list index table is combined into three prediction modes, the prediction mode list querying module 62 is specifically configured to acquire one available adjacent image unit of the current image unit. Prediction mode; a prediction mode of any two unavailable adjacent image units of the current picture unit is configured as a prediction mode of the one available adjacent picture unit.
进一步地, 所述预先存储的预测模式列表索引表中的预测模式组合为 三个预测模式进行的组合时, 所述预测模式列表查询模块 62具体用于将当 前图像单元的任三个不可用的相邻图像单元的预测模式分别配置为预测模 式列表索引表中预测模式的一种, 得到一个包含有 3个相邻图像单元的预 测模式的预测模式组合; 其中所选择的三个不可用的相邻图像单元的预测 模式可以配置为相同或不同。 Further, when the prediction mode combination in the pre-stored prediction mode list index table is combined into three prediction modes, the prediction mode list query module 62 is specifically configured to use any three of the current image units that are unavailable. The prediction modes of the adjacent image units are respectively configured as one of the prediction modes in the prediction mode list index table, and a prediction mode combination including a prediction mode of three adjacent image units is obtained; wherein the three unavailable phases are selected Prediction of adjacent image units Modes can be configured to be the same or different.
图 7示出了本发明提供的预测模式的解码装置的结构示意, 如图 7所 示, 所述解码装置包括: 预测模式获取模块 71、预测模式列表查询模块 72、 解码模块 73; 其中,  FIG. 7 is a schematic diagram showing the structure of a decoding apparatus of a prediction mode provided by the present invention. As shown in FIG. 7, the decoding apparatus includes: a prediction mode acquisition module 71, a prediction mode list query module 72, and a decoding module 73;
预测模式获取模块 71 , 用于判断当前图像单元的相邻图像单元的可用 性, 并根据判断结果获取相邻图像单元的预测模式组合; 首先, 获取当前 图像单元可用的相邻图像单元的预测模式; 然后, 根据预先存储的预测模 式列表索引表中的预测模式组合所包括的相邻图像单元的个数, 获取相邻 图像单元的预测模式组合; 其中, 预测模式的组合可以为一个相邻图像单 元的预测模式进行的组合、 两个相邻图像单元的预测模式进行的组合、 三 个相邻图像单元的预测模式进行的组合、 或四个相邻图像单元的预测模式 进行的组合;  The prediction mode obtaining module 71 is configured to determine the availability of the adjacent image unit of the current image unit, and obtain the prediction mode combination of the adjacent image unit according to the determination result; first, acquire a prediction mode of the adjacent image unit that is available for the current image unit; Then, the prediction mode combination of the adjacent image unit is obtained according to the number of adjacent image units included in the prediction mode combination in the pre-stored prediction mode list index table; wherein the combination of the prediction modes may be one adjacent image unit a combination of a prediction mode, a combination of prediction modes of two adjacent image units, a combination of prediction modes of three adjacent image units, or a combination of prediction modes of four adjacent image units;
预测模式列表索引表是用来索引预测模式列表的索引表, 其包括预测 模式组合及该组合所对应的预测模式列表索引; 所述预先存储的预测模式 列表中预测模式的排列顺序根据预测模式列表索引所对应的预测模式组合 进行排序。  The prediction mode list index table is an index table used to index the prediction mode list, and includes a prediction mode combination and a prediction mode list index corresponding to the combination; and an arrangement order of the prediction modes in the pre-stored prediction mode list according to the prediction mode list The combination of prediction modes corresponding to the index is sorted.
预测模式列表查询模块 72,用于根据所述预测模式获取模块 71获得的 预测模式组合和预先存储的预测模式列表索引表, 得到当前图像单元的预 测模式列表; 具体地, 查询预测模式列表索引表, 在所述预测模式列表索 引表中找到与所述预测模式获取模块 71获得的预测模式组合相同的预测模 式组合, 进而得到该组合对应的预测模式列表索引, 通过该索引, 进一步 得到与该索引对应的预先存储的预测模式列表, 作为当前图像单元的预测 模式列表。  The prediction mode list querying module 72 is configured to obtain a prediction mode list of the current image unit according to the prediction mode combination obtained by the prediction mode obtaining module 71 and the pre-stored prediction mode list index table; specifically, the query prediction mode list index table And obtaining, in the prediction mode list index table, a prediction mode combination that is the same as the prediction mode combination obtained by the prediction mode acquiring module 71, and further obtaining a prediction mode list index corresponding to the combination, and further obtaining the index by using the index A corresponding pre-stored prediction mode list is used as a prediction mode list of the current image unit.
解码模块 73 ,用于根据所述预测模式列表查询模块 72得到的当前图像 单元的预测模式列表, 对当前图像单元的预测模式进行熵解码, 得到当前 图像单元的实际的预测模式。 The decoding module 73 is configured to perform entropy decoding on the prediction mode of the current image unit according to the prediction mode list of the current image unit obtained by the prediction mode list query module 72, to obtain a current The actual prediction mode of the image unit.
其中, 所述预测模式列表查询模块 72预先存储的预测模式列表索引表 中的预测模式组合为一个相邻图像单元的预测模式进行的组合、 两个相邻 图像单元的预测模式进行的组合、 三个相邻图像单元的预测模式进行的组 合、 或四个相邻图像单元的预测模式进行的组合; 为了便于实现, 可以对 可用的相邻图像单元的预测模式进行跳过模式、 帧间模式、 帧内模式等大 类别上的区分, 而不再进一步区分是帧间 16 X 16, 还是帧间 16 x 8等等的 帧间模式, 如此, 当预测模式包括跳过模式、 帧间模式、 帧内模式, 每个 预测模式的组合包括 3 个相邻图像单元的预测模式时, 则需要预先存储 33=27个预测模式列表即可; 当每个预测模式的组合包括 2个相邻图像单元 的预测模式时, 则需要预先存储 32=9个预测模式列表即可; 以此类推, 不 再赘述。 The prediction mode combination in the prediction mode list index table stored in the prediction mode list query module 72 is a combination of prediction modes of one adjacent image unit, a combination of prediction modes of two adjacent image units, and three a combination of prediction modes of adjacent image units, or a combination of prediction modes of four adjacent image units; for ease of implementation, a prediction mode of available adjacent image units may be skip mode, inter mode, The distinction between large categories such as intra mode, and no further distinction is the inter mode between 16 X 16 or 16 x 8 between frames, so when the prediction mode includes skip mode, inter mode, frame In the inner mode, when the combination of each prediction mode includes the prediction mode of 3 adjacent image units, it is necessary to store 3 3 = 27 prediction mode lists in advance; when each prediction mode combination includes 2 adjacent image units For the prediction mode, it is necessary to store 3 2 = 9 prediction mode lists in advance; and so on, and will not be described again.
所述预先存储的预测模式列表中预测模式的排列顺序根据所述预测模 式列表索引表中预测模式列表索引所对应的预测模式组合进行排序。  The order of the prediction modes in the pre-stored prediction mode list is sorted according to the prediction mode combination corresponding to the prediction mode list index in the prediction mode list index table.
应当理解, 上述编码装置和解码装置也可以结合在同一个装置中, 结 合得到的编解码装置包括预测模式获取模块、 预测模式列表查询模块、 编 码模块、 及解码模块; 其中各模块的功能与上述相同, 不再赘述。  It should be understood that the foregoing encoding apparatus and decoding apparatus may also be combined in the same apparatus, and the combined codec apparatus includes a prediction mode acquiring module, a prediction mode list querying module, an encoding module, and a decoding module; wherein each module has the function and the above The same, no longer repeat them.
以上所述, 仅为本发明的较佳实施例而已, 并非用于限定本发明的保 护范围。  The above is only the preferred embodiment of the present invention and is not intended to limit the scope of the present invention.

Claims

权利要求书 Claim
1、 一种预测模式的编码或解码方法, 其特征在于, 所述方法包括: 判断当前图像单元的相邻图像单元的可用性, 并根据判断结果获取相 邻图像单元的预测模式组合;  A method for encoding or decoding a prediction mode, the method comprising: determining availability of adjacent image units of a current image unit, and acquiring a prediction mode combination of adjacent image units according to the determination result;
根据获得的预测模式组合和预先存储的预测模式列表索引表, 得到当 前图像单元的预测模式列表;  Obtaining a prediction mode list of the current image unit according to the obtained prediction mode combination and the pre-stored prediction mode list index table;
当为编码端时, 根据所述当前图像单元的预测模式列表, 对所述当前 图像单元的实际预测模式进行熵编码; 或者,  When it is an encoding end, entropy encoding an actual prediction mode of the current image unit according to a prediction mode list of the current image unit; or
当为解码端时, 根据所述当前图像单元的预测模式列表, 对当前图像 单元的预测模式进行熵解码, 得到当前图像单元的实际的预测模式。  When it is a decoding end, entropy decoding the prediction mode of the current image unit according to the prediction mode list of the current image unit, to obtain an actual prediction mode of the current image unit.
2、 根据权利要求 1所述的方法, 其特征在于, 所述预先存储的预测模 式列表索引表中所包括的预测模式组合为: 一个相邻图像单元的预测模式 进行的组合、 两个相邻图像单元的预测模式进行的组合、 三个相邻图像单 元的预测模式进行的组合、 或四个相邻图像单元的预测模式进行的组合; 所述预先存储的预测模式列表中, 预测模式的排列顺序根据所述预测 模式列表索引表中预测模式列表索引所对应的预测模式组合进行排序。  2. The method according to claim 1, wherein the combination of prediction modes included in the pre-stored prediction mode list index table is: a combination of prediction modes of one adjacent image unit, two adjacent Combination of prediction modes of image units, combination of prediction modes of three adjacent image units, or combination of prediction modes of four adjacent image units; arrangement of prediction modes in the pre-stored prediction mode list The ordering is performed according to a combination of prediction modes corresponding to the prediction mode list index in the prediction mode list index table.
3、 根据权利要求 1所述的方法, 其特征在于, 所述预先存储的预测模 式列表索引表中的预测模式组合为三个相邻图像单元的预测模式进行的组 合时, 所述获取相邻图像单元的预测模式组合为:  The method according to claim 1, wherein when the combination of the prediction modes in the pre-stored prediction mode list index table is a combination of prediction modes of three adjacent image units, the acquiring neighbors The prediction mode combination of the image unit is:
获取当前图像单元的四个或三个可用的相邻图像单元的预测模式; 从所述四个或三个可用的预测模式中选取三个预测模式作为相邻图像 单元的预测模式组合。  Obtaining prediction modes of four or three available neighboring image units of the current image unit; selecting three prediction modes from the four or three available prediction modes as prediction mode combinations of adjacent image units.
4、 根据权利要求 1所述的方法, 其特征在于, 所述预先存储的预测模 式列表索引表中的预测模式组合为三个相邻图像单元的预测模式进行的组 合时, 所述获取相邻图像单元的预测模式组合为: 获取当前图像单元两个可用的相邻图像单元的预测模式; 将当前图像单元的任意一个不可用的相邻图像单元的预测模式配置为 所述两个可用的相邻图像单元的预测模式之一。 The method according to claim 1, wherein when the combination of the prediction modes in the pre-stored prediction mode list index table is a combination of prediction modes of three adjacent image units, the acquiring neighbors The prediction mode combination of the image unit is: Obtaining a prediction mode of two available adjacent image units of the current image unit; configuring a prediction mode of the adjacent image unit of any one of the current image units to be one of the prediction modes of the two available adjacent image units .
5、 根据权利要求 1所述的方法, 其特征在于, 所述预先存储的预测模 式列表索引表中的预测模式组合为三个相邻图像单元的预测模式进行的组 合时, 所述获取相邻图像单元的预测模式组合为:  The method according to claim 1, wherein when the combination of the prediction modes in the pre-stored prediction mode list index table is a combination of prediction modes of three adjacent image units, the acquiring neighbors The prediction mode combination of the image unit is:
获取当前图像单元一个可用的相邻图像单元的预测模式;  Obtaining a prediction mode of an available adjacent image unit of the current image unit;
将当前图像单元的任意两个不可用的相邻图像单元的预测模式配置为 所述一个可用的相邻图像单元的预测模式。  A prediction mode of any two unavailable adjacent image units of the current picture unit is configured as a prediction mode of the one available adjacent picture unit.
6、 根据权利要求 1所述的方法, 其特征在于, 所述预先存储的预测模 式列表索引表中的预测模式组合为三个相邻图像单元的预测模式进行的组 合时, 所述获取相邻图像单元的预测模式组合为:  The method according to claim 1, wherein when the combination of the prediction modes in the pre-stored prediction mode list index table is a combination of prediction modes of three adjacent image units, the acquiring neighbors The prediction mode combination of the image unit is:
将当前图像单元的任意三个不可用的相邻图像单元的预测模式分别配 置为预测模式列表索引表中预测模式的一种, 且所选择的三个不可用的相 邻图像单元的预测模式可以配置为相同或不同。  The prediction modes of any three unavailable neighboring image units of the current image unit are respectively configured as one of the prediction modes in the prediction mode list index table, and the prediction modes of the selected three unavailable adjacent image units may be Configured to be the same or different.
7、 一种预测模式的编码装置, 其特征在于, 所述装置包括: 预测模式 获取模块、 预测模式列表查询模块、 编码模块; 其中,  An apparatus for encoding a prediction mode, the apparatus comprising: a prediction mode acquisition module, a prediction mode list query module, and an encoding module;
预测模式获取模块, 用于判断当前图像单元的相邻图像单元的可用性, 并根据判断结果获取相邻图像单元的预测模式组合;  a prediction mode acquiring module, configured to determine availability of adjacent image units of the current image unit, and obtain a prediction mode combination of the adjacent image units according to the determination result;
预测模式列表查询模块, 用于根据所述预测模式获取模块获得的预测 模式组合和预先存储的预测模式列表索引表, 得到当前图像单元的预测模 式列表;  a prediction mode list querying module, configured to obtain a prediction mode list of the current image unit according to the prediction mode combination obtained by the prediction mode acquisition module and the pre-stored prediction mode list index table;
编码模块, 用于根据所述预测模式列表查询模块得到的当前图像单元 的预测模式列表, 对所述当前图像单元的实际预测模式进行熵编码。  And an encoding module, configured to entropy encode the actual prediction mode of the current image unit according to the prediction mode list of the current image unit obtained by the prediction mode list query module.
8、 根据权利要求 7所述的装置, 其特征在于, 所述预测模式列表查询 模块预先存储的预测模式列表索引表中的预测模式组合为: 一个相邻图像 单元的预测模式进行的组合、 两个相邻图像单元的预测模式进行的组合、 三个相邻图像单元的预测模式进行的组合、 或四个相邻图像单元的预测模 式进行的组合; 8. The apparatus according to claim 7, wherein the prediction mode list query The prediction mode combination in the prediction mode list index table stored in advance by the module is: combination of prediction modes of one adjacent image unit, combination of prediction modes of two adjacent image units, prediction mode of three adjacent image units a combination of performed, or a combination of prediction modes of four adjacent image elements;
所述预先存储的预测模式列表中, 预测模式的排列顺序根据所述预测 模式列表索引表中预测模式列表索引所对应的预测模式组合进行排序。  In the pre-stored prediction mode list, the order of the prediction modes is sorted according to the prediction mode combination corresponding to the prediction mode list index in the prediction mode list index table.
9、 根据权利要求 7所述的编码装置, 其特征在于, 所述预先存储的预 测模式列表索引表中的预测模式组合为三个相邻图像单元的预测模式进行 的组合时, 所述预测模式列表查询模块, 具体用于获取当前图像单元的四 个或三个可用的相邻图像单元的预测模式; 从所述四个或三个可用的预测 模式中选取三个预测模式作为相邻图像单元的预测模式组合。  The encoding apparatus according to claim 7, wherein when the prediction mode combination in the pre-stored prediction mode list index table is a combination of prediction modes of three adjacent image units, the prediction mode a list query module, specifically for acquiring a prediction mode of four or three available adjacent image units of the current image unit; selecting three prediction modes from the four or three available prediction modes as adjacent image units The combination of prediction modes.
10、 根据权利要求 7所述的编码装置, 其特征在于, 所述预先存储的 预测模式列表索引表中的预测模式组合为三个相邻图像单元的预测模式进 行的组合时, 所述预测模式列表查询模块, 具体用于获取当前图像单元两 个可用的相邻图像单元的预测模式; 将当前图像单元的任一不可用的相邻 图像单元的预测模式配置为所述两个可用的相邻图像单元的预测模式之  The encoding apparatus according to claim 7, wherein when the prediction mode combination in the pre-stored prediction mode list index table is combined by a prediction mode of three adjacent image units, the prediction mode a list query module, specifically configured to acquire a prediction mode of two available adjacent image units of the current image unit; and configure a prediction mode of any unavailable adjacent image unit of the current image unit as the two available neighbors Image unit prediction mode
11、 根据权利要求 7所述的编码装置, 其特征在于, 所述预先存储的 预测模式列表索引表中的预测模式组合为三个相邻图像单元的预测模式进 行的组合时, 所述预测模式列表查询模块, 具体用于获取当前图像单元一 个可用的相邻图像单元的预测模式; 将当前图像单元的任意两个不可用的 相邻图像单元的预测模式配置为所述一个可用的相邻图像单元的预测模 式。 The encoding apparatus according to claim 7, wherein when the prediction mode combination in the pre-stored prediction mode list index table is a combination of prediction modes of three adjacent image units, the prediction mode a list query module, specifically configured to acquire a prediction mode of an available adjacent image unit of the current image unit; configured a prediction mode of any two unavailable adjacent image units of the current image unit as the one available adjacent image The prediction mode of the unit.
12、 根据权利要求 7所述的编码装置, 其特征在于, 所述预先存储的 预测模式列表索引表中的预测模式组合为三个相邻图像单元的预测模式进 行的组合时, 所述预测模式列表查询模块, 具体用于将当前图像单元的任 三个不可用的相邻图像单元的预测模式分别配置为预测模式列表索引表中 预测模式的一种, 且所选择的三个不可用的相邻图像单元的预测模式可以 配置为相同或不同。 The encoding apparatus according to claim 7, wherein the prediction mode combination in the pre-stored prediction mode list index table is a prediction mode of three adjacent image units. When the combination of the rows, the prediction mode list query module is specifically configured to configure a prediction mode of any three unavailable image units of the current image unit as one of the prediction modes in the prediction mode list index table, and The prediction modes of the selected three unavailable adjacent image units may be configured to be the same or different.
13、 一种预测模式的解码装置, 其特征在于, 所述装置包括: 预测模 式获取模块、 预测模式列表查询模块、 解码模块; 其中,  A decoding device of a prediction mode, the device comprising: a prediction mode acquisition module, a prediction mode list query module, and a decoding module;
预测模式获取模块, 用于判断当前图像单元的相邻图像单元的可用性, 并根据判断结果获取相邻图像单元的预测模式组合;  a prediction mode acquiring module, configured to determine availability of adjacent image units of the current image unit, and obtain a prediction mode combination of the adjacent image units according to the determination result;
预测模式列表查询模块, 用于根据所述预测模式获取模块获得的预测 模式组合和预先存储的预测模式列表索引表, 得到当前图像单元的预测模 式列表;  a prediction mode list querying module, configured to obtain a prediction mode list of the current image unit according to the prediction mode combination obtained by the prediction mode acquisition module and the pre-stored prediction mode list index table;
解码模块, 用于根据所述预测模式列表查询模块得到的当前图像单元 的预测模式列表, 对当前图像单元的预测模式进行熵解码, 得到当前图像 单元的实际的预测模式。  And a decoding module, configured to perform entropy decoding on the prediction mode of the current image unit according to the prediction mode list of the current image unit obtained by the prediction mode list query module, to obtain an actual prediction mode of the current image unit.
14、 根据权利要求 13所述的解码装置, 其特征在于, 所述预测模式列 表查询模块预先存储的预测模式列表索引表中的预测模式组合为: 一个相 邻图像单元的预测模式进行的组合、 两个相邻图像单元的预测模式进行的 组合、 三个相邻图像单元的预测模式进行的组合、 或四个相邻图像单元的 预测模式进行的组合;  The decoding apparatus according to claim 13, wherein the prediction mode combination in the prediction mode list index table stored in advance by the prediction mode list query module is: a combination of prediction modes of one adjacent image unit, a combination of prediction modes of two adjacent image units, a combination of prediction modes of three adjacent image units, or a combination of prediction modes of four adjacent image units;
所述预先存储的预测模式列表中, 预测模式的排列顺序根据所述预测 模式列表索引表中预测模式列表索引所对应的预测模式组合进行排序。  In the pre-stored prediction mode list, the order of the prediction modes is sorted according to the prediction mode combination corresponding to the prediction mode list index in the prediction mode list index table.
PCT/CN2011/076827 2011-02-24 2011-07-04 Encoding or decoding method of prediction mode, and device thereof WO2012113197A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201110045874.5 2011-02-24
CN201110045874 2011-02-24

Publications (1)

Publication Number Publication Date
WO2012113197A1 true WO2012113197A1 (en) 2012-08-30

Family

ID=45579067

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2011/076827 WO2012113197A1 (en) 2011-02-24 2011-07-04 Encoding or decoding method of prediction mode, and device thereof

Country Status (2)

Country Link
CN (1) CN102355579B (en)
WO (1) WO2012113197A1 (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB2501535A (en) 2012-04-26 2013-10-30 Sony Corp Chrominance Processing in High Efficiency Video Codecs
CN102984521B (en) * 2012-12-12 2015-04-08 四川大学 High-efficiency video coding inter-frame mode judging method based on temporal relativity
CN103024383B (en) * 2012-12-14 2016-02-10 北京工业大学 A kind of based on lossless compression-encoding method in the frame of HEVC framework
US10609423B2 (en) 2016-09-07 2020-03-31 Qualcomm Incorporated Tree-type coding for video coding
CN110278435B (en) * 2018-03-16 2021-11-19 华为技术有限公司 Intra-frame prediction method and device for image block
CN110620926B (en) * 2018-06-20 2022-01-04 浙江大学 Intra-frame prediction mode coding and decoding method and device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004128749A (en) * 2002-09-30 2004-04-22 Toshiba Corp Moving image coding method and decoding method
CN1659580A (en) * 2002-06-11 2005-08-24 诺基亚有限公司 Intra coding based on spatial prediction
CN1674680A (en) * 2005-03-31 2005-09-28 华中科技大学 An enhanced in-frame predictive mode coding method
CN101605255A (en) * 2008-06-12 2009-12-16 华为技术有限公司 Method and device for video encoding and decoding
WO2010047099A1 (en) * 2008-10-22 2010-04-29 日本電信電話株式会社 Scalable moving image encoding method, scalable moving image encoding apparatus, scalable moving image encoding program, and computer readable recording medium where that program has been recorded

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1659580A (en) * 2002-06-11 2005-08-24 诺基亚有限公司 Intra coding based on spatial prediction
JP2004128749A (en) * 2002-09-30 2004-04-22 Toshiba Corp Moving image coding method and decoding method
CN1674680A (en) * 2005-03-31 2005-09-28 华中科技大学 An enhanced in-frame predictive mode coding method
CN101605255A (en) * 2008-06-12 2009-12-16 华为技术有限公司 Method and device for video encoding and decoding
WO2010047099A1 (en) * 2008-10-22 2010-04-29 日本電信電話株式会社 Scalable moving image encoding method, scalable moving image encoding apparatus, scalable moving image encoding program, and computer readable recording medium where that program has been recorded

Also Published As

Publication number Publication date
CN102355579B (en) 2018-03-16
CN102355579A (en) 2012-02-15

Similar Documents

Publication Publication Date Title
KR101452860B1 (en) Method and apparatus for image encoding, and method and apparatus for image decoding
KR101457418B1 (en) Method and apparatus for video coding according to the size of a hierarchical coding unit, video decoding method and apparatus thereof
CN100586187C (en) Method and device for intra-image predictive encoding/decoding
CN101491107B (en) Method for decoding image element group and related encoder and decoder
CN101569201B (en) Method and device for encoding and decoding based on intra-frame prediction
CN117395408A (en) Method and device for encoding/decoding images and recording medium
KR20110018189A (en) Image encoding method and apparatus, decoding method and apparatus thereof
CN108282660A (en) The method for exporting movable information
KR100813958B1 (en) Method of lossless encoding and decoding, and apparatus thereof
CN103096073A (en) Method Of Constructing Merge List
JP5475409B2 (en) Moving picture coding apparatus and moving picture coding method
CN105681808B (en) A kind of high-speed decision method of SCC interframe encodes unit mode
WO2012113197A1 (en) Encoding or decoding method of prediction mode, and device thereof
CN110868593A (en) Fast Division of Video CU Based on Regional Decision Tree
KR101607613B1 (en) Method and apparatus for image encoding, and method and apparatus for image decoding
KR101761278B1 (en) Method and apparatus for image decoding
KR20150045980A (en) Method and apparatus for image encoding, and method and apparatus for image decoding
KR101607614B1 (en) Method and apparatus for image encoding, and method and apparatus for image decoding
KR101606683B1 (en) Method and apparatus for image encoding, and method and apparatus for image decoding
KR101606853B1 (en) Method and apparatus for image encoding, and method and apparatus for image decoding
KR101607611B1 (en) Method and apparatus for image encoding, and method and apparatus for image decoding
KR101366088B1 (en) Method and apparatus for encoding and decoding based on intra prediction
KR101886259B1 (en) Method and apparatus for image encoding, and computer-readable medium including encoded bitstream
KR20160144952A (en) Method and apparatus for video encoding and decoding dependent on hierarchical structure of coding unit
KR20140060481A (en) Method and apparatus for video encoding and decoding dependent on hierarchical structure of coding unit

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: 11859565

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: 11859565

Country of ref document: EP

Kind code of ref document: A1

点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载