⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 _csl_osdsetbitmapmode.c

📁 TI达芬奇dm644x各硬件模块测试代码
💻 C
字号:
/** @file _csl_osdSetBitmapMode.c
 *
 *  @brief Set OSD bitmap window mode parameters
 *  This routine set parameters which will affect both OSD bitmap windows
 *
 *  @date 5th OCT, 2004
 *  @author Sandeep Tiwari.
 */

#include <csl_osd.h>
#include <_csl_osd_aux.h>

CSL_Status   _CSL_osdSetBitmapMode(
         /** Pointer to the object that holds reference to the
           *  instance of OSD requested after the call 
	    */
         CSL_OsdHandle hOsd,

         /** Pointer to structure containing data to set the OSD bitmap mode 
           *  registers 
           */   
         CSL_OsdBitmapModeData *arg ) 
{
	CSL_Status status = CSL_SOK;
	
      CSL_FINS(hOsd->regs->MODE,OSD_MODE_OVRSZ,arg->vertexpand);    
      CSL_FINS(hOsd->regs->MODE,OSD_MODE_OHRSZ,arg->horzexpand);

      return status;

}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -