Changeset 766 for trunk


Ignore:
Timestamp:
05/24/09 10:10:32 (4 years ago)
Author:
fudgey
Message:

a570 101a motion detector / zebra display buffer speedup (copied from
a570 100e):
http://chdk.setepontos.com/index.php/topic,3632.msg34361.html#msg34361

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/platform/a570/sub/101a/lib.c

    r659 r766  
    2424void *vid_get_viewport_live_fb() 
    2525{ 
    26     return (void*)0x0;  
     26//    return (void*)0x0;  
     27    void **fb=(void **)0x65CC; 
     28    unsigned char buff = *((unsigned char*)0x65DC); 
     29    if (buff == 0) { 
     30        buff = 2; 
     31    } 
     32    else { 
     33        buff--; 
     34    } 
     35    return fb[buff]; 
    2736} 
    2837 
Note: See TracChangeset for help on using the changeset viewer.