IP Library › Granted Patent US 12,676,985
Granted Patent B2
US 12,676,985 · App. 17/964,305 · Granted Jul 7, 2026

Processing for encoding screen content video using bit allocation

Inventors: Sam Tak Wu Kwong (Kowloon, HK); Yi Chen (Kowloon, HK); Shiqi Wang (Kowloon, HK)
Assignee: City University of Hong Kong
H04N19/147H04N19/107H04N19/14H04N19/177H04N19/96
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 12,676,985
App. No.
17/964,305
Filed
Oct 12, 2022
Granted
Jul 7, 2026
Kind
B2
Art Unit
2483
USPC
375/240.13
Abstract

A method for processing a screen content video. The screen content video includes a plurality of frames each including a plurality of coding tree units and a plurality of coding units in each of the coding tree units. The method includes performing a coding-tree-unit-based analysis operation on the screen content video to determine content information associated with the screen content video, and performing a rate control operation on the screen content video based on the determined content information to encoding of the screen content video. The content information includes content complexity information associated with the screen content video and temporal importance information associated with the screen content video.

Claims (136)

1 . A method for encoding a screen content video, the screen content video comprising a plurality of frames each including a plurality of coding tree units (CTUs) and a plurality of coding units in each of the coding tree units, the method comprising:

performing a coding-tree-unit-based analysis operation on the screen content video to determine content information associated with the screen content video, the content information including content complexity information and temporal importance information each associated with the screen content video, wherein the content complexity information refers to a measure of spatial characteristics of the screen content in each frame;

modelling a rate-distortion relationship of the screen content video by incorporating the content complexity information into each of a rate model and a distortion model, wherein the modelling is performed at both frame level and CTU level for each frame and each CTU, and wherein the rate model and the distortion model are two separate models each dependent on at least the content complexity and a quantization stepsize;

performing a rate control operation on the screen content video, wherein the rate control operation includes steps of performing bits allocation using a cost function incorporating the temporal importance information to weight distortion predicted by the distortion model, as well as the rate model and the distortion model to estimate rate and distortion for optimization of the bits allocation,

wherein the temporal importance information represents a measure of distortion impact of a coding unit, a coding tree unit, or a frame on a total distortion of a group of pictures, derived recursively through propagation of distortion based on inter-frame prediction and intra block copy prediction; and

and deriving coding parameters according to allocated bits resulting from the bits allocation step.

2 . The method of claim 1 , wherein the content complexity information associated with the screen content video comprises content complexity measures for each of the coding units; and

wherein the temporal importance information comprises temporal importance measures for each of the coding units.

3 . The method of claim 2 , wherein the coding-tree-unit-based analysis operation comprises:

processing the screen content video to perform inter prediction, intra prediction, and intra block copy prediction.

4 . The method of claim 3 , wherein the coding-tree-unit-based analysis operation comprises:

determining the content complexity measures based on Hadamard transform of residuals of the intra prediction, the inter prediction, and/or the intra block copy prediction.

5 . The method of claim 4 , wherein the content complexity measures are based on:

C

=

∑

k

⁢

❘

"\[LeftBracketingBar]"

HAD

k

❘

"\[RightBracketingBar]"

W

·

H

Where C denotes a content complexity measure, HAD k denotes a sample of Hadamard-transformed prediction residual at position k within a coding unit, W and H are width and height of a corresponding one of the frame.

6 . The method of claim 4 , wherein the coding-tree-unit-based analysis operation comprises:

determining the temporal importance measures based on the recursive propagation process takes into account the content complexity measures associated with the coding units.

7 . The method of claim 2 , wherein each of the content complexity measures is determined by a sum of absolute transformed difference (SATD).

8 . The method of claim 1 , wherein the rate and distortion model comprises one or more rate models and one or more distortion models.

9 . The method of claim 8 , wherein each of the one or more rate models is modelled based on R=α·C β ·QS γ , where R is rate, C is content complexity measure, QS is quantization stepsize, and α, β, γ are model parameters; and

wherein each of the one or more distortion models is modelled based on D=μ·C η ·QS ϵ , where D is distortion, C is content complexity measure, QS is quantization stepsize, and μ, η, ϵ are model parameters.

10 . The method of claim 9 , wherein the bits allocation step comprises:

group-of-pictures-level bit allocation;

frame-level bit allocation; and

coding-tree-unit-level bit allocation.

11 . The method of claim 10 , wherein the rate control operation further comprises:

determining the coding parameters associated with each of the frames based on the allocated bits obtained in the frame-level bit allocation and the rate and distortion models; and

determining the coding parameters associated with each of the coding tree units based on the allocated bits obtained in the coding-tree-unit-level bit allocation and the rate and distortion models.

12 . The method of claim 11 ,

wherein the coding parameters associated with each of the frames comprise quantization parameters and Lagrangian multipliers λ associated with each of the frames; and

wherein the coding parameters associated with each of the coding tree units comprise quantization parameters and Lagrangian multipliers λ associated with each of the coding tree units.

13 . The method of claim 12 , wherein the Lagrangian multipliers λ associated with each of the frames are determined based on

λ

=

x

·

C

y

⁢

QS

z

,

where

⁢

x

=

-

μϵ

α

⁢

γ

,

y

=

η

-

β

,

z

=

ϵ

-

γ

.

14 . The method of claim 12 , wherein the Lagrangian multipliers λ associated with each of the coding tree units are determined based on

λ

=

x

·

C

y

⁢

Q

⁢

S

z

,

where

⁢

x

=

-

μϵ

α

⁢

γ

,

y

=

η

-

β

,

z

=

ϵ

-

γ

.

15 . The method of claim 8 , wherein the one or more rate models comprise a frame-level rate model and a coding-tree-unit-level rate model; and wherein the one or more distortion models comprises a frame-level distortion model, and a coding-tree-unit-level distortion model.

16 . The method of claim 15 ,

wherein the frame-level rate model and the coding-tree-unit-level rate model are each modelled based on R=α·C β ·QS γ , where R is rate, C is content complexity measure, QS is quantization stepsize, and α, β, γ are model parameters; and

wherein the frame-level distortion model and the coding-tree-unit-level distortion model are each modelled based on D=μ·C η ·QS ϵ , where D is distortion, C is content complexity measure, QS is quantization stepsize, and μ, η, ϵ are model parameters.

17 . The method of claim 9 , further comprising: encoding each of the frames and/or each of the coding tree units of the screen content video based on the rate control operation to facilitate generation of a bitstream of the screen content video.

18 . The method of claim 17 , further comprising: updating the model parameters in the rate and distortion models after encoding of each of the frames and/or each of the coding tree units.

19 . The method of claim 1 , comprising a further step of incorporating screen content coding tools in the coding-tree-unit-based analysis operation.

20 . The method of claim 19 , wherein the screen content coding tools are selected from any one of intra block copy (IBC), palette mode, adaptive color Transform (ACT), transform skip with residual coding (TSRC), block-based differential pulse-coded modulation (BDPCM), or a combination thereof.

21 . A system for encoding a screen content video, the screen content video comprising a plurality of frames each including a plurality of coding tree units and a plurality of coding units in each of the coding tree units, the system comprising:

one or more processors; and

memory storing one or more programs configured to be executed by the one or more processors, the one or more programs including instructions for:

performing a coding-tree-unit-based analysis operation on the screen content video to determine content information associated with the screen content video, the content information including content complexity information and temporal importance information each associated with the screen content video, wherein the content complexity information refers to a measure of spatial characteristics of the screen content in each frame;

modelling a rate-distortion relationship of the screen content video by incorporating the content complexity information into each of a rate model and a distortion model, wherein the modelling is performed at both frame level and CTU level for each frame and each CTU, and wherein the rate model and the distortion model are two separate models each dependent on at least the content complexity and a quantization stepsize;

performing a rate control operation on the screen content video, wherein the rate control operation includes steps of performing bits allocation using a cost function incorporating the temporal importance information to weight distortion predicted by the distortion model, as well as the rate model and the distortion model to estimate rate and distortion for optimization,

wherein the temporal importance information represents a measure of distortion impact of a coding unit, a coding tree unit, or a frame on a total distortion of a group of pictures, derived recursively through propagation of distortion based on inter-frame prediction and intra block copy prediction; and

deriving coding parameters according to allocated bits resulted from the bits allocation step.

22 . A non-transitory computer-readable storage medium storing one or more programs configured to be executed by one or more processors, the one or more programs including instructions for encoding a screen content video,

wherein the screen content video comprises a plurality of frames each including a plurality of coding tree units and a plurality of coding units in each of the coding tree units, and

wherein the instructions for processing a screen content video comprise instructions for:

performing a coding-tree-unit-based analysis operation on the screen content video to determine content information associated with the screen content video, the content information including content complexity information and temporal importance information each associated with the screen content video, wherein the content complexity information refers to a measure of spatial characteristics of the screen content in each frame;

modelling a rate-distortion relationship of the screen content video by incorporating the content complexity information into each of a rate model and a distortion model, wherein the modelling is performed at both frame level and CTU level for each frame and each CTU, and wherein the rate model and the distortion model are two separate models each dependent on at least the content complexity and a quantization stepsize;

performing a rate control operation on the screen content video, wherein the rate control operation includes steps of performing bits allocation using a cost function incorporating the temporal importance information to weight distortion predicted by the distortion model, as well as the rate model and the distortion model to estimate rate and distortion for optimization of the bits allocation,

wherein the temporal importance information represents a measure of distortion impact of a coding unit, a coding tree unit, or a frame on a total distortion of a group of pictures, derived recursively through propagation of distortion based on inter-frame prediction and intra block copy prediction; and

deriving coding parameters according to allocated bits resulted from the bits allocation step.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Oct 12, 2022
From: KWONG, SAM TAK WU; CHEN, YI; WANG, SHIQI
To: CITY UNIVERSITY OF HONG KONG
Reel/Frame 061393/0648 →
Continuity (1)
Related Publication 20240137522A1 · Apr 25, 2024
References Cited (63)
US 6831947B2 · Ribas · 2004 [cited by applicant]
US 8532169B2 · Wang et al. · 2013 [cited by applicant]
US 8588296B2 · Yang et al. · 2013 [cited by applicant]
US 8885702B2 · Yang et al. · 2014 [cited by applicant]
US 9860543B2 · Xu et al. · 2018 [cited by applicant]
US 10542262B2 · Gao et al. · 2020 [cited by applicant]
US 10560696B2 · Gao et al. · 2020 [cited by applicant]
US 11025914B1 · Yuen · 2021 [cited by examiner]
US 11736704B1 · Chuang · 2023 [cited by examiner]
US 11778224B1 · Vanam · 2023 [cited by examiner]
US 20050175090A1 · Vetro · 2005 [cited by examiner]
US 20090086816A1 · Leontaris · 2009 [cited by examiner]
US 20120147958A1 · Ronca · 2012 [cited by examiner]
US 20200029093A1 · Zhou · 2020 [cited by examiner]
US 20200128242A1 · Aristarkhov · 2020 [cited by examiner]
US 20200275104A1 · Zhao · 2020 [cited by examiner]
US 20210044805A1 · Liu · 2021 [cited by examiner]
US 20220038690A1 · Sharman · 2022 [cited by examiner]
US 20220150509A1 · Rosewarne · 2022 [cited by examiner]
US 20230370608A1 · Chen · 2023 [cited by examiner]
CN 106416251 · 2017 [cited by applicant]
CN 107113432 · 2017 [cited by applicant]
Li et al. [“λ Domain Rate Control Algorithm for High Efficiency Video Coding”, IEEE Transactions on Image Processing, vol. 23, No. 9, Sep. 2014]. [cited by examiner]
He et al. (“He”) (“Adaptive Quantization Parameter Selection For H.265/HEVC by Employing Inter-Frame Dependency,”—IEEE Transactions On Circuits and Systems For Video Technology, vol. 28, No. 12, Dec. 2018). [cited by examiner]
T. Nguyen, X. Xu, F. Henry, R.-L. Liao, M. Sarwer, M. Karczewicz, Y.-H. Chao, J. Xu, S. Liu, D. Marpe, G. J. Sullivan, Overview of the screen content support in vvc: Applications, coding tools, and performance, IEEE Tra… [cited by applicant]
B. Bross, Y.-K. Wang, Y. Ye, S. Liu, J. Chen, G. J. Sullivan, J.-R. Ohm, Overview of the versatile video coding (vvc) standard and its applications, IEEE Transactions on Circuits and Systems for Video Technology 31 (10)… [cited by applicant]
G. J. Sullivan, J.-R. Ohm, W.-J. Han, T. Wiegand, Overview of the high efficiency video coding (hevc) standard, IEEE Transactions on circuits and systems for video technology 22 (12) (2012) 1649-1668. [cited by applicant]
X. Xu, S. Liu, T.-D. Chuang, Y.-W. Huang, S.-M. Lei, K. Rapaka, C. Pang, V. Seregin, Y.-K. Wang, M. Karczewicz, Intra block copy in hevc screen content coding extensions, IEEE Journal on Emerging and Selected Topics in … [cited by applicant]
W. Pu, M. Karczewicz, R. Joshi, V. Seregin, F. Zou, J. Sole, Y.-C. Sun, T.-D. Chuang, P. Lai, S. Liu, S.-T. Hsiang, J. Ye, Y.-W. Huang, Palette mode coding in hevc screen content coding extension, IEEE Journal on Emergi… [cited by applicant]
L. L. Zhang, X. Xiu, J. Chen, M. Karczewicz, Y. He, Y. Ye, J. Xu, J. Sole, W.-S. Kim, Adaptive color-space transform in hevc screen content coding, IEEE Journal on Emerging and Selected Topics in Circuits and Systems 6 … [cited by applicant]
T. Nguyen, B. Bross, H. Schwarz, D. Marpe, T. Wiegand, Residual coding for transform skip mode in versatile video coding, in: 2020 Data Compression Conference (DCC), 2020, pp. 83-92. doi:10.1109/DCC47342.2020.00016. [cited by applicant]
M. Abdoli, F. Henry, P. Brault, F. Dufaux, P. Duhamel, P. Philippe, Intra block-dpcm with layer separation of screen content in vvc, in: 2019 IEEE International Conference on Image Processing (ICIP), 2019, pp. 3162-3166… [cited by applicant]
L. Wang, Rate control for mpeg video coding, Signal Processing: Image Communication 15 (6) (2000) 493-511. [cited by applicant]
ITUTH, Generic coding of moving pictures and associated audio information: Video, Recommendation (1995). [cited by applicant]
J.-C. Tsai, C.-H. Shieh, Modified tmn8 rate control for low-delay video communications, IEEE transactions on circuits and systems for video technology 14 (6) (2004) 864-868. [cited by applicant]
K. Rijkse, H. 263: Video coding for low-bit-rate communication, IEEE Communications magazine 34 (12) (1996)42-45. [cited by applicant]
J. I. Ronda, M. Eckert, F. Jaureguizar, N. Garcia, Rate control and bit allocation for mpeg-4, IEEE Transactions on Circuits and Systems for Video Technology 9 (8) (1999) 1243-1258. [cited by applicant]
T. Ebrahimi, Mpeg-4 video verification model: A video encod-ing/decoding algorithm based on content representation, Signal Processing: Image Communication 9 (4) (1997) 367-384. [cited by applicant]
Z. Li, Adaptive basic unit layer rate control for jvt, JVT 7th Meeting (2003). [cited by applicant]
I. Recommendation, H. 264: Advanced video coding for generic audio-visual services, ISO/IEC 14496 (2003). [cited by applicant]
B. Li, H. Li, L. Li, J. Zhang, λ domain rate control algorithm for high efficiency video coding, IEEE transactions on Image Processing 23 (9) (2014) 3841-3854. [cited by applicant]
S. Ma, W. Gao, Y. Lu, Rate-distortion analysis for h. 264/avc video coding and its application to rate control, IEEE transactions on circuits and systems for video technology 15 (12) (2005) 1533-1544. [cited by applicant]
Z. He, Y. K. Kim, S. K. Mitra, Low-delay rate control for dct video coding via/spl rho/-domain source modeling, IEEE transactions on Circuits and Systems for Video Technology 11 (8) (2001) 928-940. [cited by applicant]
M. Liu, Y. Guo, H. Li, C. W. Chen, Low-complexity rate control based on ρ-domain model for scalable video coding, in: 2010 IEEE International Conference on Image Processing, IEEE, 2010, pp. 1277-1280. [cited by applicant]
L. Li, B. Li, H. Li, C. W. Chen, λ-domain optimal bit allocation algorithm for high efficiency video coding, IEEE Transactions on Circuits and Systems for Video Technology 28 (1) (2016) 130-142. [cited by applicant]
Y. Li, B. Li, D. Liu, Z. Chen, A convolutional neural network-based approach to rate control in heve intra coding, in: 2017 IEEE Visual Communications and Image Processing (VCIP), IEEE, 2017, pp. 1-4. [cited by applicant]
M. Wang, J. Zhang, L. Huang, J. Xiong, Machine learning-based rate distortion modeling for vvc/h. 266 intra-frame, in: 2021 IEEE International Conference on Multimedia and Expo (ICME), IEEE, 2021, pp. 1-6. [cited by applicant]
W. Gao, S. Kwong, Q. Jiang, C.-K. Fong, P. H. Wong, W. Y. Yuen, Data-driven rate control for rate-distortion optimization in hevc based on simplified effective initial qp learning, IEEE Transactions on Broad-casting 65 … [cited by applicant]
S. Wang, X. Zhang, X. Liu, J. Zhang, S. Ma, W. Gao, Utility-driven adaptive preprocessing for screen content video compression, IEEE Transactions on Multimedia 19 (3) (2016) 660-667. [cited by applicant]
S. Wang, K. Gu, K. Zeng, Z. Wang, W. Lin, Objective quality assessment and perceptual compression of screen content images, IEEE computer graphics and applications 38 (1) (2016) 47-58. [cited by applicant]
S. Wang, J. Li, S. Wang, S. Ma, W. Gao, A frame level rate control algorithm for screen content coding, in: 2018 IEEE International Symposium on Circuits and Systems (ISCAS), IEEE, 2018, pp. 1-4. [cited by applicant]
Y. Guo, B. Li, S. Sun, J. Xu, Rate control for screen content coding in hevc, in: 2015 IEEE International Symposium on Circuits and Systems (ISCAS), IEEE, 2015, pp. 1118-1121. [cited by applicant]
J. Xiao, B. Li, S. Sun, J. Xu, Rate control with delay constraint for screen content coding, in: 2017 IEEE Visual Communications and Image Processing (VCIP), IEEE, 2017, pp. 1-4. [cited by applicant]
Y. Yang, L. Shen, H. Yang, P. An, A content-based rate control algorithm for screen content video coding, Journal of Visual Communication and Image Representation 60 (2019) 328-338. [cited by applicant]
H. Yang, L. Shen, Y. Yang, W. Lin, A novel rate control scheme for video coding in hevc-scc, IEEE Transactions on Broadcasting 66 (2) (2019) 333-345. [cited by applicant]
J. Garrett-Glaser, A novel macroblock-tree algorithm for high-performance optimization of dependent video coding in h.264/avc, Tech. Rep. (2009). [cited by applicant]
J. Si, S. Ma, X. Zhang, W. Gao, Adaptive rate control for high efficiency video coding, in: 2012 Visual Communications and Image Processing, IEEE, 2012, pp. 1-6. [cited by applicant]
J. He, E.-H. Yang, F. Yang, K. Yang, Adaptive quantization parameter selection for h. 265/hevc by employing inter-frame dependency, IEEE Transactions on Circuits and Systems for Video Technology 28 (12) (2017) 3424-3436. [cited by applicant]
Z. Liu, L. Wang, X. Li, X. Ji, Optimize x265 rate control: An exploration of lookahead in frame bit allocation and slice type decision, IEEE Transactions on Image Processing 28 (5) (2018) 2558-2573. [cited by applicant]
J. Chen, Y. Ye, S. Kim, Algorithm description for Versatile Video Coding and Test Model 9 (VTM 9), Joint Video Experts Team (JVET), doc. JVET-R2002 (2020). [cited by applicant]
B. Widrow, M. E. Hoff, Adaptive switching circuits, Tech. rep., Stanford Univ Ca Stanford Electronics Labs (1960). [cited by applicant]
F. Bossen, J. Boyce, X. Li, V. Seregin, K. Suehring, JVET common test conditions and software reference configurations for SDR video, Joint Video Experts Team (JVET), doc. JVET-N1010 (2019). [cited by applicant]
G. Bjontegaard, Calculation of average PSNR differences between RD-curves, ITU-T VCEG Meeting, Austin, Texas, USA, Tech. Rep, doc. VCEG-M33 (2001). [cited by applicant]