Changeset 14707


Ignore:
Timestamp:
03/16/12 19:01:34 (12 years ago)
Author:
gost
Message:

[titan] extension for Pearl LCD

Location:
titan/titan
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • titan/titan/fb.h

    r14701 r14707  
    280280                blitscale(0, 0, fbnode->width, fbnode->height, 320, 240, 1);
    281281                socksend(&status.rguidfd, accelfb->fb, 320 * 240 * 4, 5000 * 1000);
     282                m_unlock(&status.accelfbmutex, 16);
     283        }
     284
     285        if(status.write_png == 1)
     286        {
     287                m_lock(&status.accelfbmutex, 16);
     288                blitscale(0, 0, fbnode->width, fbnode->height, 320, 240, 1);
     289                fb2png(accelfb->fb, 320, 240, "/tmp/titanlcd.png");
    282290                m_unlock(&status.accelfbmutex, 16);
    283291        }
  • titan/titan/titan.c

    r14645 r14707  
    349349        struct stimerthread *tmpthread = NULL;
    350350
     351        status.write_png = 0;
     352        status.write_jpg = 0;
     353
    351354#ifdef SIMULATE
    352355        // for mem leak debug
Note: See TracChangeset for help on using the changeset viewer.