Information processing method and device, equipment and storage medium

By using the prediction mode-dependent prediction method combination (PDPC) to predict video data and directly calculating the difference between the predicted value and the image component, the problem of high information processing complexity in video encoding is solved, the complexity of intra-frame prediction is reduced, and the video smoothness is improved.

CN120769064APending Publication Date: 2025-10-10GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202511111640.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2019-06-25
Publication Date
2025-10-10

AI Technical Summary

Technical Problem

In existing video coding technologies, information processing is highly complex, which affects video smoothness, especially the processing complexity of intra-frame prediction.

Method used

A prediction mode-dependent prediction combination (PDPC) is used to predict the image components on the coding block, and the difference between the predicted value and the image component is directly determined to avoid correcting the predicted block.

Benefits of technology

Under the premise of ensuring the video encoding and decoding performance, the complexity of information processing is reduced, especially the processing complexity of intra-frame prediction.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120769064A_ABST
    Figure CN120769064A_ABST
Patent Text Reader

Abstract

The embodiment of the invention discloses an information processing method and device, equipment and a storage medium, and the method comprises the steps: carrying out the prediction of an image component on a to-be-coded block in input source video data according to a preset prediction mode belonging to a mode-dependent prediction mode combination PDPC application mode, and carrying out the prediction of the image component on the to-be-coded block in the source video data, obtaining a first prediction block; determining a difference value between an image component on the to-be-coded block and a predicted value on the first prediction block to obtain a residual block; and writing the residual block and the prediction mode into a code stream.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] Divisional Explanation

[0002] This application is a divisional application of the application with the application date of June 25, 2019, the application number of 201980096244.5, and the invention name of "information processing method and device, equipment, and storage medium". TECHNICAL FIELD

[0003] Embodiments of the present application relate to electronic technology, and relate to but are not limited to information processing method and device, equipment, and storage medium. BACKGROUND

[0004] In recent years, video services have developed rapidly in the field of electronic technology. Video services need to encode source video data first, and then transmit the encoded video data to user terminals through the channels of the Internet or mobile communication networks.

[0005] For users, the smoothness of the video will directly affect the user's video watching experience. The complexity of information processing in video encoding directly affects the smoothness of the video. SUMMARY

[0006] Therefore, embodiments of the present application provide information processing method and device, equipment, and storage medium to solve at least one problem in the related art.

[0007] The technical scheme of the embodiments of the present application is implemented as follows:

[0008] In a first aspect, the embodiments of the present application provide an information processing method, which comprises: for input source video data, predicting an image component on a to-be-encoded block in the source video data according to a prediction mode to obtain a first prediction block, the prediction mode being a preset and belonging to a position-dependent prediction combination (PDPC) application mode.

[0009] In other embodiments, the image component is a luminance value or a chroma value.

[0010] In other embodiments, the predicting the image component on the to-be-coded block according to the prediction mode to obtain a first prediction block comprises: predicting the chroma value on the to-be-coded block according to any prediction mode in a first mode combination to obtain the first prediction block; wherein the first mode combination comprises the following PDPC application modes: a prediction mode numbered less than a first value and not containing a planar prediction mode and a direct current component prediction mode in preset N spatial prediction modes within a component, a prediction mode numbered greater than the first value and less than or equal to a second value, a prediction mode numbered greater than or equal to a third value and less than a fourth value, and a prediction mode numbered greater than the fourth value.

[0011] In other embodiments, the predicting the image component on the to-be-coded block according to the prediction mode to obtain a first prediction block comprises: predicting the chroma value on the to-be-coded block according to any prediction mode in a second mode combination to obtain the first prediction block; wherein the second mode combination comprises the following PDPC application modes: a prediction mode numbered less than or equal to the second value and not containing a planar prediction mode and a direct current component prediction mode in preset N spatial prediction modes within a component, and a prediction mode numbered greater than or equal to the third value.

[0012] In other embodiments, the predicting the image component on the to-be-coded block according to the prediction mode to obtain a first prediction block comprises: predicting the chroma value on the to-be-coded block according to any prediction mode in a third mode combination to obtain the first prediction block; wherein the third mode combination comprises the following PDPC application modes: a horizontal prediction mode, a vertical prediction mode, a prediction mode numbered less than or equal to the second value and not containing a planar prediction mode and a direct current component prediction mode in preset N spatial prediction modes within a component, and a prediction mode numbered greater than or equal to the third value.

[0013] In other embodiments, the predicting the image component on the to-be-coded block according to the prediction mode to obtain a first prediction block comprises: predicting the chroma value on the to-be-coded block according to any prediction mode in a fourth mode combination to obtain the first prediction block; wherein the fourth mode combination comprises the following PDPC application modes: a horizontal prediction mode, a vertical prediction mode, a prediction mode numbered less than or equal to the second value and containing a planar prediction mode and a direct current component prediction mode in preset N spatial prediction modes within a component, and a prediction mode numbered greater than or equal to the third value.

[0014] In other embodiments, the predicting, according to the prediction mode, the image component on the to-be-encoded block in the input source video data to obtain a first prediction block comprises: predicting the luminance value on the to-be-encoded block according to any prediction mode in any combination of the first to fourth mode combinations to obtain a first prediction block.

[0015] In a second aspect, the embodiments of the present application provide an information processing device, which comprises: a prediction module configured to predict, according to a prediction mode, an image component on a to-be-encoded block in input source video data to obtain a first prediction block, wherein the prediction mode is preset and belongs to a PDPC application mode; a residual determination module configured to determine a difference between the image component on the to-be-encoded block and a prediction value on the first prediction block to obtain a residual block; and a writing module configured to write the residual block and the prediction mode into a bitstream.

[0016] In other embodiments, the image component is a luminance value or a chrominance value.

[0017] In other embodiments, the prediction module comprises: a chrominance prediction unit configured to perform chrominance prediction on the chrominance value on the to-be-encoded block according to any prediction mode in a first mode combination to obtain a first prediction block; wherein the first mode combination comprises the following PDPC application modes: a prediction mode with a number less than a first numerical value and excluding a planar prediction mode and a direct current component prediction mode in N preset spatial prediction modes within a component, a prediction mode with a number greater than the first numerical value and less than or equal to a second numerical value, a prediction mode with a number greater than or equal to a third numerical value and less than a fourth numerical value, and a prediction mode with a number greater than the fourth numerical value.

[0018] In other embodiments, the prediction module comprises: a chrominance prediction unit configured to perform chrominance prediction on the chrominance value on the to-be-encoded block according to any prediction mode in a second mode combination to obtain a first prediction block.

[0019] In other embodiments, the prediction module comprises: a chrominance prediction unit configured to perform chrominance prediction on the chrominance value on the to-be-encoded block according to any prediction mode in a second mode combination to obtain a first prediction block.

[0020] In other embodiments, the prediction module comprises a chroma prediction unit configured to perform chroma prediction on the chroma values in the to-be-encoded block according to any one of the prediction modes in the third mode combination to obtain a first prediction block; wherein the third mode combination comprises the following PDPC application modes: a horizontal prediction mode, a vertical prediction mode, a prediction mode numbered less than or equal to a second numerical value and not containing a planar prediction mode and a direct component prediction mode among the preset N spatial prediction modes in a component, and a prediction mode numbered greater than or equal to a third numerical value.

[0021] In other embodiments, the prediction module comprises a chroma prediction unit configured to perform chroma prediction on the chroma values in the to-be-encoded block according to any one of the prediction modes in the fourth mode combination to obtain a first prediction block; wherein the fourth mode combination comprises the following PDPC application modes: a horizontal prediction mode, a vertical prediction mode, a prediction mode numbered less than or equal to a second numerical value and containing a planar prediction mode and a direct component prediction mode among the preset N spatial prediction modes in a component, and a prediction mode numbered greater than or equal to a third numerical value.

[0022] In other embodiments, the prediction module comprises a luminance prediction unit configured to perform luminance prediction on the luminance values in the to-be-encoded block according to any one of the prediction modes in any one of the first to fourth mode combinations to obtain a first prediction block.

[0023] In a third aspect, an embodiment of the present application provides an information processing method, which comprises: for an input bitstream, performing prediction on an image component in a to-be-decoded block in the bitstream according to a prediction mode in the bitstream to obtain a second prediction block; the prediction mode is preset and belongs to a PDPC application mode; determining a sum of a difference value in a residual block in the bitstream and a prediction value in the second prediction block to obtain a recovery block; processing the recovery block to output processed video data.

[0024] In a fourth aspect, an embodiment of the present application provides an information processing device, which comprises: a prediction module configured to perform prediction on an image component in a to-be-decoded block in an input bitstream according to a prediction mode in the bitstream to obtain a second prediction block; wherein the prediction mode is preset and belongs to a PDPC application mode; a recovery module configured to determine a sum of a difference value in a residual block in the bitstream and a prediction value in the second prediction block to obtain a recovery block; and a video output module configured to process the recovery block to output processed video data.

[0025] In a fifth aspect, an embodiment of the present application provides an information processing method, which comprises: for input source video data, predicting an image component on a to-be-encoded block in the source video data according to a prediction mode to obtain a third prediction block, the prediction mode being preset and belonging to a PDPC application mode; correcting the third prediction block according to the prediction mode to obtain a third correction block; determining a difference between the image component on the to-be-encoded block and a correction value on the third correction block to obtain a residual block; and writing the residual block and the prediction mode into a bitstream.

[0026] In a sixth aspect, an embodiment of the present application provides an information processing apparatus, which comprises: a prediction module configured to, for input source video data, predict an image component on a to-be-encoded block in the source video data according to a prediction mode to obtain a third prediction block, the prediction mode being preset and belonging to a PDPC application mode; a correction module configured to correct the third prediction block according to the prediction mode to obtain a third correction block; a residual determination module configured to determine a difference between the image component on the to-be-encoded block and a correction value on the third correction block to obtain a residual block; and a writing module configured to write the residual block and the prediction mode into a bitstream.

[0027] In a seventh aspect, an embodiment of the present application provides an information processing method, which comprises: for input bitstream, predicting an image component on a to-be-decoded block in the bitstream according to a prediction mode in the bitstream to obtain a fourth prediction block, the prediction mode being preset and belonging to a PDPC application mode; correcting the fourth prediction block according to the prediction mode to obtain a fourth correction block; determining a sum of a difference on a residual block in the bitstream and a correction value on the fourth correction block to obtain a recovery block; and processing the recovery block to output processed video data.

[0028] In an eighth aspect, an embodiment of the present application provides an information processing apparatus, which comprises: a prediction module configured to, for input bitstream, predict an image component on a to-be-decoded block in the bitstream according to a prediction mode in the bitstream to obtain a fourth prediction block, the prediction mode being preset and belonging to a PDPC application mode; a correction module configured to correct the fourth prediction block according to the prediction mode to obtain a fourth correction block; a recovery module configured to determine a sum of a difference on a residual block in the bitstream and a correction value on the fourth correction block to obtain a recovery block; and a video output module configured to:

[0029] process the recovery block to output processed video data.

[0030] In a ninth aspect, an electronic device is provided, which includes a memory and a processor, the memory storing a computer program capable of running on the processor, and the processor implements the steps of the information processing method when executing the program.

[0031] In a tenth aspect, a computer readable storage medium is provided, which stores a computer program, and the computer program implements the steps of the information processing method when executed by a processor.

[0032] In the embodiments of the present application, for the input source video data, after the image component on the to-be-encoded block in the source video data is predicted according to a preset prediction mode belonging to the PDPC application mode to obtain a first prediction block, the prediction values in the first prediction block are not corrected, but the difference between the prediction values on the first prediction block and the image component on the to-be-encoded block is directly determined. In this way, the complexity of information processing in video coding can be reduced under the premise of ensuring the performance of video coding, especially the processing complexity of intra prediction. BRIEF DESCRIPTION OF DRAWINGS

[0033] Figure 1 The figure is a schematic diagram of the network architecture of the embodiments of the present application;

[0034] Figure 2A The figure is a schematic diagram of the structure of the video encoder of the embodiments of the present application;

[0035] Figure 2B The figure is a schematic diagram of the structure of the video decoder of the embodiments of the present application;

[0036] Figure 2C The figure is a schematic diagram of the spatial prediction mode in the 94 components of the embodiments of the present application;

[0037] Figure 2D The figure is a schematic diagram of the PDPC calculation method in the direct current component prediction mode of the embodiments of the present application;

[0038] Figure 3A The figure is a schematic diagram of the implementation process of the information processing method of the embodiments of the present application;

[0039] Figure 3B The figure is a schematic diagram of the implementation process of another information processing method of the embodiments of the present application;

[0040] Figure 4A The figure is a schematic diagram of the implementation process of another information processing method of the embodiments of the present application;

[0041] Figure 4B The figure is a schematic diagram of the implementation process of another information processing method of the embodiments of the present application;

[0042] Figure 5An implementation flowchart of another information processing method of the embodiment of the present application is shown in FIG. 1 1 ;

[0043] Figure 6 An implementation flowchart of another information processing method of the embodiment of the present application is shown in FIG. 1 1 ;

[0044] Figure 7 An implementation flowchart of another information processing method of the embodiment of the present application is shown in FIG. 1 1 ;

[0045] Figure 8 An implementation flowchart of another information processing method of the embodiment of the present application is shown in FIG. 1 1 ;

[0046] Figure 9A An implementation flowchart of another information processing method of the embodiment of the present application is shown in FIG. 1 1 ;

[0047] Figure 9B An implementation flowchart of another information processing method of the embodiment of the present application is shown in FIG. 1 1 ;

[0048] Figure 10 An implementation flowchart of another information processing method of the embodiment of the present application is shown in FIG. 1 1 ;

[0049] Figure 11A An implementation flowchart of another information processing method of the embodiment of the present application is shown in FIG. 1 1 ;

[0050] Figure 11B An implementation flowchart of another information processing method of the embodiment of the present application is shown in FIG. 1 1 ;

[0051] Figure 12A An implementation flowchart of another information processing method of the embodiment of the present application is shown in FIG. 1 1 ;

[0052] Figure 12B An implementation flowchart of another information processing method of the embodiment of the present application is shown in FIG. 1 1 ;

[0053] Figure 13 An implementation flowchart of another information processing method of the embodiment of the present application is shown in FIG. 1 1 ;

[0054] Figure 14 An implementation flowchart of another information processing method of the embodiment of the present application is shown in FIG. 1 1 ;

[0055] Figure 15 An implementation flowchart of another information processing method of the embodiment of the present application is shown in FIG. 1 1 ;

[0056] Figure 16 An implementation flowchart of another information processing method of the embodiment of the present application is shown in FIG. 1 1 ; DETAILED DESCRIPTION

[0057] In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the following will further describe the specific technical solutions of the present application with reference to the drawings in the embodiments of the present application. The following embodiments are used to explain the present application, but are not used to limit the scope of the present application.

[0058] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs. The terminology used in the specification is for the purpose of describing the embodiments of the present application only and is not intended to be limiting of the present application.

[0059] In the following description, "some embodiments" are related to a subset of all possible embodiments, but it can be understood that "some embodiments" can be the same subset or different subsets of all possible embodiments, and can be combined with each other without conflict.

[0060] It should be noted that the terms "first", "second", "third" involved in the embodiments of the present application are only to distinguish similar objects, and do not represent the specific order of the objects. It can be understood that "first", "second", "third" can be interchanged in specific order or sequence as allowed, so that the embodiments of the present application described herein can be implemented in an order other than that illustrated or described herein.

[0061] The present embodiment first provides a network architecture, Figure 1 As shown in the structural diagram of the network architecture of the embodiments of the present application, Figure 1 The network architecture includes one or more electronic devices 11 to 1N and a communication network 01, wherein the electronic devices 11 to 1N can perform video interaction through the communication network 01. The electronic devices in the implementation process can be various types of devices with video coding function, for example, the electronic devices can include mobile phones, tablet computers, e-readers, drones, wearable devices (such as smart glasses, etc.), sweeping robots, personal computers, navigators, video phones, televisions, servers, etc.

[0062] The electronic devices have video coding function, including video encoder and / or video decoder, for example, see Figure 2AAs shown, the constituent structure of the video encoder 21 includes a transform and quantization unit 211, an intra-estimation unit 212, an intra-prediction unit 213, a motion compensation unit 214, a motion estimation unit 215, an inverse transform and inverse quantization unit 216, a filter control analysis unit 217, a filter unit 218, an encoding unit 219, a decoded image buffer unit 210, etc.; wherein the filter unit 218 can implement deblocking filtering and sample adaptive offset (SAO) filtering, and the encoding unit 219 can implement header information encoding and context-based adaptive binary arithmatic coding (CABAC).

[0063] For the input source video data, a video coding block can be obtained by the division of a coding tree unit (CTU), and then the residual pixel information obtained after intra- or inter- prediction is transformed by the transform and quantization unit 211 to transform the video coding block, including transforming the residual information from the pixel domain to the transform domain, and quantizing the obtained transform coefficients to further reduce the bit rate; the intra-estimation unit 212 and the intra-prediction unit 213 are used for intra-prediction of the video coding block; in particular, the intra-estimation unit 212 and the intra-prediction unit 213 are used to determine the intra-prediction mode to be used to encode the video coding block; the motion compensation unit 214 and the motion estimation unit 215 are used to perform inter-prediction encoding of the received video coding block relative to one or more blocks in one or more reference frames to provide temporal prediction information; the motion estimation performed by the motion estimation unit 215 is a process of generating a motion vector that can estimate the motion of the video coding block, and then the motion compensation is performed by the motion compensation unit 214 based on the motion vector determined by the motion estimation unit 215; after determining the intra-prediction mode, the intra-prediction unit 213 is also used to provide the selected intra-prediction data to the encoding unit 219, and the motion estimation unit 215 also sends the calculated determined motion vector data to the encoding unit 219; in addition, the inverse transform and inverse quantization unit 216 is used for reconstruction of the video coding block, reconstructing the residual block in the pixel domain, which removes the blocking artifact by the filter control analysis unit 217 and the filtering unit 218, and then adds the reconstructed residual block to a predictive block in one of the frames of the decoded image buffer unit 210 to generate a reconstructed video coding block; the encoding unit 219 is used to encode various encoding parameters and quantized transform coefficients, and in the CABAC-based encoding algorithm, the context content can be based on the neighboring coding block, which can be used to encode the information indicating the determined intra-prediction mode, and output the bitstream of the source video data; and the decoded image buffer unit 210 is used to store the reconstructed video coding block for prediction reference. As the video image encoding proceeds, new reconstructed video coding blocks are continuously generated, which are all stored in the decoded image buffer unit 210.

[0064] The video decoder 22 corresponding to the video encoder 21 has a structure as shown in Figure 2B Figure 2A ​After the encoding process, the bitstream of the source video data is output. The bitstream is input into the video decoder 22, and first passes through the decoding unit 221 to obtain the decoded transform coefficients. The inverse transform and inverse quantization unit 222 processes the transform coefficients to generate a residual block in the pixel domain. The intra prediction unit 223 is configured to generate prediction data of the current video decoding block based on a determined intra prediction mode and data from previously decoded blocks of the current frame or picture. The motion compensation unit 224 is configured to determine the prediction information for the video decoding block by parsing the motion vectors and other associated syntax elements, and use the prediction information to generate a predictive block of the video decoding block being decoded. The decoded video block is formed by summing the residual block from the inverse transform and inverse quantization unit 222 and the corresponding predictive block generated by the intra prediction unit 223 or the motion compensation unit 224. The obtained decoded video data is processed by the filter unit 225 to remove blocking artifacts and improve the video quality. The decoded video data is then stored in the decoded picture buffer unit 226, which stores the reference pictures for subsequent intra prediction or motion compensation, and also for output of the video data, i.e. the recovered source video data.

[0065] Before the embodiments of the present application are described in detail, first, the intra prediction mode is briefly described.

[0066] In the latest draft of Versatile Video Coding (VVC) (also known as H.266), in order to capture finer edge directions presented in natural videos, as shown in Figure 2C In the test model VTM5.0 of VVC, 94 component intra spatial prediction modes numbered from -14 to 80 are defined, including two non-angular modes, i.e. the Planar mode numbered 0 (hereinafter referred to as the planar prediction mode) and the DC mode numbered 1 (hereinafter referred to as the direct current component prediction mode). It should be noted that the number is used to uniquely identify the prediction mode, and can be used as a mode index sequence number when used. In intra prediction, the current block is intra-component spatially predicted by using one or more of the 94 component intra spatial prediction modes.

[0067] It should be noted that the information processing method in the embodiments of the present application is mainly applied to the intra prediction unit 213 part as shown in Figure 2A and the motion compensation unit 224 as shown in Figure 2BThe shown intra prediction unit 223 part is used to obtain the intra prediction value of the current block. That is, the information processing method in the embodiments of the present application can be applied to the video encoder 21, the video decoder 22, or both the video encoder 21 and the video decoder 22, but the embodiments of the present application are not limited in this regard. When the following described method is used in the 213 part, the “current block” refers to the to-be-encoded block in the 213 part; when the following described method is used in the 223 part, the “current block” refers to the to-be-decoded block in the 223 part.

[0068] The intra prediction process performed by the intra prediction unit 213 / 223 in the related art will be described. Generally, the intra prediction process mainly includes the following steps:

[0069] Step S201, before performing the brightness and chroma prediction on the current block (which can be a to-be-encoded block or a to-be-decoded block), the reference pixel values around the current block need to be obtained. If none of the reference pixels exist, the pixel value 512 is used for padding; if only a part of the reference pixels do not exist, the nearest existing reference pixel value is used for padding;

[0070] Step S202, according to the prediction mode and the size of the current block, etc., it is determined whether the reference pixels need to be filtered; if filtering is needed, a three-tap smoothing filter with a coefficient of [1, 2, 1] is used to filter the reference pixels;

[0071] Step S203, according to the calculation method of each prediction mode, the reference pixels are used to predict the current block to obtain the prediction value of each pixel in the current block;

[0072] Step S204, for the following prediction modes, after obtaining the prediction value of each pixel in the current block, the PDPC method is used to further correct the prediction value: the planar prediction mode, the direct current component prediction mode, the horizontal prediction mode, the vertical prediction mode, the angle prediction mode with a number less than or equal to 10 (including the wide angle mode), and the angle prediction mode with a number greater than or equal to 58 (including the wide angle mode); wherein, the planar prediction mode is the prediction mode with a number of 0 in the shown intra prediction mode, the direct current component prediction mode is the prediction mode with a number of 1 in the shown intra prediction mode, the horizontal prediction mode is the prediction mode with a number of 18 in the shown intra prediction mode, the vertical prediction mode is the prediction mode with a number of 50 in the shown intra prediction mode. Figure 2C Figure 2C Figure 2C Figure 2C

[0073] ​​​​It should be noted that the principle of the PDPC method is to correct the prediction value according to the left reference pixel left of the current block, the top reference pixel top and the top-left reference pixel topleft, and then determine the residual between the corrected prediction value and the corresponding pixel value in the current block.

[0074] For example, taking the PDPC calculation method in the direct current component prediction mode as an example, as shown in the following formula (1) and formula (2): Figure 2D and formula (1) as shown:

[0075]

[0076] According to the reconstructed pixel value P left on the left reference pixel left of the current block 24, the distance between left and the current point (x, y) in the current block 24 (which can be represented by the weight wL), the reconstructed pixel value P top on the top reference pixel top, the distance between top and the current point (x, y) (which can be represented by the weight wT), the reconstructed pixel value P topleft on the top-left reference pixel topleft, and the distance between topleft and the current point (x, y) (which can be represented by the weight wTL), the prediction value Q(x, y) of the current point (x, y) is corrected to obtain the corrected prediction value P(x, y).

[0077] The embodiments of the present application will be described in detail below with reference to the accompanying drawings. The information processing method provided by the embodiments of the present application can be applied to the video encoder 21 and the video decoder 22, and the embodiments of the present application do not make specific limitations on this.

[0078] The information processing method provided by the embodiments of the present application can be applied to the video encoder 21 of the electronic device, and the functions realized by the method can be realized by calling program code by the processor in the electronic device. Of course, the program code can be saved in the computer storage medium. Therefore, the electronic device at least includes a processor and a storage medium.

[0079] Figure 3A The implementation flowchart of the information processing method of the embodiments of the present application is shown in the following figure: Figure 3A The method comprises the following steps:

[0080] In step S301, for the input source video data, the image components on the to-be-encoded block in the source video data are predicted according to the prediction mode to obtain a first prediction block, and the prediction mode is pre-set and belongs to the PDPC application mode.

[0081] In other embodiments, the image component is a chroma value or a luma value; it should be noted that the prediction mode used when predicting the current block (including the to-be-encoded block and the to-be-decoded block) before using the PDPC method is defined as a PDPC application mode. For example, in VTM5.0, the PDPC application modes include: a planar prediction mode, a DC component prediction mode, a horizontal prediction mode, a vertical prediction mode, an angle prediction mode with a number less than or equal to 10 (including a wide angle mode), and an angle prediction mode with a number greater than or equal to 58 (including a wide angle mode).

[0082] It should be noted that the to-be-decoded block refers to an image region in the source video data that needs to be predicted and encoded. In implementation, the source video data can be obtained by an image acquisition device.

[0083] It can be understood that after obtaining the first prediction block, step S302 is directly performed to determine the difference between the image component on the to-be-encoded block and the prediction value on the first prediction block, so that, before determining the residual block, the first prediction block is not subjected to PDPC processing, which can reduce the processing complexity of intra prediction.

[0084] Step S302, determining the difference between the image component on the to-be-encoded block and the prediction value on the first prediction block to obtain a residual block;

[0085] Step S303, writing the residual block and the prediction mode into a bitstream.

[0086] In the embodiments of the present application, after predicting the image component on the to-be-encoded block in the source video data according to a preset prediction mode belonging to the PDPC application mode to obtain a first prediction block, each prediction value in the first prediction block is not corrected, but the difference between the prediction value on the first prediction block and the image component on the to-be-encoded block is directly determined; in this way, the processing complexity of intra prediction can be reduced under the premise of ensuring the video coding performance.

[0087] The embodiments of the present application provide another information processing method, which is applied to a video decoder 21 of an electronic device, Figure 3B For the implementation flowchart of another information processing method of the embodiments of the present application, as shown in Figure 3B The method comprises the following steps:

[0088] Step S311, predicting the image component on the to-be-decoded block in the bitstream according to the prediction mode in the bitstream to obtain a second prediction block; wherein the prediction mode is preset and belongs to a PDPC application mode;

[0089] In other embodiments, the image component is a chroma value or a luma value.

[0090] Step S312, determining the sum of the difference value on the residual block in the code stream and the prediction value on the second prediction block, to obtain a recovery block;

[0091] Step S313, processing the recovery block, to output the processed video data.

[0092] In the embodiment of the present application, the image component on the to-be-decoded block in the code stream is predicted according to the prediction mode in the input code stream, to obtain a second prediction block, and the prediction mode is preset and belongs to the PDPC application mode; after the second prediction block is obtained, each prediction value in the second prediction block is not corrected, but the sum of the difference value on the residual block in the code stream and the prediction value on the second prediction block is directly determined, to obtain a recovery block; in this way, the processing complexity of intra prediction can be reduced under the premise of ensuring the video decoding performance.

[0093] The embodiment of the present application provides another information processing method, which is applied to a video encoder 21 of an electronic device, Figure 4A The implementation flowchart of the another information processing method of the embodiment of the present application is shown in FIG. 4, which includes the following steps: Figure 4A

[0094] Step S401, for the input source video data, performing chroma prediction on the chroma value on the to-be-encoded block in the source video data according to a prediction mode, to obtain a first prediction block, and the prediction mode is preset and belongs to the PDPC application mode;

[0095] It can be understood that the improvement of the video coding performance by using the PDPC method is based on saving the coding bits and sacrificing the chroma performance. Since the image content reflected by the luminance and the chroma is different, the performance of the luminance and the chroma cannot be improved at the same time by correcting the first prediction block by using the PDPC method. In the embodiment of the present application, after the chroma value on the to-be-encoded block in the source video data is chroma predicted by using the preset prediction mode, the first prediction block obtained is not corrected by using the PDPC method, but the chroma residual block is directly determined according to the to-be-encoded block and the first prediction block.

[0096] Step S402, determining the difference value between the chroma value on the to-be-encoded block and the chroma prediction value on the first prediction block, to obtain a residual block;

[0097] Here, it can be understood that the obtained residual block is a chroma residual block, that is, the difference value between the chroma value on the to-be-encoded block and the luminance prediction value on the first prediction block is included.

[0098] ​Step S403, write the residual block and the prediction mode into a bitstream.

[0099] In the embodiments of the present application, for the input source video data, after the chroma values on the to-be-encoded block in the source video data are chroma-predicted according to the preset prediction mode belonging to the PDPC application mode, the prediction values on the obtained first prediction block are not corrected, but residual values are directly obtained. In this way, the processing complexity of chroma intra-prediction is reduced without affecting the chroma performance.

[0100] Based on the foregoing steps S401 to S403, in other embodiments, the method further includes the following steps:

[0101] Step S404, perform luma prediction on the luma values on the to-be-encoded block according to the preset prediction mode belonging to the PDPC application mode, to obtain a first prediction block;

[0102] Step S405, correct the prediction values on the first prediction block to obtain a first correction block;

[0103] Step S406, determine the difference between the luma values on the to-be-encoded block and the corresponding correction values on the first correction block, to obtain a correction residual block;

[0104] Step S407, write the correction residual block and the prediction mode into a bitstream.

[0105] It should be noted that, in other embodiments, for luma prediction, the video encoder can also perform steps S901 to S903 in the following embodiments, or perform steps S101 to S103 in the following embodiments.

[0106] The embodiments of the present application provide another information processing method, which is applied to a video decoder 21 of an electronic device, Figure 4B For the implementation flowchart of the information processing method of the embodiments of the present application, as shown in Figure 4B the method includes the following steps:

[0107] Step S411, for the input bitstream, perform prediction on the chroma values on the to-be-decoded block in the bitstream according to the prediction mode in the bitstream, to obtain a second prediction block; wherein the prediction mode is preset and belongs to a PDPC application mode;

[0108] Step S412, determine the sum of the chroma difference values on the residual block in the bitstream and the chroma prediction values on the second prediction block, to obtain a recovery block;

[0109] Step S413, process the recovery block, and output the processed video data.

[0110] In the embodiment of the present application, for an input bitstream, chroma values on a to-be-decoded block in the bitstream are predicted according to a prediction mode in the bitstream to obtain a second prediction block, the prediction mode is a prediction mode and belongs to a PDPC application mode, after the second prediction block is obtained, the chroma prediction values on the obtained second prediction block are not corrected, but the residual block is directly added to the second prediction block to obtain a recovery block, the recovery block is processed, and processed video data is output; in this way, the processing complexity of chroma intra prediction is reduced without affecting the chroma performance.

[0111] Based on the foregoing steps S411 to S413, in other embodiments, the method further includes the following steps:

[0112] Step S414, for an input bitstream, luminance values on a to-be-decoded block in the bitstream are predicted according to a prediction mode in the bitstream to obtain a second prediction block; wherein the prediction mode is a preset mode and belongs to a PDPC application mode;

[0113] Step S415, the luminance prediction values on the second prediction block are corrected to obtain a second correction block;

[0114] Step S416, the sum of the luminance difference values on the residual block in the bitstream and the luminance prediction values on the second correction block is determined to obtain a recovery block;

[0115] Step S417, the recovery block is processed, and processed video data is output.

[0116] It should be noted that, in other embodiments, for luminance prediction, the video decoder can also perform steps S911 to S913 in the following embodiments, or, in other embodiments, the prediction mode in step S911 is any prediction mode in any combination of the following first to fourth mode combinations.

[0117] The embodiment of the present application provides another information processing method, which is applied to a video encoder 21 of an electronic device, Figure 5 The implementation flowchart of another information processing method of the embodiment of the present application is shown in Figure 5 The method includes the following steps:

[0118] Step S501, for input source video data, chroma values on a to-be-encoded block in the source video data are chroma predicted according to any prediction mode in a first mode combination to obtain a first prediction block;

[0119] The first mode combination includes the following PDPC application modes: a prediction mode with a number less than a first value and not containing a planar prediction mode and a direct current component prediction mode, a prediction mode with a number greater than the first value and less than or equal to a second value, a prediction mode with a number greater than or equal to a third value and less than a fourth value, and a prediction mode with a number greater than the fourth value in the preset N component intra spatial prediction modes.

[0120] It should be noted that the first value, the second value, the third value and the fourth value are usually preset mode index sequence values (i.e., the values of the numbers). In a preferred embodiment, the N component intra spatial prediction modes are the 94 component intra spatial prediction modes shown in the table, the first value is set to 2, the second value is set to 10, the third value is set to 58, and the fourth value is set to 66, that is, when any one of the prediction modes with a number less than 2 and not containing a planar prediction mode and a direct current component prediction mode, a prediction mode with a number greater than 2 and less than or equal to 10, a prediction mode with a number greater than or equal to 58 and less than 66, and a prediction mode with a number greater than 66 in the 94 component intra spatial prediction modes is used for chroma prediction, the obtained chroma prediction value is not corrected by using the PDPC method. In other words, the PDPC method is used to correct the obtained chroma prediction value only in the planar prediction mode, the direct current component prediction mode, the horizontal prediction mode, the vertical prediction mode, the prediction mode with a number of 2 and the prediction mode with a number of 66. Figure 2C

[0121] Step S502, determining a difference between the chroma value on the to-be-encoded block and the chroma prediction value on the first prediction block to obtain a residual block;

[0122] Step S503, writing the residual block and the prediction mode into a bitstream.

[0123] In the embodiments of the present application, when the prediction mode in the first mode combination is used for chroma prediction of the to-be-encoded block, the obtained chroma prediction value is not corrected by using the PDPC method, and the difference between the chroma prediction value and the chroma value on the to-be-encoded block is directly determined; in this way, the processing complexity of chroma prediction is reduced on the basis of ensuring the chroma prediction performance.

[0124] Based on the foregoing steps S501 to S503, in other embodiments, the method further includes the steps S403 to S407.

[0125] It should be noted that in other embodiments, for the luminance prediction, the steps S901 to S903 in the following embodiments can also be performed, or the steps S101 to S103 in the following embodiments can be performed.

[0126] ​It should also be noted that, for the input bitstream, the video decoder may perform decoding steps symmetrical to steps S501 to S503 above, which are not described in detail here. In other embodiments, for luma prediction, the video decoder may also perform steps S911 to S913 in the following embodiments, or, in other embodiments, the prediction mode in step S911 is any prediction mode in any combination of the first to fourth mode combinations.

[0127] The embodiment of the present application provides another information processing method, which is applied to the video encoder 21 of the electronic device. Figure 6 This is a schematic diagram of the implementation flow of another information processing method according to an embodiment of the present application, as shown in FIG. Figure 6 As shown, the method includes the following steps:

[0128] Step S601: For input source video data, perform chroma prediction on chroma values ​​of a block to be encoded in the source video data according to any prediction mode in a second mode combination to obtain a first prediction block; wherein the second mode combination includes the following PDPC application modes: prediction modes numbered less than or equal to a second value and excluding a planar prediction mode and a direct current component prediction mode, and prediction modes numbered greater than or equal to a third value, among the preset N components of spatial prediction modes;

[0129] It should be noted that the second value and the third value are usually preset mode index sequence values ​​(ie, the values ​​of the number). In a preferred embodiment, the spatial prediction mode within the N components is Figure 2C In the 94 spatial prediction modes shown, the second value is set to 10 and the third value is set to 58. That is, when performing chrominance prediction using any of the prediction modes numbered less than or equal to 10 and excluding the planar prediction mode and the DC component prediction mode, and any of the prediction modes numbered greater than or equal to 58, the PDPC method is not used to correct the obtained chrominance prediction value. This can reduce the processing complexity of chrominance prediction. In other words, the PDPC method is only used to correct the obtained chrominance prediction value in the planar prediction mode, the DC component prediction mode, the horizontal prediction mode, and the vertical prediction mode.

[0130] For example, in another preferred embodiment, the spatial prediction mode within the N components is Figure 2C For the spatial prediction modes within the 94 components shown, the second value is set to 8 and the third value is set to 60.

[0131] Step S602, determining a difference between a chroma value on the block to be coded and a chroma prediction value on the first prediction block to obtain a residual block;

[0132] Step S603, write the residual block and the prediction mode into a bitstream.

[0133] In the embodiments of the present application, when using any prediction mode in the second mode combination to predict the to-be-encoded block, the residual value is directly determined, and the prediction value is not corrected; in this way, the chroma encoding performance is improved without affecting the brightness encoding performance. Experimental data show that the Y component performance loss is 0.03%, the U component performance is improved by 0.16%, and the V component performance is improved by 0.14%. It can be seen that the Y component performance loss is basically unchanged, and the U component performance and the V component performance are obviously improved.

[0134] It should be noted that based on the foregoing steps S601 to S603, in other embodiments, the method further includes the above steps S403 to S407. Alternatively, for brightness prediction, steps S901 to S903 in the following embodiments can also be performed, or steps S101 to S103 in the following embodiments can be performed.

[0135] It should be further noted that the video decoder can perform decoding steps symmetrical to the above steps S601 to S603 for the input bitstream, which will not be described here. In other embodiments, for brightness prediction, steps S911 to S913 in the following embodiments can also be performed, and in other embodiments, the prediction mode in step S911 is any prediction mode in any combination of the first to fourth mode combinations.

[0136] The embodiments of the present application provide another information processing method, which is applied to a video encoder 21 of an electronic device, Figure 7 The implementation flowchart of the information processing method of the embodiments of the present application is shown in FIG. 8. Figure 7 As shown in FIG. 8, the method includes the following steps:

[0137] Step S701, for the input source video data, performing chroma prediction on the chroma value of the to-be-encoded block in the source video data according to any prediction mode in a third mode combination to obtain a first prediction block; wherein the third mode combination includes the following PDPC application modes: horizontal prediction mode, vertical prediction mode, prediction mode numbered less than or equal to a second value and not containing a plane prediction mode and a direct component prediction mode in a preset N component spatial prediction mode, and prediction mode numbered greater than or equal to a third value;

[0138] It should be noted that the second value and the third value are usually preset mode index sequence values (i.e. the value of the number). In a preferred embodiment, the N component spatial prediction mode is Figure 2CThe second number is set to 10, and the third number is set to 58, that is, the third mode combination includes the following PDPC application modes: the horizontal prediction mode, the vertical prediction mode, and the prediction modes in the 94 intra-component spatial prediction modes whose numbers are less than or equal to 10 and do not include the planar prediction mode and the direct current component prediction mode, and the prediction modes whose numbers are greater than or equal to 58. In other words, the PDPC method is only used to correct the obtained chroma prediction value in the planar prediction mode and the direct current component prediction mode, and the PDPC method is not used to correct the obtained chroma prediction value in the third mode combination, so as to reduce the processing complexity of chroma prediction.

[0139] In step S702, a difference between the chroma value on the to-be-encoded block and the chroma prediction value on the first prediction block is determined to obtain a residual block.

[0140] In step S703, the residual block and the prediction mode are written into a bitstream.

[0141] It should be noted that based on the foregoing steps S701 to S703, in other embodiments, the method further includes the steps S403 to S407 described above. Alternatively, in other embodiments, for the luminance prediction, the steps S901 to S903 in the following embodiments can also be performed, or the steps S101 to S103 in the following embodiments are performed.

[0142] It should be further noted that the video decoder performs a decoding step symmetrical to the steps S701 to S703 described above for the input bitstream, which will not be described herein. In other embodiments, for the luminance prediction, the video decoder can also perform the steps S414 to S417 described above, or the steps S911 to S913 in the following embodiments, or in other embodiments, the prediction mode in step S911 is any prediction mode in any combination of the first to fourth mode combinations.

[0143] The embodiment of the present application provides another information processing method, which is applied to a video encoder 21 of an electronic device, Figure 8 For the implementation flowchart of another information processing method of the embodiment of the present application, as shown in Figure 8 The method includes the following steps:

[0144] Step S801, for the input source video data, color prediction is performed on the chroma values of a to-be-encoded block in the source video data according to any prediction mode in a fourth mode combination, to obtain a first prediction block; wherein the fourth mode combination includes the following PDPC application modes: horizontal prediction mode, vertical prediction mode, and prediction modes in N spatial prediction modes in components that are numbered less than or equal to a second value and contain a planar prediction mode and a direct component prediction mode, and prediction modes numbered greater than or equal to a third value.

[0145] It should be noted that the second value and the third value are usually preset mode index sequence values (i.e. the values of the numbers). In a preferred embodiment, the N spatial prediction modes in components are the 94 spatial prediction modes in components shown in the table, the second value is set to 10, and the third value is set to 58, that is, the fourth mode combination includes the following PDPC application modes: horizontal prediction mode, vertical prediction mode, prediction modes in the 94 spatial prediction modes in components that are numbered less than or equal to 10, and prediction modes numbered greater than or equal to 58. In other words, when color prediction is performed in all PDPC application modes, the obtained color prediction values are not corrected using the PDPC method. Figure 2C

[0146] Step S802, determining the difference between the chroma values on the to-be-encoded block and the chroma prediction values on the first prediction block, to obtain a residual block;

[0147] Step S803, writing the residual block and the prediction mode into a bitstream.

[0148] It should be noted that based on the foregoing steps S801 to S803, in other embodiments, the method further includes the steps S401 to S403, or the steps S501 to S503, or the steps S601 to S603, or the steps S701 to S703, or the following steps S901 to S903 in the above embodiments.

[0149] It should also be noted that, for the input bitstream, the video decoder can perform decoding steps symmetrical to the above steps S801 to S803, which will not be described here. In other embodiments, for luminance prediction, the video decoder can also perform the above steps S414 to S417, or perform the steps S911 to S914 in the following embodiments, or in other embodiments, the prediction mode in step S911 is any prediction mode in any combination of the first to fourth mode combinations.

[0150] ​An information processing method is provided in the embodiments of the present application. The method is applied to a video encoder 21 of an electronic device. FIG. 9 is a schematic flowchart of implementation of the information processing method according to the embodiments of the present application. As shown in FIG. 9, the method comprises the following steps. Figure 9A

[0151] In step S901, the luminance values on a to-be-encoded block in input source video data are predicted according to a preset prediction mode belonging to a PDPC application mode, to obtain a first prediction block.

[0152] In step S902, a difference between the luminance values on the to-be-encoded block and the luminance prediction values on the first prediction block is determined, to obtain a residual block.

[0153] In step S903, the residual block and the prediction mode are written into a bitstream.

[0154] In the embodiments of the present application, when the luminance values on the to-be-encoded block are predicted according to the preset prediction mode belonging to the PDPC application mode, the PDPC method is not used to correct the obtained luminance prediction values, so that the processing complexity of luminance prediction can be reduced.

[0155] It should be noted that, based on the foregoing steps S901 to S903, in other embodiments, the method further comprises the steps S401 to S403, or the steps S501 to S503, or the steps S601 to S603, or the steps S701 to S703, or the steps S801 to S803 described in the above embodiments.

[0156] An information processing method is provided in the embodiments of the present application. The method is applied to a video decoder 21 of an electronic device. FIG. 10 is a schematic flowchart of implementation of the information processing method according to the embodiments of the present application. As shown in FIG. 10, the method comprises the following steps. Figure 9B Figure 9B

[0157] In step S911, the luminance values on a to-be-decoded block in an input bitstream are predicted according to a prediction mode in the bitstream, to obtain a second prediction block. The prediction mode is preset and belongs to a PDPC application mode.

[0158] In other embodiments, the prediction mode in step S911 is any prediction mode in any combination in the first to fourth mode combinations.

[0159] In step S912, a sum of the luminance difference values on a residual block in the bitstream and the luminance prediction values on the second prediction block is determined, to obtain a recovery block.

[0160] ​​​Step S913, processing the recovery block, and outputting processed video data.

[0161] Another information processing method is provided in the embodiments of the present application, which is applied to a video encoder 21 of an electronic device, Figure 10 An implementation flowchart of another information processing method of the embodiments of the present application is shown in FIG. 11. Figure 10 The method includes the following steps:

[0162] Step S101, for input source video data, performing luminance prediction on luminance values on a to-be-encoded block in the source video data according to any prediction mode in any combination of the first to fourth mode combinations, to obtain a first prediction block;

[0163] Step S102, determining a difference between the luminance values on the to-be-encoded block and luminance prediction values on the first prediction block, to obtain a residual block;

[0164] Step S103, writing the residual block and the prediction mode into a bitstream.

[0165] It should be noted that, based on the foregoing steps S101 to S103, in other embodiments, the method further includes steps S401 to S403, or steps S501 to S503, or steps S601 to S603, or steps S701 to S703, or steps S801 to S803 described in the above embodiments.

[0166] Yet another information processing method is provided in the embodiments of the present application, which is applied to a video encoder 21 of an electronic device, Figure 11A An implementation flowchart of yet another information processing method of the embodiments of the present application is shown in FIG. 12. Figure 11A The method includes the following steps:

[0167] Step S1101, for input source video data, performing prediction on an image component on a to-be-encoded block in the source video data according to a prediction mode, to obtain a third prediction block, the prediction mode being preset and belonging to a PDPC application mode;

[0168] In other embodiments, the image component is a luminance value or a chrominance value.

[0169] Step S1102, correcting the third prediction block according to the prediction mode, to obtain a third correction block;

[0170] Step S1103, determining a difference between the image component on the to-be-encoded block and a correction value on the third correction block, to obtain a residual block;

[0171] Step S1104, write the residual block and the prediction mode into a bitstream.

[0172] In other embodiments, for step S1101, the predicting, according to a prediction mode, an image component on a to-be-encoded block in source video data to obtain a third prediction block comprises: predicting, according to any prediction mode in a fifth mode combination, a chroma value on the to-be-encoded block to obtain the third prediction block; wherein the fifth mode combination comprises the following PDPC application modes: a planar prediction mode, a direct component prediction mode, a horizontal prediction mode, a vertical prediction mode, a first-numbered prediction mode in a preset N-component spatial prediction mode, and a fourth-numbered prediction mode in the preset N-component spatial prediction mode.

[0173] In other embodiments, for step S1101, the predicting, according to a prediction mode, an image component on a to-be-encoded block in source video data to obtain a third prediction block comprises: predicting, according to the prediction mode, the image component on the to-be-encoded block to obtain the third prediction block when the following conditions 1 to 4 are all met;

[0174] Condition 1: the to-be-encoded block is a luma block and no intra-subblock division is used; or, the to-be-encoded block is a chroma block;

[0175] Condition 2: the to-be-encoded block is a luma block and a 0th reference line prediction is used; or, the to-be-encoded block is a chroma block; wherein the 0th reference line refers to a reference line closest to the to-be-encoded block;

[0176] Condition 3: the to-be-encoded block is not encoded using a block-based delta pulse code modulation (BDPCM) method;

[0177] Condition 4: any of the following conditions is met:

[0178] The prediction mode is a horizontal prediction mode;

[0179] The prediction mode is a vertical prediction mode;

[0180] The prediction mode is a first-numbered prediction mode in a preset N-component spatial prediction mode;

[0181] The prediction mode is the fourth-numbered prediction mode;

[0182] The prediction mode is a prediction mode numbered less than or equal to a second number and the to-be-encoded block is not a chroma block;

[0183] The prediction mode is a prediction mode numbered greater than or equal to a third number and the to-be-encoded block is not a chroma block.

[0184] In other embodiments, for step S1101, the predicting, according to a prediction mode, an image component on a to-be-encoded block in the source video data to obtain a third prediction block comprises: predicting, according to any prediction mode in a sixth mode combination, a chroma value on the to-be-encoded block to obtain the third prediction block; wherein the sixth mode combination comprises the following PDPC application modes: a planar prediction mode, a direct component prediction mode, a horizontal prediction mode, and a vertical prediction mode.

[0185] In other embodiments, for step S1101, the predicting, according to a prediction mode, an image component on a to-be-encoded block in the source video data to obtain a third prediction block comprises: predicting, according to the prediction mode, the image component on the to-be-encoded block to obtain the third prediction block when the following conditions 1 to 4 are all satisfied;

[0186] Condition 1: the to-be-encoded block is a luma block and no intra-subblock division is used; or, the to-be-encoded block is a chroma block;

[0187] Condition 2: the to-be-encoded block is a luma block and a 0th reference line prediction is used; or, the to-be-encoded block is a chroma block; wherein the 0th reference line refers to a reference line closest to the to-be-encoded block;

[0188] Condition 3: the to-be-encoded block is not encoded using a BDPCM method;

[0189] Condition 4: any of the following conditions is satisfied:

[0190] The prediction mode is a planar prediction mode;

[0191] The prediction mode is a direct component prediction mode;

[0192] The prediction mode is a horizontal prediction mode;

[0193] The prediction mode is a vertical prediction mode;

[0194] The prediction mode is a prediction mode whose number is less than or equal to a second numerical value and the to-be-encoded block is not a chroma block;

[0195] The prediction mode is a prediction mode whose number is greater than or equal to a third numerical value and the to-be-encoded block is not a chroma block.

[0196] In other embodiments, for step S1101, the predicting, according to a prediction mode, an image component on a to-be-encoded block in the source video data to obtain a third prediction block comprises:

[0197] perform chroma prediction on the chroma values on the to-be-encoded block according to any one of the prediction modes in the seventh mode combination to obtain a third prediction block; wherein the seventh mode combination includes the following PDPC application modes: a planar prediction mode and a direct current component prediction mode.

[0198] In other embodiments, for step S1101, the performing prediction on the image component on the to-be-encoded block in the source video data according to the prediction mode to obtain a third prediction block includes:

[0199] Case 1: the to-be-encoded block is a luma block and no intra-subblock division is used; or, the to-be-encoded block is a chroma block;

[0200] Case 2: the to-be-encoded block is a luma block and the 0th reference line prediction is used; or, the to-be-encoded block is a chroma block; wherein the 0th reference line refers to the nearest reference line to the to-be-encoded block;

[0201] Case 3: the to-be-encoded block is not encoded using the BDPCM method;

[0202] Case 4: any one of the following conditions is met:

[0203] the prediction mode is a planar prediction mode;

[0204] the prediction mode is a direct current component prediction mode;

[0205] the prediction mode is a horizontal prediction mode and the to-be-encoded block is not a chroma block;

[0206] the prediction mode is a vertical prediction mode and the to-be-encoded block is not a chroma block;

[0207] the prediction mode is a prediction mode with a number less than or equal to a second numerical value and the to-be-encoded block is not a chroma block;

[0208] the prediction mode is a prediction mode with a number greater than or equal to a third numerical value and the to-be-encoded block is not a chroma block.

[0209] In other embodiments, for step S1101, the performing prediction on the image component on the to-be-encoded block in the source video data according to the prediction mode to obtain a third prediction block includes:

[0210] In other embodiments, for step S1101, the performing prediction on the image component on the to-be-encoded block in the source video data according to the prediction mode to obtain a third prediction block includes:

[0211] Case 1: the to-be-encoded block is a luma block and no intra-subblock division is used;

[0212] Case 2: the to-be-encoded block is a luma block and uses the 0th reference line for prediction; wherein the 0th reference line refers to the closest reference line to the to-be-encoded block;

[0213] Case 3: the to-be-encoded block is not encoded using the BDPCM method;

[0214] Case 4: any of the following conditions is met:

[0215] the prediction mode is a planar prediction mode;

[0216] the prediction mode is a direct current component prediction mode;

[0217] the prediction mode is a horizontal prediction mode;

[0218] the prediction mode is a vertical prediction mode;

[0219] the prediction mode is a prediction mode with a number less than or equal to a second numerical value;

[0220] the prediction mode is a prediction mode with a number greater than or equal to a third numerical value.

[0221] The embodiments of the present application provide another information processing method, which is applied to a video decoder 21 of an electronic device, Figure 11B The implementation flowchart of the information processing method of the embodiments of the present application is shown in FIG. 11. Figure 11B The method comprises the following steps:

[0222] In step S1121, for the input code stream, the image component on the to-be-decoded block in the code stream is predicted according to the prediction mode in the code stream, to obtain a fourth prediction block; wherein the prediction mode is preset and belongs to a PDPC application mode.

[0223] In other embodiments, the image component is a chroma value or a luma value.

[0224] In step S1122, the fourth prediction block is corrected according to the prediction mode, to obtain a fourth corrected block.

[0225] In step S1123, the sum of the difference on the residual block in the code stream and the correction value on the fourth corrected block is determined, to obtain a restored block.

[0226] In step S1124, the restored block is processed, and the processed video data is output.

[0227] In VTM5.0, the PDPC method is applied to the planar prediction mode, the direct current component prediction mode, the horizontal prediction mode, the vertical prediction mode, the angle prediction mode with the number less than or equal to 10 and the angle prediction mode with the number greater than or equal to 58 in the 94 kinds of spatial prediction modes in the prediction mode of the luminance block and the chrominance block, that is, after the current block is predicted using these prediction modes, the PDPC method is used to correct the predicted value obtained by prediction.

[0228] In VTM5.0, it is stipulated that the PDPC method is used when all the following (101) to (104) conditions are met:

[0229] (101) the current block is a luminance block and the intra sub-partition (ISP) is not used; or, the current block is a chrominance block;

[0230] (102) the 0th reference line prediction is used when the current block is a luminance block; or, the current block is a chrominance block; wherein, the 0th reference line refers to the reference line closest to the current block;

[0231] (103) the current block is not encoded using the block-based delta pulse code modulation (BDPCM) method;

[0232] (104) any one of the following conditions is met: the prediction mode is the planar prediction mode, the direct current component prediction mode, the horizontal prediction mode, the vertical prediction mode, the angle prediction mode with the number less than or equal to 10, or the angle prediction mode with the number greater than or equal to 58.

[0233] However, the improvement of the coding performance using the PDPC method is based on saving the coding bits and sacrificing the chrominance performance. Since the image content reflected by the luminance and the chrominance is different, the PDPC technology cannot improve the performance of the luminance and the chrominance at the same time, and the same PDPC method should not be used for the luminance and the chrominance.

[0234] Therefore, the following describes the content involved in the above embodiments in combination with a plurality of preferred embodiments.

[0235] The embodiment of the present application provides a method for modifying the application mode of PDPC, reducing the chrominance prediction mode using PDPC, so that after the limitation, the time complexity is reduced and the chrominance coding performance is improved. In order to facilitate understanding, the following is described in detail.

[0236] The PDPC application mode of the related art is the same for luma and chroma, all of which are using the planar prediction mode, the DC component prediction mode, the horizontal prediction mode, the vertical prediction mode, the angle prediction mode with a number less than or equal to 10, or the angle prediction mode with a number greater than or equal to 58.

[0237] In the embodiments of the present application, the chroma prediction is modified to use Figure 2C When any of the prediction modes with a number less than or equal to 10 and excluding the planar prediction mode and the DC component prediction mode, or the prediction mode with a number greater than or equal to 58, among the 94 spatial prediction modes shown in Table 1, is used for chroma prediction of the current block, the obtained chroma prediction value is not modified using the PDPC method. In other words, the chroma prediction mode using PDPC is reduced to only using PDPC for the planar prediction mode, the DC component prediction mode, the horizontal prediction mode, or the vertical prediction mode when the current block is chroma predicted; while the luma prediction mode using PDPC is still the planar prediction mode, the DC component prediction mode, the horizontal prediction mode, the vertical prediction mode, the angle prediction mode with a number less than or equal to 10, and the angle prediction mode with a number greater than or equal to 58 among the 94 spatial prediction modes, i.e., the luma prediction mode using PDPC is unchanged.

[0238] Correspondingly, the syntax semantics in VTM5.0 is modified, i.e., the mode using PDPC is limited as follows:

[0239] When the following conditions (201) to (204) are all met, PDPC is used:

[0240] (201) ISP partition is not used when the current block is a luma block; or, the current block is a chroma block;

[0241] (202) the 0th reference line prediction is used when the current block is a luma block; or, the current block is a chroma block;

[0242] (203) the current block is not encoded using the BDPCM method;

[0243] (204) any of the following conditions is met: the prediction mode is the planar prediction mode, the DC component prediction mode, the horizontal prediction mode, the vertical prediction mode, the angle prediction mode with a number less than or equal to 10 and the current block is not a chroma block, or the angle prediction mode with a number greater than or equal to 58 and the current block is not a chroma block.

[0244] The above method for modifying the PDPC application mode provided by the embodiments of the present application can obtain the following beneficial effects without substantially affecting the performance:

[0245] The first aspect can improve the chroma coding performance without affecting the luminance coding performance. Experimental data shows that the Y component performance loss is 0.03%; the U component performance is improved by 0.16%, and the V component performance is improved by 0.14%. It can be seen that the Y component performance loss is basically unchanged; the U component performance is improved and the V component performance is significantly improved.

[0246] The second aspect can reduce the complexity. In the related art, there are many application scenarios of PDPC. Using the method provided in the embodiments of the present application can reduce the chroma prediction mode using PDPC to 4, thereby saving the processing complexity, and greatly shortening the final decoding time.

[0247] The protection point of the embodiments of the present application is to modify the use scenario of PDPC in chroma prediction. Whether it is the main scheme of using PDPC only for the planar prediction mode, the direct current component prediction mode, the horizontal prediction mode and the vertical prediction mode in the chroma prediction mode, or the alternative scheme of prohibiting the use of PDPC for part of the chroma prediction mode, it is to reduce the prediction mode of applying PDPC in chroma prediction, reduce the complexity of the algorithm, and improve the coding performance of chroma. Among them, the alternative scheme mainly includes the following schemes:

[0248] Alternative scheme 1: modify the chroma prediction to use the horizontal prediction mode, the vertical prediction mode, Figure 2C As shown in the 94 component intra prediction modes, any one of the prediction modes with a number less than or equal to 10 and the prediction modes with a number greater than or equal to 58 is used for chroma prediction of the current block, and the obtained chroma prediction value is not modified by using the PDPC method. That is, all chroma prediction modes are prohibited from using PDPC, and the luminance prediction mode using PDPC when performing luminance prediction on the current block is unchanged.

[0249] Correspondingly, the syntax semantics in VTM5.0 is modified as follows: when the following conditions (301) to (305) are all met, PDPC is used:

[0250] (301) the current block is a luminance block;

[0251] (302) the current block does not use ISP division;

[0252] (303) the current block uses the 0th reference line prediction;

[0253] (304) the current block is not encoded using the BDPCM method;

[0254] (305) any one of the following conditions is met: the prediction mode is the planar prediction mode, the direct current component prediction mode, the horizontal prediction mode, the vertical prediction mode, the angle prediction mode with a number less than or equal to 10, or the angle prediction mode with a number greater than or equal to 58.

[0255] Alternative 2: Modify the chroma prediction as follows: when any of the following prediction modes is used to perform the chroma prediction for the current block, the PDPC method is not used to modify the obtained chroma prediction value: the horizontal prediction mode, the vertical prediction mode, any of the spatial prediction modes within the 94 components with the mode number less than or equal to 10 and excluding the planar prediction mode and the DC component prediction mode, and the prediction mode with the mode number greater than or equal to 58. In other words, the PDPC is only used in the planar prediction mode and the DC component prediction mode when performing the chroma prediction; the luma prediction modes using the PDPC remain unchanged when performing the luma prediction for the current block.

[0256] Correspondingly, the syntax semantics in VTM5.0 is modified as follows: the PDPC is used when the following conditions (401) to (404) are all satisfied:

[0257] (401) the ISP partition is not used when the current block is a luma block; or, the current block is a chroma block;

[0258] (402) the 0th reference line prediction is used when the current block is a luma block; or, the current block is a chroma block;

[0259] (403) the current block is not encoded using the BDPCM method;

[0260] (404) any of the following conditions is satisfied: the prediction mode is the planar prediction mode, the DC component prediction mode, the horizontal prediction mode and the current block is not a chroma block, the vertical prediction mode and the current block is not a chroma block, the angle prediction mode with the mode number less than or equal to 10 and the current block is not a chroma block, or the angle prediction mode with the mode number greater than or equal to 58 and the current block is not a chroma block.

[0261] Alternative 3: Modify the chroma prediction as follows: when any of the following prediction modes is used to perform the chroma prediction for the current block, the PDPC method is not used to modify the obtained chroma prediction value: the prediction mode with the mode number less than 2 and excluding the planar prediction mode and the DC component prediction mode, the prediction mode with the mode number greater than 2 and less than or equal to 10, the prediction mode with the mode number greater than or equal to 58 and less than 66, and the prediction mode with the mode number greater than 66. In other words, the PDPC is only used in the planar prediction mode, the DC component prediction mode, the horizontal prediction mode, the vertical prediction mode, the prediction mode with the mode number 2, and the prediction mode with the mode number 66; the luma prediction modes using the PDPC remain unchanged when performing the luma prediction for the current block.

[0262] Correspondingly, the syntax semantics in VTM5.0 is modified as follows: the PDPC is used when the following conditions (501) to (504) are all satisfied:

[0263] (501) the current block is a luma block and ISP partition is not used; or, the current block is a chroma block;

[0264] (502) the current block is a luma block and the 0th reference line prediction is used; or, the current block is a chroma block;

[0265] (503) the current block is not coded using the BDPCM method;

[0266] (504) any one of the following conditions is met: the prediction mode is the planar prediction mode, the DC component prediction mode, the horizontal prediction mode, the vertical prediction mode, the prediction mode numbered 2, the prediction mode numbered 66, the angle prediction mode numbered less than or equal to 10 and the current block is not a chroma block, or the angle prediction mode numbered greater than or equal to 58 and the current block is not a chroma block.

[0267] Alternative 4: modify the chroma prediction and luma prediction to, when using any one of the prediction modes numbered less than or equal to 10 and greater than 8 and the prediction modes numbered greater than or equal to 58 and less than 60 in the 94 spatial prediction modes, chroma prediction and luma prediction are performed on the current block, the obtained chroma prediction value and luma prediction value are not modified using the PDPC method. In other words, the luma and chroma prediction modes using PDPC are simultaneously reduced.

[0268] Correspondingly, the syntax semantics in VTM5.0 is modified to use PDPC when the following conditions (601) to (604) are met:

[0269] (601) the current block is a luma block and ISP partition is not used; or, the current block is a chroma block;

[0270] (602) the current block is a luma block and the 0th reference line prediction is used; or, the current block is a chroma block;

[0271] (603) the current block is not coded using the BDPCM method;

[0272] (604) any one of the following conditions is met: the prediction mode is the planar prediction mode, the DC component prediction mode, the horizontal prediction mode, the vertical prediction mode, the angle prediction mode numbered less than or equal to 8, the angle prediction mode numbered greater than or equal to 60.

[0273] Based on the foregoing embodiments, the embodiments of the present application provide an information processing device, each module included in the device, and each unit included in each module can be implemented by a processor in an electronic device; of course, it can also be implemented by a specific logic circuit; in the implementation process, the processor can be a central processing unit (CPU), a microprocessor (MPU), a digital signal processor (DSP), or a field programmable gate array (FPGA), etc.

[0274] Figure 12A The structural schematic diagram of the information processing device in the embodiments of the present application is shown in Figure 12A The information processing device 120 includes:

[0275] The prediction module 121 is configured to, for input source video data, predict an image component on a to-be-encoded block in the source video data according to a prediction mode to obtain a first prediction block, the prediction mode being preset and belonging to a PDPC application mode.

[0276] The residual determination module 122 is configured to determine a difference between the image component on the to-be-encoded block and a prediction value on the first prediction block to obtain a residual block.

[0277] The writing module 123 is configured to write the residual block and the prediction mode into a bitstream.

[0278] In other embodiments, the image component is a luminance value or a chroma value.

[0279] In other embodiments, as shown in Figure 12B The prediction module 121 includes a chroma prediction unit 1210, which is configured to perform chroma prediction on the chroma value on the to-be-encoded block according to any prediction mode in a first mode combination to obtain a first prediction block; wherein the first mode combination includes the following PDPC application modes: a prediction mode with a number less than a first numerical value and not containing a planar prediction mode and a direct current component prediction mode in N preset spatial prediction modes within a component, a prediction mode with a number greater than the first numerical value and less than or equal to a second numerical value, a prediction mode with a number greater than or equal to a third numerical value and less than a fourth numerical value, and a prediction mode with a number greater than the fourth numerical value.

[0280] In other embodiments, the chroma prediction unit 1210 is configured to perform chroma prediction on the chroma value on the to-be-encoded block according to any prediction mode in a second mode combination to obtain a first prediction block; wherein the second mode combination includes the following PDPC application modes: a prediction mode with a number less than or equal to a second numerical value and not containing a planar prediction mode and a direct current component prediction mode in N preset spatial prediction modes within a component, and a prediction mode with a number greater than or equal to a third numerical value.

[0281] In other embodiments, the chroma prediction unit 1210 is configured to perform chroma prediction on the chroma values in the to-be-encoded block according to any prediction mode in a third mode combination to obtain the first prediction block; wherein the third mode combination includes the following PDPC application modes: a horizontal prediction mode, a vertical prediction mode, a prediction mode numbered less than or equal to a second value and not containing a planar prediction mode and a direct component prediction mode among the preset N spatial prediction modes in a component, and a prediction mode numbered greater than or equal to a third value.

[0282] In other embodiments, the chroma prediction unit 1210 is configured to perform chroma prediction on the chroma values in the to-be-encoded block according to any prediction mode in a fourth mode combination to obtain the first prediction block; wherein the fourth mode combination includes the following PDPC application modes: a vertical prediction mode, a prediction mode numbered less than or equal to a second value and containing a planar prediction mode and a direct component prediction mode among the preset N spatial prediction modes in a component, and a prediction mode numbered greater than or equal to a third value.

[0283] In other embodiments, as shown in FIG. 13, Figure 12B the prediction module 121 further includes a luma prediction unit 1212 configured to perform luma prediction on the luma values in the to-be-encoded block according to any prediction mode in any combination in the first to fourth mode combinations to obtain the first prediction block.

[0284] Embodiments of the present application provide another information processing apparatus, Figure 13 A structure diagram of another information processing apparatus of embodiments of the present application is shown in FIG. 14, Figure 13 The information processing apparatus 130 includes:

[0285] a prediction module 131 configured to, for an input bitstream, perform prediction on an image component in a to-be-decoded block in the bitstream according to a prediction mode in the bitstream to obtain a second prediction block; wherein the prediction mode is preset and belongs to a PDPC application mode;

[0286] a recovery module 132 configured to determine a sum of a difference value in a residual block in the bitstream and a prediction value in the second prediction block to obtain a recovery block;

[0287] a video output module 133 configured to process the recovery block and output processed video data.

[0288] In other embodiments, the image component is a chroma value or a luma value.

[0289] In other embodiments, the prediction mode is any prediction mode in the first mode combination; wherein the first mode combination includes the following PDPC application modes: a prediction mode in the spatial prediction mode within the preset N components whose number is less than the first value and does not include a plane prediction mode and a DC component prediction mode, a prediction mode whose number is greater than the first value and less than or equal to the second value, a prediction mode whose number is greater than or equal to the third value and less than the fourth value, and a prediction mode whose number is greater than the fourth value.

[0290] In other embodiments, the prediction mode is any prediction mode in the second mode combination; wherein the second mode combination includes the following PDPC application modes: prediction modes in the spatial prediction modes within the preset N components whose numbers are less than or equal to the second value and do not include planar prediction modes and DC component prediction modes, and prediction modes whose numbers are greater than or equal to the third value.

[0291] In other embodiments, the prediction mode is any prediction mode in a third mode combination; wherein the third mode combination includes the following PDPC application modes: a horizontal prediction mode, a vertical prediction mode, a prediction mode in the spatial prediction mode within the preset N components whose number is less than or equal to the second value and does not include a planar prediction mode and a DC component prediction mode, and a prediction mode whose number is greater than or equal to the third value.

[0292] In other embodiments, the prediction mode is any prediction mode in a fourth mode combination; wherein the fourth mode combination includes the following PDPC application modes: a horizontal prediction mode, a vertical prediction mode, a prediction mode in a spatial prediction mode within the preset N components whose number is less than or equal to a second value and includes a planar prediction mode and a DC component prediction mode, and a prediction mode whose number is greater than or equal to a third value.

[0293] The embodiment of the present application provides another information processing device, Figure 14 This is a structural diagram of another information processing device according to an embodiment of the present application. Figure 14 As shown, the information processing device 140 includes:

[0294] The prediction module 1401 is configured to: predict the image components of the to-be-encoded block in the input source video data according to a prediction mode to obtain a third prediction block, wherein the prediction mode is preset and belongs to the PDPC application mode;

[0295] The correction module 1402 is configured to: correct the third predicted block according to the prediction mode to obtain a third corrected block;

[0296] The residual determination module 1403 is configured to determine a difference between the image component on the to-be-encoded block and the correction value on the third correction block, to obtain a residual block.

[0297] The writing module 1404 is configured to write the residual block and the prediction mode into a bitstream.

[0298] In other embodiments, the image component is a luminance value or a chroma value.

[0299] In other embodiments, the prediction module 1401 is configured to perform chroma prediction on the chroma value on the to-be-encoded block according to any prediction mode in a fifth mode combination to obtain a third prediction block; wherein the fifth mode combination includes the following PDPC application modes: a planar prediction mode, a direct component prediction mode, a horizontal prediction mode, a vertical prediction mode, a first-numbered prediction mode in a preset N-component spatial prediction mode, and a fourth-numbered prediction mode in the preset N-component spatial prediction mode.

[0300] In other embodiments, the prediction module 1401 is configured to:

[0301] When the following conditions 1 to 4 are all met, the image component on the to-be-encoded block is predicted according to the prediction mode to obtain a third prediction block.

[0302] Condition 1: the to-be-encoded block is a luminance block and no intra-subblock division is used; or the to-be-encoded block is a chroma block.

[0303] Condition 2: the to-be-encoded block is a luminance block and a 0th reference line prediction is used; or the to-be-encoded block is a chroma block; wherein the 0th reference line refers to the nearest reference line to the to-be-encoded block.

[0304] Condition 3: the to-be-encoded block is not encoded using a block-based delta pulse code modulation (BDPCM) method.

[0305] Condition 4: any of the following conditions is met:

[0306] The prediction mode is a horizontal prediction mode.

[0307] The prediction mode is a vertical prediction mode.

[0308] The prediction mode is a first-numbered prediction mode in a preset N-component spatial prediction mode.

[0309] The prediction mode is the fourth-numbered prediction mode.

[0310] The prediction mode is the prediction mode numbered less than or equal to a second number and the to-be-encoded block is not a chroma block.

[0311] The prediction mode is a prediction mode with the number greater than or equal to a third numerical value and the to-be-encoded block is not a chroma block.

[0312] In other embodiments, the prediction module 1401 is configured to perform chroma prediction on the chroma values on the to-be-encoded block according to any prediction mode in a sixth mode combination to obtain a third prediction block; wherein the sixth mode combination includes the following PDPC application modes: the planar prediction mode, the DC component prediction mode, the horizontal prediction mode, and the vertical prediction mode.

[0313] In other embodiments, the prediction module 1401 is configured to:

[0314] When the following conditions 1 to 4 are all met, perform prediction on the image component on the to-be-encoded block according to the prediction mode to obtain a third prediction block;

[0315] Condition 1: the to-be-encoded block is a luma block and no intra-subblock division is used; or, the to-be-encoded block is a chroma block;

[0316] Condition 2: the to-be-encoded block is a luma block and the 0th reference line prediction is used; or, the to-be-encoded block is a chroma block; wherein the 0th reference line refers to the closest reference line to the to-be-encoded block;

[0317] Condition 3: the to-be-encoded block is not encoded using the BDPCM method;

[0318] Condition 4: any of the following conditions is met:

[0319] The prediction mode is the planar prediction mode;

[0320] The prediction mode is the DC component prediction mode;

[0321] The prediction mode is the horizontal prediction mode;

[0322] The prediction mode is the vertical prediction mode;

[0323] The prediction mode is a prediction mode with the number less than or equal to a second numerical value and the to-be-encoded block is not a chroma block;

[0324] The prediction mode is a prediction mode with the number greater than or equal to a third numerical value and the to-be-encoded block is not a chroma block.

[0325] In other embodiments, the prediction module 1401 is configured to perform chroma prediction on the chroma values on the to-be-encoded block according to any prediction mode in a seventh mode combination to obtain a third prediction block; wherein the seventh mode combination includes the following PDPC application modes: the planar prediction mode and the DC component prediction mode.

[0326] In other embodiments, the prediction module 1401 is configured to:

[0327] predict the image component on the to-be-coded block according to the prediction mode to obtain a third prediction block when the following conditions 1 to 4 are all satisfied;

[0328] Condition 1: the to-be-coded block is a luma block and no intra subblock partition is used; or the to-be-coded block is a chroma block;

[0329] Condition 2: the to-be-coded block is a luma block and 0th reference line prediction is used; or the to-be-coded block is a chroma block; wherein the 0th reference line refers to the reference line closest to the to-be-coded block;

[0330] Condition 3: the to-be-coded block is not coded using a BDPCM method;

[0331] Condition 4: any of the following conditions is satisfied:

[0332] the prediction mode is a planar prediction mode;

[0333] the prediction mode is a direct current component prediction mode;

[0334] the prediction mode is a horizontal prediction mode and the to-be-coded block is not a chroma block;

[0335] the prediction mode is a vertical prediction mode and the to-be-coded block is not a chroma block;

[0336] the prediction mode is a prediction mode with a number less than or equal to a second numerical value and the to-be-coded block is not a chroma block;

[0337] the prediction mode is a prediction mode with a number greater than or equal to a third numerical value and the to-be-coded block is not a chroma block.

[0338] In other embodiments, the prediction module 1401 is configured to:

[0339] predict the image component on the to-be-coded block according to the prediction mode to obtain a third prediction block when the following conditions 1 to 4 are all satisfied;

[0340] Condition 1: the to-be-coded block is a luma block and no intra subblock partition is used;

[0341] Condition 2: the to-be-coded block is a luma block and 0th reference line prediction is used; wherein the 0th reference line refers to the reference line closest to the to-be-coded block;

[0342] Condition 3: the to-be-coded block is not coded using a BDPCM method;

[0343] Case 4: any of the following conditions is met:

[0344] The prediction mode is a planar prediction mode;

[0345] The prediction mode is a direct current component prediction mode;

[0346] The prediction mode is a horizontal prediction mode;

[0347] The prediction mode is a vertical prediction mode;

[0348] The prediction mode is a prediction mode whose number is less than or equal to a second value;

[0349] The prediction mode is a prediction mode whose number is greater than or equal to a third value.

[0350] The embodiment of the present application provides another information processing device, Figure 15 The structure diagram of another information processing device of the embodiment of the present application is shown in FIG. 15. Figure 15 As shown in the figure, the information processing device 150 includes:

[0351] A prediction module 1501 configured to: for an input bitstream, predict an image component on a to-be-decoded block in the bitstream according to a prediction mode in the bitstream to obtain a fourth prediction block; wherein the prediction mode is preset and belongs to a PDPC application mode;

[0352] A correction module 1502 configured to: according to the prediction mode, correct the fourth prediction block to obtain a fourth correction block;

[0353] A recovery module 1503 configured to: determine a sum of a difference on a residual block in the bitstream and a correction value on the fourth correction block to obtain a recovery block;

[0354] A video output module 1504 configured to: process the recovery block to output processed video data.

[0355] In other embodiments, the image component is a chroma value or a luminance value.

[0356] The above description of the device embodiment is similar to the description of the method embodiment, and has similar beneficial effects as the method embodiment. For technical details not disclosed in the device embodiment of the present application, please refer to the description of the method embodiment for understanding.

[0357] It should be noted that, in the embodiments of the present application, if the information processing method described above is implemented in the form of a software function module and sold or used as an independent product, it can also be stored in a computer readable storage medium. Based on such understanding, the technical solutions of the embodiments of the present application can be embodied in the form of a software product, and the computer software product is stored in a storage medium, and includes a plurality of instructions for causing an electronic device (which can be a mobile phone, a tablet computer, an e-reader, a drone, a wearable device (such as smart glasses), a sweeping robot, a personal computer, a navigator, a video phone, a television, a server, etc.) to execute all or part of the method described in the embodiments of the present application. The foregoing storage medium includes: a U disk, a mobile hard disk, a read-only memory (ROM), a magnetic disk or an optical disk, and various media that can store program codes. Thus, the embodiments of the present application are not limited to any specific hardware and software combination.

[0358] Correspondingly, the embodiments of the present application provide an electronic device, Figure 16 A hardware entity diagram of an electronic device according to an embodiment of the present application is shown in FIG. 1. As shown in FIG. 1, the electronic device 160 includes a memory 161 and a processor 162, the memory 161 stores a computer program executable on the processor 162, and the processor 162 implements the steps of the information processing method provided in the above embodiments when executing the program. Figure 16

[0359] It should be noted that the memory 161 is configured to store instructions and applications executable by the processor 162, and can also cache data (for example, image data, audio data, voice communication data and video communication data) to be processed by the processor 162 and each module in the electronic device 160, which can be implemented by a flash (FLASH) or a random access memory (RAM).

[0360] The embodiments of the present application provide a computer readable storage medium, which stores a computer program, and the computer program is executed by a processor to implement the steps of the information processing method provided in the above embodiments.

[0361] It should be noted that the description of the above storage medium and device embodiments is similar to the description of the above method embodiments, and has similar beneficial effects to the method embodiments. For technical details not disclosed in the storage medium and device embodiments of the present application, please refer to the description of the method embodiments of the present application for understanding.

[0362] ​It should be understood that every feature, structure, or characteristic described herein is within a preferred embodiment of the present application. Thus, it is meant that the features, structures, or characteristics can be combined with each other in any manner within a preferred embodiment of the present application. In addition, it is contemplated that each feature, structure, or characteristic can be implemented in hardware, software, or a combination thereof.

[0363] It should be noted that, as used herein, the terms "includes," "including," or "includes" are intended to be open-ended terms that specifically permit the inclusion of other elements not specifically recited. As used herein, the terms "comprises," "comprising," or the like are to be construed as open-ended terms, indicating the presence of the stated features, groups of features, or the like, but not excluding the presence of one or more other features, groups of features, or the like.

[0364] In several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. The above-described device embodiments are only illustrative, for example, the division of the units is only a logical function division, and actual implementation can have another division manner, such as: multiple units or components can be combined, or can be integrated into another system, or some features can be ignored or not executed. In addition, the coupling or direct coupling or communication connection between each component part shown or discussed can be through some interface, indirect coupling or communication connection between devices or units, which can be electrical, mechanical or other forms.

[0365] The units described above as separate components can or can not be physically separated, and the components shown as units can or can not be physical units; they can be located in one place or distributed on multiple network units; some or all of the units can be selected according to actual needs to achieve the purpose of the embodiment.

[0366] In addition, each functional unit in each embodiment of the present application can be integrated into one processing unit, or each unit can be a separate unit, or two or more units can be integrated into one unit; the integrated unit can be realized in the form of hardware or hardware plus software functional unit.

[0367] Those skilled in the art can understand that all or part of the steps of the above-mentioned method embodiments can be completed by program instruction related hardware, and the foregoing program can be stored in a computer readable storage medium, and the program performs the steps of the above-mentioned method embodiments when executed; and the foregoing storage medium includes a mobile storage device, a read only memory (ROM), a magnetic disc or an optical disc and various storage medium capable of storing program codes.

[0368] Alternatively, the integrated units of the present application can be stored in a computer readable storage medium if they are realized in the form of software function modules and sold or used as independent products. Based on this understanding, the technical solutions of the embodiments of the present application can be embodied in the form of software products, and the computer software products are stored in a storage medium, including a plurality of instructions for causing an electronic device (which can be a mobile phone, a tablet computer, an e-reader, a drone, a wearable device (such as smart glasses), a sweeping robot, a personal computer, a navigator, a video phone, a television, a server, etc.) to execute all or part of the methods described in the embodiments of the present application. The foregoing storage medium includes a mobile storage device, a ROM, a magnetic disc or an optical disc and various storage medium capable of storing program codes.

[0369] The methods disclosed in the several method embodiments provided by the present application can be combined arbitrarily without conflict to obtain new method embodiments.

[0370] The features disclosed in the several product embodiments provided by the present application can be combined arbitrarily without conflict to obtain new product embodiments.

[0371] The features disclosed in the several method or device embodiments provided by the present application can be combined arbitrarily without conflict to obtain new method embodiments or device embodiments.

[0372] The above is only an embodiment of the present application, but the protection scope of the present application is not limited thereto, and any person skilled in the art can easily think of changes or replacements within the technical range disclosed by the present application, which should be covered in the protection scope of the present application. Therefore, the protection scope of the present application should be subject to the protection scope of the claims.

[0373] Industrial Utility

[0374] In the embodiments of the present application, for the input source video data, after predicting the image component on the to-be-encoded block in the source video data according to the preset prediction mode belonging to the PDPC application mode to obtain a first prediction block, instead of correcting each prediction value in the first prediction block, a difference between the prediction value on the first prediction block and the image component on the to-be-encoded block is directly determined; in this way, the processing complexity of the intra prediction can be reduced under the premise of ensuring the video coding performance.

Claims

1. An information processing method, applied to a decoder, characterized in that: The method comprises: Decoding the bitstream to obtain a prediction mode, and predicting the image component of the to-be-decoded block according to the prediction mode to obtain a third prediction block; wherein the prediction mode is a preset position-dependent mode combination PDPC mode to which a position-dependent mode combination PDPC mode can be applied; When the following conditions 1 to 3 are all satisfied, the third predicted block is corrected according to the prediction mode to obtain a third corrected block; Case 1: the block to be decoded is a chroma block; Case 2: the block to be decoded is not encoded using the block-based delta pulse code modulation (BDPCM) method; Case 3: Any of the following conditions is met: The prediction mode is a planar prediction mode; The prediction mode is a DC component prediction mode; The prediction mode is a horizontal prediction mode; The prediction mode is a vertical prediction mode; The prediction mode is a prediction mode numbered as a first value among the preset N component spatial prediction modes; The prediction mode is the prediction mode numbered as the fourth value; The code stream is decoded to determine a residual block; and a sum of the residual block and the third correction block is determined to obtain a restored block.

2. An information processing method, applied to an encoder, characterized in that: The method comprises: Predicting the image component of the block to be coded according to a prediction mode to obtain a third prediction block; wherein the prediction mode is a preset position-dependent mode combination PDPC mode to which a position-dependent mode combination can be applied; When the following conditions 1 to 3 are all satisfied, the third predicted block is corrected according to the prediction mode to obtain a third corrected block; Case 1: the block to be encoded is a chroma block; Case 2: the block to be encoded is not encoded using the block-based delta pulse code modulation (BDPCM) method; Case 3: Any of the following conditions is met: The prediction mode is a planar prediction mode; The prediction mode is a DC component prediction mode; The prediction mode is a horizontal prediction mode; The prediction mode is a vertical prediction mode; The prediction mode is a prediction mode numbered as a first value among the preset N component spatial prediction modes; The prediction mode is the prediction mode numbered as the fourth value; Determine a difference between the block to be encoded and the third corrected block to obtain a residual block; The residual block and the prediction mode are written into a bitstream.

3. A video decoding device, characterized in that: include: A prediction module is configured to decode the bitstream, obtain a prediction mode, and predict the image component of the to-be-decoded block according to the prediction mode to obtain a third prediction block; wherein the prediction mode is a preset position-dependent mode combination PDPC mode to which a position-dependent mode combination can be applied; a correction module configured to correct the third predicted block according to the prediction mode to obtain a third corrected block when all of the following conditions 1 to 3 are satisfied; Case 1: the block to be decoded is a chroma block; Case 2: the block to be decoded is not encoded using the block-based delta pulse code modulation (BDPCM) method; Case 3: Any of the following conditions is met: The prediction mode is a planar prediction mode; The prediction mode is a DC component prediction mode; The prediction mode is a horizontal prediction mode; The prediction mode is a vertical prediction mode; The prediction mode is a prediction mode numbered as a first value among the preset N component spatial prediction modes; The prediction mode is the prediction mode numbered as the fourth value; The recovery module is configured to decode the code stream and determine a residual block; and determine the sum of the residual block and the third correction block to obtain a recovery block.

4. A video encoding device, characterized in that include: A prediction module is configured to predict the image component of the block to be coded according to the prediction mode to obtain a third prediction block; wherein the prediction mode is a preset position-dependent mode combination PDPC mode to which a position-dependent mode combination PDPC mode can be applied; a correction module configured to correct the third predicted block according to the prediction mode to obtain a third corrected block when all of the following conditions 1 to 3 are satisfied; Case 1: the block to be encoded is a chroma block; Case 2: the block to be encoded is not encoded using the block-based delta pulse code modulation (BDPCM) method; Case 3: Any of the following conditions is met: The prediction mode is a planar prediction mode; The prediction mode is a DC component prediction mode; The prediction mode is a horizontal prediction mode; The prediction mode is a vertical prediction mode; The prediction mode is a prediction mode numbered as a first value among the preset N component spatial prediction modes; The prediction mode is the prediction mode numbered as the fourth value; a residual determination module configured to determine a difference between the block to be encoded and the third corrected block to obtain a residual block; and The writing module is configured to write the residual block and the prediction mode into a bitstream.

5. An electronic device, characterized in that: The method comprises a memory and a processor, wherein the memory stores a computer program that can be run on the processor, and when the processor executes the program, the steps of the information processing method according to claim 1 are implemented.

6. A computer-readable storage medium, characterized in that A computer program is stored thereon, and when the computer program is executed by a processor, the steps of the information processing method according to claim 1 are implemented.

7. An electronic device, characterized in that: The method comprises a memory and a processor, wherein the memory stores a computer program that can be run on the processor, and when the processor executes the program, the steps in the information processing method according to claim 2 are implemented.

8. A computer-readable storage medium, characterized in that A computer program is stored thereon, and when the computer program is executed by a processor, the steps of the information processing method according to claim 2 are implemented.

9. A computer-readable storage medium, characterized in that A computer program and a code stream are stored thereon, and when the computer program is executed by a processor, the information processing method according to claim 2 is implemented to generate the code stream.