WO2016026457A1 - 一种预测编、解码方法和相应的编、解码器和电子设备 - Google Patents

一种预测编、解码方法和相应的编、解码器和电子设备 Download PDF

Info

Publication number
WO2016026457A1
WO2016026457A1 PCT/CN2015/087736 CN2015087736W WO2016026457A1 WO 2016026457 A1 WO2016026457 A1 WO 2016026457A1 CN 2015087736 W CN2015087736 W CN 2015087736W WO 2016026457 A1 WO2016026457 A1 WO 2016026457A1
Authority
WO
WIPO (PCT)
Prior art keywords
decoding
image
slice
mode
block
Prior art date
Application number
PCT/CN2015/087736
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 中兴通讯股份有限公司
Priority to JP2017510477A priority Critical patent/JP6437097B2/ja
Priority to US15/505,614 priority patent/US20170302935A1/en
Priority to KR1020177007711A priority patent/KR101992764B1/ko
Priority to EP15833754.3A priority patent/EP3185557A4/en
Publication of WO2016026457A1 publication Critical patent/WO2016026457A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/102Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or selection affected or controlled by the adaptive coding
    • H04N19/103Selection of coding mode or of prediction mode
    • H04N19/105Selection of the reference unit for prediction within a chosen coding or prediction mode, e.g. adaptive choice of position and number of pixels used for prediction
    • 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/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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/169Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding
    • H04N19/17Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being an image region, e.g. an object
    • H04N19/174Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being an image region, e.g. an object the region being a slice, e.g. a line of blocks or a group of blocks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/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/70Methods or arrangements for coding, decoding, compressing or decompressing digital video signals characterised by syntax aspects related to video coding, e.g. related to compression standards

Definitions

  • the present invention relates to the field of video coding and decoding, and more particularly to a prediction encoding and decoding method and corresponding codecs, decoders and electronic devices.
  • Intra Block Copying (IBC) mode is adopted in the Screen Content Coding (SCC) standard based on the H.265/High Efficiency Video Coding (HEVC) standard extension. .
  • SCC Screen Content Coding
  • HEVC High Efficiency Video Coding
  • the IBC allows the use of one two-dimensional pixel block that has been recovered within the current image as the prediction block for the current block, while The IBC uses the relative offset between the prediction block and the current block to locate the prediction reference block, which is called a Block Copying Vector (BV).
  • BV Block Copying Vector
  • IBC is similar to the inter prediction mode in the H.265/HEVC standard, except that the IBC uses the partially decoded recovered pixels in the current image as the prediction reference, and the inter prediction mode is decoded before the current picture in decoding order. The pixels in the restored image are used as prediction references.
  • the IBC can use the same or similar block partitioning method, and the BBC information of the IBC can use the same or similar predictive coding method as the motion vector (Motion Vector, MV) of the inter prediction mode.
  • MV Motion Vector
  • the types of slices include an inter prediction type and an intra prediction type.
  • a slice of an inter prediction type refers to a coded block (or a decoded block) in the slice that can use the pixel sample value in the image in which the slice is located or in another image other than the image in which the slice is located.
  • a slice of an intra prediction type refers to a coded block (or a decoded block) in the slice that constructs a coded block using only pixel sample values in the image in which the slice is located (or decoding block) prediction reference.
  • JCTVC-R0100 and JCTVC-R0190 propose to use a unified structure of IBC and inter prediction modes in the SCC standard extension.
  • JCTVC-R0100 proposes to add the current decoded image to the last position of list 0 (List 0) of the reference picture list and mark it as "Long-term reference picture" so that The block division and the BV of the IBC are encoded using the block division and MV prediction coding methods of the existing inter prediction mode, and the information about the IBC is written into the code stream using the syntax organization method of the inter prediction mode.
  • JCTVC-R0190 proposes to treat IBC as an inter prediction mode.
  • the "inter prediction block” (ie, the value of pred_mode_flag is equal to 0) is used to represent the IBC block;
  • the "interframe prediction block whose index value is equal to 1 is listed in the list 0 reference picture” (ie, the pred_mode_flag value is equal to 0 and the ref_idx_l0 value is equal to 1) indicates the IBC block.
  • the block division and the BV of the IBC can be encoded using the block division and MV prediction coding methods of the existing inter prediction mode, and the information about the IBC is written into the code stream using the syntax organization method of the inter prediction mode.
  • the above method can implement the unified structure IBC and inter prediction mode, and can directly apply the predictive block partitioning and motion information coding and other efficient predictive coding methods used in the inter prediction mode to the IBC, thereby obtaining a large coding efficiency. Upgrade. Nevertheless, the inventors of the present invention found in the study that the above methods have the following main disadvantages:
  • the method of unifying the IBC and inter prediction modes cannot define an All Intra Profile.
  • all images of the video sequence are encoded using intra-prediction encoding methods, eliminating the need to use and construct a reference image list.
  • the method of unifying the IBC and the inter prediction mode needs to add a reference picture list for the full intra-frame level, and increase the correlation with the additional reference picture list in the file definition and the hypothetical reference decoder, the consistency test, the code stream working point, and the like.
  • the complexity of the full intra-frame grade is increased.
  • the high-level architecture of the existing H.265/HEVC full-frame encoder cannot be directly multiplexed.
  • the IBC mode is completely declared using a special inter prediction mode parameter (such as a specific reference image).
  • the IBC mode is The improvement of the equation requires modifying the grammatical organization and declaration of all inter-prediction mode parameters, adding additional conditional judgments to distinguish between processing IBC and inter-prediction modes, which adds additional processing complexity.
  • the IBC mode of the intra-coded picture is improved, it is necessary to adjust the inter-prediction coding mode that is not used for the intra-coded picture, and to increase the correlation condition judgment and the corresponding processing flow.
  • the current unified IBC and inter prediction mode methods are applied to both intra-predictive coded pictures and inter-predictive coded pictures, so that the characteristics of the intra-predictive coded picture and the inter-predictive coded picture cannot be separately applied to the IBC mode. Improve and optimize.
  • the sampled values of the uncoded and undecoded position pixels in the prediction reference image are used to construct the reference block of the IBC mode, and therefore, the performance of the IBC mode reference block construction process remains to be determined. Upgrade.
  • the technical solution provided by the embodiment of the present invention is as follows:
  • a predictive coding method applied to an encoder including:
  • the image of the slice is set as the prediction reference image of the slice, and the code block of the IBC mode is used for the intra block in the slice, and the first code is used.
  • Way to encode
  • the coding block using the IBC mode in the slice is coded using a second coding mode different from the first coding mode.
  • the image of the slice is set as the predicted reference image of the slice, and the image of the slice is inserted into the prediction reference image list.
  • a predicted reference image for the slice is inserted into the prediction reference image list.
  • the coding block of the IBC mode is used in the slice of the inter prediction type, and the coding is performed by using the first coding mode, including: coding the IBC mode parameter by using a mode parameter coding mode of the inter prediction mode.
  • the encoding the IBC mode parameter by using the mode parameter encoding mode of the inter prediction mode includes: encoding the IBC mode parameter by using a motion information encoding method of the prediction unit PU, where the encoded IBC mode parameter includes at least one of the following parameters: a block Partition, reference block indication vector, and reference image index.
  • the coding block of the IBC mode is used, and the coding is performed by using the second coding mode, including:
  • the IBC mode parameter is directly encoded in the coding block, the encoded IBC mode parameter including at least one of the following parameters: a block partition and a reference block indication vector.
  • the coding block of the IBC mode is used in the fragment of the intra prediction type, and the coding is performed by using the second coding mode, and the method further includes:
  • the prediction reference image list is used in encoding, and the image in which the slice is placed is placed at a fixed position in the predicted reference image list, and the reference image list adjustment operation is not performed.
  • the directly encoding the IBC mode parameter in the coding block includes: directly encoding the IBC mode parameter in the coding unit CU.
  • the method further includes: encoding the IBC mode identification information.
  • Setting the image of the slice as the predicted reference image of the slice includes: directly using the image of the slice as the predicted reference image of the slice;
  • the coding block of the IBC mode is used in the fragment of the inter prediction type, and is coded according to the first coding manner, including:
  • the IBC mode identification information and the IBC mode parameter information are encoded using a prediction unit (PU).
  • PU prediction unit
  • Encoding the coded block in the IBC mode by using the first coding mode and/or the second coding mode including: when coding, filling a sample value of an uncoded position pixel point in a reference block of the coding block .
  • a decoding method applied to a decoder comprising:
  • the first decoding mode is used, the image of the slice is set as the prediction reference image of the slice, and the intra block copy (IBC) is adopted in the slice.
  • the decoded block of the mode is decoded;
  • the decoding block using the IBC mode in the slice is decoded using a second decoding mode different from the first decoding mode.
  • the using the first decoding mode to set the image of the slice as the predicted reference image of the slice includes: inserting the image of the slice into a prediction reference image list as a prediction reference image of the slice .
  • the using the first decoding mode to set the image of the slice as the predicted reference image of the slice further comprising:
  • Decoding by using the first decoding mode, the decoding block in the IBC mode in the fragment, including: decoding the decoding block in the IBC mode in the fragment by using a decoding mode of an inter prediction mode, and parsing
  • the bit field corresponding to the mode parameter of the inter prediction mode obtains an IBC mode parameter.
  • an IBC mode parameter by parsing a bit field corresponding to a mode parameter of an inter prediction mode, comprising: obtaining at least one of the following IBC mode parameters by parsing a bit field corresponding to a prediction unit (PU) and a motion information parameter thereof : block partitioning, reference block indication vector, and reference image index.
  • PU prediction unit
  • the decoding block that uses the IBC mode in the fragment including: parsing a bit field corresponding to an IBC mode parameter in the decoding block, and obtaining the following IBC mode.
  • At least one of the parameters a block partition and a reference block indication vector.
  • Decoding by using the second coding mode, the decoding block in the slice using the IBC mode, also includes:
  • the prediction reference image list is used at the time of decoding, and the image in which the slice is placed is placed at a fixed position in the predicted reference image list, and the reference image list adjustment operation is not performed.
  • Parsing the bit field corresponding to the IBC mode parameter in the decoding block includes: parsing a bit field corresponding to the IBC mode parameter in the coding unit CU, and obtaining an IBC mode parameter.
  • the method Before parsing the bit field corresponding to the IBC mode parameter in the decoding block, the method further includes: parsing a bit field corresponding to the IBC mode identifier information in the decoding block, and obtaining a value of the corresponding parameter of the IBC mode identifier information.
  • the setting, by using the first decoding mode, the image of the slice to be the predicted reference image of the slice includes: directly using the image of the slice as a prediction reference image of the slice;
  • the bit field corresponding to the IBC mode identification information and the IBC mode parameter in the PU is parsed, and the values of the IBC mode identification information and the IBC mode parameter are obtained.
  • Decoding the decoded block in the IBC mode by using the first decoding mode and/or the second decoding mode includes: when decoding, filling a sample value of an undecoded position pixel point in a reference block of the decoding block.
  • An encoder comprising:
  • Type setting device set to be able to set the type of the slice
  • a first encoding device configured to slice encoding an inter prediction type, where the image of the slice is set as a predicted reference image of the slice, and an intra block copy IBC is used in the slice
  • the coding block of the mode is encoded using the first coding method
  • the second encoding device is configured to perform slice encoding on the intra prediction type.
  • the encoding block using the IBC mode in the fragment is encoded by using a second encoding manner different from the first encoding manner.
  • setting the image of the slice as the predicted reference image of the slice includes: inserting the image of the slice into the prediction reference image list, As a predicted reference image of the slice.
  • setting the image of the slice as the predicted reference image of the slice further includes: performing a reference image list adjustment operation, and adjusting the slice The position of the image in the predicted reference image list, and the parameters related to the reference image list adjustment operation are written to the code stream.
  • the first coding apparatus uses the coding mode of the IBC mode in the slice of the inter prediction type, and performs coding by using the first coding mode, including: coding the IBC mode parameter by using a mode parameter coding mode of the inter prediction mode.
  • the first encoding device encodes the IBC mode parameter by using a mode parameter encoding mode of the inter prediction mode, including: encoding an IBC mode parameter by using a motion information encoding method of the prediction unit PU, where the encoded IBC mode parameter includes at least one of the following parameters: One: block partitioning, reference block indication vector, and reference image index.
  • the second encoding apparatus uses the encoding mode of the IBC mode in the fragment of the intra prediction type, and performs encoding by using the second encoding manner, including: directly encoding the IBC mode parameter in the encoding block, and encoding the IBC mode parameter. At least one of the following parameters is included: a block partition and a reference block indication vector.
  • the second encoding apparatus uses the encoding mode of the IBC mode in the fragment of the intra prediction type, and performs encoding by using the second encoding manner, and further includes:
  • the prediction reference image list is used in encoding, and the image in which the slice is placed is placed at a fixed position in the predicted reference image list, and the reference image list adjustment operation is not performed.
  • the second encoding device directly encodes the IBC mode parameter in the encoding block, including: directly encoding the IBC mode parameter in the encoding unit CU.
  • the second encoding device further includes: encoding the IBC mode identification information before the encoding block directly encodes the IBC mode parameter.
  • the first encoding device sets the image of the slice as the predicted reference image of the slice, and includes: directly using the image of the slice as a predicted reference image of the slice;
  • the first coding apparatus performs coding according to the first coding mode by using the coding block of the IBC mode in the fragment of the inter prediction type, including:
  • the IBC mode identification information and the IBC mode parameter information are encoded using a prediction unit (PU).
  • PU prediction unit
  • the first encoding device and/or the second encoding device encodes the encoded block in the IBC mode, including: when encoding, performing sampling values of uncoded pixel points in a reference block of the encoded block filling.
  • a decoder comprising:
  • a type parsing device configured to parse a code stream to obtain slice type information
  • a first decoding device configured to decode the slice of the inter prediction type, and when decoding, use the first decoding mode, set the image of the slice as the predicted reference image of the slice, and set the slice Decoding is performed using a decoding block of an intra block copy (IBC) mode;
  • IBC intra block copy
  • the second decoding means is configured to decode the slice of the intra prediction type, and when decoding, decode the decoded block in the IBC mode in the slice using a second decoding mode different from the first decoding mode.
  • setting the image of the slice as the prediction reference image of the slice includes: inserting the image of the slice into the prediction reference image list, As a predicted reference image of the slice.
  • the first decoding device uses the first decoding mode to set the image of the slice as the predicted reference image of the slice, and further includes:
  • Decoding by using the first decoding mode, the decoding block that uses the IBC mode in the fragment, including: decoding the decoding block in the IBC mode in the fragment by using a decoding mode of an inter prediction mode.
  • Decoding by parsing the bit field corresponding to the mode parameter of the inter prediction mode, Obtain the IBC mode parameters.
  • the first decoding device obtains the IBC mode parameter by parsing the bit field corresponding to the mode parameter of the inter prediction mode, and includes: obtaining the following IBC mode parameters by parsing the bit field corresponding to the prediction unit (PU) and the motion information parameter therein At least one of: block partitioning, reference block indication vector, and reference image index.
  • Decoding by using the second decoding mode different from the first decoding mode, the decoding block that uses the IBC mode in the fragment, includes: parsing a bit field corresponding to an IBC mode parameter in the decoding block, At least one of the following IBC mode parameters is obtained: a block partition and a reference block indication vector.
  • the second decoding device decodes the decoding block in the IBC mode in the fragment by using the second decoding mode, and further includes:
  • the prediction reference image list is used at the time of decoding, and the image in which the slice is placed is placed at a fixed position in the predicted reference image list, and the reference image list adjustment operation is not performed.
  • the second decoding device parses the bit field corresponding to the IBC mode parameter in the decoding block, and includes: parsing a bit field corresponding to an IBC mode parameter in the coding unit CU, and obtaining an IBC mode parameter.
  • the method further includes: parsing a bit field corresponding to the IBC mode identifier information in the decoding block, and obtaining a value of the corresponding parameter of the IBC mode identifier information.
  • the first decoding device uses the first decoding mode to set the image of the slice as the predicted reference image of the slice, including: directly using the image of the slice as the prediction of the slice Reference image
  • Decoding by using the first decoding mode, the decoding block that uses the IBC mode in the fragment of the inter prediction type, including:
  • the bit field corresponding to the IBC mode identification information and the IBC mode parameter in the PU is parsed, and the values of the IBC mode identification information and the IBC mode parameter are obtained.
  • Decoding the decoded block in the IBC mode by the first decoding device and/or the second decoding device including: when decoding, filling a sample value of an undecoded pixel in a reference block of the decoded block .
  • An electronic device comprising an encoder and/or a decoder, wherein:
  • the encoder employs any of the encoders described above;
  • the decoder employs any of the decoders described above.
  • the coding blocks using the IBC mode in the inter-prediction type and the intra-prediction type are coded by different coding modes, which can improve the coding efficiency and obtain one or more of the following technical effects:
  • the IBC mode can be improved and optimized for intra-predicted encoded images and inter-predicted encoded images, respectively. Improvements to the IBC mode do not require modification of the grammatical organization and declaration of inter-prediction mode parameters, without the need for additional conditional judgments. When the IBC mode of the intra-coded picture is improved, there is no need to adjust the inter-predictive coding mode that is never used for intra-coded pictures.
  • the IBC mode can adopt a structure consistent with the inter-frame prediction mode, and has various advantages brought by the unified structure.
  • the embodiment of the present invention further provides the following image filling method and corresponding electronic device.
  • An image filling method applied to a predictive encoding and/or decoding process including:
  • the sampled values of the uncoded and/or undecoded position pixel points in the image are filled.
  • Filling in the sampled values of uncoded position pixels in the image including:
  • the filling of the sampled values of the uncoded pixel points in the image includes:
  • the filling of the sampled values of the undecoded pixel in the image includes:
  • the sampled value of the undecoded position pixel in the image is set as the filtered output value of the sampled value of the decoded position pixel.
  • the method further includes: writing the corresponding filling mode information into the code stream, where the filling mode information includes at least one of the following information. :
  • the indication information of the filling method used and related parameters When using adaptive padding, the indication information of the filling method used and related parameters;
  • the padding value of the sampled value of the uncoded position pixel used when no adaptive padding is used is used
  • the sampled values of the undecoded pixel points in the image are filled according to the fill mode information parsed from the code stream.
  • the method further includes: after the encoding unit is completed, updating the image with the locally decoded restored sampling value of the encoded position pixel in the current encoded image.
  • the sampled value of the corresponding pixel is refilled with the sampled value of the uncoded pixel in the image.
  • the method further includes: After the decoding unit decoding is completed, the sampled values of the corresponding pixel points in the image are updated with the recovered sample values of the decoded position pixel points in the current decoded image, and the sampled values of the undecoded position pixel points in the image are re-filled. .
  • An electronic device comprising an encoder and/or a decoder, wherein:
  • the encoder includes:
  • Determining means configured to be capable of determining an image to be used as a reference when performing predictive coding on a coding unit
  • the sampled values of the uncoded and/or undecoded position pixel points in the image are filled.
  • a code padding device configured to fill a sampled value of an uncoded pixel in the image
  • the decoder includes:
  • Determining means arranged to be able to determine an image as a reference when decoding the decoding unit
  • the decoding padding device is arranged to be capable of filling sample values of undecoded pixel points in the image.
  • the code filling device fills the sampled values of the uncoded position pixel points in the image, including:
  • the decoding and filling device fills a sample value of an undecoded pixel in the image, including:
  • a part of the undecoded position pixel point in the image refers to a current solution
  • the code filling device fills the sampled values of the uncoded pixel points in the image, including:
  • the decoding and filling device fills a sample value of an undecoded pixel in the image, and includes:
  • the sampled value of the undecoded position pixel in the image is set as the filtered output value of the sampled value of the decoded position pixel.
  • the method further includes: writing the corresponding filling mode information into the code stream, where the filling mode information includes at least one of the following information:
  • the indication information of the filling method used and related parameters When using adaptive padding, the indication information of the filling method used and related parameters;
  • the padding value of the sampled value of the uncoded position pixel used when no adaptive padding is used is used
  • the decoding and filling device fills the sampled values of the undecoded pixel points in the image according to the filling mode information parsed from the code stream.
  • the method further includes:
  • the sample values of the corresponding pixel points in the image are updated with the locally decoded recovery sample values of the encoded position pixel points in the current coded image, and the uncoded position pixel points in the image are re-imaged.
  • the sampled values are filled.
  • the method further includes:
  • the sampled value of the corresponding pixel in the image is updated with the recovered sample value of the decoded position pixel in the current decoded image, and the sampled value of the undecoded pixel in the image is re-sampled. Fill it up.
  • the accuracy of the prediction can be improved, thereby improving the performance of encoding and decoding.
  • FIG. 1 is a general flowchart of an encoding method according to an embodiment of the present invention.
  • FIG. 4 is a block diagram of an encoder according to an embodiment of the present invention.
  • FIG. 5 is a general flowchart of a decoding method according to Embodiment 2 of the present invention.
  • FIG. 6 and FIG. 7 are sub-flowcharts of a decoding method according to Embodiment 2 of the present invention.
  • FIG. 8 is a block diagram of a decoder according to Embodiment 2 of the present invention.
  • FIG. 9 is a flow chart of a method for filling a fourth embodiment of the present invention.
  • FIGS. 10 and 11 are block diagrams showing an encoder and a decoder in an electronic device according to a fourth embodiment of the present invention.
  • a slice is an independent decoding unit in one frame of image, one frame image contains one or more slices, and one slice contains one or more coding blocks.
  • the coding block is at least one of the following block units: a Coding Tree Unit (CTU), a Coding Unit, a Prediction Unit (PU), and a Transform Unit (TU).
  • CTU Coding Tree Unit
  • PU Prediction Unit
  • TU Transform Unit
  • the above block unit is referred to as a decoding block.
  • the slice type includes two types of intra prediction type and inter prediction type.
  • a slice of an inter prediction type refers to a coded block (or a decoded block) in the slice that can use the pixel sample value in the image in which the slice is located or in another image other than the image in which the slice is located.
  • a slice of an intra prediction type refers to a coded block (or a decoded block) in the slice that constructs a coded block using only pixel sample values in the image in which the slice is located (or decoding block) prediction reference.
  • the fragment of the inter prediction type may be a slice whose slice_type is equal to "0" or "1", and the coding block/decode block in such a slice may be The IBC mode, the inter prediction mode, and the conventional intra prediction mode are used.
  • the slice of the intra prediction type may be that the value of slice_type is equal to "0" or "1” and the coded block/decode block therein uses the IBC mode, the slice of the conventional intra prediction mode, or the value of slice_type is equal to "2" And the coded block/decode block therein uses the slice of the conventional intra prediction mode.
  • the present invention mainly studies how to encode/decode a coding block/decoding block of an IBC mode, and encodes an IBC mode coding block/decoding block in an inter prediction type slice and an intra prediction type slice according to different coding modes. /decoding.
  • This embodiment provides a predictive coding method and a corresponding encoder.
  • the encoding process for a slice is as shown in FIG. 1, and includes:
  • Step 110 Set a slice type for the currently coded slice.
  • the encoder may set the slice type of the slice in the image according to the preset prediction structure information, and write the set slice type information into the code stream.
  • the slice type information may be indicated by a slice_type field in a Slice Segment Header.
  • Step 120 if the set fragment type is an inter prediction type, step 130 is performed, otherwise step 160 is performed;
  • the inter prediction type coding is used for the current coded slice.
  • Step 130 Set the image of the slice as a predicted reference image of the slice
  • the image of the slice is inserted into the prediction reference image list as the prediction reference image of the slice itself.
  • the encoder may place the current encoded image at a fixed position in the predicted reference image list, or may adaptively adjust the position of the current encoded image in the predicted reference image list.
  • the encoder may set, use the adjustment information of the reference image list (ie, the parameters related to the reference image list adjustment operation) to adjust the placement position of the current encoded image in the reference image list, and write the adjustment information of the reference image list into the code stream.
  • the insertion process can be completed in two steps. The first step is to write the current encoded image to a fixed position in a temporary list, and the second step writes the contents of the temporary list into the predicted reference image list and adjusts the position of the current encoded image.
  • the present invention can also directly insert the current encoded image into the predicted reference image list, and adjust the position of the current encoded image without being placed in the default fixed position.
  • Step 140 Filling sample values of all or part of uncoded position pixel points in the predicted reference image
  • This step is optional.
  • the present embodiment performs a filling process on the predicted reference image.
  • the encoder may set a sample value for the pixel points of all uncoded positions in the predicted reference image; or may only fill the sample values of the partially uncoded position pixel. Among them, some uncoded positions
  • the sampled value of the pixel may refer to an uncoded position pixel in the current coded block and its adjacent coded block, or to an uncoded position pixel in the range of the predicted block to which the MV or BV points.
  • the specific filling method can be divided into two categories: no adaptive filling and adaptive filling.
  • a method that does not use adaptive padding such as setting a sample value of an undecoded position pixel in a predicted reference image to a default preset value (ie, a default value), for example, a value of 1/2, 0 of the maximum allowable sample value. And the maximum value, etc.
  • a method of using adaptive padding such as setting the sample value of the uncoded position pixel in the predicted reference image to the mean value of the most recently coded block pixel sample value or the sample value of the specified pixel point, or set to each column The sampled value of the last encoded pixel in the direction.
  • the sampling value of the uncoded position pixel in the prediction reference image is set as the output value of the extrapolation filter, and the input of the extrapolation filter is the sampled value of the encoded pixel, and the filter may be along a certain
  • a one-dimensional filter specifying a direction may also be a two-dimensional filter; the filter may be an external interpolation filter using a fixed coefficient or an adaptive filter; the encoder will filter the shape Parameter information such as coefficients and coefficients are written to the code stream.
  • the encoder can use encoder optimization modules (such as the commonly used encoder control module based on rate-distortion criteria) to determine the specific parameters used in the encoding process.
  • the padding mode used may be agreed between the encoder and the decoder, and the padding mode information used may be written into the code stream, and the padding mode information may include at least one of the following information:
  • the indication information of the filling method used and related parameters When using adaptive padding, the indication information of the filling method used and related parameters;
  • the padding value of the sampled value of the uncoded position pixel used when no adaptive padding is used is used
  • the encoder may write the above filling mode information to one or more of the following information elements in the code stream: parameter set, slice header information, coding tree block (CTU), and CU.
  • the sampled values of the undecoded position pixel points in the predicted reference image may be filled according to the filling mode information parsed from the code stream.
  • Step 150 The coding blocks in the slice of the inter prediction type are sequentially coded, where the coding block in the IBC mode in the slice is coded according to the first coding mode, and ends;
  • Step 160 sequentially encoding the coding blocks in the intra prediction type of the slice, where The coding block of the IBC mode is used in the fragmentation, and is coded according to a second coding method different from the first coding mode.
  • the encoder may also fill the image of the intra prediction type slice (cached image) before or during the step 160, and the filling manner may adopt various manners described in step 140.
  • the encoder sequentially encodes the code streams of the CTUs in the fragment, and for each CTU, sequentially encodes the code streams of each of the CTUs (including at least one of the CU, the PU, and the TU).
  • the encoder When encoding the current coding block in the slice of the inter prediction type, as shown in FIG. 3, it can be further divided into the following steps:
  • Step 1501 Determine a prediction mode adopted by the current coding block in the slice of the inter prediction type
  • the encoder may use the encoder optimization module to determine to use a normal intra prediction mode, an IBC mode, or an inter prediction mode for the current coding block.
  • Step 1503 if the IBC mode is adopted, step 1505 is performed; otherwise, step 1509 is performed;
  • Step 1505 Encoding the block using the IBC mode in the inter-prediction type slice, using the first coding mode to perform coding;
  • Encoding by using the first coding mode may include: encoding the IBC mode parameter by using a mode parameter coding mode of the inter prediction mode.
  • the IBC mode parameter may be encoded using a motion information encoding method of the prediction unit PU, the encoded IBC mode parameter including at least one of the following parameters: a block partition, a reference block indication vector, and a reference image index.
  • the coding block of the IBC mode is used, and the inter prediction mode identifier can be used instead of encoding the special IBC mode identification information.
  • the decoder can determine that it is a decoded block of the IBC mode according to the inter prediction mode identification and the reference image index pointing to the image in which it is located.
  • the prediction block division manner of the IBC is not limited, and may be a conventional rectangular or square block division manner, or may be Nx1 or 1 ⁇ N string division.
  • the String Matching method is a special case when the IBC uses the Nx1 or 1xN string division method.
  • the reference block indication vector represents a relative positional offset between the reference block and the current coded block, ie BV.
  • the reference block indication vector It may be encoded directly; the reference block indication vector parameter may also be used to represent the reference block indication vector and the reference block indication vector parameter may be encoded.
  • the reference block indication vector parameter may include at least one of the following parameters: BV predicted value index number, BV prediction difference.
  • the encoder can limit the dynamic range of the BV to the extent of the slice in which the current coded block is located.
  • the encoder constructs a predicted value of the pixel point sample value in the current coding block according to the IBC mode parameter.
  • the encoder may use one or more reference blocks pointed by the BV to combine the one or more reference blocks into prediction blocks of the same shape as the current coding block according to an IBC mode block division manner, and the pixels included in the prediction block
  • the point sample value is used as a predicted value of the current block, or the pixel point sample value in the prediction block is weighted and processed as an IBC mode reference block.
  • Step 1507 after the encoding of the encoding block is completed, the sampling value of the local decoding of the encoded position pixel in the current encoded image of the encoding block is restored, and the sampling value of the corresponding pixel in the predicted reference image is updated;
  • the sample values of the uncoded position pixel points in the predicted reference image may be refilled by using the same filling manner.
  • step 1509 the coding block of the other mode is used in the inter prediction type fragment, and the coding is performed according to the coding method specified by the standard.
  • coding block of the inter prediction mode may also be a coding block of the normal intra prediction mode in the inter prediction type slice, and the coding method of these coding blocks may be as specified in the standard.
  • the image of the slice is directly used as the prediction reference image of the slice, and the prediction reference image list is no longer inserted.
  • the encoding of the coding block using the IBC mode in the fragment using the first coding manner may include: encoding the IBC mode identification information by using a coding unit (CU), encoding the IBC mode parameter information by using a prediction unit (PU), or using a prediction unit. (PU) encodes IBC mode identification information and IBC mode parameter information.
  • step 160 the encoder sequentially encodes the code streams of the CTUs in the fragment, for each CTU, The code streams of the blocks in the CTU are sequentially encoded.
  • the encoder When encoding the current coding block in the slice of the intra prediction type, as shown in FIG. 4, it can be further divided into the following steps:
  • Step 1601 Determine a prediction mode adopted by a current coding block in a slice of an intra prediction type
  • the encoder may use the encoder optimization module to determine to use a normal intra prediction mode or an IBC mode for the current coding block.
  • Step 1603 if it is determined to adopt the IBC mode, step 1605 is performed, otherwise, step 1609 is performed;
  • Step 1605 Encoding the block using the IBC mode in the intra prediction type slice, and encoding by using the second coding mode;
  • Encoding using the second encoding method may include directly encoding the IBC mode parameter in the encoding block, the encoded IBC mode parameter including at least one of the following parameters: a block partitioning and a reference block indication vector.
  • the IBC mode parameters can be directly encoded in the coding unit CU.
  • the IBC mode identification information may be encoded before the coding block directly encodes the IBC mode parameter, and the CU coded IBC mode identification information may be used, but is not limited thereto, and the PU coded IBC mode identification information may also be used.
  • the IBC mode identification information may be a direct indication that "the current coding block uses the IBC mode", such as using a flag bit; or may be an implicit identification IBC mode, for example, using a combination of related information to implicitly identify the IBC mode, a combination indication of these related information. It is: "the pixel sample value included in the region of the same shape and size as the current coding block in the image of the current slice, as the predicted value of the sample value of the pixel to be coded in the current coding block".
  • a prediction reference image list may be used, and the encoder places the image of the slice in a fixed position in the predicted reference image list without performing a reference image list adjustment operation, that is, not
  • the position of the image in which the slice is located is adaptively adjusted in the position of the predicted reference picture list, and the image position adaptive adjustment operation in the reference picture list is not written in the code stream corresponding to the slice containing the coded block coded using the second coding mode.
  • Step 1607 after the encoding of the encoding block is completed, recovering the sampling value by the local decoding of the encoded position pixel in the current encoded image of the encoding block, and updating the sampling value of the corresponding pixel in the image of the fragment, and ending.
  • the same padding method may be used to refill the sampled values of the uncoded pixel points in the image where the slice is located.
  • Step 1609 Perform encoding on other types of coding blocks in the intra prediction type fragment according to the coding method specified by the standard;
  • coding blocks of the normal intra prediction mode in the inter prediction type fragment may also be coding blocks of the normal intra prediction mode in the inter prediction type fragment, and the coding methods of these coding blocks may be as specified in the standard.
  • the coding block using the IBC mode is encoded by using the first coding mode and/or the second coding mode, and may include: an uncoded position pixel in a reference block of the coding block when coding The sampled values are filled.
  • the encoder provided in this embodiment includes:
  • the type setting device 10 is set to be capable of setting the type of the slice
  • the first encoding device 20 is configured to perform slice encoding on an inter prediction type. When encoding, set the image of the slice as a predicted reference image of the slice, and use intra block copy in the slice.
  • the coding block of the IBC mode is coded using the first coding mode;
  • the second encoding device 30 is configured to perform slice encoding for the intra prediction type.
  • the encoding block using the IBC mode in the fragment is encoded using a second encoding method different from the first encoding method.
  • setting the image of the slice to the predicted reference image of the slice may include: inserting the image of the slice into the prediction reference image list.
  • the encoder may perform a reference image list adjustment operation, adjust a position of the image of the slice in the predicted reference image list, and write a parameter related to the reference image list adjustment operation to the code stream.
  • the first encoding apparatus 20 uses the encoding mode of the IBC mode in the slice of the inter prediction type, and encoding by using the first coding mode may include: encoding the IBC mode parameter by using a mode parameter coding mode of the inter prediction mode.
  • the encoding, by the first encoding device 20, the IBC mode parameter by using the mode parameter encoding mode of the inter prediction mode may include: encoding the IBC mode parameter by using a motion information encoding method of the prediction unit PU, where the encoded IBC mode parameter includes the following parameters. At least one: block division, reference block Indicates the vector and reference image index.
  • the second encoding device 30 uses the encoding mode of the IBC mode in the fragment of the intra prediction type, and uses the second encoding manner to perform encoding, and may include: directly encoding the IBC mode parameter in the encoding block, and encoding the IBC mode.
  • the parameters include at least one of the following parameters: block partitioning and reference block indication vectors.
  • the encoding is performed by using the second encoding method, further comprising: using the predicted reference image list when encoding, placing the image of the slice in a fixed position in the predicted reference image list, and not performing the reference image list adjusting operation.
  • the foregoing second encoding device 30 directly encoding the IBC mode parameter in the encoding block may include directly encoding the IBC mode parameter in the encoding unit CU.
  • the second encoding device may further include: encoding IBC mode identification information.
  • the IBC mode identification information may be a direct identifier "the current coding block uses the IBC mode", or may be an implicit identification IBC mode, for example, a combination of related information implicitly identifies the IBC mode, and the combination of these related information indicates: A pixel sample value included in an area of the same shape and size as the current coding block in the image in which the slice is located, as a predicted value of the sample value of the pixel to be coded in the current coding block.
  • the encoding by the first encoding device and/or the second encoding device in the encoding block of the IBC mode may include: when encoding, performing sampling values of uncoded pixel points in the reference block of the encoding block. filling.
  • the first coding device 20 may directly use the image of the slice as the prediction of the slice. Reference image.
  • the first encoding device 20 uses the IBC mode coding block in the slice of the inter prediction type, performs coding according to the first coding mode, and may use the coding unit (CU) to encode the IBC mode identification information, and uses the prediction unit (PU). Encoding IBC mode parameter information; or encoding the IBC mode identification information and IBC mode parameter information using a prediction unit (PU).
  • the embodiment provides a decoding method corresponding to the encoding method and the encoder of the first embodiment and a corresponding decoder.
  • the decoding method of this embodiment is applied to a decoder, and the decoding process for a slice is as shown in FIG. 5, and includes:
  • Step 210 Parse the slice layer code stream, and obtain fragment type information of the current decoded slice.
  • the slice type information refers to the slice type information given by the slice_type field in the Slice Segment Header.
  • Step 220 if the fragment type is an inter prediction type fragment, step 230 is performed; otherwise, step 260 is performed;
  • the slice type is an inter prediction type slice, meaning that the interframe prediction type decoding is used for the current coded slice.
  • Step 230 using the first decoding mode, setting the image of the slice as the predicted reference image of the slice;
  • the decoder constructs a reference image list, and inserts the image of the slice into the reference image list as the predicted reference image of the slice.
  • the decoder may place the image in which the slice is located at a fixed position in the reference image list, or adaptively adjust the position of the currently decoded image in the reference list.
  • the decoder parses the code stream, obtains reference image list adjustment information (ie, related parameters of the reference image list adjustment operation), performs a reference image list adjustment operation according to the relevant parameters, and adjusts a placement position of the current decoded image in the predicted reference image list. .
  • Step 240 filling sample values of all or part of uncoded position pixel points in the predicted reference image
  • This step is optional.
  • the present embodiment also performs a filling process on the predicted reference image.
  • the decoder may set a sample value for the pixel points of all undecoded positions in the prediction reference image; or may only fill the sample values of the partially undecoded position pixel points.
  • the sampled value of the partially undecoded location pixel may refer to an undecoded location pixel in the current decoded block and its neighboring decoded block, or to an uncoded location pixel within the prediction block range pointed by the MV or BV.
  • the decoder may fill the sampled values of the undecoded position pixel points in the predicted reference image according to the padding mode information parsed from the code stream.
  • Step 250 Decode the decoding blocks in the inter prediction type fragment sequentially, where the decoding block using the IBC mode in the fragment is decoded by using the first decoding manner, and ends;
  • Step 260 Decode the decoding blocks in the intra prediction type fragment sequentially, wherein the decoding block adopting the IBC mode in the fragment is decoded by using a second decoding manner different from the first decoding mode.
  • the decoder may also fill the image of the intra prediction type slice (the cached image), and the filling manner may adopt various manners described in step 240.
  • the decoder sequentially parses the code stream of each CTU in the fragment, and sequentially parses the code stream of each block (including at least one of CU, PU, and TU) in the CTU for each CTU.
  • the decoder When decoding the current decoding block in the inter prediction type fragment, as shown in FIG. 6, it includes:
  • Step 2501 Determine a prediction mode adopted by a current decoding block in a slice of an inter prediction type
  • the "decoding method” includes a representation method and a coding position of the mode-related parameters in the code stream.
  • the decoder may first determine that it is an IBC mode decoding block and then decode the relevant mode parameter.
  • the flag can be an IBC mode identifier.
  • Step 2503 if the IBC mode is adopted, step 2505 is performed, and if the IBC mode is not used, step 2509 is performed;
  • Step 2505 Decode the decoding block in the IBC mode in the inter prediction type slice by using the first decoding mode.
  • the decoding block adopting the IBC mode in the fragment is decoded by using the decoding mode of the inter prediction mode, and the bit field corresponding to the mode parameter of the inter prediction mode is parsed to obtain an IBC mode parameter.
  • IBC mode parameters may be obtained by parsing a prediction unit (PU) and a bit field corresponding to the motion information parameter therein: a block division, a reference block indication vector, and a reference image index.
  • the decoder constructs a predicted value of the sample point value in the current decoded block according to the IBC mode parameter.
  • Step 2507 after the decoding of the decoding block is completed, updating the sampling value of the corresponding pixel in the predicted reference image with the recovered sampling value of the decoded position pixel in the currently decoded image of the decoding block, and ending;
  • the sampled value of the undecoded pixel in the predicted reference image may be refilled by using the same filling manner.
  • Step 2509 Decode the block using the other mode in the inter-prediction type slice, and decode according to the decoding mode specified by the standard.
  • decoding block of the inter prediction mode may also be a decoding block of the normal intra prediction mode in the inter prediction type fragment, and the decoding method of these decoding blocks may be as specified in the standard.
  • the first decoding mode is used, and when the image of the slice is set as the predicted reference image of the slice, the slice may be used.
  • the image is directly used as the predicted reference image of the slice.
  • the bit field corresponding to the IBC mode identification information and the IBC mode parameter in the PU is parsed, and the values of the IBC mode identification information and the IBC mode parameter are obtained.
  • step 260 the decoder sequentially decodes the code streams of the CTUs in the fragment, and sequentially decodes the code streams of the blocks in the CTU for each CTU.
  • the decoder sequentially decodes the code streams of the CTUs in the fragment, and sequentially decodes the code streams of the blocks in the CTU for each CTU.
  • Step 2601 determining a prediction mode adopted by the currently decoded block in the slice of the intra prediction type
  • the value of the corresponding parameter of the IBC mode identification information may be obtained by parsing the bit field corresponding to the IBC mode identification information in the decoding block.
  • the decoder obtains the IBC mode identification information by directly parsing the code stream, that is, directly identifies the current decoding block in the parsing code stream.
  • the field corresponding to the identification information of the IBC mode; or the decoder combines with other parsed related information, which implicitly identifies "the current decoding block uses the IBC mode", for example, an implicit identification of the IBC mode.
  • the combination information indicates that "the pixel sample value included in an area of the same shape and size as the current decoded block in the image of the current slice is used as the predicted value of the pixel sample value to be encoded in the current decoded block".
  • Step 2603 if it is determined to adopt the IBC mode, step 2605 is performed, if the IBC mode is not adopted, step 2609 is performed;
  • Step 2605 Decode the decoding block using the IBC mode in the intra prediction type fragment by using a second decoding manner different from the first coding mode.
  • decoding the decoding block in the IBC mode in the fragment by using the second decoding manner includes: parsing a bit field corresponding to an IBC mode parameter in the decoding block, and obtaining at least one of the following IBC mode parameters. Species: block partitioning and reference block indication vectors. For example, the bit field corresponding to the IBC mode parameter in the coding unit CU is parsed to obtain an IBC mode parameter.
  • the decoder may use the predicted reference image list to place the image of the slice in a fixed position in the predicted reference image list, but does not perform a reference image list adjustment operation, that is, no reference The image position in the image list is adaptively adjusted. Meanwhile, in the received code stream corresponding to the slice of the current decoding block decoded using the second decoding mode, there is no indication information for performing the adaptive position adjustment of the image in the reference image list.
  • Step 2607 after the decoding of the decoding block is completed, updating the sampling value of the corresponding pixel in the image of the fragment in the decoded pixel of the decoded image in the currently decoded image of the decoding block, and ending.
  • the same padding method may be used to refill the sampled values of the uncoded pixel points in the image where the slice is located.
  • Step 2609 decoding blocks that use other modes in the intra prediction type fragment, and decoding according to a decoding method specified by a standard;
  • decoding blocks of the normal intra prediction mode in the intra prediction type fragment may also be decoding methods of these decoding blocks may be as specified in the standard.
  • the decoder provided in this embodiment includes:
  • the type analyzing device 50 is configured to be able to parse the code stream to obtain the slice type information
  • the first decoding device 60 is configured to decode the slice of the inter prediction type. When decoding, use the first decoding mode to set the image of the slice as the predicted reference image of the slice, and set the segment Decoding in the block using intra block copy (IBC) mode decoding;
  • IBC intra block copy
  • the second decoding device 70 is configured to decode the slice of the intra prediction type, and when decoding, decode the decoded block in the IBC mode in the slice using a second decoding method different from the first decoding mode.
  • setting the image of the slice to the predicted reference image of the slice may include: inserting the image of the slice into the prediction reference image list. As the predicted reference image of the slice.
  • the decoder uses the first decoding mode, and the image of the slice is set as the predicted reference image of the slice, and may further include: parsing the code stream, and obtaining reference image list adjustment information (ie, related parameters of the reference image list adjustment operation) And performing a reference image list adjustment operation according to the related parameter, and adjusting a position of the currently decoded image in the reference image list.
  • the first decoding device 60 uses the first decoding mode to decode the decoding block in the IBC mode in the fragment, and may include: decoding the block using the IBC mode in the fragment by using a decoding mode of the inter prediction mode. Decoding is performed, and the IBC mode parameter is obtained by parsing the bit field corresponding to the mode parameter of the inter prediction mode.
  • the first decoding device 60 obtains the IBC mode parameter by parsing the bit field corresponding to the mode parameter of the inter prediction mode, and may include: obtaining the following IBC mode parameter by parsing the bit field corresponding to the prediction unit (PU) and the motion information parameter therein At least one of them: block division, reference The test block indicates the vector and reference image index.
  • the second decoding device 70 using the second decoding mode different from the first decoding mode, to decode the decoding block in the IBC mode in the fragment may include: parsing a bit field corresponding to the IBC mode parameter in the decoding block. Obtaining at least one of the following IBC mode parameters: block partitioning and reference block indication vector.
  • the predicted reference image list may be used to place the image of the slice in a fixed position in the predicted reference image list, but the decoder does not adapt the position of the image in the reference image list. Adjustment.
  • the second decoding device 70 parsing the bit field corresponding to the IBC mode parameter in the decoding block may include: parsing a bit field corresponding to an IBC mode parameter in the coding unit CU, and obtaining an IBC mode parameter.
  • the method may further include: parsing a bit field corresponding to the IBC mode identifier information in the decoding block, and obtaining a value of the parameter corresponding to the IBC mode identifier information.
  • the IBC mode identification information may be a direct identifier that “the current decoding block uses the IBC mode”, or may be an implicit identifier IBC mode.
  • the related information combination indicates “in the image where the current fragment is located. When a pixel included in an area of the same shape and size as the current decoding block is used as a predicted value of the pixel sample value to be decoded in the current decoding block, the related information combination may implicitly identify the IBC mode.
  • Decoding the decoding block in the IBC mode by the first decoding device and/or the second decoding device may include: filling, when decoding, sampling values of undecoded pixel points in a reference block of the decoding block. .
  • the first decoding device 60 uses the first decoding mode, and when the image of the slice is set as the predicted reference image of the slice, The image in which the slice is located directly serves as a predicted reference image of the slice.
  • the first decoding device 60 uses the first decoding mode to decode the decoding block in the IBC mode in the slice of the inter prediction type, and may include: parsing a bit field corresponding to the IBC mode identification information in the CU, and obtaining an IBC mode.
  • bit field obtains the value of the IBC mode identification information and the IBC mode parameter.
  • Embodiment 3 is a diagrammatic representation of Embodiment 3
  • the embodiment provides an electronic device including an encoder and/or a decoder, wherein the electronic device can use the encoder of the first embodiment to generate a video code stream; and/or, using the decoder in the second embodiment To decode the video stream.
  • the electronic device of this embodiment may be a related code stream generating device and a receiving playing device in a video communication application, such as a mobile phone, a computer, a server, a set top box, a portable mobile terminal, a digital video camera, a television broadcasting system device, and the like.
  • a video communication application such as a mobile phone, a computer, a server, a set top box, a portable mobile terminal, a digital video camera, a television broadcasting system device, and the like.
  • This embodiment provides an image filling method, which is applied to a predictive encoding and/or decoding process.
  • the flow is shown in FIG. 9 and includes:
  • Step 310 Determine an image that is used as a reference when performing predictive coding on a coding unit and/or decoding a decoding unit;
  • the coding unit herein may be the coding block in the foregoing embodiment, but is not limited thereto, and the mode adopted by the coding block is not limited to any one, and may be an IBC mode, an inter prediction mode, a normal intra prediction mode, and the like. .
  • the image referred to herein may be the aforementioned predicted reference image, the image in which the slice is placed, or the like, but the present invention is not limited thereto.
  • Step 320 filling sample values of uncoded and/or undecoded position pixel points in the image.
  • the uncoded position pixel points may be pixels that are not encoded in the image, or pixels outside the image boundary include:
  • Uncoded position pixel, or motion vector or block copy The vector points to the uncoded position pixel within the prediction block range;
  • the specific filling method can be divided into two categories: no adaptive filling and adaptive filling.
  • a type of method that does not use adaptive padding such as setting a sample value of an undecoded position pixel in a predicted reference image to a default preset value, for example, a 1/2, a zero value, a maximum value, and the like of the maximum allowable sample value.
  • a method of using adaptive padding such as setting the sample value of the uncoded position pixel in the predicted reference image to the mean value of the most recently coded block pixel sample value or the sample value of the specified pixel point, or set to each column The sampled value of the last encoded pixel in the direction.
  • the sampling value of the uncoded position pixel in the prediction reference image is set as the output value of the extrapolation filter, and the input of the extrapolation filter is the sampled value of the encoded pixel, and the filter may be along a certain
  • a one-dimensional filter specifying a direction may also be a two-dimensional filter; the filter may be an external interpolation filter using a fixed coefficient or an adaptive filter; the encoder will filter the shape Parameter information such as coefficients and coefficients are written to the code stream.
  • the encoder can use encoder optimization modules (such as the commonly used encoder control module based on rate-distortion criteria) to determine the specific parameters used in the encoding process.
  • the decoding unit Before decoding the decoding unit, filling sample values of all or part of undecoded position pixel points in the image, wherein a part of the undecoded position pixel points in the image refers to a current decoding unit and an adjacent decoding unit thereof.
  • the specific filling method can be divided into two categories: no adaptive filling and adaptive filling.
  • a type of method that does not use adaptive padding such as setting a sample value of an undecoded position pixel in a predicted reference image to a default preset value, for example, a 1/2, a zero value, a maximum value, and the like of the maximum allowable sample value.
  • a method of using adaptive padding such as setting the sample value of the uncoded position pixel in the predicted reference image to the mean value of the most recently coded block pixel sample value or the sample value of the specified pixel point, or set to each column The sampled value of the last encoded pixel in the direction.
  • the sampling value of the uncoded position pixel in the prediction reference image is set as the output value of the extrapolation filter, and the input of the extrapolation filter is the sampled value of the encoded pixel, and the filter may be along a certain
  • a one-dimensional filter specifying a direction may also be a two-dimensional filter; the filter may be an external interpolation filter using a fixed coefficient or an adaptive filter; the decoder may pass the analysis code
  • the stream obtains parameter information such as filter shape and coefficient.
  • the method further includes: writing the corresponding filling mode information into the code stream, where the filling mode information includes the following information. At least one of:
  • the indication information of the filling method used and related parameters When using adaptive padding, the indication information of the filling method used and related parameters;
  • the padding value of the sampled value of the uncoded position pixel used when no adaptive padding is used is used
  • the sampled values of the undecoded pixel points in the image are filled according to the filling mode information parsed from the code stream.
  • the method may further include: after the encoding unit is completed, updating the image by using a locally decoded restored sampling value of the encoded position pixel in the current encoded image. The sampled value of the corresponding pixel in the image, and refills the sampled value of the uncoded pixel in the image.
  • the method may further include: after the decoding unit is decoded, updating the corresponding image in the image with the restored sampling value of the decoded position pixel in the current decoded image.
  • the sampled value of the pixel is refilled with the sampled value of the undecoded pixel in the image.
  • an electronic device provided by this embodiment includes an encoder and/or a decoder, where:
  • the encoder includes:
  • Determining means 11 arranged to be able to determine an image as a reference when predictive coding is performed on the coding unit;
  • the code filling device 12 is configured to be capable of filling sample values of uncoded position pixel points in the image
  • the decoder includes:
  • Determining means 21 being arranged to be able to determine an image as a reference when decoding the decoding unit;
  • the decoding and filling means 22 is arranged to be able to fill the sampled values of the undecoded pixel points in the image.
  • the code filling device 12 fills in sample values of uncoded position pixel points in the image Charge, can include:
  • the partially uncoded position pixel point in the image refers to a current coding unit and an adjacent coding unit thereof.
  • the specific filling method can be divided into two categories: no adaptive filling and adaptive filling.
  • a type of method that does not use adaptive padding such as setting a sample value of an undecoded position pixel in a predicted reference image to a default preset value, for example, a 1/2, a zero value, a maximum value, and the like of the maximum allowable sample value.
  • a method of using adaptive padding such as setting the sample value of the uncoded position pixel in the predicted reference image to the mean value of the most recently coded block pixel sample value or the sample value of the specified pixel point, or set to each column The sampled value of the last encoded pixel in the direction.
  • the sampling value of the uncoded position pixel in the prediction reference image is set as the output value of the extrapolation filter, and the input of the extrapolation filter is the sampled value of the encoded pixel, and the filter may be along a certain
  • a one-dimensional filter specifying a direction may also be a two-dimensional filter; the filter may be an external interpolation filter using a fixed coefficient or an adaptive filter; the encoder will filter the shape Parameter information such as coefficients and coefficients are written to the code stream.
  • the encoder can use encoder optimization modules (such as the commonly used encoder control module based on rate-distortion criteria) to determine the specific parameters used in the encoding process.
  • the decoding and filling device 22 fills the sampled values of the undecoded pixel in the image, and may include:
  • the decoding unit Before decoding the decoding unit, filling sample values of all or part of undecoded position pixel points in the image; wherein, the partially undecoded position pixel point in the image refers to a current decoding unit and an adjacent decoding unit thereof.
  • the specific filling method can be divided into two categories: no adaptive filling and adaptive filling.
  • a type of method that does not use adaptive padding such as setting a sample value of an undecoded position pixel in a predicted reference image to a default preset value, for example, a 1/2, a zero value, a maximum value, and the like of the maximum allowable sample value.
  • a method of using adaptive padding such as setting the sample value of the uncoded position pixel in the predicted reference image to the mean of the most recently coded block pixel sample value or the sampling of the specified pixel point. The value, or set to the sampled value of the last encoded pixel in the direction of each column.
  • the sampling value of the uncoded position pixel in the prediction reference image is set as the output value of the extrapolation filter, and the input of the extrapolation filter is the sampled value of the encoded pixel, and the filter may be along a certain
  • a one-dimensional filter specifying a direction may also be a two-dimensional filter; the filter may be an external interpolation filter using a fixed coefficient or an adaptive filter; the decoder may pass the analysis code
  • the stream obtains parameter information such as filter shape and coefficient.
  • the method further includes: writing the corresponding filling mode information into the code stream, where the filling mode information includes at least one of the following information.
  • the filling mode information includes at least one of the following information.
  • the indication information of the filling method used and related parameters When using adaptive padding, the indication information of the filling method used and related parameters;
  • the padding value of the sampled value of the uncoded position pixel used when no adaptive padding is used is used
  • the decoding and filling device 22 fills the sampled values of the undecoded pixel points in the image according to the filling mode information parsed from the code stream during the decoding process.
  • the method may further include:
  • the sample values of the corresponding pixel points in the image are updated with the locally decoded recovery sample values of the encoded position pixel points in the current coded image, and the uncoded position pixel points in the image are re-imaged.
  • the sampled values are filled.
  • the method may further include:
  • the sampled value of the corresponding pixel in the image is updated with the recovered sample value of the decoded position pixel in the current decoded image, and the sampled value of the undecoded pixel in the image is re-sampled. Fill it up.
  • encoding blocks using the IBC mode in the inter-prediction type fragment and the intra-prediction type fragment are coded by different coding modes, which can improve coding efficiency. Therefore, the present application has strong industrial applicability.

Landscapes

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

Abstract

一种预测编、解码方法和相应的编、解码器和电子设备,所述预测编码方法包括:设置分片的类型;对帧间预测类型的分片编码时,将所述分片所在图像设置为所述分片的预测参考图像,对所述分片中采用帧内块复制IBC模式的编码块,使用第一编码方式进行编码;对帧内预测类型的分片编码时,对所述分片中采用IBC模式的编码块,使用不同于第一编码方式的第二编码方式进行编码。还提供了相应的解码方法及相应的编、解码器和电子设备,对帧间预测类型分片和帧内预测类型分片中采用IBC模式的编码块采用不同的编码方式进行编码,可以分别加以优化,提高了编码效率。还提供了一种图像填充方法和设备,用于对编码、解码时的参考图像未编码、解码单位进行填充。

Description

一种预测编、解码方法和相应的编、解码器和电子设备 技术领域
本发明涉及视频编解码领域,更具体地,涉及一种预测编、解码方法和相应的编、解码器和电子设备。
背景技术
正在制定的基于高性能视频编码(H.265/High Efficiency Video Coding,HEVC)标准扩展的屏幕内容编码(Screen Content Coding,SCC)标准中,采用了帧内块复制(Intra Block Copying,IBC)模式。与传统的使用当前图像内当前块边界处相邻块已恢复像素预测当前块内像素值的方法不同,IBC允许使用当前图像内已经恢复出的一个二维像素块作为当前块的预测块,同时,IBC使用预测块与当前块之间的相对偏移量来定位预测参考块,该偏移量称之为块复制矢量(Block copying Vector,BV)。
IBC与H.265/HEVC标准中帧间预测模式相似,其不同之处在于IBC使用当前图像中部分解码恢复的像素点作为预测参考,而帧间预测模式采用按解码顺序在当前图像之前已经解码恢复的图像中的像素作为预测参考。类比帧间预测模式,IBC可以使用相同或相似的块划分方法,IBC的BV信息可以使用与帧间预测模式的运动矢量(Motion Vector,MV)相同或相似的预测编码方法。
H.265/HEVC标准中,分片(slice)的类型包括帧间预测类型和帧内预测类型。基本概念上,帧间预测类型的分片指的是该分片中的编码块(或解码块)可以使用该分片所在图像或该分片所在图像之外的其他图像中的像素点采样值构造编码块(或解码块)的预测参考;帧内预测类型的分片指的是该分片中的编码块(或解码块)仅使用该分片所在图像中的像素点采样值构造编码块(或解码块)的预测参考。
考虑到IBC与H.265/HEVC已有帧间预测模式之间的相似性,为了避免对采用IBC模式的编码块定义一种全新的编、解码方法而带来的冗余, JCTVC-R0100和JCTVC-R0190均提出在SCC标准扩展中使用统一结构的IBC与帧间预测模式。JCTVC-R0100提出将当前解码图像添加到参考图像列表(reference picture list)的列表0(List 0)的最后一个位置,并将其标记为“长期参考图像(Long-term reference picture)”,这样可以使用已有帧间预测模式的块划分、MV预测编码方法对IBC的块划分和BV进行编码,同时使用帧间预测模式的语法组织方法将IBC的相关信息写入码流。JCTVC-R0190提出将IBC作为一种帧间预测模式来处理,在slice_type取值等于“2”的分片中,使用“帧间预测块”(即pred_mode_flag取值等于0)来表示IBC块;在slice_type取值等于“0”或“1”的分片中,使用“列表0参考图像索引值等于1的帧间预测块”(即pred_mode_flag取值等于0且ref_idx_l0取值等于1)来表示IBC块,这样,可以使用已有帧间预测模式的块划分、MV预测编码方法对IBC的块划分和BV进行编码,同时使用帧间预测模式的语法组织方法将IBC的相关信息写入码流。
上述方法可以实现了统一结构的IBC和帧间预测模式,可以直接将帧间预测模式上使用的预测块划分、运动信息编码等高效预测编码方法直接应用在IBC上,获得较大的编码效率的提升。尽管如此,本发明的发明人在研究中发现,上述方法存以下主要缺点:
第一,统一IBC与帧间预测模式的方法无法定义全帧内档次(All Intra Profile)。对于全帧内档次而言,视频序列的所有图像均使用帧内预测编码方法进行编码,不需要使用和构造参考图像列表。统一IBC与帧间预测模式的方法需要为全帧内档次增加参考图像列表,在档次定义以及假设参考解码器、一致性测试、码流工作点等多个方法增加针对额外的参考图像列表的相关说明,增加了全帧内档次的复杂度。在编码器设计上,无法直接复用已有的H.265/HEVC全帧内编码器的高层架构。
第二,即使对帧内编码图像,在IBC开启的情况下,仍需要构造和使用参考图像列表,因此,在使用IBC的情况下,对于随机接入图像,需要增加额外的对参考图像列表和解码图像缓冲区的操作。
第三,在统一IBC与帧间预测模式的方法的基础上,由于完全使用特殊帧间预测模式参数(如特定的参考图像)来声明IBC模式,因此,对IBC模 式的改进需要修改全部帧间预测模式参数的语法组织结构和声明方式,增加额外的条件判断,以区分处理IBC与帧间预测模式,这样增加了额外的处理复杂度。特别是,对帧内编码图像的IBC模式进行改进时,需要对从不用于帧内编码图像的帧间预测编码模式进行调整,增加相关条件判断及对应的处理流程。
第四,目前的统一IBC与帧间预测模式方法同时应用于帧内预测编码图像和帧间预测编码图像,这样就无法分别地针对帧内预测编码图像和帧间预测编码图像的特点对IBC模式进行改进和优化。
此外,在目前的预测编码和解码的过程中,预测参考图像中未编码和未解码位置像素点的采样值均用于构造IBC模式的参考块,因此,IBC模式参考块构造过程的性能还有待提升。
发明内容
以下是对本文详细描述的主题的概述。本概述并非是为了限制权利要求的保护范围。
为解决统一IBC与帧间预测模式带来的上述技术问题,本发明实施例提供的技术方案如下:
一种预测编码方法,应用于编码器,包括:
设置分片的类型;
对帧间预测类型的分片编码时,将所述分片所在图像设置为所述分片的预测参考图像,对所述分片中采用帧内块复制IBC模式的编码块,使用第一编码方式进行编码;
对帧内预测类型的分片编码时,对所述分片中采用IBC模式的编码块,使用不同于第一编码方式的第二编码方式进行编码。
可选地,
所述对帧间预测类型的分片编码时,将所述分片所在图像设置为所述分片的预测参考图像,包括:将所述分片所在图像插入预测参考图像列表,作 为所述分片的预测参考图像。
可选地,
所述对帧间预测类型的分片编码时,将所述分片所在图像设置为所述分片的预测参考图像,还包括:进行参考图像列表调整操作,调整所述分片所在图像在预测参考图像列表中的位置,并将参考图像列表调整操作相关的参数写入码流。
可选地,
对帧间预测类型的所述分片中采用IBC模式的编码块,使用第一编码方式进行编码,包括:使用帧间预测模式的模式参数编码方式编码IBC模式参数。
可选地,
所述使用帧间预测模式的模式参数编码方式编码IBC模式参数,包括:使用预测单元PU的运动信息编码方法编码IBC模式参数,编码的所述IBC模式参数包括以下参数中的至少一种:块划分、参考块指示矢量和参考图像索引。
可选地,
对帧内预测类型的所述分片中采用IBC模式的编码块,使用第二编码方式进行编码,包括:
在编码块直接编码IBC模式参数,编码的所述IBC模式参数包括以下参数中的至少之一种:块划分和参考块指示矢量。
可选地,
对帧内预测类型的所述分片中采用IBC模式的编码块,使用第二编码方式进行编码,还包括:
编码时使用预测参考图像列表,将所述分片所在图像放置在所述预测参考图像列表中的固定位置,不进行参考图像列表调整操作。
可选地,
所述在编码块直接编码IBC模式参数,包括:在编码单元CU直接编码IBC模式参数。
可选地,
所述在编码块直接编码IBC模式参数之前,还包括:编码IBC模式标识信息。
可选地,
将所述分片所在图像设置为所述分片的预测参考图像,包括:将所述分片所在图像直接作为所述分片的预测参考图像;
对帧间预测类型的所述分片中采用IBC模式的编码块,按照第一编码方式进行编码,包括:
使用编码单元(CU)编码IBC模式标识信息,使用预测单元(PU)编码IBC模式参数信息;或者
使用预测单元(PU)编码IBC模式标识信息和IBC模式参数信息。
可选地,
使用所述第一编码方式和/或第二编码方式对所述采用IBC模式的编码块进行编码,包括:编码时,对所述编码块的参考块中未编码位置像素点的采样值进行填充。
一种解码方法,应用于解码器,包括:
解析码流,获得分片类型信息;
对帧间预测类型的分片解码时,使用第一解码方式,将所述分片所在图像设置为所述分片的预测参考图像,并对所述分片中采用帧内块复制(IBC)模式的解码块进行解码;
对帧内预测类型的分片解码时,使用不同于第一解码方式的第二解码方式,对所述分片中采用IBC模式的解码块进行解码。
可选地,
所述使用第一解码方式,将所述分片所在图像设置为所述分片的预测参考图像,包括:将所述分片所在图像插入预测参考图像列表,作为所述分片的预测参考图像。
可选地,
所述使用第一解码方式,将所述分片所在图像设置为所述分片的预测参考图像,还包括:
解析码流,获得参考图像列表调整操作相关参数的取值;
根据所述相关参数的取值,进行参考图像列表调整操作,调整所述分片所在图像在预测参考图像列表中的位置。
可选地,
所述使用第一解码方式,对所述分片中采用IBC模式的解码块进行解码,包括:使用帧间预测模式的解码方式对所述分片中采用IBC模式的解码块进行解码,通过解析帧间预测模式的模式参数对应的比特字段,获得IBC模式参数。
可选地,
所述通过解析帧间预测模式的模式参数对应的比特字段,获得IBC模式参数,包括:通过解析预测单元(PU)及其中运动信息参数对应的比特字段,获得以下IBC模式参数中的至少一种:块划分、参考块指示矢量和参考图像索引。
可选地,
所述使用不同于第一编码方式的第二解码方式,对所述分片中采用IBC模式的解码块进行解码,包括:解析所述解码块中IBC模式参数对应的比特字段,获得以下IBC模式参数中的至少一种:块划分和参考块指示矢量。
可选地,
所述使用第二编码方式对所述分片中采用IBC模式的解码块进行解码, 还包括:
解码时使用预测参考图像列表,将所述分片所在图像放置在所述预测参考图像列表中的固定位置,不进行参考图像列表调整操作。
可选地,
解析所述解码块中IBC模式参数对应的比特字段,包括:解析编码单元CU中IBC模式参数对应的比特字段,获得IBC模式参数。
可选地,
解析所述解码块中IBC模式参数对应的比特字段之前,还包括:解析解码块中IBC模式标识信息对应的比特字段,获得IBC模式标识信息对应参数的取值。
可选地,
所述使用第一解码方式,将所述分片所在图像设置为所述分片的预测参考图像,包括:将所述分片所在图像直接作为所述分片的预测参考图像;
对帧间预测类型的所述分片中采用IBC模式的解码块,使用第一解码方式进行解码,包括:
解析CU中IBC模式标识信息对应的比特字段,获得IBC模式标识信息;解析PU中IBC模式参数对应的比特字段,获得IBC模式参数的取值;或者
解析PU中IBC模式标识信息和IBC模式参数对应的比特字段,获得IBC模式标识信息和IBC模式参数的取值。
可选地,
使用所述第一解码方式和/或第二解码方式对所述采用IBC模式的解码块解码,包括:解码时,对所述解码块的参考块中未解码位置像素点的采样值进行填充。
一种编码器,包括:
类型设置装置,设置为能够设置分片的类型;
第一编码装置,设置为对帧间预测类型的分片编码,编码时,将所述分片所在图像设置为所述分片的预测参考图像,对所述分片中采用帧内块复制IBC模式的编码块,使用第一编码方式进行编码;
第二编码装置,设置为对帧内预测类型的分片编码,编码时,对所述分片中采用IBC模式的编码块,使用不同于第一编码方式的第二编码方式进行编码。
可选地,
所述第一编码装置对帧间预测类型的分片编码时,将所述分片所在图像设置为所述分片的预测参考图像,包括:将所述分片所在图像插入预测参考图像列表,作为所述分片的预测参考图像。
可选地,
所述第一编码装置对帧间预测类型的分片编码时,将所述分片所在图像设置为所述分片的预测参考图像,还包括:进行参考图像列表调整操作,调整所述分片所在图像在预测参考图像列表中的位置,并将参考图像列表调整操作相关的参数写入码流。
可选地,
所述第一编码装置对帧间预测类型的所述分片中采用IBC模式的编码块,使用第一编码方式进行编码,包括:使用帧间预测模式的模式参数编码方式编码IBC模式参数。
可选地,
所述第一编码装置使用帧间预测模式的模式参数编码方式编码IBC模式参数,包括:使用预测单元PU的运动信息编码方法编码IBC模式参数,编码的所述IBC模式参数包括以下参数中的至少一种:块划分、参考块指示矢量和参考图像索引。
可选地,
所述第二编码装置对帧内预测类型的所述分片中采用IBC模式的编码块,使用第二编码方式进行编码,包括:在编码块直接编码IBC模式参数,编码的所述IBC模式参数包括以下参数中的至少之一种:块划分和参考块指示矢量。
可选地,
所述第二编码装置对帧内预测类型的所述分片中采用IBC模式的编码块,使用第二编码方式进行编码,还包括:
编码时使用预测参考图像列表,将所述分片所在图像放置在所述预测参考图像列表中的固定位置,不进行参考图像列表调整操作。
可选地,
所述第二编码装置在编码块直接编码IBC模式参数,包括:在编码单元CU直接编码IBC模式参数。
可选地,
所述第二编码装置在编码块直接编码IBC模式参数之前,还包括:编码IBC模式标识信息。
可选地,
所述第一编码装置将所述分片所在图像设置为所述分片的预测参考图像,包括:将所述分片所在图像直接作为所述分片的预测参考图像;
所述第一编码装置对帧间预测类型的所述分片中采用IBC模式的编码块,按照第一编码方式进行编码,包括:
使用编码单元(CU)编码IBC模式标识信息,使用预测单元(PU)编码IBC模式参数信息;或者
使用预测单元(PU)编码IBC模式标识信息和IBC模式参数信息。
可选地,
所述第一编码装置和/或所述第二编码装置对所述采用IBC模式的编码块进行编码,包括:编码时,对所述编码块的参考块中未编码位置像素点的采样值进行填充。
一种解码器,包括:
类型解析装置,设置为能够解析码流,获得分片类型信息;
第一解码装置,设置为对帧间预测类型的分片解码,解码时,使用第一解码方式,将所述分片所在图像设置为所述分片的预测参考图像,并对所述分片中采用帧内块复制(IBC)模式的解码块进行解码;
第二解码装置,设置为对帧内预测类型的分片解码,解码时,使用不同于第一解码方式的第二解码方式,对所述分片中采用IBC模式的解码块进行解码。
可选地,
所述第一解码装置对帧间预测类型的分片解码时,将所述分片所在图像设置为所述分片的预测参考图像,包括:将所述分片所在图像插入预测参考图像列表,作为所述分片的预测参考图像。
可选地,
所述第一解码装置使用第一解码方式,将所述分片所在图像设置为所述分片的预测参考图像,还包括:
解析码流,获得参考图像列表调整操作相关参数的取值;
根据所述相关参数的取值,进行参考图像列表调整操作,调整所述分片所在图像在预测参考图像列表中的位置。
可选地,
所述第一解码装置使用第一解码方式,对所述分片中采用IBC模式的解码块进行解码,包括:使用帧间预测模式的解码方式对所述分片中采用IBC模式的解码块进行解码,通过解析帧间预测模式的模式参数对应的比特字段, 获得IBC模式参数。
可选地,
所述第一解码装置通过解析帧间预测模式的模式参数对应的比特字段,获得IBC模式参数,包括:通过解析预测单元(PU)及其中运动信息参数对应的比特字段,获得以下IBC模式参数中的至少一种:块划分、参考块指示矢量和参考图像索引。
可选地,
所述第二解码装置使用不同于第一解码方式的第二解码方式,对所述分片中采用IBC模式的解码块进行解码,包括:解析所述解码块中IBC模式参数对应的比特字段,获得以下IBC模式参数中的至少一种:块划分和参考块指示矢量。
可选地,
所述第二解码装置使用第二解码方式对所述分片中采用IBC模式的解码块进行解码,还包括:
解码时使用预测参考图像列表,将所述分片所在图像放置在所述预测参考图像列表中的固定位置,不进行参考图像列表调整操作。
可选地,
所述第二解码装置解析所述解码块中IBC模式参数对应的比特字段,包括:解析编码单元CU中IBC模式参数对应的比特字段,获得IBC模式参数。
可选地,
所述第二解码装置解析所述解码块中IBC模式参数对应的比特字段之前,还包括:解析解码块中IBC模式标识信息对应的比特字段,获得IBC模式标识信息对应参数的取值。
可选地,
所述第一解码装置使用第一解码方式,将所述分片所在图像设置为所述分片的预测参考图像,包括:将所述分片所在图像直接作为所述分片的预测 参考图像;
所述第一解码装置使用第一解码方式,对帧间预测类型的所述分片中采用IBC模式的解码块进行解码,包括:
解析CU中IBC模式标识信息对应的比特字段,获得IBC模式标识信息;解析PU中IBC模式参数对应的比特字段,获得IBC模式参数的取值;或者
解析PU中IBC模式标识信息和IBC模式参数对应的比特字段,获得IBC模式标识信息和IBC模式参数的取值。
可选地,
所述第一解码装置和/或所述第二解码装置对所述采用IBC模式的解码块解码,包括:解码时,对所述解码块的参考块中未解码位置像素点的采样值进行填充。
一种电子设备,包括编码器和/或解码器,其中:
所述编码器采用如上所述的任一种编码器;
所述解码器采用如上所述的任一种解码器。
采用上述方案,对帧间预测类型分片和帧内预测类型分片中采用IBC模式的编码块采用不同的编码方式进行编码,可以提高编码效率,取得以下的一种或多种技术效果:
可以分别针对帧内预测编码图像和帧间预测编码图像对IBC模式进行改进和优化。对IBC模式的改进无需修改帧间预测模式参数的语法组织结构和声明方式,无需增加额外的条件判断。对帧内编码图像的IBC模式进行改进时,无需对从不用于帧内编码图像的帧间预测编码模式进行调整。
对全帧内档次,无需增加参考图像列表,在档次定义以及假设参考解码器、一致性测试、码流工作点等多个方法无需增加针对额外的参考图像列表的相关说明,简化了全帧内档次的复杂度。
对帧内编码图像,在IBC开启时,无需构造和使用参考图像列表,对于随机接入图像,无需增加额外的对参考图像列表和解码图像缓冲区的操作。
对于帧间预测编码图像,IBC模式可以采用与帧间预测模式一致的结构,具有统一结构带来的种种优点。
为提高编、解码的性能,本发明实施例还提供了以下图像填充方法及相应的电子设备。
一种图像填充方法,应用于预测编码和/或解码过程,包括:
确定对编码单位做预测编码和/或对解码单位做解码时作为参考的图像;
对所述图像中未编码和/或未解码位置像素点的采样值进行填充。
可选地,
对所述图像中未编码位置像素点的采样值进行填充,包括:
对所述编码单位进行编码之前,对所述图像中全部或部分未编码位置像素点的采样值进行填充,其中,所述图像中部分未编码位置像素点指当前编码单位及其相邻编码单位中的未编码位置像素点,或者指运动矢量或块复制矢量指向的预测块范围内的未编码位置像素点;
对所述图像中未解码位置像素点的采样值进行填充,包括:
对所述图像中全部或部分未解码位置像素点的采样值进行填充,其中,所述图像中部分未解码位置像素点指当前解码单位及其相邻解码单位中的未解码位置像素点,或者指运动矢量或块复制矢量指向的预测块范围内的未解码位置像素点。
可选地,
所述对图像中未编码位置像素点的采样值进行填充,包括:
将所述图像中未编码位置像素点的采样值设置为默认值;或者,
将所述图像中未编码位置像素点的采样值设置为指定像素点的采样值; 或者,
将所述图像中未编码位置像素点的采样值设置为已编码位置像素点的采样值经过滤波处理后的输出值;
所述对图像中未解码位置像素点的采样值进行填充,包括:
将所述图像中未解码位置像素点的采样值设置为默认值;或者,
将所述图像中未解码位置像素点的采样值设置为指定像素点的采样值;或者,
将所述图像中未解码位置像素点的采样值设置为已解码位置像素点的采样值经过滤波处理后的输出值。
可选地,
在预测编码过程中,对所述图像中未编码位置像素点的采样值进行填充之后,还包括:将相应的填充方式信息写入码流,所述填充方式信息包括以下信息中的至少一种:
是否使用自适应填充的指示信息;
使用自适应填充时,所使用的填充方式的指示信息及相关参数;
不使用自适应填充时,所使用的未编码位置像素点的采样值的填充值;
在解码过程中,根据从码流中解析出的所述填充方式信息对所述图像中未解码位置像素点的采样值进行填充。
可选地,
对所述图像中未编码位置像素点的采样值进行填充之后,还包括:在所述编码单位编码完成后,以当前编码图像中已编码位置像素点的本地解码恢复采样值更新所述图像中相应像素点的采样值,并重新对所述图像中未编码位置像素点的采样值进行填充。
可选地,
对所述图像中未解码位置像素点的采样值进行填充之后,还包括:在所 述解码单位解码完成后,以当前解码图像中已解码位置像素点的恢复采样值更新所述图像中相应像素点的采样值,并重新对所述图像中未解码位置像素点的采样值进行填充。
一种电子设备,包括编码器和/或解码器,其中:
所述编码器包括:
确定装置,设置为能够确定对编码单位做预测编码时作为参考的图像;
对所述图像中未编码和/或未解码位置像素点的采样值进行填充。
编码填充装置,设置为能够对所述图像中未编码位置像素点的采样值进行填充;
所述解码器包括:
确定装置,设置为能够确定对解码单位做解码时作为参考的图像;
解码填充装置,设置为能够对所述图像中未解码位置像素点的采样值进行填充。
可选地,
所述编码填充装置对所述图像中未编码位置像素点的采样值进行填充,包括:
对所述图像中全部或部分未编码位置像素点的采样值进行填充;其中,所述图像中部分未编码位置像素点指当前编码单位及其相邻编码单位中的未编码位置像素点,或者指运动矢量或块复制矢量指向的预测块范围内的未编码位置像素点;
所述解码填充装置对所述图像中未解码位置像素点的采样值进行填充,包括:
对所述解码单位进行解码之前,对所述图像中全部或部分未解码位置像素点的采样值进行填充;其中,所述图像中部分未解码位置像素点指当前解 码单位及其相邻解码单位中的未解码位置像素点,或者指运动矢量或块复制矢量指向的预测块范围内的未解码位置像素点。
可选地,
所述编码填充装置对图像中未编码位置像素点的采样值进行填充,包括:
将所述图像中未编码位置像素点的采样值设置为默认值;或者,
将所述图像中未编码位置像素点的采样值设置为指定像素点的采样值,或者,
将所述图像中未编码位置像素点的采样值设置为已编码位置像素点的采样值经过滤波处理后的输出值;
所述解码填充装置对图像中未解码位置像素点的采样值进行填充,包括:
将所述图像中未解码位置像素点的采样值设置为默认值;或者,
将所述图像中未解码位置像素点的采样值设置为指定像素点的采样值,或者,
将所述图像中未解码位置像素点的采样值设置为已解码位置像素点的采样值经过滤波处理后的输出值。
可选地,
所述编码填充装置对所述图像中未编码位置像素点的采样值进行填充之后,还包括:将相应的填充方式信息写入码流,所述填充方式信息包括以下信息中的至少一种:
是否使用自适应填充的指示信息;
使用自适应填充时,所使用的填充方式的指示信息及相关参数;
不使用自适应填充时,所使用的未编码位置像素点的采样值的填充值;
所述解码填充装置在解码过程中,根据从码流中解析出的所述填充方式信息对所述图像中未解码位置像素点的采样值进行填充。
可选地,
所述编码填充装置对所述图像中未编码位置像素点的采样值进行填充之后,还包括:
在所述编码单位编码完成后,以当前编码图像中已编码位置像素点的本地解码恢复采样值更新所述图像中相应像素点的采样值,并重新对所述图像中未编码位置像素点的采样值进行填充。
可选地,
所述解码填充装置对所述图像中未解码位置像素点的采样值进行填充之后,还包括:
在所述解码单位解码完成后,以当前解码图像中已解码位置像素点的恢复采样值更新所述图像中相应像素点的采样值,并重新对所述图像中未解码位置像素点的采样值进行填充。
通过对预测参考图像中未编码和/或未解码位置像素点的采样值进行填充,可以提高预测的准确性,从而提升编码、解码的性能。
在阅读并理解了附图和详细描述后,可以明白其他方面。
附图概述
图1是本发明实施例一编码方法的总体流程图;
图2、图3是本发明实施例一编码方法的子流程图;
图4是本发明实施例一编码器的模块图;
图5是本发明实施例二解码方法的总体流程图;
图6、图7是本发明实施例二解码方法的子流程图;
图8是本发明实施例二解码器的模块图;
图9是本发明实施例四填充方法的流程图;
图10、11是本发明实施例四电子设备中编码器和解码器的模块图。
本发明的较佳实施方式
为使本发明要解决的技术问题、技术方案和优点更加清楚,下面将结合附图及具体实施例进行详细描述。
在H.265/HEVC标准扩展的SCC标准中,分片(Slice)是一帧图像中的独立解码单位,一帧图像包含一个或多个分片,一个分片又包含一个或多个编码块。文中,编码块是一个以下块单元中的至少之一:编码树块(Coding Tree Unit,CTU)、编码单元(Coding Unit)、预测单元(Prediction Unit,PU)、变换单元(Transform Unit,TU)。解码时,则将上述块单元称为解码块。
H.265/HEVC标准中,在分片层,分片类型包括帧内预测类型和帧间预测类型两类。基本概念上,帧间预测类型的分片指的是该分片中的编码块(或解码块)可以使用该分片所在图像或该分片所在图像之外的其他图像中的像素点采样值构造编码块(或解码块)的预测参考;帧内预测类型的分片指的是该分片中的编码块(或解码块)仅使用该分片所在图像中的像素点采样值构造编码块(或解码块)的预测参考。在H.265/HEVC标准扩展的SCC标准中,帧间预测类型的分片可以是slice_type的取值等于“0”或“1”的分片,此类分片中的编码块/解码块可以使用IBC模式、帧间预测模式和传统帧内预测模式。帧内预测类型的分片可以是slice_type的取值等于“0”或“1”且其中的编码块/解码块使用IBC模式、传统帧内预测模式的分片,或者slice_type的取值等于“2”且其中的编码块/解码块使用传统帧内预测模式的分片。
本发明主要针对IBC模式的编码块/解码块如何编码/解码进行研究,针对帧间预测类型分片和帧内预测类型分片中IBC模式的编码块/解码块,按照不同的编码方式进行编码/解码。
实施例一
本实施例提供一种预测编码方法及相应的编码器。
本实施例的预测编码方法,对一分片的编码过程如图1所示,包括:
步骤110,为当前编码的分片设置分片类型;
编码器可以根据预先设定的预测结构信息,设置图像中分片的分片类型,并将设置的分片类型信息写入码流。分片类型信息可以由分片划分头信息(Slice Segment Header)中的slice_type字段来指示。
步骤120,如设置的分片类型是帧间预测类型,执行步骤130,否则执行步骤160;
如设置的分片类型是帧间预测类型,则对当前编码分片使用帧间预测类型编码。
步骤130,将所述分片所在图像设置为所述分片的预测参考图像;
本实施例中,是将所述分片所在图像插入预测参考图像列表,作为所述分片自身的预测参考图像。
编码器可以将当前编码图像放置在预测参考图像列表中的固定位置,也可以自适应地调整当前编码图像在预测参考图像列表中的位置。编码器可以设置、使用参考图像列表的调整信息(即参考图像列表调整操作相关的参数)来调整当前编码图像在参考图像列表中的放置位置,并将参考图像列表的调整信息写入码流。插入过程可以分两步完成,第一步先将当前编码图像写到一临时列表中的固定位置,第二步将临时列表的内容写到预测参考图像列表中并调整当前编码图像的位置。但本发明也可以将当前编码图像直接插入到预测参考图像列表,同时对当前编码图像的位置进行调整,不再放置在默认的固定位置。
步骤140,对所述预测参考图像中全部或部分未编码位置像素点的采样值进行填充;
该步骤可选。为了提高预测的准确性,提升编码的性能,本实施例对预测参考图像进行填充处理。
编码器可以为预测参考图像中全部未编码位置的像素点设置采样值;也可以只为部分未编码位置像素点的采样值进行填充。其中,部分未编码位置 像素点的采样值可以指当前编码块及其相邻编码块中的未编码位置像素点,或者指MV或BV指向的预测块范围内的未编码位置像素点。
具体填充方式上,可以分为不使用自适应填充和使用自适应填充两大类。不使用自适应填充的一类方式,如可以将预测参考图像中未解码位置像素点的采样值设置为默认预设值(即默认值),例如,最大容许采样值的1/2、0值和最大值等。使用自适应填充的一类方式,如可以将预测参考图像中未编码位置像素点的采样值设置为最近编码的编码块像素点采样值的均值或指定像素点的采样值,或设置为各列方向上最后一个已编码像素点的采样值。又如,将预测参考图像中未编码位置像素点的采样值设置为外插值滤波器的输出值,该外插值滤波器的输入是已编码像素点的采样值,该滤波器可以是沿某个指定方向(如列方向)的一维滤波器,也可以是二维滤波器;所述滤波器可以是使用固定系数的外插值滤波器,也可以是自适应滤波器;编码器将滤波器形状、系数等参数信息写入码流。编码器可以使用编码器优化模块(如常用的基于率失真准则设计的编码器控制模块)确定编码过程中所使用的具体参数。
编码器和解码器之间可以约定使用的填充方式,也可以将使用的填充方式信息写入码流,所述填充方式信息可以包括以下信息中的至少一种:
是否使用自适应填充的指示信息;
使用自适应填充时,所使用的填充方式的指示信息及相关参数;
不使用自适应填充时,所使用的未编码位置像素点的采样值的填充值;
编码器可以将上述填充方式信息写入码流中的以下一个或多个信息单元:参数集、分片头信息、编码树块(CTU)和CU。在解码过程中,可以根据从码流中解析出的所述填充方式信息对所述预测参考图像中未解码位置像素点的采样值进行填充。
步骤150,对帧间预测类型的分片中的编码块依次编码,其中,对所述分片中采用IBC模式的编码块,按照第一编码方式进行编码,结束;
步骤160,对帧内预测类型的分片中的编码块依次编码,其中,对所述 分片中采用IBC模式的编码块,按照不同于第一编码方式的第二编码方式进行编码。
在步骤160之前或该步骤执行过程中,编码器也可以对帧内预测类型分片所在图像(缓存的图像)进行填充,填充方式可以采用步骤140中描述的各种方式。
上述步骤150中,编码器会依次编码分片中各CTU的码流,对每一CTU,依次编码CTU中各分块(包括CU、PU、TU中的至少之一)的码流。对帧间预测类型的分片中的当前编码块编码时,如图3所示,又可以分为以下几个步骤:
步骤1501,确定帧间预测类型的分片中当前编码块采用的预测模式;
编码器可以使用编码器优化模块确定对当前编码块使用普通的帧内预测模式、IBC模式或帧间预测模式。
步骤1503,如采用IBC模式,执行步骤1505,否则,执行步骤1509;
步骤1505,对帧间预测类型分片中采用IBC模式的编码块,使用第一编码方式进行编码;
使用第一编码方式进行编码,可以包括:使用帧间预测模式的模式参数编码方式编码IBC模式参数。例如,可以使用预测单元PU的运动信息编码方法编码IBC模式参数,编码的所述IBC模式参数包括以下参数中的至少一种:块划分、参考块指示矢量和参考图像索引。本实施例采用IBC模式的编码块,可以使用帧间预测模式标识,而不编码专门的IBC模式标识信息。解码器根据帧间预测模式标识和指向其自身所在图像的参考图像索引,可以确定其为IBC模式的解码块。
本实施例对IBC的预测块划分方式没有限定,可以是传统的矩形、正方形块划分方式,也可以是Nx1或1xN的串划分。串匹配(String Matching)方法是IBC使用Nx1或1xN的串划分方式时的一个特例。参考块指示矢量表示参考块与当前编码块之间的相对位置偏移,即BV。对于参考块指示矢量, 可以直接对其进行编码;也可以使用参考块指示矢量参数表示参考块指示矢量,并对所述参考块指示矢量参数进行编码。参考块指示矢量参数可以包括以下参数至少之一:BV预测值索引序号、BV预测差。可选择地,编码器可以将BV的动态范围限定在当前编码块所在分片的范围内。
编码器根据IBC模式参数构造当前编码块中像素点采样值的预测值。编码器可使用一个或多个BV指向的参考块,按照IBC模式块划分方式,将所述一个或多个参考块组合成与当前编码块相同形状的预测块,将该预测块中包含的像素点采样值作为当前块的预测值,或者将该所述预测块中的像素点采样值进行加权处理后作为IBC模式参考块。
步骤1507,对编码块编码完成后,以该编码块当前编码图像中已编码位置像素点的本地解码恢复采样值,更新所述预测参考图像中相应像素点的采样值;
本步骤中,在更新所述预测参考图像中相应像素点的采样值之后,还可以采用相同的填充方式对所述预测参考图像中未编码位置像素点的采样值进行重新填充。
步骤1509,对帧间预测类型分片中采用其他模式的编码块,按照标准规定的编码方式进行编码。
帧间预测类型分片中还可能存在帧间预测模式的编码块和普通帧内预测模式的编码块,这些编码块的编码方法遵循标准中的规定即可。
在本实施例的一个变例中,对于帧间预测类型的分片,将分片所在图像直接作为所述分片的预测参考图像,不再插入预测参考图像列表。而对分片中采用IBC模式的编码块使用第一编码方式进行编码,可以包括:使用编码单元(CU)编码IBC模式标识信息,使用预测单元(PU)编码IBC模式参数信息;或者使用预测单元(PU)编码IBC模式标识信息和IBC模式参数信息。
步骤160中,编码器会依次编码分片中各CTU的码流,对每一CTU, 依次编码CTU中各分块的码流。对帧内预测类型的分片中的当前编码块编码时,如图4所示,又可以分为以下几个步骤:
步骤1601,确定帧内预测类型的分片中当前编码块采用的预测模式;
编码器可以使用编码器优化模块确定对当前编码块使用普通的帧内预测模式或IBC模式。
步骤1603,如确定采用IBC模式,执行步骤1605,否则,执行步骤1609;
步骤1605,对帧内预测类型分片中采用IBC模式的编码块,使用第二编码方式进行编码;
使用第二编码方式进行编码,可以包括:在编码块直接编码IBC模式参数,编码的所述IBC模式参数包括以下参数中的至少之一种:块划分和参考块指示矢量。例如可以在编码单元CU直接编码IBC模式参数。在编码块直接编码IBC模式参数之前,可以编码IBC模式标识信息,可使用CU编码IBC模式标识信息,但不局限于此,也可以使用PU编码IBC模式标识信息。IBC模式标识信息可以是直接标识“当前编码块使用IBC模式”,如使用一个标志位;也可以是隐含标识IBC模式,例如使用相关信息的组合隐含标识IBC模式,这些相关信息的组合指示了:“以当前分片所在图像中某个与当前编码块同形状和大小的区域中包含的像素点采样值,作为当前编码块中待编码像素点采样值的预测值”。使用第二编码方式进行编码时,可以使用预测参考图像列表,编码器将所述分片所在图像放置在所述预测参考图像列表中的固定位置,不进行参考图像列表调整操作,即不对所述分片所在图像在预测参考图像列表中的位置进行自适应调整,也不向包含使用第二编码方式编码的编码块的分片对应的码流中写入参考图像列表中图像位置自适应调整操作相关的参数信息。
步骤1607,对编码块编码完成后,以该编码块当前编码图像中已编码位置像素点的本地解码恢复采样值,更新所述分片所在图像中相应像素点的采样值,结束。
在更新所述分片所在图像中相应像素点的采样值之后,还可以采用相同的填充方式对所述分片所在图像中未编码位置像素点的采样值重新填充。
步骤1609,对帧内预测类型分片中采用其他模式的编码块,按照标准规定的编码方式进行编码;
帧间预测类型分片中还可能存在普通帧内预测模式的编码块,这些编码块的编码方法遵循标准中的规定即可。
上述方法中,使用所述第一编码方式和/或第二编码方式对所述采用IBC模式的编码块进行编码,可以包括:编码时,对所述编码块的参考块中未编码位置像素点的采样值进行填充。
相应地,如图4所示,本实施例提供的编码器包括:
类型设置装置10,设置为能够设置分片的类型;
第一编码装置20,设置为对帧间预测类型的分片编码,编码时,将所述分片所在图像设置为所述分片的预测参考图像,对所述分片中采用帧内块复制IBC模式的编码块,使用第一编码方式进行编码;
第二编码装置30,设置为对帧内预测类型的分片编码,编码时,对所述分片中采用IBC模式的编码块,使用不同于第一编码方式的第二编码方式进行编码。
上述第一编码装置20对帧间预测类型的分片编码时,将所述分片所在图像设置为所述分片的预测参考图像,可以包括:将所述分片所在图像插入预测参考图像列表,作为所述分片的预测参考图像。可选地,编码器可以进行参考图像列表调整操作,调整所述分片所在图像在预测参考图像列表中的位置,并将参考图像列表调整操作相关的参数写入码流。
上述第一编码装置20对帧间预测类型的所述分片中采用IBC模式的编码块,使用第一编码方式进行编码,可以包括:使用帧间预测模式的模式参数编码方式编码IBC模式参数。
上述第一编码装置20使用帧间预测模式的模式参数编码方式编码IBC模式参数,可以包括:使用预测单元PU的运动信息编码方法编码IBC模式参数,编码的所述IBC模式参数包括以下参数中的至少一种:块划分、参考块 指示矢量和参考图像索引。
上述第二编码装置30对帧内预测类型的所述分片中采用IBC模式的编码块,使用第二编码方式进行编码,可以包括:在编码块直接编码IBC模式参数,编码的所述IBC模式参数包括以下参数中的至少之一种:块划分和参考块指示矢量。使用第二编码方式进行编码,还包括:编码时使用预测参考图像列表,将所述分片所在图像放置在所述预测参考图像列表中的固定位置,不进行参考图像列表调整操作。
上述第二编码装置30在编码块直接编码IBC模式参数,可以包括:在编码单元CU直接编码IBC模式参数。
上述所述第二编码装置还可以包括:编码IBC模式标识信息。IBC模式标识信息可以是直接标识“当前编码块使用IBC模式”,也可以是隐含标识IBC模式,例如使用相关信息的组合隐含标识IBC模式,这些相关信息的组合指示了:“以当前分片所在图像中某个与当前编码块同形状和大小的区域中包含的像素点采样值,作为当前编码块中待编码像素点采样值的预测值”。
上述第一编码装置和/或所述第二编码装置对所述采用IBC模式的编码块进行编码,可以包括:编码时,对所述编码块的参考块中未编码位置像素点的采样值进行填充。
作为本实施例的一个变例。对于帧间预测类型的分片,第一编码装置20在将所述分片所在图像设置为所述分片的预测参考图像时,可以将所述分片所在图像直接作为所述分片的预测参考图像。而第一编码装置20对帧间预测类型的所述分片中采用IBC模式的编码块,按照第一编码方式进行编码,可以使用编码单元(CU)编码IBC模式标识信息,使用预测单元(PU)编码IBC模式参数信息;或者,使用预测单元(PU)编码IBC模式标识信息和IBC模式参数信息。
实施例二
本实施例提供一种与实施例一编码方法和编码器相对应的解码方法及相应的解码器。
本实施例的解码方法,应用于解码器,其对一分片的解码过程如图5所示,包括:
步骤210,解析分片层码流,获得当前解码分片的分片类型信息;
分片类型信息指的是分片划分头信息(Slice Segment Header)中由slice_type字段给出的分片类型信息。
步骤220,如果分片类型是帧间预测类型分片,则执行步骤230;否则,执行步骤260;
分片类型是帧间预测类型分片,意味着对当前编码分片使用帧间预测类型解码。
步骤230,使用第一解码方式,将所述分片所在图像设置为所述分片的预测参考图像;
本实施例中,解码器构造参考图像列表,将所述分片所在图像插入参考图像列表,作为所述分片的预测参考图像。解码器可将所述分片所在图像放置在参考图像列表中的固定位置,也可自适应地调整当前解码图像在参考列表中的位置。解码器解析码流,获得参考图像列表调整信息(即参考图像列表调整操作的相关参数),根据所述相关参数,进行参考图像列表调整操作,调整当前解码图像在预测参考图像列表中的放置位置。
步骤240,对所述预测参考图像中全部或部分未编码位置像素点的采样值进行填充;
该步骤可选。为了提高预测的准确性,提升编码的性能,本实施例还对预测参考图像进行填充处理。
解码器可以为预测参考图像中全部未解码位置的像素点设置采样值;也可以只为部分未解码位置像素点的采样值进行填充。其中,部分未解码位置像素点的采样值可以指当前解码块及其相邻解码块中的未解码位置像素点,或者指MV或BV指向的预测块范围内的未编码位置像素点。
在具体填充方式上,可以使用步骤140中描述的几种填充方式,这里不再赘述。如编码器将使用的填充方式信息写入码流,则解码器可以根据从码流中解析出的填充方式信息对预测参考图像中未解码位置像素点的采样值进行填充。
步骤250,对帧间预测类型分片中的解码块依次解码,其中,使用第一解码方式对所述分片中采用IBC模式的解码块进行解码,结束;
步骤260,对帧内预测类型分片中的解码块依次解码,其中,使用不同于第一解码方式的第二解码方式,对所述分片中采用IBC模式的解码块进行解码。
另,在步骤260之前,解码器也可以对帧内预测类型分片所在图像(缓存的图像)进行填充,填充方式可以采用步骤240中描述的各种方式。
上述步骤250中,解码器会依次解析分片中各CTU的码流,对每一CTU,依次解析CTU中各分块(包括CU、PU、TU中的至少之一)的码流。对帧间预测类型分片中的当前解码块解码时,如图6所示,包括:
步骤2501,确定帧间预测类型的分片中当前解码块采用的预测模式;
“解码方式”包括模式相关参数在码流里面的表示方法和编码位置。在帧间预测类型的分片中,对于使用参考图像索引隐含标识IBC模式的情况,在解析到参考图像索引时才能判断出是否是IBC模式的解码块,此时IBC模式参数中块划分方式、参考图像索引序号已经获得。如果IBC模式在帧间预测类型分片中使用“先标志(flag)后参数”的“显式”码流组织方式,解码器可以先确定是一个IBC模式的解码块再对相关模式参数解码。其中的flag可以是IBC模式标识。
步骤2503,如采用IBC模式,执行步骤2505,如不采用IBC模式,执行步骤2509;
步骤2505,使用第一解码方式对帧间预测类型分片中采用IBC模式的解码块进行解码;
本实施例使用帧间预测模式的解码方式对所述分片中采用IBC模式的解码块进行解码,通过解析帧间预测模式的模式参数对应的比特字段,获得IBC模式参数。例如,可以通过解析预测单元(PU)及其中运动信息参数对应的比特字段,获得以下IBC模式参数中的至少一种:块划分、参考块指示矢量和参考图像索引。
解码器根据IBC模式参数构造当前解码块中采样点取值的预测值。
步骤2507,对解码块解码完成后,以该解码块当前解码图像中已解码位置像素点的恢复采样值更新所述预测参考图像中相应像素点的采样值,结束;
本步骤更新所述预测参考图像中相应像素点的采样值之后,还可以采用相同的填充方式对所述预测参考图像中未解码位置像素点的采样值进行重新填充。
步骤2509,对帧间预测类型分片中采用其他模式的解码块,按照标准规定的解码方式进行解码。
帧间预测类型分片中还可能存在帧间预测模式的解码块和普通帧内预测模式的解码块,这些解码块的解码方法遵循标准中的规定即可。
在本实施例的一个变例中,对于帧间预测类型的分片,使用第一解码方式,将所述分片所在图像设置为所述分片的预测参考图像时,可以将所述分片所在图像直接作为所述分片的预测参考图像。对帧间预测类型的所述分片中采用IBC模式的解码块,使用第一解码方式进行解码,包括:
解析CU中IBC模式标识信息对应的比特字段,获得IBC模式标识信息,解析PU中IBC模式参数对应的比特字段,获得IBC模式参数的取值;或者
解析PU中IBC模式标识信息和IBC模式参数对应的比特字段,获得IBC模式标识信息和IBC模式参数的取值。
步骤260中,解码器会依次解码分片中各CTU的码流,对每一CTU,依次解码CTU中各分块的码流。对帧内预测类型分片中的当前解码块解码时,如图7所示,包括:
步骤2601,确定帧内预测类型的分片中当前解码块采用的预测模式;
本步骤中,可以通过解析解码块中IBC模式标识信息对应的比特字段,获得IBC模式标识信息对应参数的取值。
例如,对应于实施例一中所述的编码器在码流中标识IBC模式的方法,解码器通过直接解析码流获得IBC模式标识信息的方法,即解析码流中直接标识“当前解码块使用IBC模式”的标识信息对应的字段;或者,解码器通过其他已解析的相关信息组合,该相关信息组合隐含标识了“当前解码块使用IBC模式”,例如,一种隐含标识IBC模式的组合信息指示了“以当前分片所在图像中某个与当前解码块同形状和大小的区域中包含的像素点采样值作为当前解码块中待编码像素点采样值的预测值”。
步骤2603,如确定采用IBC模式,执行步骤2605,如不采用IBC模式,执行步骤2609;
步骤2605,使用不同于第一编码方式的第二解码方式对帧内预测类型分片中采用IBC模式的解码块进行解码;
本实施例中,使用第二解码方式对所述分片中采用IBC模式的解码块进行解码,包括:解析所述解码块中IBC模式参数对应的比特字段,获得以下IBC模式参数中的至少一种:块划分和参考块指示矢量。例如,解析编码单元CU中IBC模式参数对应的比特字段,获得IBC模式参数。在使用第二解码方式解码时,解码器可以使用预测参考图像列表,将所述分片所在图像放置在所述预测参考图像列表中的固定位置,但不进行参考图像列表调整操作,即不对参考图像列表中的图像位置进行自适应调整。同时,接收到的包含使用第二解码方式进行解码的当前解码块的分片对应的码流中,不存在用于执行参考图像列表中的图像进行自适应位置调整的指示信息。
步骤2607,对解码块解码完成后,以该解码块当前解码图像中已解码位置像素点的恢复采样值更新所述分片所在图像中相应像素点的采样值,结束。
在更新所述分片所在图像中相应像素点的采样值之后,还可以采用相同的填充方式对所述分片所在图像中未编码位置像素点的采样值重新填充。
步骤2609,对帧内预测类型分片中采用其他模式的解码块,按照标准规定的解码方式进行解码;
帧内预测类型分片中还可能存在普通帧内预测模式的解码块,这些解码块的解码方法遵循标准中的规定即可。
相应地,如图8所示,本实施例提供的解码器包括:
类型解析装置50,设置为能够解析码流,获得分片类型信息;
第一解码装置60,设置为对帧间预测类型的分片解码,解码时,使用第一解码方式,将所述分片所在图像设置为所述分片的预测参考图像,并对所述分片中采用帧内块复制(IBC)模式的解码块进行解码;
第二解码装置70,设置为对帧内预测类型的分片解码,解码时,使用不同于第一解码方式的第二解码方式,对所述分片中采用IBC模式的解码块进行解码。
上述第一解码装置60对帧间预测类型的分片解码时,将所述分片所在图像设置为所述分片的预测参考图像,可以包括:将所述分片所在图像插入预测参考图像列表,作为所述分片的预测参考图像。解码器使用第一解码方式,将所述分片所在图像设置为所述分片的预测参考图像,还可以包括:解析码流,获得参考图像列表调整信息(即参考图像列表调整操作的相关参数);根据所述相关参数,进行参考图像列表调整操作,对当前解码图像在参考图像列表中的位置进行调整。
上述第一解码装置60使用第一解码方式,对所述分片中采用IBC模式的解码块进行解码,可以包括:使用帧间预测模式的解码方式对所述分片中采用IBC模式的解码块进行解码,通过解析帧间预测模式的模式参数对应的比特字段,获得IBC模式参数。
上述第一解码装置60通过解析帧间预测模式的模式参数对应的比特字段,获得IBC模式参数,可以包括:通过解析预测单元(PU)及其中运动信息参数对应的比特字段,获得以下IBC模式参数中的至少一种:块划分、参 考块指示矢量和参考图像索引。
上述第二解码装置70使用不同于第一解码方式的第二解码方式,对所述分片中采用IBC模式的解码块进行解码,可以包括:解析所述解码块中IBC模式参数对应的比特字段,获得以下IBC模式参数中的至少一种:块划分和参考块指示矢量。使用第二解码方式进行解码时,可以使用预测参考图像列表,将所述分片所在图像放置在所述预测参考图像列表中的固定位置,但解码器不对参考图像列表中图像的位置进行自适应调整。
上述第二解码装置70解析所述解码块中IBC模式参数对应的比特字段,可以包括:解析编码单元CU中IBC模式参数对应的比特字段,获得IBC模式参数。
上述第二解码装置70解析所述解码块中IBC模式参数对应的比特字段之前,还可以包括:解析解码块中IBC模式标识信息对应的比特字段,获得IBC模式标识信息对应参数的取值。需要说明的是,码流中,IBC模式标识信息可以是直接标识“当前解码块使用IBC模式”,也可以是隐含标识IBC模式,例如,相关信息组合指示了“以当前分片所在图像中某个与当前解码块同形状和大小的区域中包含的像素点作为当前解码块中待解码像素采样值的预测值”时,该相关信息组合可隐含标识IBC模式。
上述第一解码装置和/或所述第二解码装置对所述采用IBC模式的解码块解码,可以包括:解码时,对所述解码块的参考块中未解码位置像素点的采样值进行填充。
作为本实施例的一个变例,对于帧间预测类型的分片,第一解码装置60使用第一解码方式,将所述分片所在图像设置为所述分片的预测参考图像时,可以将所述分片所在图像直接作为所述分片的预测参考图像。第一解码装置60使用第一解码方式,对帧间预测类型的所述分片中采用IBC模式的解码块进行解码时,可以包括:解析CU中IBC模式标识信息对应的比特字段,获得IBC模式标识信息;解析PU中IBC模式参数对应的比特字段,获得IBC模式参数的取值;或者,解析PU中IBC模式标识信息和IBC模式参数对应 的比特字段,获得IBC模式标识信息和IBC模式参数的取值。
实施例三:
本实施例提供一种电子设备,包括编码器和/或解码器,其中,所述电子设备可使用实施例一的编码器来产生视频码流;和/或,使用实施例二中的解码器来解码视频码流。
本实施例的电子设备可以是视频通信应用中相关码流生成设备和接收播放设备,例如,手机、计算机、服务器、机顶盒、便携式移动终端、数字摄像机,电视广播系统设备等。
实施例四
本实施例提供一种图像填充方法,应用于预测编码和/或解码过程,其流程如图9所示,包括:
步骤310,确定对编码单位做预测编码和/或对解码单位做解码时作为参考的图像;
此处的编码单位可以是前述实施例中的编码块但不局限于此,编码块采用的模式也不局限于任何一种,可以是IBC模式,帧间预测模式、普通帧内预测模式等等。此处作为参考的图像,可以是前述的预测参考图像,分片所在图像等,但本发明也不局限于此。
步骤320,对所述图像中未编码和/或未解码位置像素点的采样值进行填充。
对所述图像中未编码位置像素点的采样值进行填充,所述未编码位置像素点可以是图像中没有编码的像素点,也可以是图像边界外的像素点包括:
对所述编码单位进行编码之前,对所述图像中全部或部分未编码位置像素点的采样值进行填充,其中,所述图像中部分未编码位置像素点指当前编码单位及其相邻编码单位中的未编码位置像素点,或者指运动矢量或块复制 矢量指向的预测块范围内的未编码位置像素点;
具体填充方式上,可以分为不使用自适应填充和使用自适应填充两大类。不使用自适应填充的一类方式,如可以将预测参考图像中未解码位置像素点的采样值设置为默认预设值,例如,最大容许采样值的1/2、0值和最大值等。使用自适应填充的一类方式,如可以将预测参考图像中未编码位置像素点的采样值设置为最近编码的编码块像素点采样值的均值或指定像素点的采样值,或设置为各列方向上最后一个已编码像素点的采样值。又如,将预测参考图像中未编码位置像素点的采样值设置为外插值滤波器的输出值,该外插值滤波器的输入是已编码像素点的采样值,该滤波器可以是沿某个指定方向(如列方向)的一维滤波器,也可以是二维滤波器;所述滤波器可以是使用固定系数的外插值滤波器,也可以是自适应滤波器;编码器将滤波器形状、系数等参数信息写入码流。编码器可以使用编码器优化模块(如常用的基于率失真准则设计的编码器控制模块)确定编码过程中所使用的具体参数。
对所述图像中未解码位置像素点的采样值进行填充,包括:
对所述解码单位进行解码之前,对所述图像中全部或部分未解码位置像素点的采样值进行填充,其中,所述图像中部分未解码位置像素点指当前解码单位及其相邻解码单位中的未解码位置像素点,或者指运动矢量或块复制矢量指向的预测块范围内的未解码位置像素点。
具体填充方式上,可以分为不使用自适应填充和使用自适应填充两大类。不使用自适应填充的一类方式,如可以将预测参考图像中未解码位置像素点的采样值设置为默认预设值,例如,最大容许采样值的1/2、0值和最大值等。使用自适应填充的一类方式,如可以将预测参考图像中未编码位置像素点的采样值设置为最近编码的编码块像素点采样值的均值或指定像素点的采样值,或设置为各列方向上最后一个已编码像素点的采样值。又如,将预测参考图像中未编码位置像素点的采样值设置为外插值滤波器的输出值,该外插值滤波器的输入是已编码像素点的采样值,该滤波器可以是沿某个指定方向(如列方向)的一维滤波器,也可以是二维滤波器;所述滤波器可以是使用固定系数的外插值滤波器,也可以是自适应滤波器;解码器可通过解析码流获得将滤波器形状、系数等参数信息。
可选地,在预测编码过程中,对所述图像中未编码位置像素点的采样值进行填充之后,还包括:将相应的填充方式信息写入码流,所述填充方式信息包括以下信息中的至少一种:
是否使用自适应填充的指示信息;
使用自适应填充时,所使用的填充方式的指示信息及相关参数;
不使用自适应填充时,所使用的未编码位置像素点的采样值的填充值;
相应地,在解码过程中,根据从码流中解析出的所述填充方式信息对所述图像中未解码位置像素点的采样值进行填充。
对所述图像中未编码位置像素点的采样值进行填充之后,还可以包括:在所述编码单位编码完成后,以当前编码图像中已编码位置像素点的本地解码恢复采样值更新所述图像中相应像素点的采样值,并重新对所述图像中未编码位置像素点的采样值进行填充。
对所述图像中未解码位置像素点的采样值进行填充之后,还可以包括:在所述解码单位解码完成后,以当前解码图像中已解码位置像素点的恢复采样值更新所述图像中相应像素点的采样值,并重新对所述图像中未解码位置像素点的采样值进行填充。
相应地,本实施例提供的一种电子设备,包括编码器和/或解码器,其中:
如图10所示,所述编码器包括:
确定装置11,设置为能够确定对编码单位做预测编码时作为参考的图像;
编码填充装置12,设置为能够对所述图像中未编码位置像素点的采样值进行填充;
如图11所示,所述解码器包括:
确定装置21,设置为能够确定对解码单位做解码时作为参考的图像;
解码填充装置22,设置为能够对所述图像中未解码位置像素点的采样值进行填充。
所述编码填充装置12对所述图像中未编码位置像素点的采样值进行填 充,可以包括:
对所述编码单位进行编码之前,对所述图像中全部或部分未编码位置像素点的采样值进行填充;其中,所述图像中部分未编码位置像素点指当前编码单位及其相邻编码单位中的未编码位置像素点,或者指运动矢量或块复制矢量指向的预测块范围内的未编码位置像素点;
具体填充方式上,可以分为不使用自适应填充和使用自适应填充两大类。不使用自适应填充的一类方式,如可以将预测参考图像中未解码位置像素点的采样值设置为默认预设值,例如,最大容许采样值的1/2、0值和最大值等。使用自适应填充的一类方式,如可以将预测参考图像中未编码位置像素点的采样值设置为最近编码的编码块像素点采样值的均值或指定像素点的采样值,或设置为各列方向上最后一个已编码像素点的采样值。又如,将预测参考图像中未编码位置像素点的采样值设置为外插值滤波器的输出值,该外插值滤波器的输入是已编码像素点的采样值,该滤波器可以是沿某个指定方向(如列方向)的一维滤波器,也可以是二维滤波器;所述滤波器可以是使用固定系数的外插值滤波器,也可以是自适应滤波器;编码器将滤波器形状、系数等参数信息写入码流。编码器可以使用编码器优化模块(如常用的基于率失真准则设计的编码器控制模块)确定编码过程中所使用的具体参数。
所述解码填充装置22对所述图像中未解码位置像素点的采样值进行填充,可以包括:
对所述解码单位进行解码之前,对所述图像中全部或部分未解码位置像素点的采样值进行填充;其中,所述图像中部分未解码位置像素点指当前解码单位及其相邻解码单位中的未解码位置像素点,或者指运动矢量或块复制矢量指向的预测块范围内的未解码位置像素点。
具体填充方式上,可以分为不使用自适应填充和使用自适应填充两大类。不使用自适应填充的一类方式,如可以将预测参考图像中未解码位置像素点的采样值设置为默认预设值,例如,最大容许采样值的1/2、0值和最大值等。使用自适应填充的一类方式,如可以将预测参考图像中未编码位置像素点的采样值设置为最近编码的编码块像素点采样值的均值或指定像素点的采样 值,或设置为各列方向上最后一个已编码像素点的采样值。又如,将预测参考图像中未编码位置像素点的采样值设置为外插值滤波器的输出值,该外插值滤波器的输入是已编码像素点的采样值,该滤波器可以是沿某个指定方向(如列方向)的一维滤波器,也可以是二维滤波器;所述滤波器可以是使用固定系数的外插值滤波器,也可以是自适应滤波器;解码器可通过解析码流获得将滤波器形状、系数等参数信息。
所述编码填充装置12对所述图像中未编码位置像素点的采样值进行填充之后,还可以包括:将相应的填充方式信息写入码流,所述填充方式信息包括以下信息中的至少一种:
是否使用自适应填充的指示信息;
使用自适应填充时,所使用的填充方式的指示信息及相关参数;
不使用自适应填充时,所使用的未编码位置像素点的采样值的填充值;
相应地,所述解码填充装置22在解码过程中,根据从码流中解析出的所述填充方式信息对所述图像中未解码位置像素点的采样值进行填充。
所述编码填充装置12对所述图像中未编码位置像素点的采样值进行填充之后,还可以包括:
在所述编码单位编码完成后,以当前编码图像中已编码位置像素点的本地解码恢复采样值更新所述图像中相应像素点的采样值,并重新对所述图像中未编码位置像素点的采样值进行填充。
所述解码填充装置22对所述图像中未解码位置像素点的采样值进行填充之后,还可以包括:
在所述解码单位解码完成后,以当前解码图像中已解码位置像素点的恢复采样值更新所述图像中相应像素点的采样值,并重新对所述图像中未解码位置像素点的采样值进行填充。
本领域普通技术人员可以理解上述方法中的全部或部分步骤可通过程序来指令相关硬件完成,所述程序可以存储于计算机可读存储介质中,如只读 存储器、磁盘或光盘等。可选地,上述实施例的全部或部分步骤也可以使用一个或多个集成电路来实现。相应地,上述实施例中的各模块/单元可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。本发明不限制于任何特定形式的硬件和软件的结合。
本发明还可有其他多种实施例,在不背离本发明精神及其实质的情况下,熟悉本领域的技术人员当可根据本发明作出各种相应的改变和变形,但这些相应的改变和变形都属于本发明所附的权利要求的保护范围。
工业实用性
本申请对帧间预测类型分片和帧内预测类型分片中采用IBC模式的编码块采用不同的编码方式进行编码,可以提高编码效率。因此,本申请具有很强的工业实用性。

Claims (57)

  1. 一种预测编码方法,应用于编码器,包括:
    设置分片的类型;
    对帧间预测类型的分片编码时,将所述分片所在图像设置为所述分片的预测参考图像,对所述分片中采用帧内块复制IBC模式的编码块,使用第一编码方式进行编码;
    对帧内预测类型的分片编码时,对所述分片中采用IBC模式的编码块,使用不同于第一编码方式的第二编码方式进行编码。
  2. 如权利要求1所述的预测编码方法,其中:
    所述对帧间预测类型的分片编码时,将所述分片所在图像设置为所述分片的预测参考图像,包括:将所述分片所在图像插入预测参考图像列表,作为所述分片的预测参考图像。
  3. 如权利要求2所述的预测编码方法,其中:
    所述对帧间预测类型的分片编码时,将所述分片所在图像设置为所述分片的预测参考图像,还包括:使用参考图像列表调整操作,调整所述分片所在图像在预测参考图像列表中的位置,并将参考图像列表调整操作相关的参数写入码流。
  4. 如权利要求1或2或3所述的预测编码方法,其中:
    对帧间预测类型的所述分片中采用IBC模式的编码块,使用第一编码方式进行编码,包括:使用帧间预测模式的模式参数编码方式编码IBC模式参数。
  5. 如权利要求4所述的预测编码方法,其中:
    所述使用帧间预测模式的模式参数编码方式编码IBC模式参数,包括:使用预测单元PU的运动信息编码方法编码IBC模式参数,编码的所述IBC模式参数包括以下参数中的至少一种:块划分、参考块指示矢量和参考图像索引。
  6. 如权利要求1或2或3或5所述的预测编码方法,其中:
    对帧内预测类型的所述分片中采用IBC模式的编码块,使用第二编码方式进行编码,包括:
    在编码块直接编码IBC模式参数,编码的所述IBC模式参数包括以下参数中的至少一种:块划分和参考块指示矢量。
  7. 如权利要求6所述的预测编码方法,其中:
    对帧内预测类型的所述分片中采用IBC模式的编码块,使用第二编码方式进行编码,还包括:
    编码时使用预测参考图像列表,将所述分片所在图像放置在所述预测参考图像列表中的固定位置,不进行参考图像列表调整操作。
  8. 如权利要求6所述的预测编码方法,其中:
    所述在编码块直接编码IBC模式参数,包括:在编码单元CU直接编码IBC模式参数。
  9. 如权利要求6所述的预测编码方法,其中:
    所述在编码块直接编码IBC模式参数之前,还包括:编码IBC模式标识信息。
  10. 如权利要求1所述的预测编码方法,其中:
    将所述分片所在图像设置为所述分片的预测参考图像,包括:将所述分片所在图像直接作为所述分片的预测参考图像;
    对帧间预测类型的所述分片中采用IBC模式的编码块,按照第一编码方式进行编码,包括:
    使用编码单元(CU)编码IBC模式标识信息,使用预测单元(PU)编码IBC模式参数信息;或者
    使用预测单元(PU)编码IBC模式标识信息和IBC模式参数信息。
  11. 如权利要求1所述的预测编码方法,其中,包括:
    使用所述第一编码方式和/或第二编码方式对所述采用IBC模式的编码块进行编码,包括:编码时,对所述编码块的参考块中未编码位置像素点的采样值进行填充。
  12. 一种解码方法,应用于解码器,包括:
    解析码流,获得分片类型信息;
    对帧间预测类型的分片解码时,使用第一解码方式,将所述分片所在图像设置为所述分片的预测参考图像,并对所述分片中采用帧内块复制(IBC)模式的解码块进行解码;
    对帧内预测类型的分片解码时,使用不同于第一解码方式的第二解码方式,对所述分片中采用IBC模式的解码块进行解码。
  13. 如权利要求12所述的解码方法,其中:
    所述使用第一解码方式,将所述分片所在图像设置为所述分片的预测参考图像,包括:将所述分片所在图像插入预测参考图像列表,作为所述分片的预测参考图像。
  14. 如权利要求13所述的解码方法,其中:
    所述使用第一解码方式,将所述分片所在图像设置为所述分片的预测参考图像,还包括:
    解析码流,获得参考图像列表调整操作的相关参数;
    根据所述相关参数,使用参考图像列表调整操作,调整所述分片所在图像在预测参考图像列表中的位置。
  15. 如权利要求12或13或14所述的解码方法,其中:
    所述使用第一解码方式,对所述分片中采用IBC模式的解码块进行解码,包括:使用帧间预测模式的解码方式对所述分片中采用IBC模式的解码块进行解码,通过解析帧间预测模式的模式参数对应的比特字段,获得IBC模式参数。
  16. 如权利要求15所述的解码方法,其中:
    所述通过解析帧间预测模式的模式参数对应的比特字段,获得IBC模式参数,包括:通过解析预测单元(PU)及其中运动信息参数对应的比特字段,获得以下IBC模式参数中的至少一种:块划分、参考块指示矢量和参考图像索引。
  17. 如权利要求12或13或14或16所述的解码方法,其中:
    所述使用不同于第一解码方式的第二解码方式,对所述分片中采用IBC模式的解码块进行解码,包括:解析所述解码块中IBC模式参数对应的比特字段,获得以下IBC模式参数中的至少一种:块划分和参考块指示矢量。
  18. 如权利要求17所述的解码方法,其中:
    所述使用第二编码方式对所述分片中采用IBC模式的解码块进行解码,还包括:
    解码时使用预测参考图像列表,将所述分片所在图像放置在所述预测参考图像列表中的固定位置,不进行参考图像列表调整操作。
  19. 如权利要求17所述的解码方法,其中:
    解析所述解码块中IBC模式参数对应的比特字段,包括:解析编码单元CU中IBC模式参数对应的比特字段,获得IBC模式参数。
  20. 如权利要求17所述的解码方法,其中:
    解析所述解码块中IBC模式参数对应的比特字段之前,还包括:解析解码块中IBC模式标识信息对应的比特字段,获得IBC模式标识信息对应参数的取值。
  21. 如权利要求12所述的解码方法,其中:
    所述使用第一解码方式,将所述分片所在图像设置为所述分片的预测参考图像,包括:将所述分片所在图像直接作为所述分片的预测参考图像;
    对帧间预测类型的所述分片中采用IBC模式的解码块,使用第一解码方式进行解码,包括:
    解析CU中IBC模式标识信息对应的比特字段,获得IBC模式标识信息; 解析PU中IBC模式参数对应的比特字段,获得IBC模式参数的取值;或者
    解析PU中IBC模式标识信息和IBC模式参数对应的比特字段,获得IBC模式标识信息和IBC模式参数的取值。
  22. 如权利要求12所述的解码方法,其中,包括:
    使用所述第一解码方式和/或第二解码方式对所述采用IBC模式的解码块解码,包括:解码时,对所述解码块的参考块中未解码位置像素点的采样值进行填充。
  23. 一种编码器,其中,所述编码器包括:
    类型设置装置,设置为能够设置分片的类型;
    第一编码装置,设置为对帧间预测类型的分片编码,编码时,将所述分片所在图像设置为所述分片的预测参考图像,对所述分片中采用帧内块复制IBC模式的编码块,使用第一编码方式进行编码;
    第二编码装置,设置为对帧内预测类型的分片编码,编码时,对所述分片中采用IBC模式的编码块,使用不同于第一编码方式的第二编码方式进行编码。
  24. 如权利要求23所述的编码器,其中:
    所述第一编码装置对帧间预测类型的分片编码时,将所述分片所在图像设置为所述分片的预测参考图像,包括:将所述分片所在图像插入预测参考图像列表,作为所述分片的预测参考图像。
  25. 如权利要求24所述的编码器,其中:
    所述第一编码装置对帧间预测类型的分片编码时,将所述分片所在图像设置为所述分片的预测参考图像,还包括:使用参考图像列表调整操作,调整所述分片所在图像在预测参考图像列表中的位置,并将参考图像列表调整操作相关的参数写入码流。
  26. 如权利要求23或24或25所述的编码器,其中:
    所述第一编码装置对帧间预测类型的所述分片中采用IBC模式的编码 块,使用第一编码方式进行编码,包括:使用帧间预测模式的模式参数编码方式编码IBC模式参数。
  27. 如权利要求26所述的编码器,其中:
    所述第一编码装置使用帧间预测模式的模式参数编码方式编码IBC模式参数,包括:使用预测单元PU的运动信息编码方法编码IBC模式参数,编码的所述IBC模式参数包括以下参数中的至少一种:块划分、参考块指示矢量和参考图像索引。
  28. 如权利要求23或24或25或27所述的编码器,其中:
    所述第二编码装置对帧内预测类型的所述分片中采用IBC模式的编码块,使用第二编码方式进行编码,包括:在编码块直接编码IBC模式参数,编码的所述IBC模式参数包括以下参数中的至少之一种:块划分和参考块指示矢量。
  29. 如权利要求23所述的编码器,其中:
    所述第二编码装置对帧内预测类型的所述分片中采用IBC模式的编码块,使用第二编码方式进行编码,还包括:
    编码时使用预测参考图像列表,将所述分片所在图像放置在所述预测参考图像列表中的固定位置,不进行参考图像列表调整操作。
  30. 如权利要求28所述的编码器,其中:
    所述第二编码装置在编码块直接编码IBC模式参数,包括:在编码单元CU直接编码IBC模式参数。
  31. 如权利要求28所述的编码器,其中:
    所述第二编码装置在编码块直接编码IBC模式参数之前,还包括:编码IBC模式标识信息。
  32. 如权利要求23所述的编码器,其中:
    所述第一编码装置将所述分片所在图像设置为所述分片的预测参考图 像,包括:将所述分片所在图像直接作为所述分片的预测参考图像;
    所述第一编码装置对帧间预测类型的所述分片中采用IBC模式的编码块,按照第一编码方式进行编码,包括:
    使用编码单元(CU)编码IBC模式标识信息,使用预测单元(PU)编码IBC模式参数信息;或者
    使用预测单元(PU)编码IBC模式标识信息和IBC模式参数信息。
  33. 如权利要求23所述的编码器,其中,包括:
    所述第一编码装置和/或所述第二编码装置对所述采用IBC模式的编码块进行编码,包括:编码时,对所述编码块的参考块中未编码位置像素点的采样值进行填充。
  34. 一种解码器,其中,所述解码器包括:
    类型解析装置,设置为能够解析码流,获得分片类型信息;
    第一解码装置,设置为对帧间预测类型的分片解码,解码时,使用第一解码方式,将所述分片所在图像设置为所述分片的预测参考图像,并对所述分片中采用帧内块复制(IBC)模式的解码块进行解码;
    第二解码装置,设置为对帧内预测类型的分片解码,解码时,使用不同于第一解码方式的第二解码方式,对所述分片中采用IBC模式的解码块进行解码。
  35. 如权利要求34所述的解码器,其中:
    所述第一解码装置对帧间预测类型的分片解码时,将所述分片所在图像设置为所述分片的预测参考图像,包括:将所述分片所在图像插入预测参考图像列表,作为所述分片的预测参考图像。
  36. 如权利要求35所述的解码器,其中:
    所述第一解码装置使用第一解码方式,将所述分片所在图像设置为所述分片的预测参考图像,还包括:
    解析码流,获得参考图像列表调整操作的相关参数;
    根据所述相关参数,使用参考图像列表调整操作,调整所述分片所在图像在预测参考图像列表中的位置。
  37. 如权利要求34或35或36所述的解码器,其中:
    所述第一解码装置使用第一解码方式,对所述分片中采用IBC模式的解码块进行解码,包括:使用帧间预测模式的解码方式对所述分片中采用IBC模式的解码块进行解码,通过解析帧间预测模式的模式参数对应的比特字段,获得IBC模式参数。
  38. 如权利要求37所述的解码器,其中:
    所述第一解码装置通过解析帧间预测模式的模式参数对应的比特字段,获得IBC模式参数,包括:通过解析预测单元(PU)及其中运动信息参数对应的比特字段,获得以下IBC模式参数中的至少一种:块划分、参考块指示矢量和参考图像索引。
  39. 如权利要求34或35或36或38所述的解码器,其中:
    所述第二解码装置使用不同于第一解码方式的第二解码方式,对所述分片中采用IBC模式的解码块进行解码,包括:解析所述解码块中IBC模式参数对应的比特字段,获得以下IBC模式参数中的至少一种:块划分和参考块指示矢量。
  40. 如权利要求39所述的解码器,其中:
    所述第二解码装置使用第二解码方式对所述分片中采用IBC模式的解码块进行解码,还包括:
    解码时使用预测参考图像列表,将所述分片所在图像放置在所述预测参考图像列表中的固定位置,不进行参考图像列表调整操作。
  41. 如权利要求39所述的解码器,其中:
    所述第二解码装置解析所述解码块中IBC模式参数对应的比特字段,包括:解析编码单元CU中IBC模式参数对应的比特字段,获得IBC模式参数。
  42. 如权利要求39所述的解码器,其中:
    所述第二解码装置解析所述解码块中IBC模式参数对应的比特字段之前,还包括:解析解码块中IBC模式标识信息对应的比特字段,获得IBC模式标识信息对应参数的取值。
  43. 如权利要求34所述的解码器,其中:
    所述第一解码装置使用第一解码方式,将所述分片所在图像设置为所述分片的预测参考图像,包括:将所述分片所在图像直接作为所述分片的预测参考图像;
    所述第一解码装置使用第一解码方式,对帧间预测类型的所述分片中采用IBC模式的解码块进行解码,包括:
    解析CU中IBC模式标识信息对应的比特字段,获得IBC模式标识信息;解析PU中IBC模式参数对应的比特字段,获得IBC模式参数的取值;或者
    解析PU中IBC模式标识信息和IBC模式参数对应的比特字段,获得IBC模式标识信息和IBC模式参数的取值。
  44. 如权利要求34所述的解码器,其中,包括:
    所述第一解码装置和/或所述第二解码装置对所述采用IBC模式的解码块解码,包括:解码时,对所述解码块的参考块中未解码位置像素点的采样值进行填充。
  45. 一种电子设备,包括编码器和/或解码器,其中:
    所述编码器采用如权利要求23至33中任一权利要求所述的编码器;
    所述解码器采用如权利要求34至44中任一权利要求所述的解码器。
  46. 一种图像填充方法,应用于预测编码和/或解码过程,包括:
    确定对编码单位做预测编码和/或对解码单位做解码时作为参考的图像;
    对所述图像中未编码和/或未解码位置像素点的采样值进行填充。
  47. 如权利要求46所述的图像填充方法,其中:
    对所述图像中未编码位置像素点的采样值进行填充,包括:
    对所述图像中全部或部分未编码位置像素点的采样值进行填充,其中,所述图像中部分未编码位置像素点指当前编码单位及其相邻编码单位中的未编码位置像素点,或者指运动矢量或块复制矢量指向的预测块范围内的未编码位置像素点;
    对所述图像中未解码位置像素点的采样值进行填充,包括:
    对所述图像中全部或部分未解码位置像素点的采样值进行填充,其中,所述图像中部分未解码位置像素点指当前解码单位及其相邻解码单位中的未解码位置像素点,或者指运动矢量或块复制矢量指向的预测块范围内的未解码位置像素点。
  48. 如权利要求46或47所述的图像填充方法,其中:
    所述对图像中未编码位置像素点的采样值进行填充,包括:
    将所述图像中未编码位置像素点的采样值设置为默认值;或者,
    将所述图像中未编码位置像素点的采样值设置为指定像素点的采样值;或者,
    将所述图像中未编码位置像素点的采样值设置为已编码位置像素点的采样值经过滤波处理后的输出值;
    所述对图像中未解码位置像素点的采样值进行填充,包括:
    将所述图像中未解码位置像素点的采样值设置为默认值;或者,
    将所述图像中未解码位置像素点的采样值设置为指定像素点的采样值;或者,
    将所述图像中未解码位置像素点的采样值设置为已解码位置像素点的采样值经过滤波处理后的输出值。
  49. 如权利要求46或47所述的图像填充方法,其中:
    在预测编码过程中,对所述图像中未编码位置像素点的采样值进行填充之后,还包括:将相应的填充方式信息写入码流,所述填充方式信息包括以 下信息中的至少一种:
    是否使用自适应填充的指示信息;
    使用自适应填充时,所使用的填充方式的指示信息及相关参数;
    不使用自适应填充时,所使用的未编码位置像素点的采样值的填充值;
    在解码过程中,根据从码流中解析出的所述填充方式信息对所述图像中未解码位置像素点的采样值进行填充。
  50. 如权利要求46或47所述的图像填充方法,其中:
    对所述图像中未编码位置像素点的采样值进行填充之后,还包括:在所述编码单位编码完成后,以当前编码图像中已编码位置像素点的本地解码恢复采样值更新所述图像中相应像素点的采样值,并重新对所述图像中未编码位置像素点的采样值进行填充。
  51. 如权利要求46或47所述的图像填充方法,其中:
    对所述图像中未解码位置像素点的采样值进行填充之后,还包括:在所述解码单位解码完成后,以当前解码图像中已解码位置像素点的恢复采样值更新所述图像中相应像素点的采样值,并重新对所述图像中未解码位置像素点的采样值进行填充。
  52. 一种电子设备,包括编码器和/或解码器,其中:
    所述编码器包括:
    确定装置,设置为能够确定对编码单位做预测编码时作为参考的图像;
    编码填充装置,设置为能够对所述图像中未编码位置像素点的采样值进行填充;
    所述解码器包括:
    确定装置,设置为能够确定对解码单位做解码时作为参考的图像;
    解码填充装置,设置为能够对所述图像中未解码位置像素点的采样值进行填充。
  53. 如权利要求52所述的电子设备,其中:
    所述编码填充装置对所述图像中未编码位置像素点的采样值进行填充,包括:
    对所述编码单位进行编码之前,对所述图像中全部或部分未编码位置像素点的采样值进行填充;其中,所述图像中部分未编码位置像素点指当前编码单位及其相邻编码单位中的未编码位置像素点,或者指运动矢量或块复制矢量指向的预测块范围内的未编码位置像素点;
    所述解码填充装置对所述图像中未解码位置像素点的采样值进行填充,包括:
    对所述解码单位进行解码之前,对所述图像中全部或部分未解码位置像素点的采样值进行填充;其中,所述图像中部分未解码位置像素点指当前解码单位及其相邻解码单位中的未解码位置像素点,或者指运动矢量或块复制矢量指向的预测块范围内的未解码位置像素点。
  54. 如权利要求52或53所述的电子设备,其中:
    所述编码填充装置对图像中未编码位置像素点的采样值进行填充,包括:
    将所述图像中未编码位置像素点的采样值设置为默认值;或者,
    将所述图像中未编码位置像素点的采样值设置为指定像素点的采样值,或者,
    将所述图像中未编码位置像素点的采样值设置为已编码位置像素点的采样值经过滤波处理后的输出值;
    所述解码填充装置对图像中未解码位置像素点的采样值进行填充,包括:
    将所述图像中未解码位置像素点的采样值设置为默认值;或者,
    将所述图像中未解码位置像素点的采样值设置为指定像素点的采样值,或者,
    将所述图像中未解码位置像素点的采样值设置为已解码位置像素点的采样值经过滤波处理后的输出值。
  55. 如权利要求52或53所述的电子设备,其中:
    所述编码填充装置对所述图像中未编码位置像素点的采样值进行填充之后,还包括:将相应的填充方式信息写入码流,所述填充方式信息包括以下信息中的至少一种:
    是否使用自适应填充的指示信息;
    使用自适应填充时,所使用的填充方式的指示信息及相关参数;
    不使用自适应填充时,所使用的未编码位置像素点的采样值的填充值;
    所述解码填充装置在解码过程中,根据从码流中解析出的所述填充方式信息对所述图像中未解码位置像素点的采样值进行填充。
  56. 如权利要求52或53所述的电子设备,其中:
    所述编码填充装置对所述图像中未编码位置像素点的采样值进行填充之后,还包括:
    在所述编码单位编码完成后,以当前编码图像中已编码位置像素点的本地解码恢复采样值更新所述图像中相应像素点的采样值,并重新对所述图像中未编码位置像素点的采样值进行填充。
  57. 如权利要求52或53所述的电子设备,其中:
    所述解码填充装置对所述图像中未解码位置像素点的采样值进行填充之后,还包括:
    在所述解码单位解码完成后,以当前解码图像中已解码位置像素点的恢复采样值更新所述图像中相应像素点的采样值,并重新对所述图像中未解码位置像素点的采样值进行填充。
PCT/CN2015/087736 2014-08-22 2015-08-21 一种预测编、解码方法和相应的编、解码器和电子设备 WO2016026457A1 (zh)

Priority Applications (4)

Application Number Priority Date Filing Date Title
JP2017510477A JP6437097B2 (ja) 2014-08-22 2015-08-21 予測符号化、復号化方法、対応するエンコーダ、デコーダ及び電子機器
US15/505,614 US20170302935A1 (en) 2014-08-22 2015-08-21 Predictive Coding/Decoding Method, Corresponding Coder/Decoder, and Electronic Device
KR1020177007711A KR101992764B1 (ko) 2014-08-22 2015-08-21 예측 코딩/디코딩 방법 및 상응한 코더/디코더와 전자 설비
EP15833754.3A EP3185557A4 (en) 2014-08-22 2015-08-21 Predictive coding/decoding method, corresponding coder/decoder, and electronic device

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
CN201410419875 2014-08-22
CN201410419875.5 2014-08-22
CN201510507084.2A CN105392008B (zh) 2014-08-22 2015-08-18 一种预测编、解码方法和相应的编、解码器和电子设备
CN201510507084.2 2015-08-18

Publications (1)

Publication Number Publication Date
WO2016026457A1 true WO2016026457A1 (zh) 2016-02-25

Family

ID=55350213

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/087736 WO2016026457A1 (zh) 2014-08-22 2015-08-21 一种预测编、解码方法和相应的编、解码器和电子设备

Country Status (6)

Country Link
US (1) US20170302935A1 (zh)
EP (1) EP3185557A4 (zh)
JP (1) JP6437097B2 (zh)
KR (1) KR101992764B1 (zh)
CN (1) CN105392008B (zh)
WO (1) WO2016026457A1 (zh)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110430434A (zh) * 2018-05-01 2019-11-08 达音网络科技(上海)有限公司 采用渐进式i切片参考方法实现抗丢包性能的视频编码
CN113873260A (zh) * 2016-10-04 2021-12-31 有限公司B1影像技术研究所 图像数据编码/解码方法和装置
CN114143550A (zh) * 2016-10-04 2022-03-04 有限公司B1影像技术研究所 图像数据编码/解码方法和计算机可读记录介质
CN114245122A (zh) * 2016-10-04 2022-03-25 有限公司B1影像技术研究所 图像数据编码/解码方法、介质和发送比特流的方法
US12022199B2 (en) 2016-10-06 2024-06-25 B1 Institute Of Image Technology, Inc. Image data encoding/decoding method and apparatus
US12126912B2 (en) 2016-10-04 2024-10-22 B1 Institute Of Image Technology, Inc. Method and apparatus for reconstructing 360-degree image according to projection format

Families Citing this family (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107888917B (zh) * 2017-11-28 2021-06-22 北京奇艺世纪科技有限公司 一种图像编解码方法及装置
CN110677644B (zh) * 2018-07-03 2021-11-16 北京大学 一种视频编码、解码方法及视频编码帧内预测器
KR20200040179A (ko) 2018-10-08 2020-04-17 에스케이텔레콤 주식회사 현재 픽처 참조 모드를 이용한 예측 방법 및 영상 복호화 장치
WO2020108572A1 (en) * 2018-11-28 2020-06-04 Beijing Bytedance Network Technology Co., Ltd. Independent construction method for block vector list in intra block copy mode
EP4307681A3 (en) 2018-11-29 2024-04-03 Beijing Bytedance Network Technology Co., Ltd. Interaction between intra block copy mode and inter prediction tools
CN113170195B (zh) 2018-12-22 2024-09-03 北京字节跳动网络技术有限公司 具有双树分割的帧内块复制模式
CN111385570B (zh) * 2018-12-28 2021-11-02 杭州海康威视数字技术股份有限公司 编码方法、解码方法及装置
US10958904B2 (en) 2019-02-01 2021-03-23 Tencent America LLC Method and apparatus for video coding
US11240516B2 (en) 2019-03-20 2022-02-01 Tencent America LLC Coding mode signaling for small blocks
CN111866515B (zh) * 2019-04-30 2022-03-04 杭州海康威视数字技术股份有限公司 一种矢量差解码方法、装置及电子设备
CN114342408A (zh) * 2019-08-26 2022-04-12 北京字节跳动网络技术有限公司 视频编码中帧内编码模式的扩展
CN110557645B (zh) * 2019-09-24 2021-09-28 腾讯科技(深圳)有限公司 帧内预测模式的解码方法、编码方法、装置及设备
US20220353498A1 (en) * 2020-01-03 2022-11-03 Intel Corporation Video coding with multiple intra block copy modes
US11595678B2 (en) * 2020-06-11 2023-02-28 Tencent America LLC Spatial displacement vector prediction for intra picture block and string copying
US11601642B2 (en) * 2020-08-18 2023-03-07 Tencent America LLC String matching with a single value from reference locations
CN113038131B (zh) * 2021-03-15 2023-04-07 北京奇艺世纪科技有限公司 视频编码方法、装置、计算机设备和存储介质

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101394569A (zh) * 2008-10-29 2009-03-25 北京创毅视讯科技有限公司 一种avs视频解码器的容错方法、装置及芯片
US20140153646A1 (en) * 2011-07-01 2014-06-05 Samsung Electronics Co., Ltd. Video encoding method with intra prediction using checking process for unified reference possibility, video decoding method and device thereof
CN103929641A (zh) * 2014-05-12 2014-07-16 北京工商大学 一种基于虚拟参考帧的帧内编码方法

Family Cites Families (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6765963B2 (en) * 2001-01-03 2004-07-20 Nokia Corporation Video decoder architecture and method for using same
US6920175B2 (en) * 2001-01-03 2005-07-19 Nokia Corporation Video coding architecture and methods for using same
US20070030894A1 (en) * 2005-08-03 2007-02-08 Nokia Corporation Method, device, and module for improved encoding mode control in video encoding
US7991236B2 (en) * 2006-10-16 2011-08-02 Nokia Corporation Discardable lower layer adaptations in scalable video coding
FI3962081T3 (fi) * 2010-05-25 2024-03-25 Lg Electronics Inc Uusi planaarinen ennustustila
CN108848379A (zh) * 2010-12-07 2018-11-20 韩国电子通信研究院 视频编解码方法、生成比特流的方法和存储比特流的介质
GB2492329B (en) * 2011-06-24 2018-02-28 Skype Video coding
US9549182B2 (en) * 2012-07-11 2017-01-17 Qualcomm Incorporated Repositioning of prediction residual blocks in video coding
WO2014078068A1 (en) * 2012-11-13 2014-05-22 Intel Corporation Content adaptive transform coding for next generation video
US11323747B2 (en) * 2013-06-05 2022-05-03 Qualcomm Incorporated Residual differential pulse code modulation (DPCM) extensions and harmonization with transform skip, rotation, and scans
US10015515B2 (en) * 2013-06-21 2018-07-03 Qualcomm Incorporated Intra prediction from a predictive block
US10021419B2 (en) * 2013-07-12 2018-07-10 Qualcomm Incorported Rice parameter initialization for coefficient level coding in video coding process
US20150016533A1 (en) * 2013-07-12 2015-01-15 Qualcomm Incorporated Intra motion compensation extensions
WO2015057438A1 (en) * 2013-10-14 2015-04-23 Mediatek Singapore Pte. Ltd. Method of residue differential pulse-code modulation for hevc range extension
BR112016015080A2 (pt) * 2014-01-03 2017-08-08 Microsoft Technology Licensing Llc Predição de vetor de bloco em codificação / decodificação de vídeo e imagem
US9699468B2 (en) * 2014-02-10 2017-07-04 Microsoft Technology Licensing, Llc Adaptive screen and video coding scheme
JP6482191B2 (ja) * 2014-06-12 2019-03-13 キヤノン株式会社 画像符号化装置、画像符号化方法及びプログラム、画像復号装置、画像復号方法及びプログラム
US10327001B2 (en) * 2014-06-19 2019-06-18 Qualcomm Incorporated Systems and methods for intra-block copy
EP3158734A1 (en) * 2014-06-19 2017-04-26 Microsoft Technology Licensing, LLC Unified intra block copy and inter prediction modes

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101394569A (zh) * 2008-10-29 2009-03-25 北京创毅视讯科技有限公司 一种avs视频解码器的容错方法、装置及芯片
US20140153646A1 (en) * 2011-07-01 2014-06-05 Samsung Electronics Co., Ltd. Video encoding method with intra prediction using checking process for unified reference possibility, video decoding method and device thereof
CN103929641A (zh) * 2014-05-12 2014-07-16 北京工商大学 一种基于虚拟参考帧的帧内编码方法

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
JOEL, SOLE ET AL.: "HEVC Screen Content Coding Core Experiment 1 (SCCE1): Intra Block Copying Extensions", JOINT COLLABORATIVE TEAM ON VIDEO CODING (JCT-VC) OF ITU-T SG 16 WP 3 AND ISO/IEC JTC 1/SC 29/WG 11 17TH MEETING, 4 April 2014 (2014-04-04), Valencia, ES, XP030116240 *
LI, BIN ET AL.: "Non-SCCE1: Unification of intra BC and inter modes", JOINT COLLABORATIVE TEAM ON VIDEO CODING (JCT-VC) OF ITU-T SG 16 WP 3 AND ISO/IEC JTC 1/SC 29/WG 11 18TH MEETING, 9 July 2014 (2014-07-09), Sapporo, JP, XP030116356 *
See also references of EP3185557A4 *

Cited By (56)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114531589B (zh) * 2016-10-04 2023-03-24 有限公司B1影像技术研究所 图像数据编码/解码方法、介质和发送比特流的方法
US11792526B1 (en) 2016-10-04 2023-10-17 B1 Institute Of Image Technology, Inc. Image data encoding/decoding method and apparatus
CN114143550A (zh) * 2016-10-04 2022-03-04 有限公司B1影像技术研究所 图像数据编码/解码方法和计算机可读记录介质
CN114245122A (zh) * 2016-10-04 2022-03-25 有限公司B1影像技术研究所 图像数据编码/解码方法、介质和发送比特流的方法
CN114245123A (zh) * 2016-10-04 2022-03-25 有限公司B1影像技术研究所 图像数据编码/解码方法、介质和发送比特流的方法
CN114245121A (zh) * 2016-10-04 2022-03-25 有限公司B1影像技术研究所 图像数据编码/解码方法、介质和发送比特流的方法
CN114245124A (zh) * 2016-10-04 2022-03-25 有限公司B1影像技术研究所 图像数据编码/解码方法、介质和发送比特流的方法
EP3975559A1 (en) * 2016-10-04 2022-03-30 B1 Institute of Image Technology, Inc. Image data encoding/decoding method and apparatus
CN114531586A (zh) * 2016-10-04 2022-05-24 有限公司B1影像技术研究所 图像数据编码/解码方法、介质和发送比特流的方法
CN114531590A (zh) * 2016-10-04 2022-05-24 有限公司B1影像技术研究所 图像数据编码/解码方法、介质和发送比特流的方法
CN114531592A (zh) * 2016-10-04 2022-05-24 有限公司B1影像技术研究所 图像数据编码/解码方法、介质和发送比特流的方法
CN114531585A (zh) * 2016-10-04 2022-05-24 有限公司B1影像技术研究所 图像数据编码/解码方法、介质和发送比特流的方法
CN114531587A (zh) * 2016-10-04 2022-05-24 有限公司B1影像技术研究所 图像数据编码/解码方法、介质和发送比特流的方法
CN114531589A (zh) * 2016-10-04 2022-05-24 有限公司B1影像技术研究所 图像数据编码/解码方法、介质和发送比特流的方法
CN114531593A (zh) * 2016-10-04 2022-05-24 有限公司B1影像技术研究所 图像数据编码/解码方法、介质和发送比特流的方法
CN114531588A (zh) * 2016-10-04 2022-05-24 有限公司B1影像技术研究所 图像数据编码/解码方法、介质和发送比特流的方法
CN114554202A (zh) * 2016-10-04 2022-05-27 有限公司B1影像技术研究所 图像数据编码/解码方法、介质和发送比特流的方法
US11412137B2 (en) 2016-10-04 2022-08-09 B1 Institute Of Image Technology, Inc. Image data encoding/decoding method and apparatus
US11463672B2 (en) 2016-10-04 2022-10-04 B1 Institute Of Image Technology, Inc. Image data encoding/decoding method and apparatus
US11533429B2 (en) 2016-10-04 2022-12-20 B1 Institute Of Image Technology, Inc. Image data encoding/decoding method and apparatus
US11539883B2 (en) 2016-10-04 2022-12-27 B1 Institute Of Image Technology, Inc. Image data encoding/decoding method and apparatus
US11539881B2 (en) 2016-10-04 2022-12-27 B1 Institute Of Image Technology, Inc. Image data encoding/decoding method and apparatus
US11546513B2 (en) 2016-10-04 2023-01-03 B1 Institute Of Image Technology, Inc. Image data encoding/decoding method and apparatus
US11553168B2 (en) 2016-10-04 2023-01-10 B1 Institute Of Image Technology, Inc. Image data encoding/decoding method and apparatus
CN113873260B (zh) * 2016-10-04 2023-02-24 有限公司B1影像技术研究所 图像数据编码/解码方法和装置
US11606499B2 (en) 2016-10-04 2023-03-14 B1 Institute Of Image Technology, Inc. Image data encoding/decoding method and apparatus
CN115802059A (zh) * 2016-10-04 2023-03-14 有限公司B1影像技术研究所 图像编码/解码方法和计算机可读记录介质
US12126912B2 (en) 2016-10-04 2024-10-22 B1 Institute Of Image Technology, Inc. Method and apparatus for reconstructing 360-degree image according to projection format
CN113873262A (zh) * 2016-10-04 2021-12-31 有限公司B1影像技术研究所 图像数据编码/解码方法和装置
US11677926B1 (en) 2016-10-04 2023-06-13 B1 Institute Of Image Technology, Inc. Image data encoding/decoding method and apparatus
US11706531B2 (en) 2016-10-04 2023-07-18 B1 Institute Of Image Technology, Inc. Image data encoding/decoding method and apparatus
CN115802059B (zh) * 2016-10-04 2023-09-08 有限公司B1影像技术研究所 图像编码/解码方法和计算机可读记录介质
CN115802058B (zh) * 2016-10-04 2023-09-15 有限公司B1影像技术研究所 图像编码/解码方法和计算机可读记录介质
US11778158B2 (en) 2016-10-04 2023-10-03 B1 Institute Of Image Technology, Inc. Image data encoding/decoding method and apparatus
CN113873260A (zh) * 2016-10-04 2021-12-31 有限公司B1影像技术研究所 图像数据编码/解码方法和装置
US11792525B2 (en) 2016-10-04 2023-10-17 B1 Institute Of Image Technology, Inc. Image data encoding/decoding method and apparatus
US11831818B2 (en) 2016-10-04 2023-11-28 B1 Institute Of Image Technology, Inc. Method and apparatus for reconstructing 360-degree image according to projection format
US11843866B2 (en) 2016-10-04 2023-12-12 B1 Institute Of Image Technology, Inc. Image data encoding/decoding method and apparatus
US11863732B1 (en) 2016-10-04 2024-01-02 B1 Institute Of Image Technology, Inc. Image data encoding/decoding method and apparatus
US11910094B2 (en) 2016-10-04 2024-02-20 B1 Institute Of Image Technology, Inc. Image data encoding/decoding method and apparatus
US11936841B2 (en) 2016-10-04 2024-03-19 B1 Institute Of Image Technology, Inc. Image data encoding/decoding method and apparatus
US11949846B1 (en) 2016-10-04 2024-04-02 B1 Institute Of Image Technology, Inc. Image data encoding/decoding method and apparatus
US11962744B2 (en) 2016-10-04 2024-04-16 B1 Institute Of Image Technology, Inc. Image data encoding/decoding method and apparatus
US11991339B2 (en) 2016-10-04 2024-05-21 B1 Institute Of Image Technology, Inc. Image data encoding/decoding method and apparatus
US12015854B2 (en) 2016-10-04 2024-06-18 B1 Institute Of Image Technology, Inc. Image data encoding/decoding method and apparatus
US12028503B2 (en) 2016-10-04 2024-07-02 B1 Institute Of Image Technology, Inc. Image data encoding/decoding method and apparatus
EP4387232A3 (en) * 2016-10-04 2024-08-21 B1 Institute of Image Technology, Inc. Image data encoding/decoding method and apparatus
US12132880B2 (en) 2016-10-04 2024-10-29 B1 Institute Of Image Technology, Inc. Image data encoding/decoding method and apparatus
US12096127B2 (en) 2016-10-04 2024-09-17 B1 Institute Of Image Technology, Inc. Image data encoding/decoding method and apparatus
US12108017B2 (en) 2016-10-04 2024-10-01 B1 Institute Of Image Technology, Inc. Image data encoding/decoding method and apparatus
US12108158B2 (en) 2016-10-04 2024-10-01 B1 Institute Of Image Technology, Inc. Image data encoding/decoding method and apparatus
CN115802058A (zh) * 2016-10-04 2023-03-14 有限公司B1影像技术研究所 图像编码/解码方法和计算机可读记录介质
US12022199B2 (en) 2016-10-06 2024-06-25 B1 Institute Of Image Technology, Inc. Image data encoding/decoding method and apparatus
US12035049B2 (en) 2016-10-06 2024-07-09 B1 Institute Of Image Technology, Inc. Image data encoding/decoding method and apparatus
CN110430434A (zh) * 2018-05-01 2019-11-08 达音网络科技(上海)有限公司 采用渐进式i切片参考方法实现抗丢包性能的视频编码
CN110430434B (zh) * 2018-05-01 2022-04-26 达音网络科技(上海)有限公司 采用渐进式i切片参考方法实现抗丢包性能的视频编码

Also Published As

Publication number Publication date
JP2017528987A (ja) 2017-09-28
EP3185557A4 (en) 2017-08-30
EP3185557A1 (en) 2017-06-28
US20170302935A1 (en) 2017-10-19
KR20170044699A (ko) 2017-04-25
JP6437097B2 (ja) 2018-12-12
CN105392008B (zh) 2018-09-25
KR101992764B1 (ko) 2019-06-25
CN105392008A (zh) 2016-03-09

Similar Documents

Publication Publication Date Title
WO2016026457A1 (zh) 一种预测编、解码方法和相应的编、解码器和电子设备
CN113491120B (zh) 视频编解码方法、装置、电子设备和存储介质
US11553193B2 (en) Low latency local illumination compensation
CN113557742B (zh) 视频编解码方法、装置和电子设备
JP2021513303A (ja) ビデオ復号化のための方法、装置およびコンピュータプログラム
CN111937326B (zh) 视频解码方法、装置和可读存储介质
CN112753223B (zh) 用于视频解码的方法、装置和计算机可读介质
CN113228667B (zh) 视频编解码的方法、装置及存储介质
US20220201307A1 (en) Method and apparatus for video coding
JP2022509172A (ja) ビデオをデコードするための方法、装置及びプログラム
JP2022515850A (ja) 統合位置依存予測組み合わせプロセスを使用するデコードのための方法、装置およびコンピュータ・プログラム
CN112235573B (zh) 视频编解码的方法、装置、电子设备、存储介质
CN113574896B (zh) 获取帧内预测模式的方法、设备和电子设备
CN110719462B (zh) 视频解码方法、解码器、计算机可读存储介质以及计算机设备
CN113728649B (zh) 用于视频编解码的方法和装置
CN112399180B (zh) 视频解码方法、装置及存储介质
WO2016026283A1 (zh) 一种预测编、解码方法和相应的编、解码器和电子设备
CN115486072A (zh) 用于视频译码的方法和设备
CN115176461A (zh) 视频编解码的方法和装置
CN116235490A (zh) 用于视频编码的方法和设备
CN112399186A (zh) 视频解码方法、装置及存储介质
CN113692745B (zh) 视频解码方法、装置和存储介质
CN113678445B (zh) 视频解码方法、装置以及电子设备
RU2773642C1 (ru) Сигнализация для передискретизации опорного изображения
US20230112074A1 (en) Mpm list construction

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

Country of ref document: EP

Kind code of ref document: A1

ENP Entry into the national phase

Ref document number: 2017510477

Country of ref document: JP

Kind code of ref document: A

NENP Non-entry into the national phase

Ref country code: DE

ENP Entry into the national phase

Ref document number: 20177007711

Country of ref document: KR

Kind code of ref document: A

REEP Request for entry into the european phase

Ref document number: 2015833754

Country of ref document: EP

WWE Wipo information: entry into national phase

Ref document number: 2015833754

Country of ref document: EP

WWE Wipo information: entry into national phase

Ref document number: 15505614

Country of ref document: US