资源简介

详细内容见博客:https://blog.csdn.net/li_wen01/article/details/86424204

资源截图

代码片段和文件信息

/*
 **  $Id: video.c 13647 2010-11-26 08:36:58Z humingming $
 **  
 **  Copyright (C) 2003 ~ 2007 Feynman Software.
 **  Copyright (C) 2001 ~ 2002 Wei Yongming.
 */

/* The high-level video driver subsystem */

#include 
#include 
#include 

#include “common.h“
#include “minigui.h“
#include “newgal.h“
#include “sysvideo.h“
#include “blit.h“
#include “pixels_c.h“
#include “license.h“

/* Available video drivers */
static VideoBootStrap *bootstrap[] = {
#ifdef _MGGAL_DUMMY
    &DUMMY_bootstrap
#endif
#ifdef _MGGAL_FBCON
    &FBCON_bootstrap
#endif
#ifdef _MGGAL_QVFB
    &QVFB_bootstrap
#endif
#ifdef _MGGAL_PCXVFB
    &PCXVFB_bootstrap
#endif
#ifdef _MGGAL_RTOSXVFB
    &RTOS_XVFB_bootstrap
#endif
#ifdef _MGGAL_COMMLCD
    &COMMLCD_bootstrap
#endif
#ifdef _MGGAL_SHADOW
    &SHADOW_bootstrap
#endif
#ifdef _MGGAL_MLSHADOW
    &MLSHADOW_bootstrap
#endif
#ifdef _MGGAL_EM85XXYUV
    &EM85XXYUV_bootstrap
#endif
#ifdef _MGGAL_EM85XXOSD
    &EM85XXOSD_bootstrap
#endif
#ifdef _MGGAL_X11
    &X11_bootstrap
#endif
#ifdef _MGGAL_DGA
    &DGA_bootstrap
#endif
#ifdef _MGGAL_GGI
    &GGI_bootstrap
#endif
#ifdef _MGGAL_SVGALIB
    &SVGALIB_bootstrap
#endif
#ifdef _MGGAL_SVPXXOSD
    &SVPXXOSD_bootstrap
#endif
#ifdef _MGGAL_BF533
    &BF533_bootstrap
#endif
#ifdef _MGGAL_MB93493
    &MB93493_bootstrap
#endif
#ifdef _MGGAL_WVFB
    &WVFB_bootstrap
#endif
#ifdef _MGGAL_UTPMC
    &UTPMC_bootstrap
#endif
#ifdef _MGGAL_DFB
    &DFB_bootstrap
#endif
#ifdef _MGGAL_EM86GFX
    &EM86GFX_bootstrap
#endif
#ifdef _MGGAL_HI3510
    &HI3510_bootstrap
#endif
#ifdef _MGGAL_HI3560
    &HI3560_bootstrap
#endif
#ifdef _MGGAL_HI3560A
    &HI3560A_bootstrap
#endif
#ifdef _MGGAL_HI3521A
    &HI3521A_bootstrap
#endif
#ifdef _MGGAL_NEXUS
    &NEXUS_bootstrap
#endif
#ifdef _MGGAL_S3C6410
    &S3C6410_bootstrap
#endif
#ifdef _MGGAL_SIGMA8654
    &SIGMA8654GFX_bootstrap
#endif
#ifdef _MGGAL_MSTAR
    &MSTAR_bootstrap
#endif
#ifdef _MGGAL_CUSTOMGAL
    &CUSTOMGAL_bootstrap
#endif
#ifdef _MGGAL_GDL
    &GDL_bootstrap
#endif
#ifdef _MGGAL_STGFB
    &STGFB_bootstrap
#endif
    NULL
};

GAL_VideoDevice *current_video = NULL;

/* Various local functions */
int GAL_VideoInit(const char *driver_name Uint32 flags);
void GAL_VideoQuit(void);

GAL_VideoDevice *GAL_GetVideo(const char* driver_name)
{
    GAL_VideoDevice *video;
    int index;
    int i;

    index = 0;
    video = NULL;
    if ( driver_name != NULL ) {
        for ( i=0; bootstrap[i]; ++i ) {
            if ( strncmp(bootstrap[i]->name driver_name
                        strlen(bootstrap[i]->name)) == 0 ) {
                if ( bootstrap[i]->available() ) {
                    video = bootstrap[i]->create(index);
                    break;
                }
            }
        }
    } else {
        for ( i=0; bootstrap[i]; ++i ) {
            if ( bootstrap[i]->available() ) {
                video = bootstrap[i]->create(index);
                if ( video != NULL ) {
     

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件     451448  2019-01-07 22:40  HI3521A_HI3520DV300移植MiniGUI\hi3521a_hi3520dv300移植MiniGUI\libminigui-3.0.12-linux\configure

     文件      75798  2019-01-07 21:51  HI3521A_HI3520DV300移植MiniGUI\hi3521a_hi3520dv300移植MiniGUI\libminigui-3.0.12-linux\configure.in

     文件      18237  2019-01-07 22:13  HI3521A_HI3520DV300移植MiniGUI\hi3521a_hi3520dv300移植MiniGUI\libminigui-3.0.12-linux\mgconfig.h.in

     文件      19016  2019-01-13 10:23  HI3521A_HI3520DV300移植MiniGUI\hi3521a_hi3520dv300移植MiniGUI\libminigui-3.0.12-linux\src\newgal\hisi\hi3521a_fbvideo.c

     文件       2886  2019-01-08 20:25  HI3521A_HI3520DV300移植MiniGUI\hi3521a_hi3520dv300移植MiniGUI\libminigui-3.0.12-linux\src\newgal\hisi\hi3521a_fbvideo.h

     文件        449  2019-01-07 22:41  HI3521A_HI3520DV300移植MiniGUI\hi3521a_hi3520dv300移植MiniGUI\libminigui-3.0.12-linux\src\newgal\hisi\Makefile.am

     文件      15402  2019-01-08 20:41  HI3521A_HI3520DV300移植MiniGUI\hi3521a_hi3520dv300移植MiniGUI\libminigui-3.0.12-linux\src\newgal\hisi\Makefile.in

     文件       8208  2019-01-07 21:55  HI3521A_HI3520DV300移植MiniGUI\hi3521a_hi3520dv300移植MiniGUI\libminigui-3.0.12-linux\src\newgal\sysvideo.h

     文件      33267  2019-01-12 18:13  HI3521A_HI3520DV300移植MiniGUI\hi3521a_hi3520dv300移植MiniGUI\libminigui-3.0.12-linux\src\newgal\video.c

     文件    6338293  2019-01-13 10:24  HI3521A_HI3520DV300移植MiniGUI\hisi3521\helloworld

     文件       9129  1980-01-01 00:00  HI3521A_HI3520DV300移植MiniGUI\hisi3521\MiniGUI.cfg

     文件       4110  1980-01-01 00:00  HI3521A_HI3520DV300移植MiniGUI\hisi3521\res\bmp\classic_check_button.bmp

     文件       3510  1980-01-01 00:00  HI3521A_HI3520DV300移植MiniGUI\hisi3521\res\bmp\classic_radio_button.bmp

     文件       4214  1980-01-01 00:00  HI3521A_HI3520DV300移植MiniGUI\hisi3521\res\bmp\fashion_check_btn.bmp

     文件       4216  1980-01-01 00:00  HI3521A_HI3520DV300移植MiniGUI\hisi3521\res\bmp\fashion_radio_btn.bmp

     文件       4110  1980-01-01 00:00  HI3521A_HI3520DV300移植MiniGUI\hisi3521\res\bmp\flat_check_button.bmp

     文件       4110  1980-01-01 00:00  HI3521A_HI3520DV300移植MiniGUI\hisi3521\res\bmp\flat_radio_button.bmp

     文件        170  1980-01-01 00:00  HI3521A_HI3520DV300移植MiniGUI\hisi3521\res\bmp\skin_arrows.gif

     文件       3128  1980-01-01 00:00  HI3521A_HI3520DV300移植MiniGUI\hisi3521\res\bmp\skin_arrows_shell.bmp

     文件       1600  1980-01-01 00:00  HI3521A_HI3520DV300移植MiniGUI\hisi3521\res\bmp\skin_bborder.bmp

     文件     230456  1980-01-01 00:00  HI3521A_HI3520DV300移植MiniGUI\hisi3521\res\bmp\skin_bkgnd.bmp

     文件       1256  1980-01-01 00:00  HI3521A_HI3520DV300移植MiniGUI\hisi3521\res\bmp\skin_caption.gif

     文件       4216  1980-01-01 00:00  HI3521A_HI3520DV300移植MiniGUI\hisi3521\res\bmp\skin_checkbtn.bmp

     文件       4199  1980-01-01 00:00  HI3521A_HI3520DV300移植MiniGUI\hisi3521\res\bmp\skin_cpn_btn.gif

     文件       4086  1980-01-01 00:00  HI3521A_HI3520DV300移植MiniGUI\hisi3521\res\bmp\skin_header.bmp

     文件       1576  1980-01-01 00:00  HI3521A_HI3520DV300移植MiniGUI\hisi3521\res\bmp\skin_lborder.bmp

     文件        318  1980-01-01 00:00  HI3521A_HI3520DV300移植MiniGUI\hisi3521\res\bmp\skin_pb_htrack.gif

     文件        440  1980-01-01 00:00  HI3521A_HI3520DV300移植MiniGUI\hisi3521\res\bmp\skin_pb_htruck.bmp

     文件        310  1980-01-01 00:00  HI3521A_HI3520DV300移植MiniGUI\hisi3521\res\bmp\skin_pb_vtrack.gif

     文件        416  1980-01-01 00:00  HI3521A_HI3520DV300移植MiniGUI\hisi3521\res\bmp\skin_pb_vtruck.bmp

............此处省略144个文件信息

评论

共有 条评论