CN102752531B - A kind of high-precision adjusts the method and system of special-effect parameter - Google Patents
A kind of high-precision adjusts the method and system of special-effect parameter Download PDFInfo
- Publication number
- CN102752531B CN102752531B CN201110352855.7A CN201110352855A CN102752531B CN 102752531 B CN102752531 B CN 102752531B CN 201110352855 A CN201110352855 A CN 201110352855A CN 102752531 B CN102752531 B CN 102752531B
- Authority
- CN
- China
- Prior art keywords
- special
- effect parameter
- external equipment
- output data
- precision
- 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.)
- Active
Links
Landscapes
- Testing And Monitoring For Control Systems (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The invention discloses a kind of methods of high-precision adjustment parameter, this method comprises: connecting the external equipment for adjusting special-effect parameter;Monitoring thread is set and obtains the output data of the external equipment;It parses the output data and modifies the corresponding special-effect parameter in special-effect parameter regulating system, the high-precision for carrying out the special-effect parameter is adjusted.The method provided by the invention for carrying out special-effect parameter condition by external equipment, keeps parameter regulation more flexible, can be improved the speed of parameter regulation, and parameter regulation can be made more accurate.
Description
Technical field
The present invention relates to the stunt regulation technology fields in broadcasting and TV field more particularly to a kind of high-precision to adjust special-effect parameter
Method and system.
Background technique
With the development of video technique, for people for video quality, the requirement for the visual effects such as stunt is shown is higher and higher,
Therefore, in video production process, stunt adjusting is a vital link.
The adjusting of video effect, the general tune by directly carrying out parameter with mouse etc. in software are carried out in the prior art
Section, however this method adjustment parameter is not flexible, and precision is not also high.
Wave Panel is a kind of tool of HID (human interface device supports human interface device) agreement
There are a variety of external equipments for adjusting component such as regulation button, knob, screw, the adjusting of various accurate parameters can be carried out,
However in existing video effect adjustment process, it is existing using Wave Panel carry out parameter regulation be typically all and apple
System is connected, and does not connect it with windows system, the adjusting for video effect parameter.
Summary of the invention
In order to solve the disadvantage that the above-mentioned prior art, the main object of the present invention is to provide a kind of high-precision adjustment parameter
Method and system adjust special-effect parameter by external equipment to realize under windows system environments.
In order to achieve the above object, it the present invention provides a kind of method of high-precision adjustment parameter, specifically includes:
Connect the external equipment for adjusting special-effect parameter;
Monitoring thread is set and obtains the output data of the external equipment;
It parses the output data and modifies the corresponding special-effect parameter in special-effect parameter regulating system, carry out the spy
The high-precision of skill parameter is adjusted.
Another aspect of the present invention additionally provides a kind of system of high-precision adjustment parameter, which includes:
External equipment connection unit, for connecting the external equipment for adjusting special-effect parameter;
Monitoring thread setting unit, for monitoring thread to be arranged and obtains the output data of the external equipment;
Resolution unit, for parsing the output data and modifying the corresponding stunt ginseng in special-effect parameter regulating system
Number, the high-precision for carrying out the special-effect parameter are adjusted.
The method provided by the invention for carrying out special-effect parameter condition by external equipment, keeps parameter regulation more flexible, energy
The speed of parameter regulation is enough improved, and parameter regulation can be made more accurate.
Detailed description of the invention
It, below will be to required use in embodiment description for the clearer technical solution for illustrating the embodiment of the present invention
Attached drawing be briefly described, it is clear that, drawings in the following description are only some embodiments of the invention, for this
For the those of ordinary skill of field, without creative efforts, it can also be obtained according to these attached drawings others
Attached drawing.
Fig. 1 is a kind of method flow diagram of high-precision adjusting special-effect parameter in the embodiment of the present invention;
Fig. 2 is the method flow diagram for adjusting special-effect parameter in the embodiment of the present invention two using Wave Panel;
Fig. 3 is that the system for adjusting special-effect parameter in the embodiment of the present invention in high precision constitutes block diagram.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Whole description, it is clear that the described embodiments are merely a part of the embodiments of the present invention, the embodiment being not all of, and is based on this hair
Embodiment in bright, those of ordinary skill in the art's every other implementation obtained under that premise of not paying creative labor
Example, shall fall within the protection scope of the present invention.
On the one hand the embodiment of the present invention provides a kind of method that high-precision adjusts special-effect parameter, realize process such as Fig. 1 institute
Show, specifically include:
Step S101: the external equipment for adjusting special-effect parameter is connected.
Preferably, above-mentioned external equipment can support HID protocol, can be directly connected by USB interface with host.
Step S102: setting monitoring thread and the output data for obtaining the external equipment.Specifically, monitoring thread monitors
The variation of the corresponding output data of whole hardware of external equipment, and be stored in buffer area, so as to the adjusting of subsequent special-effect parameter
System can carry out the modification of corresponding parameter according to the output data of variation.
Step S103: parsing the output data and modifies the corresponding special-effect parameter in special-effect parameter regulating system,
The high-precision for carrying out the special-effect parameter is adjusted.
Specifically, when special-effect parameter regulating system gets the parameter after needing to parse, the completion pair directly in system
Answer the modification of parameter.
The method provided in an embodiment of the present invention for carrying out special-effect parameter adjusting by external equipment, keeps parameter regulation more clever
It is living, it can be improved the speed of parameter regulation, and parameter regulation can be made more accurate.
The embodiment of the present invention with external equipment is to support in this implementation column second is that further description to embodiment one
HID protocol and adjusting with multiple adjustable buttons, knob, screw etc. is illustrated for the Wave Panel of component, and
Do not regard it as and be limited, concrete implementation process is as follows:
Step S201: external equipment Wave Panel is connected by USB interface.
Step S202: monitoring thread is set after successful connection and opens the monitoring thread.
Thread is a single sequential control process in application program.It is complete that multiple threads are run simultaneously in single program
At different work, referred to as multithreading.One application program includes a main thread and multiple sub threads, is created by main thread each
A sub thread, each thread independent operating, communicates with each other, shared resource, can efficiently use system resource using multithreading, mention
High execution efficiency.
Wave Panel is with the every 40ms of polling mode to signal conditioning components such as key, knob and screws on panel
State detected, and generate output data, therefore except including parameter tune in special-effect parameter regulating system in this implementation column
It saves except main thread, then a monitoring thread is set for reading the output data of Wave Panel generation, the parameter
It adjusts main thread to run parallel with the monitoring thread, independently of one another.
Specifically, the monitoring thread of setting starts and remains operational automatically after Wave Panel opening.
It preferably, include the signal conditioning components such as multiple adjustable buttons, knob, screw on Wave Panel panel,
Therefore, after Wave Panel and the successful connection of special-effect parameter regulating system, user can preset each Signal Regulation group
Corresponding relationship between part and special-effect parameter.
Step S203: monitoring thread reads the data that equipment exports according to fixed time interval, and 26 words are arranged
The buffer area of section saves the data of output.
Wave Panel is with the every 40ms of polling mode to signal conditioning components such as key, knob and screws on panel
State detected, can not detect the state change of signal conditioning component on panel in real time, but in this implementation column
The monitoring thread of setting reads the data of Wave Panel output according to fixed time interval, and the fixed intervals of setting are can be with
It is configured according to user demand.
The output data length of Wave Panel be 26 bytes, wherein preceding 41 bit of 0-5 byte respectively represent 41 by
Key, be worth indicates to press for 1, and 0 indicates to lift, and separately has 7 bits unused, is set as 0;6-18 byte respectively represents 13 encoders
(encoder includes 9 knobs, 3 dial and 1 jog wheel);Every 2 byte of 19-24 byte represents 1 screw (2 byte
Respectively represent the x-axis and y-axis of screw);25 bytes are left unused.Therefore, monitoring thread should be arranged one 26 in this implementation column
The buffer area of byte receives and stores the output data of Wave Panel.
Step S204: monitoring thread analyzes each byte of output data, to judge whether the key in equipment is pressed
Under;Whether knob, screw etc. change, if any one state for adjusting component changes, monitoring thread is to notify
Form of message notifying parameters adjust main thread, do not change, continue to monitor.
Step S205: parameter regulation main thread receives the notification message of monitoring thread, is come interpretation according to message content
Which button is pressed or knob value is changed, to judge the variation of corresponding parameter, conversion accuracy modifies corresponding spy
Skill parameter.
Specifically, then modifying the corresponding parameter of button when the notification message received is that button is changed;If it is
Knob, screw or other values for adjusting component are changed, then are converted accordingly according to the precision of corresponding parameter, will
Data value after conversion is assigned to special-effect parameter or increases to variable quantity on the current parameter value of special-effect parameter, realizes stunt ginseng
Several adjustings.
The method for carrying out special-effect parameter adjusting by external equipment Wave Panel in the embodiment of the present invention, passes through monitoring
Button, knob, screw or other state changes for adjusting component make parameter to modify special-effect parameter value on Wave Panel
Adjusting is more flexible, can be improved the speed of parameter regulation, and parameter regulation can be made more accurate.
The embodiment of the present invention three provides a kind of high-precision adjusting special-effect parameter system, which constitutes as shown in figure 3, packet
It includes:
External equipment connection unit 31, for connecting the external equipment for adjusting special-effect parameter.
It reads the newspaper and accuses thread setting unit 32, for monitoring thread to be arranged and obtains the output data of the external equipment.
Resolution unit 33, for parsing the output data and modifying the corresponding stunt in special-effect parameter regulating system
Parameter, the high-precision for carrying out the special-effect parameter are adjusted.
Wherein, the external equipment supports human interface device HID protocol.
Specifically, the system further include:
Output data monitoring unit 34, the variation of the output data for monitoring the external equipment, and by the number of variation
According to being stored in buffer area.
The output data monitoring unit 34 monitors the variation of the output data of the external equipment with Fixed Time Interval.
It is provided in an embodiment of the present invention that special-effect parameter regulating system is carried out by external equipment, keep parameter regulation more clever
It is living, it can be improved the speed of parameter regulation, and parameter regulation can be made more accurate.
Through the above description of the embodiments, those skilled in the art can be understood that the present invention can lead to
Software realization is crossed, the mode of necessary general hardware platform can also be added to realize by software.Based on this understanding, this hair
Bright technical solution can be embodied in the form of software products, which can store in a non-volatile memories
In medium (can be CD-ROM, USB flash disk, mobile hard disk etc.), including some instructions are used so that a computer equipment (can be
Personal computer, server or network equipment etc.) execute method described in each embodiment of the present invention.
The above, a best specific embodiment only of the invention, but feature of the invention is not limited thereto, and is appointed
What is familiar with the people of this technology in the field of the present invention, and the changes or modifications that can be readily occurred in should all cover in following present invention
Claim in.
Claims (7)
1. a kind of method that high-precision adjusts special-effect parameter, which is characterized in that this method comprises:
Connect the external equipment for adjusting special-effect parameter;
Monitoring thread is set and obtains the output data of the external equipment;The output data for obtaining the external equipment is specifically wrapped
It includes: monitoring the variation of the external equipment output data, and the data of variation are stored in buffer area;
It parses the output data and modifies the corresponding special-effect parameter in special-effect parameter regulating system, carry out the stunt ginseng
Several high-precisions is adjusted.
2. the method that high-precision as described in claim 1 adjusts special-effect parameter, which is characterized in that the external equipment backer
Machine interface equipment HID protocol.
3. the method that high-precision as described in claim 1 adjusts special-effect parameter, which is characterized in that the external equipment is Wave
When Panel, the buffer area is set as 26 bytes.
4. the method that high-precision as described in claim 1 adjusts special-effect parameter, which is characterized in that the monitoring is described external to be set
The variation of standby output data specifically includes:
The data of external equipment output are read with Fixed Time Interval.
5. a kind of high-precision adjusts special-effect parameter system, which is characterized in that the system includes:
External equipment connection unit, for connecting the external equipment for adjusting special-effect parameter;
Monitoring thread setting unit, for monitoring thread to be arranged and obtains the output data of the external equipment;
Resolution unit, for parsing the output data and modifying the corresponding special-effect parameter in special-effect parameter regulating system,
The high-precision for carrying out the special-effect parameter is adjusted;
Monitoring thread setting unit includes output data monitoring unit, the change of the output data for monitoring the external equipment
Change, and the data of variation are stored in buffer area.
6. high-precision as claimed in claim 5 adjusts special-effect parameter system, which is characterized in that the external equipment is supported man-machine
Interface equipment HID protocol.
7. high-precision as claimed in claim 5 adjusts special-effect parameter system, which is characterized in that the output data monitoring unit
The variation of the output data of the external equipment is monitored with Fixed Time Interval.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201110352855.7A CN102752531B (en) | 2011-11-09 | 2011-11-09 | A kind of high-precision adjusts the method and system of special-effect parameter |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201110352855.7A CN102752531B (en) | 2011-11-09 | 2011-11-09 | A kind of high-precision adjusts the method and system of special-effect parameter |
Publications (2)
Publication Number | Publication Date |
---|---|
CN102752531A CN102752531A (en) | 2012-10-24 |
CN102752531B true CN102752531B (en) | 2018-12-25 |
Family
ID=47032412
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201110352855.7A Active CN102752531B (en) | 2011-11-09 | 2011-11-09 | A kind of high-precision adjusts the method and system of special-effect parameter |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102752531B (en) |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101656873A (en) * | 2008-08-18 | 2010-02-24 | 北京创先泰克科技有限公司 | System and method for controlling camera and holder in location shooting |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP4671011B2 (en) * | 2000-08-30 | 2011-04-13 | ソニー株式会社 | Effect adding device, effect adding method, effect adding program, and effect adding program storage medium |
-
2011
- 2011-11-09 CN CN201110352855.7A patent/CN102752531B/en active Active
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101656873A (en) * | 2008-08-18 | 2010-02-24 | 北京创先泰克科技有限公司 | System and method for controlling camera and holder in location shooting |
Non-Patent Citations (1)
Title |
---|
利用USB控制器设计的Windows 音量控制器;于蕾;《单片机与嵌入式系统应用》;20071231;第60-62页,第3节 * |
Also Published As
Publication number | Publication date |
---|---|
CN102752531A (en) | 2012-10-24 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
TWI516912B (en) | Adaptive graphics subsystem power and performance management | |
CN104933618B (en) | Core banking system batch jobs run the monitoring method and device of data | |
CN102377956B (en) | Dynamic backlight regulation method of LCD (liquid crystal display) television | |
CN103309397A (en) | Synchronous sampling method of data acquisition device based on USB | |
CN111522701A (en) | Test method, test system, electronic device and storage medium | |
CN104600830A (en) | Current sharing method and system of power supply module and manager | |
GB2500079A (en) | Dynamic change of probing frequency for resource availability associated with resource consumption pattern for processing input file | |
WO2015117445A1 (en) | Method and device for processing task window | |
CN102752531B (en) | A kind of high-precision adjusts the method and system of special-effect parameter | |
WO2017107484A1 (en) | Cloud computing monitoring method and device | |
CN202351339U (en) | Power quality monitoring device | |
CN203133261U (en) | Tool plate for oscilloscope calibration and oscilloscope calibration system | |
CN103139610B (en) | The method and apparatus that cluster audio video synchronization is play | |
CN103077000A (en) | Method and device for adjusting display effect | |
WO2016074396A1 (en) | Power source monitoring method and device | |
JP2007274868A (en) | Programmable controller, and starting method thereof | |
JP2005293312A (en) | Controller and tool | |
Wenyue et al. | A development platform for complex data acquisition system | |
CN116048426B (en) | Signal processing method, device, electronic equipment and storage medium | |
Wuhuang et al. | Design and implementation of 250msps wireless smart virtual oscilloscope | |
Li et al. | Design and implementation of embedded WM8960 audio driver and multi-thread player | |
CN108235000A (en) | Resolution detection method and device based on parallel digital video signal | |
CN202748773U (en) | Device for displaying multichannel data in single window body | |
CN107895029A (en) | Information statistical method and information statistical device | |
CN110534141A (en) | Audio playing apparatus and its signal processing method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |