CN105791764A - Video monitoring image display method based on three-dimensional image - Google Patents
Video monitoring image display method based on three-dimensional image Download PDFInfo
- Publication number
- CN105791764A CN105791764A CN201610131605.3A CN201610131605A CN105791764A CN 105791764 A CN105791764 A CN 105791764A CN 201610131605 A CN201610131605 A CN 201610131605A CN 105791764 A CN105791764 A CN 105791764A
- Authority
- CN
- China
- Prior art keywords
- video
- yuv
- data
- video card
- gpu
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N7/00—Television systems
- H04N7/18—Closed-circuit television [CCTV] systems, i.e. systems in which the video signal is not broadcast
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N9/00—Details of colour television systems
- H04N9/64—Circuits for processing colour signals
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Controls And Circuits For Display Device (AREA)
Abstract
The invention provides a video monitoring image display method based on a three-dimensional image. A decoded YUV image is input into a graphics card through an OpenGL multiple-texture interface. The GPU of the graphics card is programmed by means of a shading language. The GPU of the graphics card converts the texture of the YUV image to an RGB image by means of a transformation rate and displays on a display device. Compared with the prior art, the video monitoring image display method has advantages of no occupation of a large amount of GPU time and effective display performance improvement.
Description
The application is with Chinese Patent Application No. for 201510121156.X, applying for artificial Guangzhou three field, river culture Science and Technology Co., Ltd., name is called the application that " based on community environment's various dimensions integrated management 3-D view video monitoring image display packing " carries out as priority document.
Technical field
The present invention relates to camera supervised technical field, specifically a kind of based on 3-D view video monitoring image display packing.
Background technology
Computer Vision is the core component of video monitoring system, and the process that video image shows is the core in core.
At present, owing to the decoding of video image can only be provided the decoded video data of yuv format by major part producer, and video card does not support the display of YUV image, so common practice is yuv data to be converted to RGB data then show again, but such conversion be complete in CPU thus can the substantial amounts of time taking CPU, reduce display performance.
Therefore, how to provide a kind of display packing that can reduce and take CPU time in video image decoding process, alleviate CPU burden, improve display performance, be those skilled in the art's technical problems urgently to be resolved hurrily.
Summary of the invention
The present invention is for overcoming at least one defect of the prior art, there is provided a kind of based on 3-D view video monitoring image display packing, by utilizing the GPU of the video card rgb format that the data of yuv format are converted to video card use to display, thus offloading the CPU, improve its display performance.
For solving above-mentioned technological deficiency, the technical solution used in the present invention is:
A kind of based on 3-D view video monitoring image display packing, including step:
(1) decoded yuv video image is input to video card by OpenGL interface, it is thus achieved that yuv data;
(2) described yuv data is programmed by video card GPU, it is thus achieved that the yuv data after programming;
(3) the described yuv data obtained after programming is converted to RGB data and displays by video card GPU.
Preferably, decoded yuv video image is input to video card by OpenGL interface, it is thus achieved that yuv data step particularly as follows:
Create multitexture by OpenGL interface, the yuv video image obtained is separately input in video card by described multitexture, it is thus achieved that yuv data after decoding.
Preferably, described multitexture is triple texture.
Preferably, described yuv data is programmed by described video card GPU, it is thus achieved that yuv data step after programming particularly as follows:
Described yuv data is programmed by video card GPU by painted voice, then compiling link, and allows video card enable described programming.
Preferably, described video card GPU the described yuv data that obtains after programming is converted to RGB data and carry out step display particularly as follows:
Video card GPU takes out the described yuv video view data obtained by program, according to transfer algorithm, described yuv video view data is converted to the vedio data of rgb format, and is displayed by video card.
Compared with prior art, the invention has the beneficial effects as follows:
Decoded yuv video image is directly inputted to video card by the present invention, it is thus achieved that yuv data;The GPU utilizing video card converts the vedio data of the rgb format that video card can use to the data of yuv format and displays, development along with high-definition video equipment, video data is increasing, the performance doing video format conversion in GPU is more and more prominent, so CPU is freed by the present invention, the GPU allowing video card does video format conversion, thus offloading the CPU, improves the display performance of video card simultaneously.
Accompanying drawing explanation
Fig. 1 is an a kind of embodiment schematic flow sheet based on 3-D view video monitoring image display packing in the embodiment of the present invention.
Detailed description of the invention
Embodiments provide a kind of based on 3-D view video monitoring image display packing, it is possible to CPU is freed, allow video card GPU replace CPU to carry out video image format conversion, thus offloading the CPU, improve the display performance of video card simultaneously.
For making the goal of the invention of the present invention, feature, the advantage can be more obvious and understandable, below in conjunction with the accompanying drawing in the embodiment of the present invention, technical scheme in the embodiment of the present invention is clearly and completely described, obviously, the embodiments described below are only a part of embodiment of the present invention, and not all embodiment.Based on the embodiment in the present invention, all other embodiments that those of ordinary skill in the art obtain under not making creative work premise, broadly fall into the scope of protection of the invention.
Embodiment 1
Referring to a kind of embodiment schematic flow sheet based on 3-D view video monitoring image display packing that Fig. 1, Fig. 1 provide for the embodiment of the present invention, the one that the embodiment of the present invention provides is based on 3-D view video monitoring image display packing, including step:
101, decoded yuv video image is input to video card by OpenGL interface, it is thus achieved that yuv data.
In the embodiment of the present invention, want to display for video image it may first have to it is carried out certain decoding process;Then, by OpenGL interface, the yuv video image after decoding process being input to video card, video card obtains yuv data;
102, described yuv data is programmed by video card GPU, it is thus achieved that the yuv data after programming.
After step 101, it is input to video card by the yuv video image after decoding process by OpenGL interface, after video card obtains yuv data, is programmed processing to the yuv data of aforementioned acquisition by the GPU of video card, it is thus achieved that the yuv data after programmed process.
103, the described yuv data obtained after programming is converted to RGB data and displays by video card GPU.
The yuv data of aforementioned acquisition is programmed processing by video card GPU, obtaining the yuv data after programmed process, then, the yuv data obtained after programming is carried out form conversion by video card GPU again, convert the vedio data of rgb format to, then pass through video card and it is displayed.
In the embodiment of the present invention, decoded yuv video image is input to video card, it is thus achieved that yuv data;The GPU utilizing video card is programmed the data of yuv format convert to the vedio data of the rgb format that video card can use, then pass through video card to display, the GPU allowing video card does video format conversion, CPU is freed, thus offloading the CPU, improve the display performance of video card simultaneously.
It is above total description that the display packing in the embodiment of the present invention is carried out, is illustrated below for the concrete steps in aforementioned display packing:
In the embodiment of the present invention, decoded yuv video image is input to video card by OpenGL interface, it is thus achieved that yuv data step particularly as follows:
Create multitexture by OpenGL interface, the yuv video image obtained is separately input in video card by this multitexture, it is thus achieved that yuv data after decoding.
Described yuv data is programmed by video card GPU, it is thus achieved that yuv data step after programming particularly as follows:
Described yuv data is programmed by video card GPU by painted voice, then compiling link, and allows video card enable described programming.
Video card GPU the described yuv data that obtains after programming is converted to RGB data and carry out step display particularly as follows:
Video card GPU takes out the described yuv video view data obtained by program, according to transfer algorithm, described yuv video view data is converted to the vedio data of rgb format, and is displayed by video card.
It is emphasized that in the embodiment of the present invention, multitexture is chosen for triple texture.
Development along with high-definition video equipment, video data is increasing, the performance doing video format conversion in GPU is more and more prominent, the embodiment of the present invention frees CPU, the GPU allowing video card does video format conversion, by decoded yuv video image is input to video card by the OpenGL multitexture interface created, and video card GPU shading language is programmed, then video card GPU utilizes conversion ratio to convert the vedio data of rgb format to the texture of YUV image, and show over the display, thus reducing because video image decoding takies excess CPU space, improve efficiency and the performance of display.
Obviously, the above embodiment of the present invention is only for clearly demonstrating example of the present invention, and is not the restriction to embodiments of the present invention.For those of ordinary skill in the field, can also make other changes in different forms on the basis of the above description.Here without also cannot all of embodiment be given exhaustive.All any amendment, equivalent replacement and improvement etc. made within the spirit and principles in the present invention, should be included within the protection domain of the claims in the present invention.
Claims (5)
1. one kind based on 3-D view video monitoring image display packing, it is characterised in that include step:
(1) decoded yuv video image is input to video card by OpenGL interface, it is thus achieved that yuv data;
(2) described yuv data is programmed by video card GPU, it is thus achieved that the yuv data after programming;
(3) the described yuv data obtained after programming is converted to RGB data and displays by video card GPU.
2. according to claim 1 based on 3-D view video monitoring image display packing, it is characterised in that decoded yuv video image is input to video card by OpenGL interface, it is thus achieved that yuv data step particularly as follows:
Create multitexture by OpenGL interface, the yuv video image obtained is separately input in video card by described multitexture, it is thus achieved that yuv data after decoding.
3. according to claim 2 based on 3-D view video monitoring image display packing, it is characterised in that described multitexture is triple texture.
4. according to claim 1 based on 3-D view video monitoring image display packing, it is characterised in that described yuv data is programmed by described video card GPU, it is thus achieved that yuv data step after programming particularly as follows:
Described yuv data is programmed by video card GPU by painted voice, then compiling link, and allows video card enable described programming.
5. according to claim 1 based on 3-D view video monitoring image display packing, it is characterised in that described video card GPU the described yuv data that obtains after programming is converted to RGB data and carry out step display particularly as follows:
Video card GPU takes out the described yuv video view data obtained by program, according to transfer algorithm, described yuv video view data is converted to the vedio data of rgb format, and is displayed by video card.
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510121156 | 2015-03-19 | ||
CN201510121156X | 2015-03-19 |
Publications (1)
Publication Number | Publication Date |
---|---|
CN105791764A true CN105791764A (en) | 2016-07-20 |
Family
ID=56387282
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610131605.3A Pending CN105791764A (en) | 2015-03-19 | 2016-03-08 | Video monitoring image display method based on three-dimensional image |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105791764A (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108711191A (en) * | 2018-05-29 | 2018-10-26 | 北京奇艺世纪科技有限公司 | A kind of method for processing video frequency and VR equipment |
CN108765534A (en) * | 2018-05-24 | 2018-11-06 | 武汉斗鱼网络科技有限公司 | A kind of image rendering method, device, equipment and storage medium |
CN109035348A (en) * | 2017-06-09 | 2018-12-18 | 武汉斗鱼网络科技有限公司 | Conversion method, storage medium, electronic equipment and the system of I420 format texture image |
CN109035130A (en) * | 2017-06-09 | 2018-12-18 | 武汉斗鱼网络科技有限公司 | Conversion method, storage medium, electronic equipment and the system of NV12 texture image |
CN116193201A (en) * | 2023-02-27 | 2023-05-30 | 深圳数拓科技有限公司 | Video data processing method |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101908035A (en) * | 2010-07-30 | 2010-12-08 | 北京华傲精创科技开发有限公司 | Video coding and decoding method, GPU (Graphics Processing Unit) as well as interacting method and system of same and CPU (Central Processing Unit) |
US20140016032A1 (en) * | 2012-07-16 | 2014-01-16 | Opto Media Technology Inc. | Video signal processing circuit |
CN103607581A (en) * | 2013-08-01 | 2014-02-26 | 广东本致数码科技有限公司 | Video monitoring image display method based on three-dimensional images |
CN104052922A (en) * | 2013-03-14 | 2014-09-17 | 三星电子株式会社 | Image Data Processing Method And Electronic Device Supporting The Same |
CN104244087A (en) * | 2014-09-19 | 2014-12-24 | 青岛海信移动通信技术股份有限公司 | Video rendering method and device |
-
2016
- 2016-03-08 CN CN201610131605.3A patent/CN105791764A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101908035A (en) * | 2010-07-30 | 2010-12-08 | 北京华傲精创科技开发有限公司 | Video coding and decoding method, GPU (Graphics Processing Unit) as well as interacting method and system of same and CPU (Central Processing Unit) |
US20140016032A1 (en) * | 2012-07-16 | 2014-01-16 | Opto Media Technology Inc. | Video signal processing circuit |
CN104052922A (en) * | 2013-03-14 | 2014-09-17 | 三星电子株式会社 | Image Data Processing Method And Electronic Device Supporting The Same |
CN103607581A (en) * | 2013-08-01 | 2014-02-26 | 广东本致数码科技有限公司 | Video monitoring image display method based on three-dimensional images |
CN104244087A (en) * | 2014-09-19 | 2014-12-24 | 青岛海信移动通信技术股份有限公司 | Video rendering method and device |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109035348A (en) * | 2017-06-09 | 2018-12-18 | 武汉斗鱼网络科技有限公司 | Conversion method, storage medium, electronic equipment and the system of I420 format texture image |
CN109035130A (en) * | 2017-06-09 | 2018-12-18 | 武汉斗鱼网络科技有限公司 | Conversion method, storage medium, electronic equipment and the system of NV12 texture image |
CN108765534A (en) * | 2018-05-24 | 2018-11-06 | 武汉斗鱼网络科技有限公司 | A kind of image rendering method, device, equipment and storage medium |
CN108765534B (en) * | 2018-05-24 | 2022-06-21 | 武汉斗鱼网络科技有限公司 | Image rendering method, device and equipment and storage medium |
CN108711191A (en) * | 2018-05-29 | 2018-10-26 | 北京奇艺世纪科技有限公司 | A kind of method for processing video frequency and VR equipment |
CN116193201A (en) * | 2023-02-27 | 2023-05-30 | 深圳数拓科技有限公司 | Video data processing method |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105791764A (en) | Video monitoring image display method based on three-dimensional image | |
US9064313B2 (en) | Adaptive tone map to a region of interest to yield a low dynamic range image | |
DE112014002469T5 (en) | System, method and computer program product for generating images for near-field light field display | |
CN103026402B (en) | Show compression super tile image | |
DE102019120661A1 (en) | Video refinement mechanism | |
CN103607581A (en) | Video monitoring image display method based on three-dimensional images | |
CN102306391A (en) | OpenGL (open graphics library)-based inverted image display processing device and method | |
PH12019500837B1 (en) | Method and apparatus for animating images on mobile devices | |
CN104658030B (en) | The method and apparatus of secondary image mixing | |
JP2018512644A (en) | System and method for reducing memory bandwidth using low quality tiles | |
DE102015002218A1 (en) | Avoid sending immutable areas for display | |
CN103778900A (en) | Image processing method and system | |
CN111754381A (en) | Graphics rendering method, apparatus, and computer-readable storage medium | |
CN105303506A (en) | Data parallel processing method and system based on HTML5 | |
DE102015002023A1 (en) | Compact depth-level representation for sorting recent architectures | |
US20170193682A1 (en) | Method and apparatus for generating a composite image based on an ambient occlusion | |
EP2662837A3 (en) | Real-time order-independent transparent rendering | |
CN103280185A (en) | LED display control system based on FPGA | |
CN106575428A (en) | High order filtering in a graphics processing unit | |
US20210350508A1 (en) | Meme generation method, electronic device and storage medium | |
CN102682465B (en) | 3D format conversion system and method | |
CN105590294B (en) | A kind of image processing method and electronic equipment | |
CN106296575A (en) | Model based on BIM and picture merge and separation method and system | |
CN113256694B (en) | Eyebrow pencil drawing method and device | |
CN112767278A (en) | Image defogging method based on non-uniform atmospheric light prior and related equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20160720 |
|
RJ01 | Rejection of invention patent application after publication |