osdutil.c

来自「代码有点长,需细心阅读,仅供影音视听类产品的开发人员参考」· C语言 代码 · 共 34 行

C
34
字号
#include "config.h"
#include "regmap.h"
#include "global.h"
#include "func.h"
#include "cfont.h"
#include "epp.h"
#include "macro.h"
#include "user_init.h"
#include "osd.h"
#include "stdlib.h"                         //Tony added 02/05/06 prevent from warning,
                     //implicit declaration of functionstrcat, at compiling time
#define bin2asc(x) ((x>9)?x+'A'-10:x+'0')
/*
** preview_osd
*/
#if SUPPORT_OSD
void preview_osd(BYTE one)
{
#define NEW_

    BYTE    row = 0;
    BYTE    column = 0;
    BYTE    i = 0;
    BYTE    ten = 0;

    if(preview_id == 0)
    {
        OSD_OnOffRegion(OSD_OFF, 3);    //jhuang 2-6-16
        OSD_OnOffRegion(OSD_OFF, 4);    //jhuang 2-6-16
    }

    preview_id |= (0x01 << one);

    ten = one / 9;                              //get 

⌨️ 快捷键说明

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