Method, device and system for encoding and decoding videos of red green and blue (RGB) space
A technology of RGB space and video encoding, which is applied in the field of video encoding and decoding, can solve the problems of consuming CPU resources, etc., and achieve the effect of improving decoding and echoing speed and good visual encoding effect
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0051] Such as figure 1 Shown is a flow chart of a video encoding method in RGB space according to an embodiment of the present invention, and the method includes the following steps:
[0052] S101: set the resolution to MxN, press R 1 G 1 B 1 The red component R of the sequenced video sequence 1 and the blue component B 1 conduct The downsampling of the obtained resolution is The red component R 1 ’ and the blue component B 1 '.
[0053] Among them, G 1 is the green component, M represents the horizontal resolution of the video sequence, and N represents the vertical resolution of the video sequence.
[0054] The red component R 1 and the blue component B 1 conduct The downsampling of is specifically:
[0055] R 1 '(i,j)=(R 1 (2i, 2j)+R 1 (2i+1, 2j)+R 1 (2i, 2j+1)+R 1 (2i+1, 2j+1)) / 4 (1)
[0056] B 1 '(i,j)=(B 1 (2i, 2j)+B 1 (2i+1, 2j)+B 1 (2i, 2j+1)+B 1 (2i+1, 2j+1)) / 4
[0057] Among them: i, j represent row subscript and column subscript respect...
Embodiment 2
[0068] Such as figure 2 Shown is a flow chart of a video decoding method in RGB space according to an embodiment of the present invention, and the method includes the following steps:
[0069] S201: Decode the coded code stream, and press G after being restored 2 R 2 "B 2 "Sequential video sequence.
[0070] Among them, G 2 is the green component, R 2 "is the red component, B 2 ″ is the blue component; the encoded code stream is a YUV signal in 4:1:1 format, and the decoder used is a decoder in 4:2:0 format, such as JM or x264 decoder.
[0071] S202: set the red component R 2 ″ and the blue component B 2 "Do the second linear processing to obtain the red component R 2 ’ and the blue component B 2 '.
[0072] The red component R 2 ″ and the blue component B 2 "doing the second linear processing is specifically:
[0073] R 2 '=(R 2 ″-128)×2+128 (3)
[0074] B 2 '=(B 2 "-128)×2+128
[0075] S203: For the red component R 2 ’ and the blue component B 2 'condu...
Embodiment 3
[0083] Such as image 3Shown is a structural diagram of a video encoding device in RGB space according to an embodiment of the present invention, and the encoding device includes:
[0084] Downsampling module for converting the resolution to MxN, by R 1 G 1 B 1 The red component R of the sequenced video sequence 1 and the blue component B 1 conduct The downsampling of the obtained resolution is The red component R 1 ’ and the blue component B 1 ';
[0085] Among them, G 1 is the green component, M represents the horizontal resolution of the video sequence, and N represents the vertical resolution of the video sequence.
[0086] The red component R 1 and the blue component B 1 conduct The downsampling of is specifically:
[0087] R 1 '(i,j)=(R 1 (2i, 2j)+R 1 (2i+1, 2j)+R 1 (2i, 2j+1)+R 1 (2i+1, 2j+1)) / 4 (1)
[0088] B 1 '(i,j)=(B 1 (2i, 2j)+B 1 (2i+1, 2j)+B 1 (2i, 2j+1)+B 1 (2i+1, 2j+1)) / 4
[0089] Among them: i, j represent row subscript and column...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com