A kind of player method of 3D video, device and intelligent television
Technical field
The present invention relates to intelligent television technical field, particularly relate to a kind of player method of 3D video, device and intelligent television.
Background technology
Increasing three-dimensional film has entered the life of people at present, and three-dimensional film is also known as " 3D three-dimensional film ", and it is the film of the produced stereoeffect utilizing the subtense angle of people's eyes and convergence function to make.During this motion picture projection, two width pictures overlap in screen, and by Special spectacles or curtain previous irradiation shape half-cone lenticulation, make spectators' left eye see the picture taken from LOOK LEFT, right eye sees the picture from LOOK RIGHT shooting; Then by the convergence function of eyes, two images being overlapped, produce three-dimensional stereo effect, when coordinating anaglyph spectacles viewing 3D film, super real picture will be seen.
Along with developing rapidly of intelligent television, except such as providing TV programme as traditional tv, 3D video can also be watched.Usually when we play 3D video by intelligent television, want first on the main interface of system, to select video mode, then CPU can run video module (namely for realizing the functional module of video playback capability) according to selection result, the relative parameters setting of intelligent television is become the corresponding controling parameters of video mode, now just can displaying video.Because the shooting principle of 3D video is with the filming apparatus of two camera lenses as human eye, the double vision dot image of the lower scenery of shooting; Again by two projectors, the projection of the image synchronization of two viewpoints, these slightly differentiated two width images are presented in screen.Because different styles of shooting can produce different broadcast formats (gauche form or vertical type), therefore only have and have selected the 3D controling parameters relevant to broadcast format in advance, be provided with in systems in which by 3D controling parameters corresponding for 3D video for playing by video module, the operating system of this intelligent television could control display module according to set 3D controling parameters and play out the video with 3D effect.
The attribute set at first due to above-mentioned 3D controling parameters is the local variable only come into force in the video mode, just can obtain 3D controling parameters when that is only having video module to run.But remove amendment 3D controling parameters after often entering video mode again, not only lose time, and the film that will watch has started to play, the part film before causing arranging cannot play out 3D effect.
Therefore, how to make non-video module under non-video mode, also can obtain 3D controling parameters and become our problem demanding prompt solution.
Summary of the invention
In view of this, the invention provides a kind of player method of 3D video, device and intelligent television and solve non-video module acquisition 3D controling parameters problem.
For achieving the above object, the invention provides technical scheme as follows:
A player method for 3D video, is applied to intelligent television, comprises step:
The attribute information of 3D controling parameters is opened authority to the modules in intelligent television;
Receive the attribute information control command of 3D controling parameters;
According to 3D controling parameters control command, obtain 3D controling parameters;
According to described 3D controling parameters, video module is converted to 3D play mode.
Based on same design, the present invention also provides a kind of playing device of 3D video, is applied to intelligent television, comprises:
Priority assignation unit, for opening authority by the attribute information of 3D controling parameters to the modules in intelligent television;
Instruction reception unit, for receiving the attribute information control command of 3D controling parameters;
Parameter acquiring unit, for according to 3D controling parameters control command, obtains 3D controling parameters;
Mode switching unit, for according to described 3D controling parameters, controls video module and is converted to 3D play mode.
The present invention also provides a kind of intelligent television, and this intelligent television comprises the playing device of above-mentioned 3D video.
From above technical scheme, the present invention is by opening authority by the modules of the attribute information of 3D controling parameters in video module in this intelligent television of 3D video playback forward direction, by originally for the 3D controling parameters of local variable is set to global variable, the non-video module in this intelligent television also equally can be arranged to 3D controling parameters to video module; Therefore, the present invention can realize non-video module also can obtain 3D controling parameters under non-video mode, thus saves the operating time.
Accompanying drawing explanation
Fig. 1 is the process chart of the player method of a kind of 3D video provided by the invention;
Fig. 2 is the process chart of the player method of a kind of 3D video in the embodiment of the present invention;
Fig. 3-1 is the schematic diagram of 3D video;
Fig. 3-2 is schematic diagrames that 3D arranges menu;
Fig. 4 is the structural representation of the playing device of a kind of 3D video provided by the invention.
Embodiment
The present invention is by opening authority by the modules of the attribute information of 3D controling parameters in video module in this intelligent television of 3D video playback forward direction, by originally for the 3D controling parameters of local variable is set to global variable, the non-video module in this intelligent television also equally can be arranged to 3D controling parameters to video module; Therefore, the present invention can realize non-video module also can obtain 3D controling parameters under non-video mode, thus saves the operating time.
For further illustrating the present invention, provide the following example:
Embodiment one
Please refer to Fig. 1, be the process chart of the player method that the invention provides a kind of 3D video, comprise step:
101, the attribute information of 3D controling parameters is opened authority to the modules in this intelligent television;
Wherein, the attribute information of 3D controling parameters comprises the title of this controling parameters, type, size, memory location, creation-time, modification time, access time and the authority to its access and amendment.Attribute information just because of the 3D controling parameters in this video module can not be shared, and just causes other modules in this intelligent television except video module can not obtain 3D controling parameters in video module.
Therefore, the CPU(central processing unit of this intelligent television) attribute information of the 3D controling parameters in video module other modules in this intelligent television except video module to be opened authority, make non-video module also can obtain 3D controling parameters in video module.
102, the attribute information control command of 3D controling parameters is received;
Wherein, the attribute information control command modules controlled in intelligent television of this 3D controling parameters goes to obtain 3D controling parameters according to the attribute information of 3D controling parameters.
103, according to this attribute information number control command, 3D controling parameters is obtained;
After the attribute information of 3D controling parameters is opened authority, non-video module can after intelligent television receives the attribute information control command of 3D controling parameters, go to obtain this 3D controling parameters by the address of searching in the attribute information of this 3D controling parameters according to this instruction, or revise further.
104, according to 3D controling parameters, video module is converted to 3D play mode;
Because 3D controling parameters is by setting completed in advance, video module can directly be converted to 3D play mode, and without the need to again arranging 3D controling parameters, thus save the time.
Therefore, the present invention can by opening authority by the modules of the attribute information of 3D controling parameters in video module in this intelligent television of 3D video playback forward direction, by originally for the 3D controling parameters of local variable is set to global variable, the non-video module in this intelligent television also equally can be arranged to 3D controling parameters to video module; Therefore, the present invention can realize non-video module also can obtain 3D controling parameters under non-video mode, thus saves the operating time.
Embodiment two
In the present embodiment to arrange gauche form controling parameters during 3D video playback in video module, embodiment of the present invention are further described.
Please refer to Fig. 2, be the process chart of the player method of a kind of 3D video in the embodiment of the present invention, comprise step:
What 201, receive 3D controling parameters arranges instruction;
202, according to the access arranging the attribute information of this 3D controling parameters of instruction modification and the amendment authority of 3D controling parameters;
Wherein, when CPU receive 3D controling parameters instruction is set time find this 3D controling parameters and obtain the attribute information of this 3D controling parameters.The authority wherein containing the title of this parameter, type, size, memory location, creation-time, modification time, access time in this attribute information and it is accessed and is revised.
It is all obtain according to searching in its memory location to the internal memory of intelligent television that a usual module obtains controling parameters, then relies on the authority of access and amendment to be modified to this parameter.Because the non-video module of intelligent television reckons without the problem that will obtain 3D controling parameters at the initial stage of design, also be not just apprised of this memory location of 3D controling parameters in internal memory, that is the attribute information of this 3D controling parameters is not open to other modules.Therefore non-video module just cannot obtain this 3D controling parameters let alone modify to it.
When CPU receive 3D controling parameters instruction is set after, according to this instruction, the attribute information of this 3D controling parameters is open, that is the access in the attribute information of 3D controling parameters and amendment authority are shared to the modules of intelligent television.So, non-video module just can obtain this 3D controling parameters when needs according to the memory location of 3D controling parameters, and goes access and revise this controling parameters, thus saves the operating time.
203, the attribute information control command of 3D controling parameters is received;
204, obtain 3D parameter according to the attribute information control command of 3D controling parameters, and carry out corresponding modify;
Wherein, 3D controling parameters is the controling parameters corresponding with 3D video play mode, and so-called 3D video i.e. three-dimensional film, it is with the filming apparatus of two camera lenses as human eye, the double vision dot image of the lower scenery of shooting.Again by two projectors, the projection of the image synchronization of two viewpoints, these slightly differentiated two width images are presented in screen, if at this moment use eyes direct viewing, the picture seen is overlapping, and some is smudgy.
To see stereopsis, will take measures, as shown in figure 3-1, make left eye only see left image, right eye only sees right image, then image left eye and right eye seen by the brain of beholder carries out combining thus obtains the picture of a width solid.The method that can reach Fig. 3-1 effect in actual life has a lot, such as before every frame projector, fill the contrary polarizer of a Block direction, its effect is equivalent to the polarizer, after passing through polarizer from the light of projector injection, just become polarised light, the polarization direction of the polarizer before the two frame projectors of left and right is orthogonal, the polarization direction of the two bundle polarised lights thus produced is also orthogonal, this two bundles polarised light projects in screen and reflexes to spectators place again, direction of polarized light does not change, spectators use the polarising glass viewing of corresponding above-mentioned polarised light, namely left eye can only see the picture that left machine mirrors, right eye can only see the picture that right machine mirrors, three-dimensional scene will be seen like this, the principle of Here it is three-dimensional film.Other can ensure that left eye sees left figure as complementary colours, switch, post mirror, slit grating etc., right eye sees the different modes that several screens viewings in this general principle of right figure are three-dimensional.In like manner people are in the mode of screen solid except gauche form, and also have vertical type, they are referred to as " 3D controling parameters ".Therefore, when we prepare to play 3D video, first to arrange the play mode of this video.
As shown in figure 3-2, under supposing that intelligent television is in network schemer, intend to watch film " 3D Piranha " (supposing that its form is gauche form), therefore when not exitting network pattern, enter system setup menu, then under this menu, 3D is selected to arrange, " gauche form " is selected again from the window of 3D controling parameters, CPU then under network schemer can receive the controling parameters modify instruction sent by remote controller or other control appliances, and 3D controling parameters is set to gauche form controling parameters.
Now because mixed-media network modules mixed-media has had the authority of access and amendment, therefore, when this mixed-media network modules mixed-media receives the attribute information control command of 3D controling parameters, first in the correspondence position of memory database, find this 3D controling parameters according to the memory location in its attribute information; Refer to according to the amendment of above-mentioned controling parameters after obtaining this 3D controling parameters, the 3D controling parameters (gauche form controling parameters) that order relies on its existing amendment authority to be carried by this modify instruction is set to current 3D controling parameters.
205, the 3D controling parameters revised is kept in the internal memory of this intelligent television.
After 3D controling parameters has been revised, be also kept in the internal memory of this intelligent television by this 3D controling parameters (gauche form), its positional information is constant, and amendment record upgrades thereupon.Internal memory due to this intelligent television is nonvolatile memory, after amended 3D controling parameters is preserved again, even if user is still in online, and also can not 3D controling parameters after lost update.
From above technical scheme, the present invention is by sharing to other modules of this intelligent television by the access of the 3D controling parameters in video module and amendment authority, by originally for the 3D controling parameters in the video module of local variable is set to global variable, other modules in this intelligent television also can be arranged to the controling parameters that video module is equally corresponding to video module.Therefore, the present invention can realize non-video module and under non-video mode, also can obtain 3D controling parameters and can conduct interviews and revise, and then has saved the operating time.
Embodiment three
Based on same design, the present invention also provides a kind of playing device of 3D video, is applied to intelligent television, and this intelligent television comprises: forwarding chip 41, CPU42, other hardware 43 and internal memory 44; Forwarding chip 41 and other hardware 42 are all the auxiliary equipment coordinating CPU to realize Systematical control.Internal memory 44 is mainly used for storing the memory module of functional module driver and associated control parameters in this operating system, comprising:
The attribute information of 3D controling parameters in this video module other modules in this intelligent television except video module for obtaining the attribute information of 3D controling parameters in video module in intelligent television, and are opened authority by priority assignation unit 441.Wherein, in video module, the attribute information of 3D controling parameters comprises the title of this controling parameters, type, size, memory location, creation-time, modification time, access time and the authority to its access and amendment.Can not share just because of the attribute information of 3D controling parameters in this video module, just cause other modules in this intelligent television except video module can not obtain 3D controling parameters in this video module.Therefore, first priority assignation unit 441 will disclose the attribute information of 3D controling parameters in video module, makes other modules in intelligent television except video module can obtain the attribute information of 3D controling parameters, thus can obtain 3D controling parameters.
Instruction reception unit 442, for receiving the attribute information control command of 3D controling parameters, wherein, the attribute information control command modules controlled in intelligent television of this 3D controling parameters goes to obtain 3D controling parameters according to the attribute information of 3D controling parameters.
Parameter acquiring unit 443, controls non-video module according to position acquisition 3D controling parameters corresponding in the memory location in 3D controling parameters attribute information to intelligent television internal memory for going according to the attribute information control command of this 3D controling parameters.
Mode switching unit 444, for according to described 3D controling parameters, controls video module and is converted to 3D play mode; Because 3D controling parameters is wherein by setting completed in advance, video module can directly be converted to 3D play mode, and without the need to again arranging 3D controling parameters, thus save the time.
Present invention also offers a kind of intelligent television, except the assemblies such as TV body, this intelligent television also comprises the playing device of the 3D video that above-described embodiment provides, by the attribute information of the 3D controling parameters in video module is open to the modules of this intelligent television, by originally for the 3D controling parameters in the video module of local variable is set to global variable, other modules in this intelligent television also equally can be arranged to the 3D controling parameters in video module to video module.Thus other modules of non-video module on intelligent television can be realized very easily also can obtain 3D controling parameters.In a preferred embodiment, the playing device of above-mentioned 3D video can be embedded in the control panel of this intelligent television; Above-mentioned intelligent television can be liquid crystal intelligent television, OLED(OrganicLightEmittingDiode, Organic Light Emitting Diode) intelligent television, plasma intelligent television etc.
From above technical scheme, the present invention is by open to the modules of this intelligent television by the attribute information of the 3D controling parameters in video module, by originally for the 3D controling parameters in the video module of local variable is set to global variable, other modules in this intelligent television also equally can be arranged to the 3D controling parameters in video module to video module.Therefore, the present invention can realize non-video module also can obtain 3D controling parameters under non-video mode, thus has saved the operating time.
The foregoing is only preferred embodiment of the present invention, not in order to limit the present invention, within the spirit and principles in the present invention all, any amendment made, equivalent replacement, improvement etc., all should be included within the scope of protection of the invention.