Changeset 597


Ignore:
Timestamp:
11/29/08 12:05:57 (4 years ago)
Author:
EWAVR
Message:
  • fixed colors in DNG thumbnail for some cameras
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/core/raw.c

    r594 r597  
    6767    b=gamma[get_raw_pixel((x/2)*2+1,(y/2)*2+1)>>2]; //blue pixel 
    6868#elif cam_CFAPattern==0x01000201 // Green  Blue  Red  Green 
    69     r=gamma[get_raw_pixel((x/2)*2,(y/2)*2+1)]; // red pixel 
    70     g=gamma[7*(get_raw_pixel((x/2)*2,(y/2)*2)>>2)/10]; // green pixel 
     69    r=gamma[get_raw_pixel((x/2)*2,(y/2)*2+1)>>2]; // red pixel 
     70    g=gamma[6*(get_raw_pixel((x/2)*2,(y/2)*2)>>2)/10]; // green pixel 
    7171    b=gamma[get_raw_pixel((x/2)*2+1,(y/2)*2)>>2]; //blue pixel 
    7272#else  
Note: See TracChangeset for help on using the changeset viewer.