WO2013004166A1 - 帧内预测编解码处理方法、装置和系统 - Google Patents

帧内预测编解码处理方法、装置和系统 Download PDF

Info

Publication number
WO2013004166A1
WO2013004166A1 PCT/CN2012/078063 CN2012078063W WO2013004166A1 WO 2013004166 A1 WO2013004166 A1 WO 2013004166A1 CN 2012078063 W CN2012078063 W CN 2012078063W WO 2013004166 A1 WO2013004166 A1 WO 2013004166A1
Authority
WO
WIPO (PCT)
Prior art keywords
prediction mode
mode
current block
value
mpm set
Prior art date
Application number
PCT/CN2012/078063
Other languages
English (en)
French (fr)
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 WO2013004166A1 publication Critical patent/WO2013004166A1/zh

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/50Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding
    • H04N19/593Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding involving spatial prediction techniques
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/102Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or selection affected or controlled by the adaptive coding
    • H04N19/103Selection of coding mode or of prediction mode
    • H04N19/11Selection of coding mode or of prediction mode among a plurality of spatial predictive coding modes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/134Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or criterion affecting or controlling the adaptive coding
    • H04N19/157Assigned coding mode, i.e. the coding mode being predefined or preselected to be further used for selection of another element or parameter
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/169Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding
    • H04N19/17Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being an image region, e.g. an object
    • H04N19/176Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being an image region, e.g. an object the region being a block, e.g. a macroblock
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/189Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the adaptation method, adaptation tool or adaptation type used for the adaptive coding
    • H04N19/196Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the adaptation method, adaptation tool or adaptation type used for the adaptive coding being specially adapted for the computation of encoding parameters, e.g. by averaging previously computed encoding parameters

Definitions

  • Embodiments of the present invention relate to video image encoding and decoding technologies, and in particular, to an intra prediction encoding and decoding processing method, apparatus, and system. Background technique
  • the video signal is compressed at the transmitting end and transmitted to the receiving end, and the receiving end recovers the video signal by decompression processing and plays.
  • the sender or receiver here can be a mobile phone, a digital phone terminal, a wireless device, a personal data assistant (PDA), a handheld or portable computer, a GPS receiver/navigator, a camera, an audio/video player, a video camera, a video recorder. , monitoring equipment, etc.
  • the H.264, Advanced Video Coding (AVC) standard introduces an intra prediction codec technology.
  • the decoding device may predict the pixel value of the current block using the reconstructed pixel value and the prediction mode of the neighboring block of the current block of the image.
  • the coding device needs to correspond to mode 2.
  • the flag bit is added to distinguish the Planar member test mode from the DC prediction mode.
  • the code code word corresponding to mode 2 is 0010, and the code code word of the DC prediction mode may be 00100.
  • the coded codeword for the Planar prediction mode is 00101.
  • Embodiments of the present invention provide an intra prediction and decoding and decoding processing method, apparatus, and system.
  • An embodiment of the present invention provides an intra prediction encoding processing method, including:
  • a code stream is transmitted to the decoding device, the code stream containing information of an intra prediction mode employed by the current block.
  • An embodiment of the present invention provides an intra prediction decoding processing method, including:
  • An embodiment of the present invention provides an encoding device, including:
  • a first acquiring module configured to acquire a most probable prediction mode MPM set of the current block and an intra prediction mode used by the current block, where the elements in the MPM set are intra predicted from neighboring blocks of the current block Obtained in the mode;
  • a first determining module configured to determine, according to the quantity and value of the elements in the MPM set, information about an intra prediction mode used by the current block
  • a code sending module configured to send a code stream to the decoding device, where the code stream includes information of an intra prediction mode used by the current block.
  • the embodiment of the invention provides a decoding device, including:
  • a receiving module configured to receive a code stream sent by the encoding device, where the code stream includes coded information corresponding to an intra prediction mode of the current block;
  • a second acquiring module configured to acquire a most probable prediction mode MPM set of the current block, where an element in the MPM set is obtained from an intra prediction mode adopted by a neighboring block of the current block;
  • a decoding processing module configured to determine an intra prediction mode used by the current block according to the encoding information and the number and value of elements in the MPM set.
  • Embodiments of the present invention provide a codec processing system, including the foregoing encoding device and decoding device.
  • the number and value of the elements in the MPM set may be fully considered.
  • the encoding device may be the intra block of the current block.
  • the prediction mode selects the corresponding codeword for encoding, so that the coding mode is more flexible, and the redundant codeword can be fully utilized.
  • Embodiment 1 is a flowchart of Embodiment 1 of an intra prediction encoding processing method according to the present invention
  • Embodiment 2 is a flowchart of Embodiment 2 of an intra prediction encoding processing method according to the present invention
  • HM is a schematic diagram of prediction directions of different intra prediction modes in HM
  • Embodiment 4 is a flowchart of Embodiment 1 of an intra prediction decoding processing method according to the present invention.
  • Embodiment 2 is a flowchart of Embodiment 2 of an intra prediction decoding processing method according to the present invention.
  • Embodiment 1 of an encoding apparatus according to the present invention
  • Embodiment 7 is a schematic structural diagram of Embodiment 2 of an encoding apparatus according to the present invention.
  • Embodiment 8 is a schematic structural diagram of Embodiment 1 of a decoding device according to the present invention.
  • Embodiment 9 is a schematic structural diagram of Embodiment 2 of a decoding device according to the present invention.
  • FIG. 10 is a schematic structural diagram of an embodiment of a codec processing system according to the present invention. - - detailed description
  • video codecs are widely used in various electronic devices, such as: mobile phones, wireless devices, personal data assistants (PDAs), handheld or portable computers, GPS receivers/navigators, cameras, audio/ Video player, video camera, video recorder, monitoring equipment, etc.
  • PDAs personal data assistants
  • video encoder or video decoder can be directly implemented by a digital circuit or a chip such as a DSP (digital signal processor), or can be executed by a software code to execute the software in the processor. The process is implemented.
  • DSP digital signal processor
  • Embodiment 1 is a flowchart of Embodiment 1 of an intra prediction encoding processing method of the present invention. As shown in FIG. 1 , the method in this embodiment may be applied to an encoding end. The method in this embodiment may specifically include:
  • Step 101 Acquire an MPU set of a current block and an intra prediction mode used by the current block, and an element in the MPM set is obtained from an intra prediction mode adopted by a neighboring block of the current block.
  • Step 102 Determine information about an intra prediction mode used by the current block according to the number and value of elements in the MPM set.
  • Step 103 Send a code stream to the decoding device, where the code stream includes information of an intra prediction mode used by the current block.
  • the encoding device may use the ⁇ set to predict the intra prediction mode used by the current block, where the elements in the ⁇ set are the prediction mode of the left neighboring block of the current block and the prediction mode of the upper neighboring block. If the prediction mode of the current block adopts the prediction mode in the ⁇ set, the encoding device may encode the prediction mode of the current block by using an index of an element corresponding to the prediction mode of the current block in the ⁇ set, if the prediction mode of the current block is not Using the prediction mode in the set, then - The code device may encode the prediction mode employed by the current block with a codeword corresponding to the remaining mode other than the prediction mode in the MPM set.
  • the first prediction mode is the Planar member measurement mode
  • the second prediction mode is the DC prediction mode
  • the Planar member mode and the DC prediction mode shared mode value are 2 as an example. It can be understood by those skilled in the art that the first prediction mode may also be any other prediction mode, and the first prediction mode may share the same mode value with any one of the optional prediction modes of the current block.
  • the predictive encoding process can be:
  • the encoding apparatus can acquire the intra prediction mode intraPredModeA of the left neighboring block A and the intra prediction mode intraPredModeB of the upper neighboring block B. If the neighboring block does not exist or the intra prediction mode is not adopted, the encoding apparatus may set the prediction mode corresponding to the neighboring block to 2. In addition, if the intra prediction mode of the left neighboring block A or the upper neighboring block B is Planar mode, the corresponding intraPredModeA or intraPredModeB is set to 2.
  • intraPredModeA is equal to intraPredModeB
  • the number of elements in the candModeList, NumMPMCand is set to 1
  • intraPredModeA or intraPredModeB is used as the element in the MPM set, candModeList[0].
  • NumMPMCand l and only in candModeList Contains an element, that is, candModeList is ⁇ 4 ⁇ .
  • intraPredModeA is not equal to intraPredModeB, set NumMPMCand to 2, and use the smaller mode value in intraPredModeA and intraPredModeB as the first element in the MPM set, candModeList[0], and the other mode value as the second in the MPM set.
  • the encoding device may set the prev_intra_pred_flag to 1; otherwise, the prev_intra_pred_flag may be set to 0. After determining the prev_intra_pred_flag, the encoding device can encode the prev_intra_pred_flag.
  • prev_intra_pred_flag 1
  • the encoding device can determine whether it is necessary to further encode the index information mpm_idx of the MPM equal to the IntraPredModeC according to the number of elements of the candModeList NumMPMCand. If the NumMPMCand is 1, the encoding device does not need to encode the mpm_idx. If the NumMPMCand is 2, the encoding device needs to encode the mpmjdx according to the MPM used by the current block C.
  • the encoding method may be, for example, if the MPM equal to the IntraPredModeC is in the candModeList.
  • the first element sets mpm_idx to 0; otherwise, sets mpm_idx to 1.
  • the coding end further encodes the identifier bit DCPlanarFlag. For example, if the IntraPredModeC is in the Planar prediction mode, the DCPlanarFlag may be set to 1, and if the IntraPredModeC is in the DC prediction mode, Then DCPlanarFlag can be set to 0.
  • the encoding device It is necessary to encode the remaining modes other than the prediction mode in the candModeList corresponding to the IntraPredModeC. For example, suppose the total prediction mode has a total of 17 prediction modes from mode 0 to mode 16. If there are two prediction modes in the candModeList, namely mode 3 and mode 4, there are residual mode and original mode 0 ⁇ mode 2 and Mode 5 ⁇ Mode 16 correspond.
  • the encoding device may determine the remaining mode rem_in_pred_mode corresponding to the prediction mode employed by the current block from all remaining modes, and the encoding device may adopt the code corresponding to the determined remaining mode rem_intra_pred_mode
  • the word encodes the prediction mode of the current block, for example, using a fixed length binary codeword.
  • the fixed length binary codeword can be a 4-bit binary code, for example, the 4-bit binary code corresponding to mode 2 can be 0010.
  • the encoding device also needs to add a suffix after the binary codeword corresponding to the mode 2 to enter the Planar member mode and the DC prediction mode.
  • the binary codeword corresponding to the Planar member mode may be 00101
  • the binary codeword corresponding to the DC prediction mode may be 00100.
  • the codeword corresponding to the intra prediction mode IntraPredModeC It is fixed. For example, if there are 4 optional intra prediction modes of the current block, that is, mode 0 to mode 3, where mode 2 is the DC prediction mode and mode 3 is the Planar prediction mode, regardless of the elements in NumMPMCand and candModeList. What is the value?
  • the codeword corresponding to the IntraPredModeC may only be the codeword added after the binarization of the remaining mode values corresponding to the mode 2.
  • DCPlanarFlag therefore, the prior art has fixed coding codewords for the intra prediction mode of the current block, and the flexibility is poor.
  • the current block has three optional prediction modes
  • NumMPMCand is 2
  • the number of remaining modes is 1.
  • NumMPMCand is 1, the number of remaining modes is 2, regardless of whether the number of remaining modes is 1 or 2.
  • the prior art requires the use of 1 bit to represent the remaining mode.
  • One bit can represent two codewords of 0 and 1. In the case where NumMPMCand is 1 and there are two remaining modes, the two codewords correspond to the two remaining modes-; in the case where NumMPMCand is 2 and there is only one remaining mode, there is an unused codeword. , that is, the idle code word.
  • the idle codeword mentioned in the embodiment of the present invention is defined as a codeword corresponding to one of the selectable modes of the current block in the case where one element is included in the MPM set, and A codeword that does not correspond to any one of the optional prediction modes of the current block in the case where two elements are included in the MPM set.
  • the IntraPredModeC when the IntraPredModeC is in the Planar prediction mode and the IntraPredModeC ⁇ candModeList, and the number of elements in the candModeList is NumMPMCand is 2, there is an idle codeword. Therefore, the encoding device can use the idle codeword pair.
  • the Planar test mode is encoded. In this case, no additional bits are needed for identification. For other cases, the value and number of elements in the candModeList can still be used in the prior art, for example, by adding The code word suffix is used to encode the Planar staff test mode.
  • the MPM set candModeList and the intra prediction mode IntraPredModeC used by the current block C may be acquired, where the MPM set candModeList may include the left adjacent block A and the upper adjacent block.
  • the intra prediction modes IntraPredModeA and IntraPredModeB are used in B. The process can be implemented by referring to the foregoing content, and details are not described herein again.
  • the encoding device can determine the values of the number of elements in the MPM set candModeList, NumMPMCand and candModeList.
  • the values of NumMPMCand and candModeList can be fully considered.
  • the values of NumMPMCand and candModeList can be divided into the following situations:
  • IntraPredModeC it is a prediction mode other than Planar prediction mode or DC prediction mode.
  • - - the coding device can adopt the above technical solution
  • IntraPredModeC performs encoding processing.
  • the encoding device can encode the IntraPredModeC by using the idle codeword instead of the codeword corresponding to the DC prediction mode. Attach DCPlanarFlag.
  • the number and value of the elements in the MPM set may be fully considered.
  • the encoding device may be the frame of the current block.
  • the intra prediction mode selects the corresponding codeword for encoding, so that the coding mode is more flexible, and the redundant idle codeword can be fully utilized.
  • the current block C has 18 selectable intra prediction modes ranging from 0 to 17, including the Planar member mode and the DC prediction mode.
  • the DC prediction mode is mode 2
  • mode 0, mode 1 and mode 3 ⁇ 16 represent intra prediction modes along different prediction directions
  • Planar member mode can be set to the maximum mode value among all possible intra prediction modes, ie
  • the mode 17 may be further specified.
  • the value of the Planar member test mode may be 34.
  • the initial value of the Planar member test mode may be assumed to be 34. It should be noted that, in this embodiment, only the first prediction mode is the Planar member measurement mode, the second prediction mode is the DC prediction mode, and the Planar member mode and the DC prediction mode sharing mode 2 are taken as an example for description.
  • the first prediction mode is a Planar member measurement mode
  • the second prediction mode is a DC prediction mode
  • the second prediction mode is a DC prediction mode.
  • the method of the present embodiment may include: Step 201: Acquire an intra prediction mode of the left neighboring block A and the upper neighboring block B.
  • FIG 3 is a schematic diagram of the prediction direction of different intra prediction modes in the High Efficiency Video Coding Test Model (hereinafter referred to as HM), according to the HM shown in Figure 3, different prediction unit sizes and optional frames.
  • HM High Efficiency Video Coding Test Model
  • the encoding apparatus may determine the intra prediction mode of the left adjacent block A and the upper adjacent block B, intraPredModeN , where N is A or B.
  • the encoding device may identify the corresponding intraPredModeN, for example, set to 2; if the neighboring block exists and adopts the intraframe Predictive coding, the encoding device can set intraPredModeN to the intra prediction mode of the corresponding neighboring block.
  • Step 202 Obtain an alternative mode, candlntraPredModeN.
  • intraPredModeN is in Planar prediction mode
  • the encoding device can set candlntraPredModeN to 2, that is, Planar member mode and DC prediction mode share mode 2; otherwise, ⁇ CandlntraPredModeN is set to intraPredModeN.
  • Step 204 Perform encoding processing on the intra prediction mode of the current block C.
  • the process of the encoding process can be specifically implemented by the following steps:
  • Step 204a Obtain intraPredModeC of the current block C.
  • intraPredModeC is Planar member mode
  • the encoding device needs to set intraPredModeC to 2 and set DCPlanarFlag to 1; otherwise, intraPredModeC does not change, and DCPlanarFlag is set to 0.
  • Step 204b determine prev-intra-pred_flag and mpm_idx;
  • the encoding device can be processed in the following cases:
  • Step 204c Determine whether prev_intra_pred_flag is equal to 1, if yes, execute step 204d, otherwise perform step 204e.
  • Step 204d Perform encoding processing on prev_intra_pred_flag and mpm_idx, and execute step 205.
  • the encoding device may directly encode the prev_intra_pred_flag and the mpm_idx. If the intraPredModeC is the Planar prediction mode or the DC prediction mode, the encoding device needs to be in the prev_intra_pred_flag. And encoding the DCPlanarFlag according to the encoding process of the mpm_idx.
  • intraPredModeC is set to the maximum mode value among the 18 prediction modes of the modes 0 to 17, that is, the mode 17 is taken as an example.
  • the coding device can also be used. Set intraPredModeC to any mode value greater than 17, as long as there is a correspondence between the mode value used to set intraPredModeC and the idle codeword.
  • Step 204f Compare intraPredModeC with candModeList[l]. If intraPredModeC is greater than candModeList[l], the value of intraPredModeC is decremented by one, otherwise the intraPredModeC is kept unchanged.
  • Step 204g Compare intraPredModeC obtained in step 204f with candModeList[0]. If intraPredModeC is greater than candModeList[0], the value of intraPredModeC is decremented by one, otherwise the intraPredModeC is unchanged.
  • Step 204h setting rem_intra_pred_mode to intraPredModeC obtained in step 204g.
  • the above steps 204e ⁇ 204h can be represented by the following pseudo code:
  • Step 204i Obtain a codeword corresponding to rem_intra_pred_mode, and perform step 205. Specifically, the rem_intra_pred_mode value is binarized to obtain a binary codeword. - - Table 2 is a binarized representation of the 15 remaining modes in this embodiment, as shown in Table 2:
  • the derived residual mode rem_intra_pred_mode is 0 to 15 and 4 bits can be used. Word representation.
  • the value of the derived residual mode may be the same as or different from the original mode, and in the case where the candModeList contains one or two elements, the correspondence between the original mode and the remaining mode is different. For example, if only the original mode 5 is included in the candModeList, the codeword corresponding to the original mode 0 to the original mode 4 before the original mode 5 does not change, and the codeword corresponding to the original mode 6 to the original mode 15 needs to be forwarded.
  • the code word is 0101
  • the original mode 16 corresponds to the remaining mode 15 and its code word is 1111; if the candModeList contains the original mode 5 and the original mode 9.
  • the codeword corresponding to the original mode 0 ⁇ the original mode 4 before the original mode 5 does not change, and the codeword corresponding to the original mode 6 ⁇ the original mode 8 needs to change one bit forward, and the original mode 10 ⁇ the original mode 16 corresponds.
  • the code word needs to change two bits forward.
  • the original mode 6 corresponds to the remaining mode 5
  • the code word is 0101
  • the original mode 16 corresponds to the remaining mode 14
  • the code word is 1110, in which case the remaining mode 15
  • the corresponding codeword 1111 is an idle codeword. Therefore, the principle followed by selecting the idle codeword is to determine the codeword corresponding to the remaining mode with the value of N-2 as the idle codeword.
  • mode 0 to mode 33 are the existing prediction modes
  • mode 34 is the Planar prediction mode, where N is 34, in which case the remaining mode There are at most 33 types.
  • Table 3 is the binarized representation of the 33 remaining modes in this embodiment, as shown in Table 3:
  • mode 0 to mode 2 are the existing prediction modes
  • mode 3 is the Planar member mode, where N is 3, in which case, the remaining Most mode -
  • Table 4 is the binarized representation of the two remaining modes in this embodiment, as shown in Table 4:
  • the process of encoding the rem_intra_pred_mode by the encoding device may include:
  • the intra prediction mode that may be used in the current block is 18 modes of mode 0 ⁇ 17.
  • N is 17
  • the DC prediction mode is mode 2
  • the Planar prediction mode is the maximum mode, that is, mode 17.
  • the codewords determined for the Planar member mode have the following cases:
  • the information of the Planar member mode that needs to be written into the code stream includes a mode prediction flag and a mode multiplexing flag; for example
  • the information of the Planar member mode that needs to be written into the code stream includes a mode prediction flag and a common mode value.
  • the information of the Planar member mode that needs to be written into the code stream includes a mode prediction flag, an MPM set.
  • the coding information corresponding to the Planar mode used may be "111".
  • Step 205 Perform encoding processing on the codeword, and send a code stream including the encoded codeword to the decoding device.
  • the encoding device may entropy encode the determined codeword and carry the encoded codeword in the code stream and send it to the decoding device.
  • the coding of the first prediction mode may be different according to the number of elements in the MPM set and the value, so the coding is flexible.
  • the encoding device may use the idle codeword as the encoded codeword corresponding to the first prediction mode, without separately adding the identifier bit to distinguish the first prediction mode and the second prediction mode, thereby avoiding waste of the codeword. Effectively improve coding efficiency.
  • Embodiment 1 of an intra prediction decoding processing method according to the present invention. As shown in FIG. 4, the method in this embodiment may include:
  • Step 401 Receive a code stream sent by an encoding device, where the code stream includes coding information corresponding to an intra prediction mode of a current block.
  • Step 402 Acquire a most probable prediction mode MPM set of a current block, where elements in the MPM set are obtained from an intra prediction mode adopted by a neighboring block of the current block;
  • Step 403 Determine, according to the encoding information and the number and value of elements in the MPM set, an intra prediction mode used by the current block.
  • the method in this embodiment is a decoding method corresponding to the coding method shown in FIG. 1, and the implementation principle thereof is corresponding to the implementation principle and technical effect of the technical solution shown in FIG. 1, and details are not described herein again.
  • the decoding processing method shown in FIG. 4 is described in detail below by using a specific embodiment.
  • the method in this embodiment is also an implementation of the decoding portion corresponding to the technical solution of the encoding embodiment shown in FIG. 2 above.
  • the first prediction mode is a Planar member mode
  • the second prediction mode is a DC prediction mode
  • the Planar member mode shares the mode 2 with the DC prediction mode.
  • FIG. 5 is a flowchart of Embodiment 2 of the intra prediction decoding processing method of the present invention. As shown in FIG. 5, step 501, acquiring an intra prediction mode of the left neighboring block A and the upper neighboring block B.
  • step 201 The implementation principle of this step is similar to the implementation principle of step 201 shown in FIG. 2 above, and is not described here.
  • Step 502 Obtain an alternative mode, candIntraPredModeN.
  • step 202 The implementation principle of this step is similar to the implementation principle of step 202 shown in FIG. 2 above, and is not described here.
  • step 203 The implementation principle of this step is similar to the implementation principle of step 203 shown in FIG. 2 above, and is not described here.
  • the decoding device may decode and obtain from the encoded information.
  • the decoding device can decode and obtain the DCPlanarFlag from the encoded information. If the DCPlanarFlag is 1, the decoding device can determine that the intra prediction mode used by the current block is the Planar prediction mode;
  • the decoding device may decode the acquired codeword from the encoded information, for example, obtain the decoding. 0010. If the codeword is a codeword corresponding to mode 2, the decoding device may decode and obtain a DCPlanarFlag from the encoded information. If the DCPlanarFlag is 1, the decoding device may determine that the intra prediction mode used by the current block is a Planar prediction mode. ;
  • the decoding device may decode the acquired codeword from the encoded information, for example, the decoding obtains 1111, and the decoding device may determine that the codeword is an idle codeword, and then the decoding device It can be determined that the intra prediction mode adopted by the current block is the Planar mode.
  • the decoding device can perform the following operations.
  • Step 504 Obtain prev_intra_pred_flag and mpm_idx from the code stream.
  • the decoding device may decode and obtain prev_intra_pred_flag and mpm_idx included in the coded information;
  • Step 505 Decode and acquire an intra prediction mode of the current block.
  • Step 506 Determine whether prev_intra_pred_flag is equal to 1, if yes, execute step 507, otherwise execute step 508.
  • Step 507 The candModeList[mpm_idx] is used as the prediction mode IntraPredModeC of the current block. If the IntraPredModeC is 2, the DCPlanarFlag is obtained from the code stream. If the DCPlanarFlag is 1, the Planar mode is used as the current block prediction mode, and the process ends.
  • Step 508 Obtain a codeword corresponding to the remaining mode rem_intra_pred_mode from the code stream.
  • the decoding device can parse and obtain the binary codeword from the code stream. According to the number of the optional intra prediction modes of the current block, the decoding device can decode and obtain rem_intra_pred_mode according to the reference table 2 ⁇ 4. In this embodiment, the correspondence between the remaining mode and the original mode has been described in detail in the embodiment shown in FIG. 2, and details are not described herein again.
  • Step 509 Determine a current block pre-determined according to rem_intra_pred_mode and the number of MPM set elements. - - Test mode.
  • Step 509 can be specifically as follows:
  • IntraPredModeC is greater than or equal to candModeList[0], then IntraPredModeC is incremented.
  • IntraPredModeC is greater than or equal to candModeList[ 1 ], then IntraPredModeC is incremented.
  • IntraPredModeC rem_intra_pred_mode
  • the decoding device obtains a codeword of 1111. By looking up the table 2, it can be determined that the remaining mode used by the current block is mode 15, that is, the maximum mode value, and if the MPM set includes With two elements, the decoding device can determine that the current block is in the Planar mode.
  • FIG. 6 is a schematic structural diagram of Embodiment 1 of an encoding apparatus according to the present invention.
  • the encoding apparatus of this embodiment may include: a first obtaining module 11, a first determining module 12, and a code sending module 13, where The obtaining module 11 is configured to acquire a most probable prediction mode MPM set of the current block and an intra prediction mode used by the current block, where an element in the MPM set adopts an intra prediction mode adopted by a neighboring block of the current block.
  • the first determining module 12 is configured to determine information about an intra prediction mode used by the current block according to the quantity and value of the elements in the MPM set
  • the code sending module 13 is configured to send the code stream to the decoding device.
  • the code stream includes information about an intra prediction mode used by the current block.
  • the encoding device of this embodiment may be used to perform the method of the method embodiment shown in FIG. 1 , and the implementation principle and technical effects are similar, and details are not described herein again.
  • FIG. 7 is a schematic structural diagram of Embodiment 2 of an encoding apparatus according to the present invention.
  • the code device further includes: on the basis of the coding device shown in FIG. 6, the second determining module 14 is configured to determine whether the intra prediction mode adopted by the current block is the first prediction mode, where the a prediction mode is a prediction mode sharing a mode value with a second prediction mode in the optional prediction mode of the current block; the optional prediction mode of the current block includes N modes ranging from 0 to N-1 And the first prediction mode, where N >2; the second prediction mode is one of N modes that take values from 0 to N-1; correspondingly, the first determining module 12 is specifically configured to The intra prediction mode used by the current block is the first prediction mode, and the information of the first prediction mode that needs to be written into the code stream is determined according to the number of elements and the value in the MPM set.
  • the first determining module 12 may include:
  • the first determining unit 121 is configured to: if there is only one element in the MPM set, and the value of the element is equal to the value of the first prediction mode, determining that the information of the first prediction mode that needs to be written into the code stream includes mode prediction a label and a mode multiplexing flag; the mode multiplexing flag is used to distinguish the first prediction mode from the second prediction mode;
  • the second determining unit 122 is configured to: if there is only one element in the MPM set, and the value of the element is not equal to the value of the first prediction mode, determining that the information of the first prediction mode that needs to be written into the code stream includes a mode a prediction code, a codeword corresponding to the mode value shared by the first prediction mode and the second prediction mode, and a mode multiplexing flag;
  • a third determining unit 123 configured to determine, if the MPM set includes two elements, and the value of the first prediction mode is equal to one of the values of the two elements, determining that the first prediction mode of the code stream needs to be written
  • the information includes a mode prediction flag, a value index corresponding to the value of the first prediction mode in the MPM set, and a mode multiplexing flag;
  • the fourth determining unit 124 is configured to determine, if the MPM set includes two elements, and the value of the first prediction mode is not equal to the value of the two elements, determine a first prediction mode that needs to be written into the code stream.
  • the information includes a mode prediction flag and an idle codeword, where the idle codeword is a codeword corresponding to one of the selectable modes of the current block in the case where one element is included in the MPM set, and in the MPM A codeword that does not correspond to any one of the optional prediction modes of the current block in the case where two elements are included in the set.
  • the coding device of this embodiment may be used to perform the method of the method embodiment shown in FIG. 2, and the implementation principle and technical effects are similar, and details are not described herein again.
  • - Figure 8 is a schematic structural diagram of Embodiment 1 of the decoding device of the present invention.
  • the decoding device of this embodiment may include: a receiving module 21, a second obtaining module 22, and a decoding processing module 23, wherein the receiving module 21 .
  • the method is configured to receive a code stream that is sent by an encoding device, where the code stream includes coding information corresponding to an intra prediction mode of a current block, where the second acquiring module 22 is configured to obtain a most probable prediction mode MPM set of the current block.
  • the elements in the MPM set are obtained from the intra prediction mode adopted by the neighboring block of the current block; the decoding processing module 23 is configured to use, according to the encoding information and the number and value of elements in the MPM set, Determining an intra prediction mode employed by the current block.
  • the decoding device of this embodiment may be used to perform the method of the method embodiment shown in FIG. 4, and the implementation principle and the technical effect are similar, and details are not described herein again.
  • FIG. 9 is a schematic structural diagram of Embodiment 2 of a decoding apparatus according to the present invention.
  • the encoding apparatus of this embodiment is further based on the decoding apparatus shown in FIG. Determining, by the information and the number and value of the elements in the MPM set, whether the intra prediction mode adopted by the current block is a first prediction mode, and the first prediction mode is an optional prediction mode with the current block.
  • the second prediction mode in the mode shares a prediction mode of a mode value.
  • the decoding processing module 23 includes:
  • a decoding processing unit 231 configured to decode and acquire a mode prediction flag included in the encoding information
  • the first processing unit 232 is configured to: if the mode prediction flag indicates that the intra prediction mode adopted by the current block is in an MPM set And the MPM set includes only elements that are the value of the mode shared by the first prediction mode and the second prediction mode, and the mode multiplexing flag is decoded from the coding information. Determining, by using the first prediction mode, determining that the intra prediction mode adopted by the current block is the first prediction mode;
  • a second processing unit 233 configured to: if the mode prediction flag indicates that an intra prediction mode used by the current block is an element in an MPM set, and two elements in the MPM set, Decoding the element index, if the element value corresponding to the element index in the MPM set is the same as the shared mode value, decoding the mode multiplexing flag from the encoding information, if the mode is complex Determining, by using the first prediction mode, determining that the intra prediction mode adopted by the current block is the first prediction mode;
  • the third processing unit 234 is configured to: if the mode prediction flag indicates that the intra prediction mode used by the current block is not an element in the MPM set, and the MPM set includes only one element, Decoding a codeword from the coded information, and if the acquired codeword is a codeword corresponding to the shared mode value, decoding a mode multiplexing flag from the coded information, if the mode is complex Determining, by using the first prediction mode, determining that the intra prediction mode used by the current block is the first prediction mode; the fourth processing unit 235, configured to: if the mode prediction flag indicates a frame used by the current block If the intra prediction mode is not an element in the MPM set, and the MPM set includes two elements, the codeword is decoded from the encoded information, and if the obtained codeword is an idle codeword, the current block is determined.
  • the adopted intra prediction mode is a first prediction mode, where the idle codeword is a codeword corresponding to one of the selectable modes of the current block in the case where one element is included in the MPM set, and A codeword that does not correspond to any one of the optional prediction modes of the current block in the case where two elements are included in the MPM set.
  • the decoding device of this embodiment may be used to perform the method of the method embodiment shown in FIG. 5, and the implementation principle and the technical effect are similar, and details are not described herein again.
  • FIG. 10 is a schematic structural diagram of an embodiment of a codec processing system according to the present invention.
  • the system in this embodiment may include: an encoding device 1 and a decoding device 2, wherein the encoding device 1 may adopt the method shown in FIG. 6 or FIG.
  • the method of the method embodiment shown in FIG. 1 or FIG. 2 can be performed, and the decoding device 2 can adopt the structure shown in FIG. 8 or FIG. 9 , which can correspondingly implement the method shown in FIG. 4 or FIG. 5 .
  • the method of the example is similar to the technical effect, and will not be described here.
  • the foregoing program may be stored in a computer readable storage medium, and the program is executed when executed.
  • the foregoing steps include the steps of the foregoing method embodiments; and the foregoing storage medium includes: a medium that can store program codes, such as a ROM, a RAM, a magnetic disk, or an optical disk.

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Compression Or Coding Systems Of Tv Signals (AREA)
  • Compression, Expansion, Code Conversion, And Decoders (AREA)

Abstract

本发明实施例提供一种帧内预测编解码处理方法、装置和系统。帧内预测编码处理方法,包括:获取当前块的最可能预测模式MPM集合和当前块所采用的帧内预测模式,所述MPM集合中的元素从所述当前块的相邻块所采用的帧内预测模式中获取;根据所述MPM集合中的元素数量和取值,确定当前块所采用的帧内预测模式的信息;向解码设备发送码流,所述码流中包含所述当前块所采用的帧内预测模式的信息。

Description

一 一
帧内预测编解码处理方法、 装置和系统
本申请要求于 2011 年 07 月 01 日提交中国专利局、 申请号为 201110184151.3、 发明名称为 "帧内预测编解码处理方法、 装置和系统" 的中 国专利申请的优先权, 其全部内容通过引用结合在本申请中。 技术领域
本发明实施例涉及视频图像编解码技术,尤其涉及一种帧内预测编解码处 理方法、 装置和系统。 背景技术
为了降低视频信号存储或者传输过程中占用的资源,视频信号在发送端进 行压缩处理后传输到接收端, 接收端通过解压缩处理恢复视频信号并进行播 放。 这里的发送端或者接收端可以是移动电话, 数字电话终端, 无线装置, 个 人数据助理(PDA ), 手持式或便携式计算机, GPS接收机 /导航器, 照相机, 音频 /视频播放器, 摄像机, 录像机, 监控设备等。
在现有的视频图像编解码技术中, 为了提高 I帧的编码效率, H.264、 高级 视频编码(Advanced Video Coding, 以下筒称: AVC )标准均引入了帧内预测 编解码技术。解码设备可以利用图像当前块的邻近块的重建像素值和预测模式 来预测当前块的像素值。
现有 H.264、 AVC中规定了 9种预测模式, 即模式 0~8, 其中包括 8个方向性 预测模式和一个直流( Direct Current, 以下筒称: DC )预测模式, 该 DC预测 模式即为模式 2。 在下一代编解码标准中, 针对不同的预测单元大小, 则有更 多帧内预测模式可供选择, 例如 17种预测模式或者 34种预测模式。 而随着预测 编码需求的不断增加, 各种新的预测模式也在不断增加。 举例来说, 现有技术 增加了平面 (以下筒称: Planar )预测模式用以提高帧内预测准确度。 新增预 测模式需要复用已有预测模式的模式编号,例如 Planar员测模式可以与 DC预测 模式复用模式 2,若当前块采用 Planar员测模式进行预测编码, 则编码设备需要 在模式 2对应的码字之后增加标志位,从而区分 Planar员测模式和 DC预测模式, 例如与模式 2对应的编码码字为 0010,则 DC预测模式的编码码字可以为 00100, - - 而 Planar预测模式的编码码字为 00101。
发明人在实现本发明的过程中发现,现有技术对当前块的帧内预测模式进 行编码时,所采用的与该帧内预测模式对应的码字相对固定,编码灵活性较低。 发明内容
本发明实施例提供一种帧内预测编解码处理方法、 装置和系统。
本发明实施例提供一种帧内预测编码处理方法, 包括:
获取当前块的最可能预测模式 MPM集合和当前块所采用的帧内预测模 式, 所述 MPM集合中的元素从所述当前块的相邻块所采用的帧内预测模式中 获取;
根据所述 MPM集合中的元素数量和取值, 确定当前块所采用的帧内预测 模式的信息;
向解码设备发送码流,所述码流中包含所述当前块所采用的帧内预测模式 的信息。
本发明实施例提供一种帧内预测解码处理方法, 包括:
接收编码设备发送的码流,所述码流中包含当前块的帧内预测模式对应的 编码信息;
获取当前块的最可能预测模式 MPM集合, 所述 MPM集合中的元素从所述 当前块的相邻块所采用的帧内预测模式中获取;
根据所述编码信息和所述 MPM集合中的元素数量和取值, 确定所述当前 块所采用的帧内预测模式。
本发明实施例提供一种编码设备, 包括:
第一获取模块, 用于获取当前块的最可能预测模式 MPM集合和当前块所 采用的帧内预测模式, 所述 MPM集合中的元素从所述当前块的相邻块所采用 的帧内预测模式中获取;
第一确定模块, 用于根据所述 MPM集合中的元素数量和取值, 确定当前 块所采用的帧内预测模式的信息;
编码发送模块, 用于向解码设备发送码流, 所述码流中包含所述当前块所 采用的帧内预测模式的信息。 - - 本发明实施例提供一种解码设备, 包括:
接收模块, 用于接收编码设备发送的码流, 所述码流中包含当前块的帧内 预测模式对应的编码信息;
第二获取模块, 用于获取当前块的最可能预测模式 MPM集合, 所述 MPM 集合中的元素从所述当前块的相邻块所采用的帧内预测模式中获取;
解码处理模块, 用于根据所述编码信息和所述 MPM集合中的元素数量和 取值, 确定所述当前块所采用的帧内预测模式。
本发明实施例提供一种编解码处理系统, 包括上述的编码设备和解码设 备。
本发明实施例,在对当前块的帧内预测模式进行编码处理时, 可以充分考 虑 MPM集合中的元素数量和取值, 针对不同的元素数量和取值, 编码设备可 以为当前块的帧内预测模式选择对应的码字进行编码,从而使得编码方式较为 灵活, 而且可以充分利用冗余码字。 附图说明
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施 例或现有技术描述中所需要使用的附图作一筒单地介绍,显而易见地, 下面描 述中的附图是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出 创造性劳动性的前提下, 还可以根据这些附图获得其他的附图。
图 1为本发明帧内预测编码处理方法实施例一的流程图;
图 2为本发明帧内预测编码处理方法实施例二的流程图;
图 3为 HM中不同帧内预测模式的预测方向示意图;
图 4为本发明帧内预测解码处理方法实施例一的流程图;
图 5为本发明帧内预测解码处理方法实施例二的流程图;
图 6为本发明编码设备实施例一的结构示意图;
图 7为本发明编码设备实施例二的结构示意图;
图 8为本发明解码设备实施例一的结构示意图;
图 9为本发明解码设备实施例二的结构示意图;
图 10为本发明编解码处理系统实施例的结构示意图。 - - 具体实施方式
为使本发明实施例的目的、技术方案和优点更加清楚, 下面将结合本发明 实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然, 所描述的实施例是本发明一部分实施例, 而不是全部的实施例。基于本发明中 的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其 他实施例, 都属于本发明保护的范围。
数字信号处理领域, 视频编解码器广泛应用于各种电子设备中, 例如: 移 动电话, 无线装置, 个人数据助理(PDA ), 手持式或便携式计算机, GPS接 收机 /导航器, 照相机, 音频 /视频播放器, 摄像机, 录像机, 监控设备等。 通 常, 这类电子设备中包括视频编码器或视频解码器,视频编码器或视频解码器 可以直接由数字电路或芯片例如 DSP ( digital signal processor )实现, 或者由软 件代码驱动处理器执行软件代码中的流程而实现。
图 1为本发明帧内预测编码处理方法实施例一的流程图,如图 1所示, 本实 施例的方法可以应用于编码端, 本实施例的方法可以具体包括:
步骤 101、获取当前块的最可能预测模式 MPM集合和当前块所采用的帧内 预测模式, 所述 MPM集合中的元素从所述当前块的相邻块所采用的帧内预测 模式中获取。
步骤 102、 根据所述 MPM集合中的元素数量和取值, 确定当前块所采用的 帧内预测模式的信息。
步骤 103、 向解码设备发送码流, 所述码流中包含所述当前块所采用的帧 内预测模式的信息。
为了清楚地说明本实施例的技术方案,首先对现有技术中采用最可能预测 模式( Most Probable Mode , 以下筒称: ΜΡΜ )集合对当前块的帧内预测模式 进行预测编码的过程进行详细说明。
本实施例中, 编码设备可以采用 ΜΡΜ集合对当前块所采用的帧内预测模 式进行预测, ΜΡΜ集合中的元素为当前块的左相邻块的预测模式和上相邻块 的预测模式。 若当前块的预测模式采用了 ΜΡΜ集合中的预测模式, 则编码设 备可以采用 ΜΡΜ集合中对应于当前块的预测模式的元素的索引对当前块的预 测模式进行编码, 若当前块的预测模式未采用 ΜΡΜ集合中的预测模式, 则编 - - 码设备可以采用除了 MPM集合中的预测模式之外的剩余模式对应的码字对当 前块所采用的预测模式进行编码。
需要说明的是, 下述说明仅以第一预测模式为 Planar员测模式, 第二预测 模式为 DC预测模式,且该 Planar员测模式与 DC预测模式共用模式值为 2的情况 为例进行说明, 本领域技术人员可以理解的是, 该第一预测模式也可以是任何 其它预测模式,且该第一预测模式可以与当前块的可选预测模式中的任一种预 测模式共用同一模式值。
具体来说, 该预测编码过程可以为:
1 )获取当前块 C的两个相邻块的帧内预测模式;
假设当前块 C的左相邻块和上相邻块为 A和 B ,则编码设备可以获取左相邻 块 A的帧内预测模式 intraPredModeA以及上相邻块 B的帧内预测模式 intraPredModeB。 若相邻块不存在或者未采用帧内预测模式, 则编码设备可以 将该相邻块对应的预测模式设置为 2。 另外, 若左相邻块 A或者上相邻块 B的帧 内预测模式为 Planar贞测模式,则将对应的 intraPredModeA或者 intraPredModeB 设置为 2。
2 )推导 MPM集合 candModeList;
具体来说,如果 intraPredModeA与 intraPredModeB相等,则将 candModeList 中的元素数量 NumMPMCand设置为 1 , 并将 intraPredModeA或 intraPredModeB 作 为 MPM 集合 中 的 元 素 candModeList[0] 。 举例 来说 , 如 果 intraPredModeA=intraPredModeB=4 , 也即当前块 C的左相邻块 A和上相邻块 B 均采用帧内预测模式 4进行帧内预测编码, 因此, NumMPMCand=l且 candModeList中仅包含一个元素, 即 candModeList为 {4}。
如果 intraPredModeA与 intraPredModeB不相等, 则将 NumMPMCand设置为 2 , 并将 intraPredModeA与 intraPredModeB中较小的模式值作为 MPM集合中第 一个元素 candModeList[0] , 将另一模式值作为 MPM集合中第二个元素 candModeList[l]。 举例来说 , 口果 intraPredModeA=5 , intraPredModeB=8 , 也 即当前块 C的左相邻块 Α采用帧内预测模式 5进行帧内预测编码, 而上相邻块 B 则采用帧内预测模式 8进行帧内预测编码, 因此, NumMPMCand=2且 candModeList^; {5 , 8 }。 - -
3 )对当前块 C的 IntraPredModeC进行预测编码。
若当前块 C的 IntraPredModeC与 MPM集合 candModeList中一个预测模式相 等, 则编码设备可以将 prev_intra_pred_flag设置为 1; 否则, 可以将 prev— intra_pred_flag设置为 0。 在确定 prev_intra_pred_flag后, 编码设备即可对 prev—intra—pred—flag进行编码。
若 prev—intra— pred— flag为 1, 则表示当前块 C的 IntraPredModeC命中 candModeList中的一个元素。 然后, 编码设备可以根据 candModeList的元素数 量 NumMPMCand来决定是否需要进一步编码与 IntraPredModeC相等的 MPM的 索引信息 mpm_idx。 若 NumMPMCand为 1 , 则编码设备无需编码 mpm_idx, 若 NumMPMCand为 2, 则编码设备需要根据当前块 C所使用的 MPM对 mpmjdx进 行编码, 编码的方法例如可以为, 若与 IntraPredModeC相等的 MPM为 candModeList中第一个元素, 则将 mpm_idx置 0; 否则, 将 mpm_idx置 1。 进一 步地, 若 IntraPredModeC为 Planar员测模式或者 DC预测模式, 则编码端还要进 一步对标识位 DCPlanarFlag进行编码, 例如若 IntraPredModeC为 Planar预测模 式, 则 DCPlanarFlag可以设置为 1 , 若 IntraPredModeC为 DC预测模式, 则 DCPlanarFlag可以设置为 0。
若 prev_intra_pred_flag为 0, 则表示当前块 C的 IntraPredModeC未命中 candModeList中的任何元素,也即当前块 C并未采用左相邻块 A或者上相邻块 B 的帧内预测模式, 此时, 编码设备需要对与 IntraPredModeC对应的除了 candModeList中的预测模式之外的剩余模式进行编码。 举例来说, 假设总共的 预测模式有模式 0~模式 16共 17个预测模式, 如果 candModeList中有 2个预测模 式, 即模式 3和模式 4, 则存在剩余模式与原有模式 0~模式 2以及模式 5~模式 16 相对应。在采用剩余模式进行预测编码时, 编码设备可以从全部剩余模式中确 定与当前块所采用的预测模式对应的剩余模式 rem— intra— pred_mode,编码设备 可以采用确定的剩余模式 rem— intra_pred_mode对应的码字进行当前块的预测 模式的编码, 例如采用定长的二进制码字进行编码。对于总共有 16个预测模式 的情况来说, 该定长的二进制码字可以为 4位二进制码, 例如模式 2对应的 4位 二进制码即可为 0010。 若 IntraPredModeC是 Planar预测模式, 则编码设备还需 要在模式 2对应的二进制码字后增加后缀以对 Planar员测模式和 DC预测模式进 行区分, 举例来说, 与 Planar员测模式对应的二进制码字可以为 00101 , 与 DC 预测模式对应的二进制码字可以 00100。
因此, 上述现有技术采用 MPM集合对当前块 C的帧内预测模式 IntraPredModeC进行编码时, 不管 MPM集合 candModeList中的元素个数 NumMPMCand和取值是多少, 该帧内预测模式 IntraPredModeC对应的码字均 是固定的, 例如, 若当前块的可选帧内预测模式共有 4种, 即模式 0~模式 3 , 其 中模式 2为 DC预测模式, 模式 3为 Planar预测模式, 则不管 NumMPMCand以及 candModeList中的元素取值是多少,只要 IntraPredModeC是 Planar员测模式或者 DC预测模式,且 IntraPredModeC不是 candModeList中的元素,则 IntraPredModeC 对应的码字只可能是模式 2对应的剩余模式值二值化后得到的码字附加 DCPlanarFlag, 因此, 现有技术针对当前块的帧内预测模式的编码码字固定, 灵活性较差。
发明人经过分析后发现, 剩余模式的数量是由 candModeList中的元素个数 NumMPMCand决定的, 不管当前块存在几种可选预测模式, 只要 NumMPMCand为 2, 则剩余模式的码字设计即出现冗余。
以当前块有 3种可选预测模式的情况举例来说, 若 NumMPMCand为 2, 则 剩余模式的数量为 1 , 若 NumMPMCand为 1 , 则剩余模式的数量为 2, 不管剩余 模式的数量是 1还是 2, 现有技术都需要使用 1个比特位来表示剩余模式。 1个 比特位可以表示 0和 1两个码字。在 NumMPMCand为 1而存在两个剩余模式的情 况下, 这两个码字与这两个剩余模式——对应; 在 NumMPMCand为 2而只有一 个剩余模式的情况下, 就存在一个未使用的码字, 也即空闲码字。
以当前块有 17种可选预测模式的情况举例来说, 若 NumMPMCand为 2, 则 剩余模式的数量为 15 , 若 NumMPMCand为 1 , 则剩余模式的数量为 16, 不管剩 余模式的数量是 1还是 2, 现有技术都需要使用 4个比特位来表示剩余模式, 此 时存在 16个码字与这 16个剩余模式——对应, 因此, 在 NumMPMCand为 2而只 有 15个剩余模式的情况下, 就存在一个空闲码字。
以当前块有 34种可选预测模式的情况举例来说, 若 NumMPMCand为 2, 则 剩余模式的数量为 32, 若 NumMPMCand为 1 , 则剩余模式的数量为 33 , 现有技 术都需要使用 5个或 6个比特位来表示剩余模式,此时存在 33个码字与这 33个剩 - - 余模式——对应, 因此, 在 NumMPMCand为 2而只有 32个剩余模式的情况下, 就存在一个空闲码字。
由上述分析, 本发明实施例中所提到的空闲码字的定义为在 MPM集合中 包含一个元素的情况下与所述当前块的可选预测模式中的一个预测模式对应 的码字, 而在 MPM集合中包含两个元素的情况下与所述当前块的可选预测模 式中的任一个预测模式都不对应的码字。
由此可知, 在 IntraPredModeC为 Planar预测模式, 且 IntraPredModeC ί candModeList的情况下, 且 candModeList中的元素个数 NumMPMCand为 2的情 况下, 存在一个空闲码字, 因此, 编码设备可以用这个空闲码字对 Planar贞测 模式进行编码处理, 此时无需增加额外的比特位进行标识, 而对于 candModeList中元素的取值和个数为其它情况来说, 仍可以采用现有技术中的 编码方法, 例如通过增加码字后缀的方式, 对 Planar员测模式进行编码。
基于上述分析, 本实施例的方法在实现过程中, 可以获取 MPM集合 candModeList以及当前块 C所采用的帧内预测模式 IntraPredModeC,其中, MPM 集合 candModeList中可以包含左相邻块 A和上相邻块 B所采用的帧内预测模式 IntraPredModeA和 IntraPredModeB , 该过程可以参照上述内容实现, 此处不再 赘述。
之后, 编码设备可以确定 MPM集合 candModeList中的元素个数 NumMPMCand和 candModeList的取值, 在对当前块 C的帧内预测模式 IntraPredModeC进行编码时,可以充分考虑 NumMPMCand和 candModeList的取 值。
具体地, 本实施例可以将 NumMPMCand和 candModeList的取值分成以下 几种情况进行说明:
NumMPMCand=l , 且 candModeList [0] =2 , 即 candModeList中只包含代表 模式 2的取值 "2" ;
NumMPMCand=l , 且 candModeList[0]≠ 2;
NumMPMCand=2, 且 2 ζ candModeList;
NumMPMCand=2, 且 2$candModeList。
对于 IntraPredModeC是 Planar预测模式或者 DC预测模式之外的预测模式 - - 的情况; 或者对于上述前三种情况来说, 编码设备均可以采用上述技术方案对
IntraPredModeC进行编码处理。
而对于 IntraPredModeC是第一预测模式, 例如 Planar预测模式, NumMPMCand为 2, 且 IntraPredModeCfcandModeList的情况来说, 编码设备即 可采用空闲码字对 IntraPredModeC进行编码处理,而不用在 DC预测模式对应的 码字之后附加 DCPlanarFlag。
因此, 本实施例中在对当前块的帧内预测模式进行编码处理时, 可以充分 考虑 MPM集合中的元素数量和取值, 针对不同的元素数量和取值, 编码设备 可以为当前块的帧内预测模式选择对应的码字进行编码,从而使得编码方式较 为灵活, 而且可以充分利用冗余的空闲码字。
下面采用一个具体实施例, 对图 1所示方法实施例的方法进行详细说明。 本实施例可以假设当前块 C有 0 ~ 17共 18种可选的帧内预测模式, 其中包括 Planar员测模式和 DC预测模式。 DC预测模式为模式 2, 模式 0、 模式 1以及模式 3 ~ 16则表示沿不同预测方向的帧内预测模式, Planar员测模式可设置为所有可 能的帧内预测模式中的最大模式值, 即模式 17 , 也可另行规定, 例如可规定 Planar员测模式的取值为 34 ,本实施例可以假设将 Planar员测模式的初始值设置 为 34。 需要说明的是, 本实施例也仅以第一预测模式为 Planar员测模式, 第二 预测模式为 DC预测模式,且 Planar员测模式与 DC预测模式共用模式 2为例进行 说明。
图 2为本发明帧内预测编码处理方法实施例二的流程图,如图 2所示, 本实 施例中, 第一预测模式为 Planar员测模式, 第二预测模式为 DC预测模式, 且该 Planar员测模式与 DC预测模式共用模式值为 2,本实施例的方法可以具体包括: 步骤 201、 获取左相邻块 A和上邻近块 B的帧内预测模式。
图 3为高效视频编码测试模型 ( High Efficiency Video Coding Test Model, 以下筒称: HM ) 中不同帧内预测模式的预测方向示意图, 才艮据图 3所示 HM, 不同预测单元大小与可选帧内预测模式之间的对应关系如下表 1所示。 - -
Figure imgf000011_0001
参考图 3所示的预测方向示意图以及表 1所示预测单元与帧内预测模式之 间的对应关系, 编码设备可以确定左相邻块 A与上相邻块 B的帧内预测模式, 记做 intraPredModeN , 其中 N为 A或 B。
需要说明的是, 若相邻块不存在, 或者相邻块存在但是未采用帧内预测编 码, 则编码设备可以对相应的 intraPredModeN进行标识, 例如设置为 2; 若相 邻块存在且采用帧内预测编码, 则编码设备即可将 intraPredModeN设置为对应 的相邻块的帧内预测模式。
步骤 202、 获取备选模式 candlntraPredModeN。
若 intraPredModeN为 Planar预 测模式 , 则 编码设备 即 可将 candlntraPredModeN设置为 2, 即 Planar员测模式与 DC预测模式共享模式 2; 否 则, ^CandlntraPredModeN设置为 intraPredModeN。
NumMPMCando
a) 若两个 candlntraPredModeN均不可得, 则将 NumMPMCand设置为 1 , 并 将 candModeList[0]设置为 2;
b) 若仅有一个 candlntraPredModeN可得, 或两个 candlntraPredModeN均可 得但相等, 则将 NumMPMCand设置为 1 , 并将 candModeList[0]设置为该 candlntraPredModeN;
c) 若两个 candlntraPredModeN均可得且不相等, 则将 candModeList[0] 设 置为两个 candlntraPredModeN中的较'〗、模式值, 将 candModeList[ 1 ]设置为两个 - - candlntraPredModeN中的较大模式值, 并将 NumMPMCand设置为 2。
步骤 204、 对当前块 C的帧内预测模式进行编码处理。
该编码处理的过程具体可以采用下述步骤实现:
步骤 204a、 获取当前块 C的 intraPredModeC。
若 intraPredModeC为 Planar员测模式,则编码设备需要将 intraPredModeC设 置为 2 , 并将 DCPlanarFlag设置为 1 ; 否则, intraPredModeC不做改变, 将 DCPlanarFlag设置为 0。
步聚 204b、 确定 prev—intra—pred—flag和 mpm_idx;
具体来说, 根据 NumMPMCand, intraPredModeC与 candModeList, 编码设 备可以分下面几种情况进行处理:
a) 若 NumMPMCand为 2 , 并且 intraPredModeC为 candModeList[0] , 则将 prev_intra_pred_flag设置为 1 , 将 mpm_idx设置为 0。
b) 若 NumMPMCand为 2 , 并且 intraPredModeC为 candModeList[l] , 则将 prev_intra_pred_flag设置为 1 , 将 mpm_idx设置为 1。
c) 若 NumMPMCand为 1 , 并且 intraPredModeC等于 candModeList[0] , 则将 prev_intra_pred_flag设置为 1。
d) 若 NumMPMCand等于 2 ,并且 intraPredModeC既不等于 candModeList[0] 也不等于 candModeList[ 1 ] , 则将 prev_intra_pred_flag设置为 0。
e) 若 NumMPMCand为 1 , 并且 intraPredModeC不等于 candModeList [0] , 则 将 prev_intra_pred_flag设置为 0。
步骤 204c、 判断 prev_intra_pred_flag是否等于 1 , 若是, 则执行步骤 204d, 否则执行步骤 204e。
步骤 204d、对 prev_intra_pred_flag和 mpm_idx进行编码处理,执行步骤 205。 该过程中, 若 intraPredModeC不是 Planar员测模式和 DC预测模式, 则编码 设备可以直接对 prev_intra_pred_flag和 mpm_idx进行编码处理即可, 若 intraPredModeC是 Planar预测模式或 DC预测模式, 则编码设备还需要在对 prev_intra_pred_flag和 mpm_idx进行编码处理的基础上,进一步对 DCPlanarFlag 进行编码处理, 例如, 若 intraPredModeC是 Planar预测模式, 则编码设备可以 对 DCPlanarFlag=l进行编码处理, 若 intraPredModeC是 DC预测模式, 则编码设 - - 备可以对 DCPlanarFlag=0进行编码处理。
步骤 204e、 确定与 intraPredModeC对应的剩余模式 rem_intra_pred_mode。 若 prev_intra_pred_flag=0、 DCPlanarFlag为 1 , 且 NumMPMCand等于 2, 则 编码设备可以将 intraPredModeC的初始值 34重新设置为 17。 也即, 此处遵循的 原则是, 假设当前块 A的可选帧内预测模式包括取值从 0 ~ N-1的 N个模式以及 所述第一预测模式, 其中 N > 2, 则编码设备可以预先设置第一预测模式的初 始值 M, M > N; 然后, 在步骤 204e中将 intraPredModeC重新设置为 N; 或者更 为筒单的是, 编码设备可以预先设置第一预测模式的初始值就等于 N, 则步骤 204e无需重新设置 intraPredModeC。
需要说明的是, 此处仅是以将 intraPredModeC设置为模式 0~17共 18种预测 模式中的最大模式值,即模式 17为例进行说明,本领域技术人员可以理解的是, 编码设备也可以将 intraPredModeC设置为大于 17的任一模式值, 只要用于设置 intraPredModeC的模式值与空闲码字之间存在对应关系即可。
步骤 204f、 将 intraPredModeC与 candModeList[l]比较, 若 intraPredModeC 大于 candModeList[l] , 则将 intraPredModeC数值 自 减 1 , 否则保持 intraPredModeC不变;
步骤 204g、 将步骤 204f获取的 intraPredModeC与 candModeList[0]比较, 若 intraPredModeC大于 candModeList[0] , 则将 intraPredModeC数值自减 1 , 否则保 持 intraPredModeC不变。
步骤 204h、将 rem_intra_pred_mode设置为步骤 204g获取的 intraPredModeC。 上述步骤 204e ~ 204h可用下面伪代码表示:
for (cldx = (NumMPMCand-1); cldx >=0; cldx-) if (IntraPredModeC > candModeList[cIdx])
IntraPredModeC--; rem_intra_pred_mode = IntraPredModeC
步骤 204i、 获取与 rem_intra_pred_mode对应的码字, 并执行步骤 205。 具 体地, 将 rem_intra_pred_mode数值进行二值化得到二进制码字。 - - 表 2为本实施例中 15种剩余模式的二值化表示, 如表 2所示:
表 2
Figure imgf000014_0001
具体来说, 基于除去 Planar预测模式之外的 17 (此时 N为 17 )种帧内预测 模式, 推导得到的对应的剩余模式 rem_intra_pred_mode的取值为 0~15 , 可以采 用 4个比特位的码字表示。推导得到的剩余模式的取值可能与原模式取值相同, 也可能不同, 并且在 candModeList中包含一个或两个元素的情况下, 原模式与 剩余模式的对应关系不同。 举例来说, 如果 candModeList中只包含原模式 5 , 则原模式 5之前的原模式 0~原模式 4对应的码字不发生变化,而原模式 6~原模式 15对应的码字则需要向前变化一位, 也即, 此时原模式 6对应于剩余模式 5 , 其 码字为 0101 ,而原模式 16对应于剩余模式 15 ,其码字为 1111;如果 candModeList 中包含原模式 5与原模式 9,则原模式 5之前的原模式 0~原模式 4对应的码字不发 生变化, 而原模式 6~原模式 8对应的码字需要向前变化一位,原模式 10~原模式 16对应的码字需要向前变化两位, 此时原模式 6对应于剩余模式 5 , 其码字为 0101 , 而原模式 16对应于剩余模式 14, 其码字为 1110, 在此情况下剩余模式 15 对应的码字 1111即为空闲码字。 因此, 此处选择空闲码字所遵循的原则就是, 将取值为 N-2的剩余模式对应的码字确定为空闲码字。
再以当前块 C的可选帧内预测模式共有 35种, 其中, 模式 0~模式 33为已有 预测模式, 模式 34为 Planar预测模式, 此时 N为 34, 在这种情况下, 剩余模式 最多有 33种, 表 3为本实施例中 33种剩余模式的二值化表示, 如表 3所示:
表 3
Figure imgf000014_0002
再以当前块 C的可选帧内预测模式共有 4种, 其中, 模式 0~模式 2为已有预 测模式, 模式 3为 Planar员测模式, 此时 N为 3 , 在这种情况下, 剩余模式最多 - - 有 2种, 表 4为本实施例中 2种剩余模式的二值化表示, 如表 4所示:
表 4
Figure imgf000015_0001
编码设备对 rem_intra_pred_mode进行编码处理的过程可以包括:
若当前块的 IntraPredModeC为除了 Planar预测模式或者 DC预测模式之外 的预测模式, 不管 NumMPMCand=l还是 NumMPMCand=2, 均可以采用所对应 剩余模式的码字表示 IntraPredModeC, 该过程可以采用现有技术实现, 此处不 再赘述。
若当前块的 IntraPredModeC为 Planar预测模式或者 DC预测模式且 NumMPMCand=2, 则存在一个空闲码字, 因此, 编码设备可以采用该空闲码 字表示 IntraPredModeC。
仍以当前块可能采用的帧内预测模式为模式 0~17共 18种为例来说, 此时 N 为 17 , 其中, DC预测模式为模式 2, Planar预测模式为最大模式, 即模式 17。 若编码设备确定左相邻块 A采用模式 5, 即 IntraPredModeA=5 , 上相邻块 B采用 模式 8, 即 IntraPredModeB=8, 因此,编码设备可以确定 candModeList为 {5、 8} , NumMPMCand=2, 其中, candModeList[0]=5 , candModeList[l]=8 , 此时, 存 在剩余模式对应于原模式 0~原模式 4、 原模式 6~原模式 7以及原模式 9~原模式 17 , 因此, 共有 15个剩余模式, 由于 4个比特位的码字可以表示 16个剩余模式, 因此 4个比特位的码字在表示 15个剩余模式之后还存在 1个未被使用的空闲码 字, 该空余码字即为 1111 , 因此该空余码字 1111即可用于表示 Planar预测模式 或者 DC预测模式。
综上可知, 采用本实施例的方法对当前块采用第一预测模式, 例如 Planar 预测模式进行帧内预测编码后, 为该 Planar员测模式确定的码字存在以下几种 情况:
若所述 MPM集合中只有一个元素,且该元素的取值等于 Planar员测模式的 取值, 则确定需要写入码流的 Planar员测模式的信息包括模式预测标记和模式 复用标记; 例如, 该模式预测标记 prev_intra_pred_flag=l , 该模式复用标记 DCPlanarFlag=l , 因此在这种情况下, 当前块所采用的帧内预测模式的编码可 - - 以为 "11"。
若所述 MPM集合中只有一个元素,且该元素的取值不等于 Planar员测模式 的取值, 则确定需要写入码流的 Planar员测模式的信息包括模式预测标记、 共 用模式值所对应的码字以及模式复用标记; 例如, 该模式预测标记 prev_intra_pred_flag=0, 共用模式 2对应的码字, 例如采用 4个比特二值化后的 0010, 该模式复用标记 DCPlanarFlag=l , 因此在这种情况下, 当前块所采用的 第一预测模式的编码可以为 "000101"。
若所述 MPM集合中包含两个元素,且 Planar员测模式的取值等于两个元素 的取值之一,则确定需要写入码流的 Planar员测模式的信息包括模式预测标记、 MPM集合中与 Planar预测模式有相同取值的元素的索引以及模式复用标记; 因 此在这种情况下, 若 MPM集合中与 Planar模式值有相同取值的元素的索引为 "1" , 则当前块所采用的 Planar模式对应的编码信息可以为 "111"。
若所述 MPM集合中包含两个元素, 且 Planar模式值不等于两个元素的取 值, 则确定需要写入码流的 Planar员测模式的信息包括模式预测标记和空闲码 字, 因此在这种情况下, 若 N=17种, 则当前块所采用的 Planar模式对应的编码 信息可以为 "01111"。
步骤 205、 对所述码字进行编码处理, 并向解码设备发送包含编码码字的 码流。
编码设备可以对确定的码字进行熵编码,并将编码后的码字携带在码流中 发送给解码设备。
本实施例中, 若当前块采用了第一预测模式进行帧内预测编码, 则该第一 预测模式的编码可以根据 MPM集合中的元素个数和取值的不同而不同, 因此 编码灵活多变, 而且, 编码设备可以将空闲码字用来作为第一预测模式对应的 编码码字, 而不需要通过额外添加标识位来区分第一预测模式和第二预测模 式, 从而可以避免码字浪费, 有效提高编码效率。
图 4为本发明帧内预测解码处理方法实施例一的流程图,如图 4所示, 本实 施例的方法可以包括:
步骤 401、 接收编码设备发送的码流, 所述码流中包含当前块的帧内预测 模式对应的编码信息; - - 步骤 402、 获取当前块的最可能预测模式 MPM集合, 所述 MPM集合中的 元素从所述当前块的相邻块所采用的帧内预测模式中获取;
步骤 403、 根据所述编码信息和所述 MPM集合中的元素数量和取值, 确定 所述当前块所采用的帧内预测模式。
本实施例的方法是与图 1所示编码方法对应的解码方法,其实现原理与图 1 所示技术方案的实现原理和技术效果是相对应的, 此处不再赘述。
下面采用一个具体的实施例, 对图 4所示解码处理方法进行详细说明, 本 实施例的方法也是与上述图 2所示编码实施例的技术方案相对应的解码部分的 实现方案。 在本实施例中, 第一预测模式为 Planar员测模式, 第二预测模式为 DC预测模式, 且 Planar员测模式与 DC预测模式共用模式 2。
图 5为本发明帧内预测解码处理方法实施例二的流程图, 如图 5所示 步骤 501、 获取左相邻块 A和上邻近块 B的帧内预测模式。
该步骤的实现原理与上述图 2所示步骤 201的实现原理类似, 此处不再赘 述。
步骤 502、 获取备选模式 candIntraPredModeN。
该步骤的实现原理与上述图 2所示步骤 202的实现原理类似, 此处不再赘 述。
NumMPMCando
该步骤的实现原理与上述图 2所示步骤 203的实现原理类似, 此处不再赘 述。
由上述图 2所示的编码过程可知, 解码过程存在以下几种可能:
若模式预测标记指示所述当前块所采用的帧内预测模式为 MPM集合中的 元素, 例如 prev_intra_pred_flag=l , 且 MPM集合中只包含模式值 "2" , 则解码 设备可以从编码信息中解码获取模式复用标记 DCPlanarFlag, 若 DCPlanarFlag 指示使用 Planar预测模式, 例如 DCPlanarFlag=l , 则解码设备可以确定当前块 所采用的帧内预测模式为 Planar贞测模式;
若 prev_intra_pred_flag=l , 且所述 MPM集合中有两个元素, 则从所述编码 信息中解码获取元素索引 mpm_idx,若所述 MPM集合中对应于 mpm_idx的是共 - - 用的模式值 2, 则解码设备可以从编码信息中解码获取 DCPlanarFlag , 若 DCPlanarFlag为 1 , 则解码设备可以确定当前块所采用的帧内预测模式为 Planar 预测模式;
若 prev_intra—pred_flag指示所述当前块所采用的帧内预测模式不在 MPM 集合中, 例如 prev_intra_pred_flag=0, 且 MPM集合中只有一个元素, 则解码设 备可以从编码信息中解码获取码字, 例如解码获得 0010, 若该码字为对应于模 式 2的码字, 则解码设备可以从编码信息中解码获取 DCPlanarFlag , 若 DCPlanarFlag为 1 , 则解码设备可以确定当前块所采用的帧内预测模式为 Planar 预测模式;
若 prevjntra— pred_flag为 0, 且 MPM集合中有两个元素, 则解码设备可以 从编码信息中解码获取码字, 例如解码获取 1111 , 则解码设备可以确定该码字 为空闲码字, 则解码设备可以确定当前块所采用的帧内预测模式为 Planar贞测 模式。
具体地, 解码设备可以执行如下操作。
步 504、 从码流中获取 prev_intra— pred_flag与 mpm_idx。
解码设备在接收编码设备发送的包含帧内预测模式的编码信息的码流后, 可以解码获取该编码信息中包含的 prev_intra_pred_flag和 mpm_idx;
步骤 505、 解码获取当前块的帧内预测模式。
步骤 506、 判断 prev_intra_pred_flag是否等于 1 , 若是, 则执行步骤 507, 否 则执行步骤 508。
步骤 507 、 将 candModeList[mpm_idx]作为 当 前块的预测模式 IntraPredModeC , 若 IntraPredModeC为 2 , 从码流中获取 DCPlanarFlag , 若 DCPlanarFlag为 1 , 则将 Planar模式作为当前块预测模式, 结束。
步骤 508、 从码流中获取剩余模式 rem_intra_pred_mode对应的码字。
解码设备可以从码流中解析获取二进制码字,根据当前块的可选帧内预测 模式的数量不同,解码设备可以对应参照表 2~4解码获取 rem— intra_pred_mode。 本实施例中, 剩余模式与原模式之间的对应关系, 在图 2所示实施例中已经详 述, 此处不再赘述。
步骤 509、 根据 rem_intra_pred_mode以及 MPM集合元素数量确定当前块预 - - 测模式。
步骤 509可以具体为:
a)使用 rem_intra_pred_mode作为 IntraPredModeC的初始值;
b)将 IntraPredModeC与 candModeList[0]比较;
若 IntraPredModeC大于或等于 candModeList[0] , 则将 IntraPredModeC自增
1 , 否则保持当前模式不变;
c) ^^IntraPredModeC与 candModeList[l]比较;
若 IntraPredModeC大于或等于 candModeList[ 1 ] , 则将 IntraPredModeC自增
1 , 否则保持当前模式不变。
上述过程可用如下伪代码实现
IntraPredModeC = rem_intra_pred_mode;
for (cldx = 0; cldx < NumMPMCand; cldx++)
if (IntraPredModeC>= candModeList[cIdx]) IntraPredModeC++
以表 2所示的情况来说, 解码设备获得的码字为 1111 , 通过查找表 2可以确 定当前块所采用的剩余模式为模式 15 , 也即最大的模式值, 此时如果 MPM集 合中包含两个元素, 则该解码设备可以确定当前块采用的是 Planar员测模式。
对于编码设备采用与表 3或表 4对应的二值化表示剩余模式的方式来说,其 实现原理与上述技术方案类似, 此处不再赘述。
图 6为本发明编码设备实施例一的结构示意图,如图 6所示, 本实施例的编 码设备可以包括: 第一获取模块 11、 第一确定模块 12以及编码发送模块 13, 其 中, 第一获取模块 11 , 用于获取当前块的最可能预测模式 MPM集合和当前块 所采用的帧内预测模式, 所述 MPM集合中的元素从所述当前块的相邻块所采 用的帧内预测模式中获取; 第一确定模块 12, 用于根据所述 MPM集合中的元 素数量和取值, 确定当前块所采用的帧内预测模式的信息; 编码发送模块 13 , 用于向解码设备发送码流,所述码流中包含所述当前块所采用的帧内预测模式 的信息。
本实施例的编码设备可以用于执行图 1所示方法实施例的方法, 其实现原 理和技术效果类似, 此处不再赘述。
图 7为本发明编码设备实施例二的结构示意图,如图 7所示, 本实施例的编 - - 码设备在图 6所示编码设备的基础上进一步地, 还包括: 第二确定模块 14, 用 于确定所述当前块所采用的帧内预测模式是否是第一预测模式,所述第一预测 模式为与所述当前块的可选预测模式中的第二预测模式共用一个模式值的预 测模式; 所述当前块的可选预测模式包括取值从 0 ~ N-1的 N个模式以及所述第 一预测模式, 其中 N > 2; 所述第二预测模式为取值从 0 ~ N-1的 N个模式中的一 个模式; 相应地, 第一确定模块 12具体用于若所述当前块所采用的帧内预测模 式是第一预测模式, 则根据所述 MPM集合中的元素数量和取值, 确定需要写 入码流的第一预测模式的信息。
具体来说, 该第一确定模块 12可以包括:
第一确定单元 121 , 用于若所述 MPM集合中只有一个元素, 且该元素的取 值等于第一预测模式的取值,则确定需要写入码流的第一预测模式的信息包括 模式预测标记和模式复用标记;所述模式复用标记用于区分第一预测模式与第 二预测模式;
第二确定单元 122, 用于若所述 MPM集合中只有一个元素, 且该元素的取 值不等于第一预测模式的取值,则确定需要写入码流的第一预测模式的信息包 括模式预测标记、所述第一预测模式和第二预测模式共用的模式值所对应的码 字以及模式复用标记;
第三确定单元 123, 用于若所述 MPM集合中包含两个元素, 且第一预测模 式的取值等于两个元素的取值之一,则确定需要写入码流的第一预测模式的信 息包括模式预测标记、 MPM集合中与第一预测模式的取值对应的取值索引以 及模式复用标记;
第四确定单元 124, 用于若所述 MPM集合中包含两个元素, 且第一预测模 式的取值不等于所述两个元素的取值,则确定需要写入码流的第一预测模式的 信息包括模式预测标记与空闲码字, 所述空闲码字为在 MPM集合中包含一个 元素的情况下与所述当前块的可选预测模式中的一个预测模式对应的码字,而 在 MPM集合中包含两个元素的情况下与所述当前块的可选预测模式中的任一 个预测模式都不对应的码字。
本实施例的编码设备可以用于执行图 2所示方法实施例的方法, 其实现原 理和技术效果类似, 此处不再赘述。 - - 图 8为本发明解码设备实施例一的结构示意图,如图 8所示, 本实施例的解 码设备可以包括: 接收模块 21、 第二获取模块 22以及解码处理模块 23, 其中, 接收模块 21 , 用于接收编码设备发送的码流, 所述码流中包含当前块的帧内预 测模式对应的编码信息; 第二获取模块 22, 用于获取当前块的最可能预测模式 MPM集合, 所述 MPM集合中的元素从所述当前块的相邻块所采用的帧内预测 模式中获取; 解码处理模块 23 , 用于根据所述编码信息和所述 MPM集合中的 元素数量和取值, 确定所述当前块所采用的帧内预测模式。
本实施例的解码设备可以用于执行图 4所示方法实施例的方法, 其实现原 理和技术效果类似, 此处不再赘述。
图 9为本发明解码设备实施例二的结构示意图,如图 9所示, 本实施例的编 码设备在图 8所示解码设备的基础上进一步地, 解码处理模块 23具体用于根据 所述编码信息和所述 MPM集合中的元素数量和取值, 确定所述当前块所采用 的帧内预测模式是否是第一预测模式,所述第一预测模式为与所述当前块的可 选预测模式中的第二预测模式共用一个模式值的预测模式。
具体地, 解码处理模块 23包括:
解码处理单元 231 , 用于解码获取所述编码信息中包含的模式预测标记; 第一处理单元 232, 用于若所述模式预测标记指示所述当前块所采用的帧 内预测模式为 MPM集合中的元素, 且所述 MPM集合中只包含取值为所述第一 预测模式和所述第二预测模式共用的模式值的元素,则从所述编码信息中解码 获取模式复用标记, 若所述模式复用标记指示使用第一预测模式, 则确定所述 当前块所采用的帧内预测模式为第一预测模式;
第二处理单元 233, 用于若所述模式预测标记指示所述当前块所采用的帧 内预测模式为 MPM集合中的元素, 且所述 MPM集合中有两个元素, 则从所述 编码信息中解码获取元素索引, 若所述 MPM集合中对应于所述元素索引的元 素取值与所述共用的模式值相同, 则从所述编码信息中解码获取模式复用标 记, 若所述模式复用标记指示使用第一预测模式, 则确定所述当前块所采用的 帧内预测模式为第一预测模式;
第三处理单元 234, 用于若所述模式预测标记指示所述当前块所采用的帧 内预测模式不是 MPM集合中的元素, 且所述 MPM集合中只包含一个元素, 则 - - 从所述编码信息中解码获取码字,若获取的码字为所述共用的模式值所对应的 码字, 则从所述编码信息中解码获取模式复用标记, 若所述模式复用指示使用 第一预测模式, 则确定所述当前块所采用的帧内预测模式为第一预测模式; 第四处理单元 235, 用于若所述模式预测标记指示所述当前块所采用的帧 内预测模式不是 MPM集合中的元素, 且所述 MPM集合中包含两个元素, 则从 所述编码信息中解码获取码字, 若获取的码字为空闲码字, 则确定所述当前块 所采用的帧内预测模式为第一预测模式, 所述空闲码字为在 MPM集合中包含 一个元素的情况下与所述当前块的可选预测模式中的一个预测模式对应的码 字, 而在 MPM集合中包含两个元素的情况下与所述当前块的可选预测模式中 的任一个预测模式都不对应的码字。
本实施例的解码设备可以用于执行图 5所示方法实施例的方法, 其实现原 理和技术效果类似, 此处不再赘述。
图 10为本发明编解码处理系统实施例的结构示意图,如图 10所示, 本实施 例的系统可以包括: 编码设备 1和解码设备 2, 其中编码设备 1可以采用图 6或图 7所示的结构, 其对应地可以执行图 1或图 2所示方法实施例的方法,解码设备 2 可以采用图 8或图 9所示的结构,其对应地可以执行图 4或图 5所示方法实施例的 方法, 其实现原理和技术效果类似, 此处不再赘述。
本领域普通技术人员可以理解:实现上述方法实施例的全部或部分步骤可 以通过程序指令相关的硬件来完成,前述的程序可以存储于一计算机可读取存 储介质中, 该程序在执行时, 执行包括上述方法实施例的步骤; 而前述的存储 介质包括: ROM、 RAM, 磁碟或者光盘等各种可以存储程序代码的介质。
最后应说明的是: 以上实施例仅用以说明本发明的技术方案, 而非对其限 制; 尽管参照前述实施例对本发明进行了详细的说明,本领域的普通技术人员 应当理解: 其依然可以对前述各实施例所记载的技术方案进行修改, 或者对其 中部分技术特征进行等同替换; 而这些修改或者替换, 并不使相应技术方案的 本质脱离本发明各实施例技术方案的精神和范围。

Claims

权 利 要 求
1、 一种帧内预测编码处理方法, 其特征在于, 包括:
获取当前块的最可能预测模式 MPM 集合和当前块所采用的帧内预测模 式,所述 MPM集合中的元素从所述当前块的相邻块所采用的帧内预测模式中 获取 ^
根据所述 MPM集合中的元素数量和取值,确定当前块所采用的帧内预测 模式的信息;
向解码设备发送码流,所述码流中包含所述当前块所采用的帧内预测模式 的信息。
2、 根据权利要求 1所述的方法, 其特征在于, 所述确定需要写入码流的 所述当前块所采用的帧内预测模式的信息之前, 还包括:
确定所述当前块所采用的帧内预测模式是否是第一预测模式,所述第一预 测模式为与所述当前块的可选预测模式中的第二预测模式共用一个模式值的 预测模式; 所述当前块的可选预测模式包括取值从 0 - N-1的 N个模式以及所 述第一预测模式, 其中 N > 2; 所述第二预测模式为取值从 0 - N-1的 N个模 式中的一个模式;
所述根据所述 MPM集合中的元素数量和取值,确定需要写入码流的所述 当前块所采用的帧内预测模式的信息, 包括:
若所述当前块所采用的帧内预测模式是第一预测模式, 则根据所述 MPM 集合中的元素数量和取值, 确定需要写入码流的第一预测模式的信息。
3、 根据权利要求 2所述的方法, 其特征在于, 所述根据所述 MPM集合 中的元素数量和取值, 确定需要写入码流的第一预测模式的信息, 包括: 若所述 MPM集合中只有一个元素,且该元素的取值等于第一预测模式的 取值,则确定需要写入码流的第一预测模式的信息包括模式预测标记和模式复 用标记; 所述模式复用标记用于区分第一预测模式与第二预测模式;
若所述 MPM集合中只有一个元素,且该元素的取值不等于第一预测模式 的取值, 则确定需要写入码流的第一预测模式的信息包括模式预测标记、所述 第一预测模式和第二预测模式共用的模式值所对应的码字以及模式复用标记; 若所述 MPM集合中包含两个元素,且第一预测模式的取值等于两个元素 的取值之一, 则确定需要写入码流的第一预测模式的信息包括模式预测标记、 MPM集合中与第一预测模式的取值对应的取值索引以及模式复用标记; 若所述 MPM集合中包含两个元素,且第一预测模式的取值不等于所述两 个元素的取值,则确定需要写入码流的第一预测模式的信息包括模式预测标记 与空闲码字,所述空闲码字为在 MPM集合中包含一个元素的情况下与所述当 前块的可选预测模式中的一个预测模式对应的码字, 而在 MPM集合中包含两 个元素的情况下与所述当前块的可选预测模式中的任一个预测模式都不对应 的码字。
4、 根据权利要求 1 所述的方法, 其特征在于, 所述获取当前块的 MPM 集合, 包括:
获取当前块的左相邻块的帧内预测模式和上相邻块的帧内预测模式作为 所述 MPM集合中的元素;
其中, 若相邻块不存在和 /或未采用帧内预测模式, 则对应的帧内预测模 式为 2, 若左相邻块的帧内预测模式与上相邻块的帧内预测模式相等, 则所述 MPM集合仅包含一个元素。
5、 根据权利要求 2~4中任一权利要求所述的方法, 其特征在于, 所述第 一预测模式为平面预测模式, 所述第二预测模式为直流预测模式, 所述平面预 测模式和所述直流预测模式共用模式 2。
6、 一种帧内预测解码处理方法, 其特征在于, 包括:
接收编码设备发送的码流,所述码流中包含当前块的帧内预测模式对应的 编码信息;
获取当前块的最可能预测模式 MPM集合, 所述 MPM集合中的元素从所 述当前块的相邻块所采用的帧内预测模式中获取;
根据所述编码信息和所述 MPM集合中的元素数量和取值,确定所述当前 块所采用的帧内预测模式。
7、 根据权利要求 6所述的方法, 其特征在于, 所述根据所述编码信息和 所述 MPM集合中的元素数量和取值,确定所述当前块所采用的帧内预测模式, 包括:
根据所述编码信息和所述 MPM集合中的元素数量和取值,确定所述当前 块所采用的帧内预测模式是否是第一预测模式,所述第一预测模式为与所述当 前块的可选预测模式中的第二预测模式共用一个模式值的预测模式;所述当前 块的可选预测模式包括取值从 0 ~ N-1的 N个模式以及所述第一预测模式, 其 中 N > 2; 所述第二预测模式为取值从 0 - N-1的 N个模式中的一个模式。
8、 根据权利要求 7所述的方法, 其特征在于, 所述根据所述编码信息和 所述 MPM集合中的元素数量和取值,确定所述当前块所采用的帧内预测模式 是否是第一预测模式, 包括:
解码获取所述编码信息中包含的模式预测标记;
若所述模式预测标记指示所述当前块所采用的帧内预测模式为 MPM集合 中的元素,且所述 MPM集合中只包含取值为所述第一预测模式和所述第二预 测模式共用的模式值的元素, 则从所述编码信息中解码获取模式复用标记, 若 所述模式复用标记指示使用第一预测模式,则确定所述当前块所采用的帧内预 测模式为第一预测模式;
若所述模式预测标记指示所述当前块所采用的帧内预测模式为 MPM集合 中的元素, 且所述 MPM集合中有两个元素, 则从所述编码信息中解码获取元 式值相同, 则从所述编码信息中解码获取模式复用标记, 若所述模式复用标记 指示使用第一预测模式,则确定所述当前块所采用的帧内预测模式为第一预测 模式;
若所述模式预测标记指示所述当前块所采用的帧内预测模式不是 MPM集 合中的元素, 且所述 MPM集合中只包含一个元素, 则从所述编码信息中解码 获取码字, 若获取的码字为所述共用的模式值所对应的码字, 则从所述编码信 息中解码获取模式复用标记, 若所述模式复用指示使用第一预测模式, 则确定 所述当前块所采用的帧内预测模式为第一预测模式;
若所述模式预测标记指示所述当前块所采用的帧内预测模式不是 MPM集 合中的元素, 且所述 MPM集合中包含两个元素, 则从所述编码信息中解码获 取码字, 若获取的码字为空闲码字, 则确定所述当前块所采用的帧内预测模式 为第一预测模式,所述空闲码字为在 MPM集合中包含一个元素的情况下与所 述当前块的可选预测模式中的一个预测模式对应的码字, 而在 MPM集合中包 含两个元素的情况下与所述当前块的可选预测模式中的任一个预测模式都不 对应的码字。
9、 根据权利要求 6所述的方法, 其特征在于, 所述获取当前块的 MPM 集合, 包括:
获取当前块的左相邻块的帧内预测模式和上相邻块的帧内预测模式作为 所述 MPM集合中的元素;
其中, 若相邻块不存在和 /或未采用帧内预测模式, 则对应的帧内预测模 式为 2, 若左相邻块的帧内预测模式与上相邻块的帧内预测模式相等, 则所述 MPM集合仅包含一个元素。
10、根据权利要求 6~9中任一权利要求所述的方法, 其特征在于, 所述第 一预测模式为平面预测模式, 所述第二预测模式为直流预测模式, 所述平面预 测模式和所述直流预测模式共用模式 2。
11、 一种编码设备, 其特征在于, 包括:
第一获耳 ^莫块,用于获取当前块的最可能预测模式 MPM集合和当前块所 采用的帧内预测模式,所述 MPM集合中的元素从所述当前块的相邻块所采用 的帧内预测模式中获取;
第一确定模块, 用于根据所述 MPM集合中的元素数量和取值, 确定当前 块所采用的帧内预测模式的信息;
编码发送模块, 用于向解码设备发送码流, 所述码流中包含所述当前块所 采用的帧内预测模式的信息。
12、 根据权利要求 11所述的设备, 其特征在于, 还包括:
第二确定模块,用于确定所述当前块所采用的帧内预测模式是否是第一预 测模式,所述第一预测模式为与所述当前块的可选预测模式中的第二预测模式 共用一个模式值的预测模式; 所述当前块的可选预测模式包括取值从 0 - N-1 的 N个模式以及所述第一预测模式, 其中 N > 2; 所述第二预测模式为取值从 0 - N-1的 N个模式中的一个模式;
所述第一确定模块具体用于若所述当前块所采用的帧内预测模式是第一 预测模式, 则根据所述 MPM集合中的元素数量和取值, 确定需要写入码流的 第一预测模式的信息。
13、 根据权利要求 12所述的设备, 其特征在于, 所述第一确定模块, 包 括:
第一确定单元, 用于若所述 MPM集合中只有一个元素, 且该元素的取值 等于第一预测模式的取值,则确定需要写入码流的第一预测模式的信息包括模 式预测标记和模式复用标记;所述模式复用标记用于区分第一预测模式与第二 预测模式;
第二确定单元, 用于若所述 MPM集合中只有一个元素, 且该元素的取值 不等于第一预测模式的取值,则确定需要写入码流的第一预测模式的信息包括 模式预测标记、所述第一预测模式和第二预测模式共用的模式值所对应的码字 以及模式复用标记;
第三确定单元, 用于若所述 MPM集合中包含两个元素, 且第一预测模式 的取值等于两个元素的取值之一,则确定需要写入码流的第一预测模式的信息 包括模式预测标记、 MPM集合中与第一预测模式的取值对应的取值索引以及 模式复用标记;
第四确定单元, 用于若所述 MPM集合中包含两个元素, 且第一预测模式 的取值不等于所述两个元素的取值,则确定需要写入码流的第一预测模式的信 息包括模式预测标记与空闲码字,所述空闲码字为在 MPM集合中包含一个元 素的情况下与所述当前块的可选预测模式中的一个预测模式对应的码字,而在 MPM集合中包含两个元素的情况下与所述当前块的可选预测模式中的任一个 预测模式都不对应的码字。
14、 一种解码设备, 其特征在于, 包括:
接收模块, 用于接收编码设备发送的码流, 所述码流中包含当前块的帧内 预测模式对应的编码信息;
第二获取模块,用于获取当前块的最可能预测模式 MPM集合,所述 MPM 集合中的元素从所述当前块的相邻块所采用的帧内预测模式中获取;
解码处理模块,用于根据所述编码信息和所述 MPM集合中的元素数量和 取值, 确定所述当前块所采用的帧内预测模式。
15、 根据权利要求 14所述的设备, 其特征在于, 所述解码处理模块具体 用于根据所述编码信息和所述 MPM集合中的元素数量和取值,确定所述当前 块所采用的帧内预测模式是否是第一预测模式,所述第一预测模式为与所述当 前块的可选预测模式中的第二预测模式共用一个模式值的预测模式;所述当前 块的可选预测模式包括取值从 0 - N-1的 N个模式以及所述第一预测模式, 其 中 N > 2; 所述第二预测模式为取值从 0 - N-1的 N个模式中的一个模式。
16、 根据权利要求 15所述的设备, 其特征在于, 所述解码处理模块包括: 解码处理单元, 用于解码获取所述编码信息中包含的模式预测标记; 第一处理单元,用于若所述模式预测标记指示所述当前块所采用的帧内预 测模式为 MPM集合中的元素, 且所述 MPM集合中只包含取值为所述第一预 测模式和所述第二预测模式共用的模式值的元素,则从所述编码信息中解码获 取模式复用标记,若所述模式复用标记指示使用第一预测模式, 则确定所述当 前块所采用的帧内预测模式为第一预测模式;
第二处理单元,用于若所述模式预测标记指示所述当前块所采用的帧内预 测模式为 MPM集合中的元素, 且所述 MPM集合中有两个元素, 则从所述编 码信息中解码获取元素索引,若所述 MPM集合中对应于所述元素索引的元素 取值与所述共用的模式值相同, 则从所述编码信息中解码获取模式复用标记, 若所述模式复用标记指示使用第一预测模式,则确定所述当前块所采用的帧内 预测模式为第一预测模式;
第三处理单元,用于若所述模式预测标记指示所述当前块所采用的帧内预 测模式不是 MPM集合中的元素, 且所述 MPM集合中只包含一个元素, 则从 所述编码信息中解码获取码字,若获取的码字为所述共用的模式值所对应的码 字, 则从所述编码信息中解码获取模式复用标记, 若所述模式复用指示使用第 一预测模式, 则确定所述当前块所采用的帧内预测模式为第一预测模式; 第四处理单元,用于若所述模式预测标记指示所述当前块所采用的帧内预 测模式不是 MPM集合中的元素, 且所述 MPM集合中包含两个元素, 则从所 述编码信息中解码获取码字, 若获取的码字为空闲码字, 则确定所述当前块所 采用的帧内预测模式为第一预测模式,所述空闲码字为在 MPM集合中包含一 个元素的情况下与所述当前块的可选预测模式中的一个预测模式对应的码字, 而在 MPM集合中包含两个元素的情况下与所述当前块的可选预测模式中的任 一个预测模式都不对应的码字。
17、 一种编解码处理系统, 其特征在于, 包括权利要求 11~13中任一项所 述的编码设备和权利要求 14~16中任一项所述的解码设备。
PCT/CN2012/078063 2011-07-01 2012-07-02 帧内预测编解码处理方法、装置和系统 WO2013004166A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201110184151.3A CN102857750B (zh) 2011-07-01 2011-07-01 帧内预测编解码处理方法、装置和系统
CN201110184151.3 2011-07-01

Publications (1)

Publication Number Publication Date
WO2013004166A1 true WO2013004166A1 (zh) 2013-01-10

Family

ID=47403893

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2012/078063 WO2013004166A1 (zh) 2011-07-01 2012-07-02 帧内预测编解码处理方法、装置和系统

Country Status (2)

Country Link
CN (1) CN102857750B (zh)
WO (1) WO2013004166A1 (zh)

Families Citing this family (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
BR112016010796B1 (pt) * 2013-11-14 2023-11-28 Hfi Innovation Inc. Método de sinalização de modo de codificação referência a pedidos de patente correlatos
US10841593B2 (en) 2015-06-18 2020-11-17 Qualcomm Incorporated Intra prediction and intra mode coding
US20160373742A1 (en) * 2015-06-18 2016-12-22 Qualcomm Incorporated Intra prediction and intra mode coding
US11463689B2 (en) 2015-06-18 2022-10-04 Qualcomm Incorporated Intra prediction and intra mode coding
US11277644B2 (en) 2018-07-02 2022-03-15 Qualcomm Incorporated Combining mode dependent intra smoothing (MDIS) with intra interpolation filter switching
CN112514379A (zh) * 2018-07-14 2021-03-16 Lg电子株式会社 图像编码系统中基于包括帧内预测信息的图像信息解码图像的方法及其设备
CN112567771A (zh) * 2018-08-09 2021-03-26 华为技术有限公司 基于历史的帧内模式编解码方法和装置
CA3113369A1 (en) 2018-09-19 2020-03-26 Huawei Technologies Co., Ltd. Method and apparatus for predicting most probable intra-modes
US11303885B2 (en) 2018-10-25 2022-04-12 Qualcomm Incorporated Wide-angle intra prediction smoothing and interpolation
CN117221533A (zh) 2019-01-02 2023-12-12 Oppo广东移动通信有限公司 帧内预测方法及装置、视频编码设备、存储介质
CN113796077B (zh) * 2019-05-10 2023-12-26 寰发股份有限公司 视频编解码之亮度mpm列表导出的方法及装置
CN110519600B (zh) * 2019-08-21 2022-06-07 浙江大华技术股份有限公司 帧内帧间联合预测方法、装置、编解码器及存储装置

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1674680A (zh) * 2005-03-31 2005-09-28 华中科技大学 一种增强型帧内预测模式编码方法
CN101175212A (zh) * 2007-10-15 2008-05-07 中兴通讯股份有限公司 一种低复杂度的帧内预测模式选择方法
CN101668202A (zh) * 2008-09-01 2010-03-10 中兴通讯股份有限公司 帧内预测模式的选择方法和装置

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101860749A (zh) * 2010-04-20 2010-10-13 中兴通讯股份有限公司 一种视频图像编码和解码方法及装置

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1674680A (zh) * 2005-03-31 2005-09-28 华中科技大学 一种增强型帧内预测模式编码方法
CN101175212A (zh) * 2007-10-15 2008-05-07 中兴通讯股份有限公司 一种低复杂度的帧内预测模式选择方法
CN101668202A (zh) * 2008-09-01 2010-03-10 中兴通讯股份有限公司 帧内预测模式的选择方法和装置

Also Published As

Publication number Publication date
CN102857750A (zh) 2013-01-02
CN102857750B (zh) 2015-05-06

Similar Documents

Publication Publication Date Title
WO2013004166A1 (zh) 帧内预测编解码处理方法、装置和系统
US9906789B2 (en) Encoding or decoding method and apparatus
US9706218B2 (en) Encoder and decoder and methods thereof for encoding/decoding a picture of a video sequence
ES2886431T3 (es) Método de codificación de vídeo, método de decodificación de video y terminal
JP5860067B2 (ja) 符号化方法及び装置並びに復号化方法及び装置
US20140233643A1 (en) Transformation mode encoding and decoding method and apparatus
CA2409499A1 (en) Video coding using the sequence numbers of reference pictures for error correction
US9571836B2 (en) Method and apparatus for encoding and decoding with multiple transform coefficients sub-blocks
WO2013004169A1 (zh) 一种参考帧压缩和解压方法及装置
US10171841B2 (en) Method and device for encoding/decoding video bitstream
KR101044935B1 (ko) 전송 에러가 발생한 지점을 탐지하여 바르게 디코딩된데이터를 복원하는 디코딩 방법 및 그 디코딩 장치
WO2014051860A1 (en) Error resilient management of picture order count in predictive coding systems
US20140233641A1 (en) Intra-frame decoding method and apparatus for signal component sampling point of image block
KR101230856B1 (ko) 화면내 부호화 모드의 결정 방법 및 이를 활용한 분산 비디오 부호화 기법 코덱
WO2013007215A1 (zh) 一种参考帧压缩存储和解压方法及装置
CN112106368B (zh) 一种图像的块内编码或解码方法、数据处理装置和电子设备
WO2014106378A1 (zh) 一种图像的解码、编码方法及装置
CN117676146A (zh) 一种编解码方法及装置
CN102231832B (zh) 变长码编解码方法和系统
RU2022107813A (ru) Способ и устройство для обработки видеосигнала посредством использования внешнего прогнозирования
RU2024102373A (ru) Сигнализация, связанная с адаптивным преобразованием цвета, для уровня cu и уровня tu
RU2023107370A (ru) Кодирование изображения или видео на основе режима палитры

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

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

Country of ref document: EP

Kind code of ref document: A1