Changeset 1287


Ignore:
Timestamp:
08/12/11 08:38:51 (22 months ago)
Author:
philmoz
Message:

A410 update from srsa_4c - http://chdk.setepontos.com/index.php?topic=650.msg71477#msg71477

  • subject distance override made possible by duplicating (and disabling an assert in) MoveFocusLensToDistance?().
  • movie time limit fix (the standard, 60min one) was tested, I no longer call it experimental.
  • included CAM_DETECT_SCREEN_ERASE
  • typo fixed in /platform/a410/shooting.c
Location:
trunk
Files:
8 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/lolevel.h

    r1253 r1287  
    2121extern long _GetFocusLensSubjectDistanceFromLens(); 
    2222extern void _MoveFocusLensToDistance(short *dist); 
     23#if defined(CAMERA_a410) 
     24extern void MoveFocusLensToDistanceA410(short *dist); 
     25#endif 
    2326extern void _PutInNdFilter(); 
    2427extern void _PutOutNdFilter(); 
  • trunk/platform/a410/notes.txt

    r1256 r1287  
    99 
    1010Changelog 
     11 
     12Beta 5, 2011-08-07 
     13- manual focus / subject distance override is now possible (disabled an assert that caused the shutdown) 
     14  note: this does not include af-scan in video (which would be too much work to fix) 
     15- movie time limit increase was tested, it's no longer "experimental" 
    1116 
    1217Beta 4, 2011-07-28 
  • trunk/platform/a410/platform_camera.h

    r1229 r1287  
    3333        #define CAM_HAS_ND_FILTER                               1 
    3434        #undef  CAM_HAS_MANUAL_FOCUS 
    35         #undef  CAM_CAN_SD_OVER_NOT_IN_MF 
    36         #undef  CAM_CAN_SD_OVERRIDE // :( it's broken in the firmware 
     35        #define CAM_CAN_SD_OVER_NOT_IN_MF               1 
     36        #define CAM_CAN_SD_OVERRIDE                     1 // :/ it's broken in firmware, but got worked around 
    3737 
    3838        #undef  CAM_HAS_USER_TV_MODES 
     
    4242 
    4343        #define CAM_CHDK_HAS_EXT_VIDEO_MENU             1// 
    44         #undef  CAM_AF_SCAN_DURING_VIDEO_RECORD // :( 
     44        #undef  CAM_AF_SCAN_DURING_VIDEO_RECORD // :( too complex to fix 
    4545        #define CAM_EV_IN_VIDEO                         1 //but not very reliable... 
    4646        // pattern 
     
    7070        #undef  CAM_BRACKETING //no bracketing in fw 
    7171        #define CAM_EXT_TV_RANGE                1 
     72        #define CAM_DETECT_SCREEN_ERASE         1 
    7273//      #define CAM_NO_MEMPARTINFO              1 
    7374//      #define CAM_MULTIPART                   1 
  • trunk/platform/a410/shooting.c

    r1276 r1287  
    7272const ISOTable iso_table[] = { 
    7373    {  0,    0, "Auto", -1}, 
    74     {  1,   64,   "50", -1}, 
     74    {  1,   50,   "50", -1}, 
    7575    {  2,  100,  "100", -1}, 
    7676    {  3,  200,  "200", -1}, 
  • trunk/platform/a410/sub/100f/Makefile

    r1226 r1287  
    11topdir=../../../../ 
    22 
    3 OBJS=boot.o stubs_min.o stubs_auto.o stubs_entry.o lib.o stubs_entry_2.o capt_seq.o movie_rec.o 
    4 STUBS_AUTO_DEPS=boot.c capt_seq.c movie_rec.c 
     3OBJS=boot.o stubs_min.o stubs_auto.o stubs_entry.o lib.o stubs_entry_2.o capt_seq.o movie_rec.o focushack.o 
     4STUBS_AUTO_DEPS=boot.c capt_seq.c movie_rec.c focushack.c 
    55 
    66include  $(topdir)platform/makefile_sub.inc 
  • trunk/platform/a410/sub/100f/stubs_auto.S

    r1256 r1287  
    1818STUB(FFC028B8) 
    1919STUB(FFC03B58) 
     20STUB(FFC107B8) 
    2021STUB(FFC107D8) 
    2122STUB(FFC10974) 
    2223STUB(FFC10F94) 
    2324STUB(FFC11B80) 
     25STUB(FFC11D68) 
    2426STUB(FFC12724) 
    2527STUB(FFC157D4) 
     
    3436STUB(FFC824E4) 
    3537STUB(FFC8A7E8) 
     38STUB(FFC8C260) 
    3639STUB(FFC92524) 
    3740STUB(FFC92FD0) 
     
    125128STUB(FFD31890) 
    126129STUB(FFD35A08) 
     130STUB(FFE11984) 
    127131STUB(FFE18CD8) 
     132STUB(FFE1BA1C) 
     133STUB(FFE1DC38) 
     134STUB(FFE1DF60) 
     135STUB(FFE20E50) 
     136STUB(FFE210DC) 
     137STUB(FFE21424) 
     138STUB(FFE224CC) 
     139STUB(FFE224E8) 
     140STUB(FFE23818) 
     141STUB(FFE23B2C) 
     142STUB(FFE2E338) 
     143STUB(FFE2E368) 
    128144STUB(FFE5A6FC) 
    129145STUB(FFE6C6B4) 
  • trunk/platform/a410/sub/100f/stubs_entry_2.S

    r1226 r1287  
    4040 
    4141NHSTUB(SetScriptMode,0xFFD3799C) // 
     42NHSTUB(MFOn,0xffd24c18) 
     43NHSTUB(MFOff,0xffd24c48) 
  • trunk/platform/generic/wrappers.c

    r1253 r1287  
    262262#endif 
    263263        { 
     264#if defined(CAMERA_a410) // need to disable a (false) assert here to make this function work  
     265                MoveFocusLensToDistanceA410((short*)&newpos); 
     266#else 
    264267                _MoveFocusLensToDistance((short*)&newpos); 
     268#endif 
    265269                //while (focus_busy); 
    266270                while ((shooting_is_flash_ready()!=1) || (focus_busy)); 
Note: See TracChangeset for help on using the changeset viewer.