Changeset 44126


Ignore:
Timestamp:
10/10/19 23:06:03 (5 years ago)
Author:
obi
Message:

fix

Location:
titan/titan
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • titan/titan/mipselport.h

    r44124 r44126  
    152152{
    153153        int doblit = 1;
     154        int m_number_of_pages = 1;
    154155        struct fb_var_screeninfo var_screeninfo;
    155156
     
    214215                        }
    215216                        debug(444, "FB: double buffering not available");
     217                        debug(10, "FB: double buffering not available");
    216218                }
    217219                else
    218220                {
    219221                        debug(444, "FB: double buffering available!");
    220                 }
     222                        debug(10, "FB: double buffering available!");
     223                }
     224
     225                m_number_of_pages = var_screeninfo.yres_virtual / fb->height;
     226                debug(444, "FB: %d page(s) available!", m_number_of_pages);
     227                debug(10, "FB: %d page(s) available!", m_number_of_pages);
    221228
    222229                ioctl(fb->fd, FBIOGET_VSCREENINFO, &var_screeninfo);
  • titan/titan/showiframe.h

    r44118 r44126  
    2525        }
    2626*/
    27         usleep(150000);
     27//      usleep(150000);
    2828
    2929        showsinglepic(node, filename);
     
    7676                fstat(fd, &s);
    7777
    78                 if(checkchipset("3798MV200") == 1 || status.aktservice->type != STILLPIC)
     78                if(/*checkchipset("3798MV200") == 1 || */status.aktservice->type != STILLPIC)
    7979                {
    8080                        if(status.aktservice->videodev != NULL)
     
    9494                else
    9595                        videonode = status.aktservice->videodev;
     96
    9697
    9798                if(videonode != NULL)
     
    115116                        stillpic.iFrame = iframe;
    116117                        stillpic.size = s.st_size;
    117 
    118118#ifdef MIPSEL
    119119                        int seq_end_avail = 0;
     
    125125                        memset(stuffing, 0, 8192);
    126126
     127/*
    127128                        if(checkchipset("3798MV200") == 1)
    128129                        {
     
    139140                                videoclearbuffer(videonode);
    140141                        }
    141 
     142*/
    142143                        while(pos <= (s.st_size - 4) && !(seq_end_avail = (!iframe[pos] && !iframe[pos + 1] && iframe[pos + 2] == 1 && iframe[pos + 3] == 0xB7)))
    143144                                ++pos;
     
    154155               
    155156                        write(videonode->fd, stuffing, 8192);
     157/*
    156158                        if(checkchipset("3798MV200") == 1)
    157                                 addtimer(&singlepicthread, START, 150000, 1, (void*)videonode, (void*)ostrcat(filename, NULL, 0, 0), NULL);
     159                                addtimer(&singlepicthread, START, 1000, 1, (void*)videonode, (void*)ostrcat(filename, NULL, 0, 0), NULL);
     160*/
    158161#else
    159162                        videoclearbuffer(videonode);
Note: See TracChangeset for help on using the changeset viewer.