Changeset 217


Ignore:
Timestamp:
03/04/2012 09:26:51 AM (15 months ago)
Author:
reyalp
Message:

comments, enable optimization for non-debug

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/include.mk

    r211 r217  
    3636CFLAGS+=-g 
    3737LDFLAGS+=-g 
     38else 
     39CFLAGS+=-O2 
    3840endif 
    3941 
  • trunk/liveimg.c

    r216 r217  
    106106palette_convert_t palette_funcs[] = { 
    107107        {NULL},                                         // type 0 - no palette, we could have a default func here 
    108         {palette_type1_to_rgba},        // type 1 - ayuv, 16 entries 
    109         {palette_type2_to_rgba},        // type 2 - like type 1, but with 3 bit alpha lookup - UNTESTED 
    110         {palette_type3_to_rgba},        // type 3 - vuya, 256 entries, 3 
     108        {palette_type1_to_rgba},        // type 1 - ayuv, 16 entries double 4 bit index 
     109        {palette_type2_to_rgba},        // type 2 - like type 1, but with 2 bit alpha lookup - UNTESTED 
     110        {palette_type3_to_rgba},        // type 3 - vuya, 256 entries, 2 bit alpha lookup 
    111111}; 
    112112 
     
    351351 
    352352/* 
    353 convert viewport data to lbuf to RGB pimg 
     353convert viewport data to RGB pimg 
    354354pimg=liveimg.get_viewport_pimg(pimg,base_info,vid_info,skip) 
    355355pimg: pimg to re-use, created if nil, replaced if size doesn't match 
Note: See TracChangeset for help on using the changeset viewer.