str_os_svideo.inc
上传用户:caisangzi8
上传日期:2013-10-25
资源大小:15756k
文件大小:1k
源码类别:

DVD

开发平台:

C/C++

  1. #include "user_init.h"
  2. #include "global.h"
  3. #include "osd.h"
  4. //2004AUDDRV #include "audif.h"
  5. static void
  6. str_os_svideo(void)
  7. {
  8. //#ifdef TVOUT6_4DAC_ON //terry,2003-8-19 17:44,mark it,move to ircmd_util.c
  9. //              tv_dacoff( (0x01<<3)|(0x01<<4)|(0x01<<5) );  // dac off
  10. //#endif
  11.     setup_tv_out(TV_SVIDEO);
  12.     //ap_tv_out_id=TV_SVIDEO;//nono 2003-8-1 18:05
  13.     search_ap_tv_out_id();//terry,2003/8/19 03:21PM
  14. #ifdef SUPPORT_SCART_TV//SPHE8202//nono 4-3-27 21:35
  15.     SET_SCART_GPIO_SFT_CFG_CTRL();
  16.     SET_SCART_TO_CVBS();
  17. #endif//#ifdef SUPPORT_SCART_TV//SPHE8202//nono 4-3-27 21:35
  18. #if defined(SCART_TV)||defined(KSD_SCART_TV)||defined(SCART_TV_4)||defined(SCART_TV_5)//wangfeng 2003-12-2 23:03
  19.     SET_SCART_RGB(0);
  20. #endif //#ifdef SCART_TV
  21.     
  22. #if defined(SCART_TV_2)
  23.     #if defined(THAKRAL_DVD)
  24.     SET_SCART_RGB(1);
  25.     #else
  26.     SET_SCART_RGB(0);
  27.     #endif
  28. #endif
  29. #if defined(SCART_TV_3)&&defined(SKYWORTH_DVD)
  30.     SET_SCART_RGB(0);
  31. #elif defined(SCART_TV_3)     //wanghaoying 2003-9-12 11:28
  32.     SET_SCART_RGB(1);
  33. #endif
  34. }