Unlock instant, AI-driven research and patent intelligence for your innovation.

Double-buffer coding system and control method thereof

A coding system and control method technology, applied in the fields of computer-readable storage media, computer equipment, and double-buffer coding systems, can solve problems such as costing performance, reducing transcoding efficiency, and increasing user waiting time

Pending Publication Date: 2021-05-18
GAODING XIAMEN TECH CO LTD
View PDF16 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

In order to avoid asynchronous problems caused by multi-thread communication, data reading and writing are often locked to ensure the atomicity of data; however, this method inevitably needs to be executed every time reading and writing. The operation of locking or unlocking is extremely performance-intensive, reduces the efficiency of transcoding, and increases the waiting time of users

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
  • Double-buffer coding system and control method thereof
  • Double-buffer coding system and control method thereof
  • Double-buffer coding system and control method thereof

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0025] Embodiments of the present invention are described in detail below, examples of which are shown in the drawings, wherein the same or similar reference numerals designate the same or similar elements or elements having the same or similar functions throughout. The embodiments described below by referring to the figures are exemplary and are intended to explain the present invention and should not be construed as limiting the present invention.

[0026] In related technologies, in the process of video transcoding through multi-threading, it is inevitable to perform a lock or unlock operation every time it is read and written, which consumes a lot of performance, reduces the efficiency of transcoding, and increases the The user's waiting time; the double-buffer coding system according to the embodiment of the present invention includes: a production module, a consumption module and two buffer modules, and the production module and the consumption module are respectively con...

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 double-buffer coding system and a control method thereof, a medium and equipment. The double-buffer coding system comprises a production module, a consumption module and two buffer modules, wherein the production module and the consumption module are respectively connected with one of the two buffer modules; When a queue corresponding to the buffer module connected with the production module reaches a threshold value and a queue corresponding to the buffer module connected with the consumption module is empty, the production module and the consumption module exchange the buffer modules respectively connected with the production module and the consumption module; and thus, video transcoding can be completed through multiple threads under the condition that locking is not needed, video transcoding efficiency is improved, and the waiting time of a user is shortened.

Description

technical field [0001] The present invention relates to the technical field of video transcoding, in particular to a double-buffer coding system, a control method of the double-buffer coding system, a computer-readable storage medium and a computer device. Background technique [0002] In the process of video transcoding, in order to improve transcoding efficiency, multi-threading technology is often used. One production thread is used to produce uncompressed frames, and one consumption thread is used for consumption to compress the produced uncompressed frames. to the file. [0003] In the related art, there is only one buffer between the two threads for storing the communication data between the two threads. In order to avoid asynchronous problems caused by multi-thread communication, data reading and writing are often locked to ensure the atomicity of data; however, this method inevitably needs to be executed every time reading and writing. The operation of locking or u...

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/40H04N19/42H04N19/423
CPCH04N19/40H04N19/42H04N19/423
Inventor 刘志杰龚浩
Owner GAODING XIAMEN TECH CO LTD