CN102104712A - Video data processing method, central processing unit and terminal - Google Patents
Video data processing method, central processing unit and terminal Download PDFInfo
- Publication number
- CN102104712A CN102104712A CN2009102433980A CN200910243398A CN102104712A CN 102104712 A CN102104712 A CN 102104712A CN 2009102433980 A CN2009102433980 A CN 2009102433980A CN 200910243398 A CN200910243398 A CN 200910243398A CN 102104712 A CN102104712 A CN 102104712A
- Authority
- CN
- China
- Prior art keywords
- video data
- frame video
- present frame
- scan
- scanned
- 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
Images
Landscapes
- Television Systems (AREA)
- Controls And Circuits For Display Device (AREA)
Abstract
The embodiment of the invention discloses a video data processing method, a central processing unit (CPU) and a terminal. The method comprises the following steps of: receiving current frame video data; generating a difference of the current frame video data and the previous frame video data; and when the difference is greater than or equal to a set threshold value is judged, performing interlaced scanning on the current frame video data to scan the current frame video data to a display device. According to the technical scheme of the embodiment of the invention, on the premise that the processing capacity of the CPU is limited, the interlaced scanning mode is adopted when the difference of the current frame video data and the previous frame video data is great so as to improve the scanning frame rate, avoid the condition that the video display picture is not clear and improve the display quality of the terminal video picture.
Description
Technical field
The present invention relates to technical field of video processing, particularly a kind of video data handling procedure, CPU and terminal.
Background technology
Along with the development of various terminals, increasing terminal has been equipped with video processing function, comprises video playback or video preview.At present, terminal all is to adopt successively each frame video data to be lined by line scan by CPU to the processing method of video data, and by display unit the video data that scans is shown.Increasing and the user is more and more higher to the requirement of video playback and video preview along with video data size, adopt progressive scan mode that video data is handled, to central processing unit (CentralProcessing Unit, hereinafter to be referred as: CPU) requirement of disposal ability is also more and more higher.If the disposal ability of terminal CPU is limited, and the data volume of every frame video data is very big and every frame video data between difference when also very big, the scanning frame per second of CPU employing progressive scan mode can be very low, unclear phenomenon appears in this video pictures that can cause terminal to show, thereby has reduced the quality that the terminal video pictures shows.
Summary of the invention
The embodiment of the invention provides a kind of video data handling procedure, CPU and terminal, thereby under central processing unit for processing prerequisite limited in one's ability, guarantees the quality that the terminal video pictures shows.
The embodiment of the invention provides a kind of video data handling procedure, comprising:
Receive the present frame video data;
Generate the difference value of present frame video data and former frame video data;
When judging described difference value more than or equal to the threshold value that is provided with, described present frame video data is carried out interlacing scan, the present frame video data is scanned up to display unit.
The embodiment of the invention provides a kind of CPU, comprising:
Receiver module is used to receive the present frame video data;
Generation module is used to generate the difference value of present frame video data and former frame video data;
Judge module is used to judge that whether described difference value is more than or equal to the threshold value that is provided with;
Scan module is used for when described judge module is judged described difference value more than or equal to the threshold value that is provided with described present frame video data being carried out interlacing scan, and the present frame video data is scanned up to display unit.
The embodiment of the invention provides a kind of terminal, comprising: video output device, CPU and display unit;
Described video output device is used for to described CPU output present frame video data;
Described CPU, be used to receive described present frame video data, generate the difference value of present frame video data and former frame video data, when judging described difference value, described present frame video data is carried out interlacing scan, the present frame video data is scanned up to described display unit more than or equal to the threshold value that is provided with;
Described display unit is used for according to the present frame video data display video picture that is scanned up to described display unit.
In the technical scheme of the embodiment of the invention, when the difference value of judging present frame video data and former frame video data during more than or equal to the threshold value that is provided with, current frame data is carried out interlacing scan, the present frame video data is scanned up to display unit, and carry out video pictures by display unit and show, like this can be under the limited prerequisite of CPU disposal ability, when the differing greatly of present frame video data and former frame video data, adopt interlace mode, to improve the scanning frame per second, avoid video display frame unclear situation to occur, thereby improved the quality that the terminal video pictures shows.
Description of drawings
The flow chart of a kind of video data handling procedure that Fig. 1 provides for the embodiment of the invention one;
The flow chart of a kind of video data handling procedure that Fig. 2 provides for the embodiment of the invention two;
The structural representation of a kind of CPU that Fig. 3 provides for the embodiment of the invention three;
The structural representation of a kind of terminal that Fig. 4 provides for the embodiment of the invention four.
Embodiment
Below by drawings and Examples, the technical scheme of the embodiment of the invention is described in further detail.
The flow chart of a kind of video data handling procedure that Fig. 1 provides for the embodiment of the invention one, as shown in Figure 1, this method comprises:
The difference value of step 102, generation present frame video data and former frame video data;
In the present embodiment, when the difference value of judging present frame video data and former frame video data during more than or equal to the threshold value that is provided with, current frame data is carried out interlacing scan, the present frame video data is scanned up to display unit, and carry out video pictures by display unit and show, like this can be under the limited prerequisite of CPU disposal ability, when the differing greatly of present frame video data and former frame video data, adopt interlace mode, to improve the scanning frame per second, avoid video display frame unclear situation to occur, thereby improved the quality that the terminal video pictures shows.
The flow chart of a kind of video data handling procedure that Fig. 2 provides for the embodiment of the invention two, as shown in Figure 2, this method comprises:
Particularly, CPU can compare present frame video data and former frame video data, thereby draws the difference value of present frame video data and former frame video data.
In the present embodiment, be scanned up to the present frame video data display video picture of display unit by the display unit basis.
In the present embodiment, interlacing scan can be for twin-interlaced scanning or every at least two line scannings.
Particularly, CPU can carry out interlacing scan to the present frame video data according to the scan mode to the former frame video data.
When the scan mode to the former frame video data was interlacing scan, CPU can scan the line number corresponding data line in the present frame video data that is not scanned in the former frame video data.For example, odd-numbered line to the former frame video data scans, the line number that is not scanned in the former frame video data is an even number, the data behavior even number line of the line number that is not scanned in this former frame video data correspondence in the present frame video data, then CPU can scan the even number line in the present frame video data.
When to the scan mode of former frame video data when lining by line scan, CPU can scan odd-numbered line in the present frame video data or even number line.
In the present embodiment, be scanned up to the present frame video data display video picture of display unit by the display unit basis.
In the present embodiment, when in the execution in step 204 the present frame video data being carried out interlacing scan, because human eye has visual persistence effect,, the present frame video data is carried out definition and the fluency that interlacing scan can't influence the video pictures of display unit demonstration therefore for the user.For example, when the odd-numbered line to the former frame video data scans, and when the even number line of present frame video data is scanned, because the visual persistence effect of human eye, the method of the data line of each frame video data of above-mentioned mixed sweep, can't influence the definition and the fluency of the video pictures of demonstration, the video pictures that display unit shows is clear and smooth.Therefore under the limited prerequisite of CPU disposal ability, video data is carried out interlacing scan can not reduce the quality that the terminal video pictures shows.
In the present embodiment, when the difference value of judging present frame video data and former frame video data during more than or equal to the threshold value that is provided with, current frame data is carried out interlacing scan, the present frame video data is scanned up to display unit, and carry out video pictures by display unit and show, like this can be under the limited prerequisite of CPU disposal ability, when the differing greatly of present frame video data and former frame video data, adopt interlace mode, to improve the scanning frame per second, unclear situation appears in the video pictures of having avoided showing, thereby has guaranteed the quality that the terminal video pictures shows.Further, adopt the method in the present embodiment, can be on the basis that guarantees terminal video pictures display quality, improve the data volume of video data, for example can be with the coded format of video data by 1/4th VGA (Quarter VGA, hereinafter to be referred as: QVGA) bring up to 1/2nd VGA (Half-size VGA, hereinafter to be referred as: HVGA), thereby improved the size of the video pictures that terminal shows.
The structural representation of a kind of CPU that Fig. 3 provides for the embodiment of the invention three, as shown in Figure 3, CPU comprises receiver module 11, generation module 12, judge module 13 and scan module 14.Receiver module 11 is used for the present frame video data of receiver, video output device output; Generation module 12 is used to generate the difference value of present frame video data and former frame video data; Judge module 13 is used to judge that whether this difference value is more than or equal to the threshold value that is provided with; Scan module 14 is used for when judge module 13 is judged difference value more than or equal to the threshold value that is provided with the present frame video data being carried out interlacing scan, and the present frame video data is scanned up to display unit.
In the present embodiment, scan module 14 can specifically be used for when judge module 13 is judged difference value and comprised interlacing scan more than or equal to the threshold value that is provided with and to the scan mode of former frame video data the line number corresponding data line in the present frame video data that is not scanned in the former frame video data being scanned.
Further, scan module 14 also is used for when judge module 13 is judged difference value less than the threshold value that is provided with the present frame video data being lined by line scan, and the present frame video data is scanned up to display unit.
In the present embodiment, interlacing scan comprises twin-interlaced scanning or every at least two line scannings.
The CPU of present embodiment is when the difference value of judging present frame video data and former frame video data during more than or equal to the threshold value that is provided with, current frame data is carried out interlacing scan, the present frame video data is scanned up to display unit, and carry out video pictures by display unit and show, like this can be under the limited prerequisite of CPU disposal ability, when the differing greatly of present frame video data and former frame video data, adopt interlace mode, to improve the scanning frame per second, unclear situation appears in the video pictures of having avoided showing, thereby has guaranteed the quality that the terminal video pictures shows.Further, adopt the CPU in the present embodiment, can on the basis that guarantees terminal video pictures display quality, improve the data volume of video data, for example the form of video data can be brought up to HVGA by QVGA, thereby improve the size of the video pictures that shows.
The structural representation of a kind of terminal that Fig. 4 provides for the embodiment of the invention four, as shown in Figure 4, this terminal comprises CPU 1, video output device 2 and display unit 3.
Further, CPU 1 lines by line scan to the present frame video data when judging difference value less than the threshold value that is provided with, and the present frame video data is scanned up to display unit 3.
Particularly, the CPU 1 of present embodiment can adopt the CPU in the foregoing description three, specifically repeats no more.
In the present embodiment, video output device can be cam device (camera), the device that stores video data or other device.
In the terminal of present embodiment, CPU is when the difference value of judging present frame video data and former frame video data during more than or equal to the threshold value that is provided with, current frame data is carried out interlacing scan, the present frame video data is scanned up to display unit, and carry out video pictures by display unit and show, like this can be under the limited prerequisite of CPU disposal ability, when the differing greatly of present frame video data and former frame video data, adopt interlace mode, to improve the scanning frame per second, unclear situation appears in the video pictures of having avoided showing, thereby has guaranteed the quality that the terminal video pictures shows.Further, the terminal in the present embodiment can improve the data volume of video data on the basis that guarantees the video pictures display quality, for example the form of video data can be brought up to HVGA by QVGA, thereby has improved the size of the video pictures that shows.
It should be noted that at last: above embodiment is only in order to technical scheme of the present invention to be described but not limit it, although the present invention is had been described in detail with reference to preferred embodiment, those of ordinary skill in the art is to be understood that: it still can make amendment or be equal to replacement technical scheme of the present invention, and these modifications or be equal to replacement and also can not make amended technical scheme break away from the spirit and scope of technical solution of the present invention.
Claims (10)
1. a video data handling procedure is characterized in that, comprising:
Receive the present frame video data;
Generate the difference value of present frame video data and former frame video data;
When judging described difference value more than or equal to the threshold value that is provided with, described present frame video data is carried out interlacing scan, the present frame video data is scanned up to display unit.
2. method according to claim 1 is characterized in that, describedly described present frame video data is carried out interlacing scan comprises:
According to scan mode, described present frame video data is carried out interlacing scan to described former frame video data.
3. method according to claim 2 is characterized in that, described scan mode to described former frame video data comprises interlacing scan;
Described basis is carried out interlacing scan to described present frame video data and is comprised the scan mode of described former frame video data:
The line number corresponding data line in the present frame video data that is not scanned in the former frame video data is scanned.
4. method according to claim 1 is characterized in that, also comprises:
When judging described difference value, described present frame video data is lined by line scan less than the threshold value that is provided with.
5. according to the arbitrary described method of claim 1 to 4, it is characterized in that described interlacing scan comprises twin-interlaced scanning or every at least two line scannings.
6. a CPU is characterized in that, comprising:
Receiver module is used to receive the present frame video data;
Generation module is used to generate the difference value of present frame video data and former frame video data;
Judge module is used to judge that whether described difference value is more than or equal to the threshold value that is provided with;
Scan module is used for when described judge module is judged described difference value more than or equal to the threshold value that is provided with described present frame video data being carried out interlacing scan, and the present frame video data is scanned up to display unit.
7. CPU according to claim 6, it is characterized in that, described scan module also is used for when described judge module is judged described difference value less than the threshold value that is provided with described present frame video data being lined by line scan, and the present frame video data is scanned up to display unit.
8. CPU according to claim 6, it is characterized in that, described scan module specifically is used for when described judge module is judged described difference value and comprised interlacing scan more than or equal to the threshold value that is provided with and to the scan mode of described former frame video data the line number corresponding data line in the present frame video data that is not scanned in the former frame video data being scanned.
9. a terminal is characterized in that, comprising: video output device, CPU and display unit;
Described video output device is used for to described CPU output present frame video data;
Described CPU, be used to receive described present frame video data, generate the difference value of present frame video data and former frame video data, when judging described difference value more than or equal to the threshold value that is provided with, described present frame video data is carried out interlacing scan, the present frame video data is scanned up to described display unit;
Described display unit is used for according to the present frame video data display video picture that is scanned up to display unit.
10. terminal according to claim 9, it is characterized in that, described CPU also is used for when judging described difference value less than the threshold value that is provided with described present frame video data being lined by line scan, and the present frame video data is scanned up to display unit.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2009102433980A CN102104712A (en) | 2009-12-22 | 2009-12-22 | Video data processing method, central processing unit and terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2009102433980A CN102104712A (en) | 2009-12-22 | 2009-12-22 | Video data processing method, central processing unit and terminal |
Publications (1)
Publication Number | Publication Date |
---|---|
CN102104712A true CN102104712A (en) | 2011-06-22 |
Family
ID=44157209
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2009102433980A Pending CN102104712A (en) | 2009-12-22 | 2009-12-22 | Video data processing method, central processing unit and terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102104712A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103888705A (en) * | 2012-12-12 | 2014-06-25 | 联美新视信息科技(上海)有限公司 | Image refreshing method of display screen in equipment and equipment with display screen |
CN108134938A (en) * | 2016-12-01 | 2018-06-08 | 中兴通讯股份有限公司 | Videoscanning mode detects, correcting method and video broadcasting method and device |
CN108965764A (en) * | 2018-06-26 | 2018-12-07 | 晨星半导体股份有限公司 | Image processing method and electronic equipment |
-
2009
- 2009-12-22 CN CN2009102433980A patent/CN102104712A/en active Pending
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103888705A (en) * | 2012-12-12 | 2014-06-25 | 联美新视信息科技(上海)有限公司 | Image refreshing method of display screen in equipment and equipment with display screen |
CN108134938A (en) * | 2016-12-01 | 2018-06-08 | 中兴通讯股份有限公司 | Videoscanning mode detects, correcting method and video broadcasting method and device |
CN108134938B (en) * | 2016-12-01 | 2021-08-06 | 中兴通讯股份有限公司 | Video scanning mode detection and correction method, video playing method and device |
CN108965764A (en) * | 2018-06-26 | 2018-12-07 | 晨星半导体股份有限公司 | Image processing method and electronic equipment |
CN108965764B (en) * | 2018-06-26 | 2021-05-25 | 联发科技股份有限公司 | Image processing method and electronic device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US6839094B2 (en) | Method and apparatus for eliminating motion artifacts from video | |
US10129385B2 (en) | Method and apparatus for generating and playing animated message | |
CN1290326C (en) | Motion and edge-adaptive signal frame frequency up-conversion method and system | |
CN103347163A (en) | Ultra high definition video image processing and transmitting system and method thereof | |
US20110134218A1 (en) | Method and system for utilizing mosaic mode to create 3d video | |
EP2154676A1 (en) | Video Processing Apparatus and Method | |
US10181296B2 (en) | Display device and display method | |
EP1520400B1 (en) | Method and apparatus for conversion of video formats to 120 hz 4 to 1 interlaced formats | |
CN102104712A (en) | Video data processing method, central processing unit and terminal | |
CN103108148A (en) | Frame inserting method of video frames and information processing equipment | |
CN103248945A (en) | Image transmission method and system | |
JP2008009182A (en) | Liquid crystal display device | |
CN102025936A (en) | Video aspect ratio conversion method and device | |
CN111953918B (en) | Video acquisition processing method and system in video single call | |
JP2003189262A (en) | Method for integrating three-dimensional y/c comb line filter and interlace/progressive converter into single chip and system thereof | |
US8848102B2 (en) | Method for processing digital video images | |
CN216649829U (en) | SDI de-interlacing input card for video splicer mixed matrix | |
US20140056524A1 (en) | Image processing device, image processing method, and program | |
CN2672997Y (en) | Digital display circuit for realizing visual frequency display | |
JP2003324695A (en) | Video display and video format converter | |
CN112073801B (en) | Image processing method, electronic equipment and connector | |
CN101212559A (en) | ALIS display technique based image jitter-prevention processing method | |
US20150085189A1 (en) | Digital television, television chip and display method | |
EP2566154A1 (en) | Method and apparatus for realising image display effects when web tv changing channels | |
KR20240119808A (en) | Display apparatus and method for implementing the same |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C12 | Rejection of a patent application after its publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20110622 |