Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

WebP coding method and device

A coding method and coding technology, which are applied in the fields of digital video signal modification, electrical components, image communication, etc., can solve problems such as low efficiency

Pending Publication Date: 2021-03-02
BEIJING VISION TECH
View PDF0 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, the complexity of the WebP compression algorithm is about ten times that of the JPEG compression algorithm, which is a huge challenge for the CPU processor, and the efficiency of completing WebP encoding is low

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • WebP coding method and device
  • WebP coding method and device
  • WebP coding method and device

Examples

Experimental program
Comparison scheme
Effect test

no. 1 example

[0044] The first embodiment of the present invention provides a WebP encoding method, which can be applied to an electronic device including an FPGA accelerator card and a CPU, and the electronic device can be a user device or a server. The electronic device is equipped with an FPGA (Field Programmable Gate Array, Field Programmable Gate Array) accelerator card, so that based on the interaction between the main processor (CPU) of the electronic device and the FPGA, the WebP coding based on the CPU+FPGA heterogeneous computing architecture is realized. method to improve the efficiency of WebP encoding.

[0045] figure 1 A method flowchart of the WebP encoding method in the embodiment of the present invention is shown. see below figure 1 As shown, the WebP encoding method provided by the embodiment of the present invention is described in detail:

[0046]First, execute S101: the CPU end obtains a target image.

[0047] Specifically, the target picture is specifically a pictu...

no. 2 example

[0072] An embodiment of the present invention provides a WebP encoding device, refer to Figure 6 As shown, the WebP encoding device includes an FPGA accelerator card and a CPU end, wherein the CPU end is used to send the target picture to the DDR cache end of the FPGA accelerator card; the DDR cache end of the FPGA accelerator card is used to To receive the target picture sent by the CPU end; the FPGA accelerator card is used to use the WebP encoding algorithm to perform pipeline parallel processing on the YUV image data read from the DDR cache end to obtain the encoded WebP code stream; wherein, from the DDR When the cache end reads the i-th block of YUV image data of the target picture, it also performs compression calculation on the i-1th block of YUV image data of the target picture in parallel and performs parallel compression calculation on the i-2th block of YUV image data of the target picture. Arithmetic coding; return the WebP code stream to the DDR cache end; the D...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a WebP coding method and device which are applied to equipment comprising an FPGA acceleration card and a CPU end, and the DDR cache end of the FPGA acceleration card receivesa target picture sent by the CPU end; the FPGA acceleration card reads the YUV image data of the target picture from the DDR cache end, and divides the WebP encoding process of the YUV image data intoa plurality of encoding steps executed in sequence to perform assembly line parallel processing so as to obtain an encoded WebP code stream; the FPGA acceleration card returns a WebP code stream to the DDR cache end; and the DDR cache end sends the WebP code stream to the CPU end. According to the invention, the assembly line parallel processing of the WebP coding algorithm is realized, so that the operation speed of the WebP coding algorithm is improved, and the WebP coding efficiency is further improved.

Description

technical field [0001] The invention relates to the field of image compression, in particular to a WebP encoding method and device. Background technique [0002] WebP is an image file format that provides lossy compression and lossless compression at the same time. Compared with the PNG image format, the WebP lossless image file is 26% smaller; under the same SSIM quality index, the WebP lossy image is 25% smaller than the JPEG image. %-34%, thanks to its excellent compression efficiency, the WebP format can greatly save bandwidth without reducing the picture quality, so it is supported by the majority of Internet manufacturers. However, the complexity of the WebP compression algorithm is about ten times that of the JPEG compression algorithm, which is a huge challenge for the CPU processor, and the efficiency of completing WebP encoding is low. Contents of the invention [0003] In view of the above-mentioned problems in the prior art, the present invention proposes a We...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): H04N19/176H04N19/423H04N19/436H04N19/625H04N19/70H04N19/15
CPCH04N19/176H04N19/70H04N19/15H04N19/436H04N19/423H04N19/625
Inventor 李明耿嘉樊平
Owner BEIJING VISION TECH
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products