CODER, DECODER AND RELATED METHODS USED FOR THE CONVERSION PROCESS
Patent Information
- Application Number
- RU2023122907
- Authority / Receiving Office
- RU · RU
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2020-02-12
- Publication Date
- 2026-10-05
Claims
1. An encoding method implemented by a decoding device, comprising: when the prediction mode of the current coding block is intra-frame prediction, and the current coding block is processed using the intra-frame prediction (ISP) sub-coding mode, determining whether the width of the current transform block is greater than or equal to a first threshold value, and whether the width of the current transform block is less than or equal to a second threshold value, where the current transform block corresponds to the current coding block; when the width of the current transformation block is greater than or equal to the first threshold value, and the width of the current transformation block is less than or equal to the second threshold value, performing the transformation process in the current transformation block, where the DST 7 transformation core is used for transformation in the horizontal direction.
2. The method according to claim 1, wherein the method further comprises: when the width of the current transformation block is less than the first threshold value, or when the width of the current transformation block is greater than the second threshold value, performing the transformation process in the current transformation block, wherein in the transformation process the DCT 2 transformation kernel is used for horizontal transformation.
3. The method according to claim 1 or 2, wherein the method further comprises: obtaining a syntax value for the current coding block, wherein the syntax value for the current coding block is used to indicate that the prediction mode of the current coding block is intra-frame prediction.
4. The method according to claim 3, wherein the syntax value for the current coding block does not indicate a particular prediction mode of the current coding block.
5. An encoding method implemented by a decoding device, comprising: when the prediction mode of the current coding block is intra-frame prediction, and the current coding block is processed using the intra-frame prediction (ISP) sub-coding mode, determining whether the height of the current transformation block is greater than or equal to a third threshold value, and whether the height of the current transformation block is less than or equal to a fourth threshold value, the current transformation block corresponds to the current coding block; when the height of the current transformation block is greater than or equal to the third threshold value and less than or equal to the fourth threshold value, performing the conversion process in the current conversion block, wherein the DST 7 conversion core is used for conversion in the vertical direction.
6. The method according to claim 5, wherein the method further comprises: when the height of the current transformation block is less than a third threshold value, or when the height of the current transformation block is greater than a fourth threshold value, performing the transformation process in the current transformation block, wherein the DCT 2 transformation kernel is used for the transformation in the vertical direction.
7. The method according to claim 5 or 6, wherein the method further comprises: obtaining a syntax value for the current coding block, wherein the syntax value for the current coding block is used to indicate that the prediction mode of the current coding block is intra-frame prediction.
8. The method according to claim 7, wherein the syntax value for the current coding block does not indicate a particular prediction mode of the current coding block.
9. An encoding method implemented by a decoding device, comprising: when a multiple transform selection scheme (MTS) is not available for the current coding block, determining whether the width of the current transform block is greater than or equal to a first threshold value, and whether the width of the current transform block is less than or equal to a second threshold value, where the current transform block corresponds to the current coding block; when the width of the current transformation block is greater than or equal to the first threshold value and less than or equal to the second threshold value, performing a transformation process for the current transformation block, where the DST 7 transformation core is used for transformation in the horizontal direction.
10. The method according to claim 9, wherein the method further comprises: when the width of the current transform block is less than the first threshold value or when the width of the current transform block is greater than the second threshold value, performing the transformation process in the current transformation block, wherein the DCT 2 transformation kernel is used for transformation in the horizontal direction.
11. An encoding method implemented by a decoding device, comprising: when a multiple transform selection scheme (MTS) is not available for the current coding block, determining whether the height of the current transform block is greater than or equal to a third threshold value, and whether the height of the current transform block is less than or equal to a fourth threshold value, where the current transform block corresponds to the current coding block; when the height of the current transformation block is greater than or equal to the third threshold value and less than or equal to the fourth threshold value, performing the transformation process in the current transformation block, where the DST 7 transformation core is used for transformation in the vertical direction.
12. The method according to claim 11, wherein the method further comprises: when the height of the current transformation block is less than the third threshold value, or when the height of the current transformation block is greater than the fourth threshold value, performing the transformation process in the current transformation block, where the DCT 2 transformation kernel is used for the transformation in the vertical direction.
13. An encoding method implemented by a decoding device, comprising: when a multiple transform selection scheme (MTS) is not available for the current coding block, the width of the current transform block is greater than or equal to a first threshold value and less than or equal to a second threshold value, and the height of the block transformation current is greater than or equal to the third threshold value and less than or equal to the fourth threshold value, the current transformation block corresponds to the current coding block, determining whether the value of the width-to-height ratio of the block corresponding to the current transform block is greater than a fifth threshold value, when the value of the width-to-height ratio of the block is less than or equal to the fifth threshold value, The DST 7 transform core is used to perform horizontal and vertical transforms of the current transform block.
14. The method according to claim 13, wherein the method further comprises: when the value of the width-to-height ratio of the block is greater than the fifth threshold value, and the width of the current transformation block is less than the height of the current transformation block, The DST 7 transform kernel is used to horizontally transform the current transform block, and the DCT 2 transform kernel is used to vertically transform the current transform block.
15. The method according to claim 13 or 14, wherein the method further comprises: when the value of the width-to-height ratio of the block is greater than the fifth threshold value, and the width of the current transformation block is greater than the height of the current transformation block, The DCT 2 transform kernel is used to horizontally transform the current transform block, and the DST 7 transform kernel is used to vertically transform the current transform block.
16. A decoder (30) comprising a processing circuit for performing the method according to any one of claims 1 to 15.
17. A computer program product containing program code for performing the method according to any of paragraphs 1-15.
18. A decoder comprising: one or more processors; and a non-transitory machine-readable storage medium connected to the processors and storing a program for execution by the processors, wherein the program, when executed by the processors, configures the decoder to perform the method according to any one of claims 1-15.