A kind of multimedia TV screen display control method
Technical field
The present invention relates to a kind of multimedia television system, the TV screen display control method that particularly a kind of television circuit and display circuit combine together.
Background technology
In the existing multimedia television system, the adjustment amount that display is general all is by realize the change of adjustment amount with the knob on this machine (potentiometer).Can not utilize screen display to represent the variation of these adjustment amounts intuitively.Because the frequency of TV and display is inconsistent, existing technology is simultaneously when TV and display character display, ordinary circumstance be under tv state normally then under display state character too big, as under at display state just often, then character is too little under tv state, and both of these case all can not be accepted by the consumer.
Summary of the invention
The purpose of this invention is to provide a kind of method to solve in the multimedia television system, under the display mode, do not have screen shortcoming that shows directly perceived and TV and display all-in-one can not show equal big small characters under two kinds of patterns problem when controlled quentity controlled variable is adjusted.
To achieve these goals, control method of the present invention is: by 1. microprocessors, 2. TV decoding chip, 3. acoustic processing chip, 4. system compensation chip, 5. system's storage chip, 6.I
2The C bus, 7. receiver of remote-control sytem, 8. remote controller, 9. this machine button is formed the multimedia television electronic control system.When entering display mode, by using the double frequency function of microprocessor internal, with the frequency shift of character generator is twice under television mode, and two scan registers are put 1, character under the display mode is diminished, brightness, contrast, row center, the adjustment amounts such as the width of cloth, a center, a width of cloth of going on the display can be changed with remote controller, and its job step is:
A) multimedia television system is used a teleswitch by the user or this machine button when switching to display mode, the display mark position 1 of system, otherwise put 0; Need to need elder generation by menu key to colour, contrast, when the adjustment amounts such as center, a center of going are adjusted the user, the while is sent out automatically to shield to show and asks;
B) show in the request processing at screen, earlier judge whether the display flag bit is 1, as be 1 and when the VGA signal is arranged, then with the double frequency of microprocessor and the correspondence position 1 of two scan registers, screen display character with correspondence writes in the screen display register simultaneously, then the display switch in the screen display register is opened, realized showing;
C) when under television mode or display mode but do not have VGA signal when input, the correspondence position 0 of double frequency and two scan registers is cancelled screen display this moment.
When method provided by the present invention is moved, can under display mode, increase screen Presentation Function directly perceived promptly: the size of on screen, representing adjustment amount visually with colored bars in above-mentioned electronic control system; Can make the unified big small characters of multimedia television system steady display under TV and two kinds of patterns of display promptly: character boundary is no change visually.Thereby for user and commissioning staff provide convenience.
Description of drawings
Fig. 1 is the control circuit block diagram that the present invention is directed to.
Fig. 2 is an operation principle flow chart of the present invention.
Embodiment
In Fig. 1, " TMP87CM38N " that adopts Toshiba Corp to produce, microprocessor 1 as system, " TB1231N " is as the TV decoding chip 2 of system, " TA8776N " is as the acoustic processing chip 3 of system, " TA8859CP " is as the correcting chip 4 of system, with " ST24C04/ST24C08 " of atmel corp storage chip 5 as system, " TC9012-011 (0E) " is as receiver of remote-control sytem 7, " TC28-021 (0E) " as remote controller 8, KEY is as this machine button 9.The infrared radio working method is adopted in signal transmission between receiver of remote-control sytem 7 and the remote controller 8; The control signal that receives is given the REMOTE IN port of systematic microprocessor 1 by cable.The various control signals that this machine button 9 produces pass to the KEY1 port of microprocessor 1 by cable.Systematic microprocessor 1 is carried out the preset program module according to the control signal of receiving, by being connected to I
2Serial data bus on the C bus 6 (SDA), serial clock bus (SCL) are controlled above-mentioned I
2The C electronic device, and then deliver to each adjustment amount of screen display module by the pulse-width modulation port controlling, realize predetermined screen display.
Fig. 2 has described operation principle of the present invention, when multimedia television system is switched to display mode by the user with this machine button or remote controller, and the display mark position 1 of system, otherwise put 0.Need earlier by menu key, to send out the apparent request of screen simultaneously the user to colour, contrast, when the adjustment amounts such as center, a center of going are adjusted.
This moment, job step of the present invention was: 2-1. shows in the processing module at screen, judges whether the display flag bit is 1 earlier, as is 1 and when the VGA signal is arranged, commentaries on classics 2-2; Otherwise change 2-4.2-2., change 2-3 with the double frequency of microprocessor and the correspondence position 1 of two scan registers.2-3. the screen display character of correspondence is write in the screen display register, then the display switch in the screen display register is opened, realize showing.2-4. under television mode or display mode but do not have VGA signal when input, the correspondence position 0 of double frequency and two scan registers is cancelled screen display simultaneously.
Corresponding code description is as follows:
{/* system is in and watches that normally state and demonstration time are 0, system handles */if ((g_dsp_timer==0) ﹠amp/* OSD * // * screen display processing module */voidp_main50 (); Amp; ﹠amp; Amp; (F_POWER==1)) { whether/* is to be in factory's singly-bound debugging mode, is that the singly-bound debugging mode restores the system to */if under the normal condition (g_test_key_st==1) { g_tb1231n.mute=0; MUTE cancellation */g_test_key_st=0 of/* TB1231N; / * singly-bound debugging mode withdraws from */p_factory_normal (); / * recovers normal */g_vcd_ref_timer=0 with the change amount in the factory; / * TB1231N refresh time change into 0*/g_dsp_timer=C_TIMER_STOP; / * demonstration the time is for show */g_clock[2 always] .on_pos=0;=0) { g_osd_req=C_OSD_KOK; / * Karaoke sign is not 0, a Karaoke request */else{ if (F_KEY_MUTE==1) { g_osd_req=C_OSD_VOLUME; / * mute state is 1, phonation volume request */else{ if (g_dsp_mode==0) { g_osd_req=C_OSD_OFF; / * channel is shown as 0, cancellation show */else{/* channel shows be not 0, sends out channel request */g_osd_req=C_OSD_VIDEO; / * picture and text state is 1, sends out picture and text request */if (F_TEXT_ST==1) g_osd_req=C_OSD_TEXT; / * M state is 1, sends out M request */if (F_M_ON_OFF==1) g_osd_req=C_OSD_M;=0xff) { g_osd_st_p=g_osd_st; / * changes last demonstration over to */g_osd_st=g_osd_req; / * request changes state */g_osd_req=0xff over to; / * request is changed to 0XFF*/if ((g_osd_st==C_OSD_FACTORY MENU) ﹠amp; Amp; ﹠amp; Amp; (g_factory_mode==C_OSD)) { p_osd_off (); When/* aiming screen shows original position, refresh */p_osd_init () in real time;=g_osd_st_p) { the last demonstration of/* is different with current demonstration, refreshes */p_osd_off ();<!--SIPO<DP n=" 3 "〉--〉<dp n=" d3 "/p_osd_init (); B=0; Switch (g_osd_st) { case C_OSD_OFF:g_dsp_timer=C_TIMER_STOP; P_osd_off (); / * screen display empties */break; Case C_OSD_MAIN_MENU:p_osd_main_menu (); / * main menu request */break; Case C_OSD_VIDEO:g_orbk_buff=0x00; If (F_TV_VGA==0) p_osd_video (); Indicated channel */else p_osd_vga () under/* the TV; VGA Display */break under the/* display; Case C_OSD_SLEEP:p_osd_sleep (); / * sleep is */break regularly; Case C_OSD_VOLUME:p_osd_volume (); / * volume and quiet */break; Case C_OSD_TIMER:p_osd_imer_menu (); / * clock menu */break; Case C_OSD_BAR:p_osd_bar (); / * _/_/_ demonstration */break; Case C_OSD_PCT_MENU:if (F_TV_VGA==1) p_osd_pct_vga (); / * display shows display adjustment menu */else_p_osd_pct_menu () down; Displayed image menu */break under the/* TV; Case C_OSD_SND_MENU:p_osd_snd_menu (); / * voice menus */break; Case C_OSD_MANUAL_MEMO:p_osd_manual_memo (); / * manually searches platform */break; Case C_OSD_AUTO_MEMO:p_osd_auto_memo (); / * automatic channel search */break; Case C_OSD_ANA_PCT:p_osd_ana_pct (); / * image simulation amount is selected */break; Case C_OSD_ANA_SND:p_osd_ana_snd (); / * speech simulation amount is selected */break; Case C_OSD_KOK:p_osd_kok (); / * Karaoke shows */break; Case C_OSD_KOK_MENU:<!--SIPO<DP n=" 4 "〉--〉<dp n=" d4 "/p_osd_kok_menu () ,/* Karaoke menu shows */break; The beautiful sound of case C_OSD_SMPX :/* shows */p_osd_smpx (); Break; Case C_OSD_HISENSE :/* Hisense trade mark shows */p_osd_hisense (); Break; Case C_OSD_FACTORY_MENU :/* factory debugging menu shows */p_osd_tm (); Break; Case C_OSD_PASSWORD :/* user remote controller enters factory's debugging menu password and shows */p_osd_password (); Break; Case C_OSD_OK :/* OK state shows */p_osd_ok (); Break; Case C_OSD_M :/* M state shows */p_osd_m (); Break; Case C_OSD_TEST_VIDEO: the test signal that/* CPU sends shows */p_osd_test_video (); Break; Case C_OSD_TEXT :/* picture and text show */p_osd_text (); Break; Case C_OSD_ALL_WRITE :/* E2PROM writes and shows */p_osd_all_write (); Break; Return; }/*-----------------------; Initialize OSD data; The initialization screen shows data;----------------------*/void p_osd_init () { p_osd_wait (); / * waits for the idle */G_ORHS1=g_tb1231n.osd of OSD register; / * horizontal level takes out */G_OREFR=0 from factory's tune-up data; Each OSD register of/* is from new initialization */G_ORP6DS=0xf0; G_ORWVSH=1; G_ORWVSL=0xff; G_ORBK=0; G_ORIRC=0; G_osd_oretc=0x12; If ((F_TV_VGA==1) ﹠amp; Amp; ﹠amp; Amp; (F_VGA_SIGNAL==1)) F_OSD_VDSMD=1; / * is as under at display state, and the VGA signal is arranged, and two scan register signs are put 1*/else F_OSD_VDSMD=0; / * is under tv state, or at display but there is not VGA signal input */G_ORETC=g_osd_oretc;<!--SIPO<DP n=" 5 "〉--〉<dp n=" d5 "/g_osd_ordon=0x0e; / * osd off*/if ((F_TV_VGA==1) ﹠amp; Amp; ﹠amp; Amp; (F_VGA_SIGNAL==1)) F_OSD_FORS=1; / * is as under at display state, and the VGA signal is arranged, and double frequency register flag is put 1*/else F_OSD_FORS=0; / * is under tv state, or at display but there is not VGA signal input */G_ORDON=g_osd_ordon; G_orcs4_buff=0; / * display line empties, i.e. cancellation shows */g_orcs8_buff=0; G_orcs_12_buff=0; G_orbk_buff=0; Return;