Changeset 911
- Timestamp:
- 07/05/10 21:12:42 (3 years ago)
- Location:
- trunk
- Files:
-
- 4 edited
-
Makefile (modified) (1 diff)
-
core/gui.c (modified) (1 diff)
-
include/camera.h (modified) (1 diff)
-
platform/a570/kbd.c (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Makefile
r910 r911 560 560 #$(MAKE) -s --no-print-directory PLATFORM=sx20 PLATFORMSUB=102b NO_INC_BUILD=1 clean 561 561 $(MAKE) -s --no-print-directory PLATFORM=ixus85_sd770 PLATFORMSUB=100a NO_INC_BUILD=1 clean 562 $(MAKE) -s --no-print-directory PLATFORM=ixus95_sd1200 PLATFORMSUB=100c NO_INC_BUILD=1 clean562 #$(MAKE) -s --no-print-directory PLATFORM=ixus95_sd1200 PLATFORMSUB=100c NO_INC_BUILD=1 clean 563 563 564 564 .PHONY: fir upload -
trunk/core/gui.c
r900 r911 1447 1447 static const char* names[]={ "Shrtcut", "Flash", "Video"}; 1448 1448 static const int keys[]={ KEY_PRINT, KEY_FLASH, KEY_VIDEO }; 1449 #elif defined(CAMERA_a570) 1450 static const char* names[]={ "Print", "Display"}; 1451 static const int keys[] = {KEY_PRINT, KEY_DISPLAY}; 1449 1452 #else 1450 1453 #error camera alt-buttons not defined -
trunk/include/camera.h
r910 r911 499 499 500 500 #elif defined (CAMERA_a570) 501 #define CAM_PROPSET 2 502 503 #define CAM_RAW_ROWPIX 3152 // for 7 MP 504 #define CAM_RAW_ROWS 2340 // for 7 MP 505 #define CAM_MULTIPART 1 506 #define CAM_CAN_MUTE_MICROPHONE 1 507 #define CAM_AF_SCAN_DURING_VIDEO_RECORD 1 508 #define CAM_EV_IN_VIDEO 1 509 #define DNG_SUPPORT 1 510 #define CAM_REAR_CURTAIN 1 511 // pattern 512 #define cam_CFAPattern 0x02010100 // Red Green Green Blue 513 // color 514 #define CAM_COLORMATRIX1 \ 515 528283, 1000000,-144259, 1000000, -85966, 1000000, \ 516 -202789, 1000000, 736563, 1000000, 73008, 1000000, \ 517 -27130, 1000000, 107702, 1000000, 264543, 1000000 518 519 #define cam_CalibrationIlluminant1 1 // Daylight 520 // cropping 521 #define CAM_JPEG_WIDTH 3072 522 #define CAM_JPEG_HEIGHT 2304 523 #define CAM_ACTIVE_AREA_X1 38 524 #define CAM_ACTIVE_AREA_Y1 14 525 #define CAM_ACTIVE_AREA_X2 3146 526 #define CAM_ACTIVE_AREA_Y2 2338 527 // camera name 528 #define PARAM_CAMERA_NAME 4 // parameter number for GetParameterData 529 530 #define DNG_EXT_FROM ".DPS" 531 #define CAM_EXT_TV_RANGE 1 501 #define CAM_PROPSET 2 502 503 #define CAM_RAW_ROWPIX 3152 // for 7 MP 504 #define CAM_RAW_ROWS 2340 // for 7 MP 505 #define CAM_MULTIPART 1 506 #define CAM_CAN_MUTE_MICROPHONE 1 507 #define CAM_ADJUSTABLE_ALT_BUTTON 1 508 #define CAM_AF_SCAN_DURING_VIDEO_RECORD 1 509 #define CAM_EV_IN_VIDEO 1 510 #define DNG_SUPPORT 1 511 #define CAM_REAR_CURTAIN 1 512 // pattern 513 #define cam_CFAPattern 0x02010100 // Red Green Green Blue 514 // color 515 #define CAM_COLORMATRIX1 \ 516 528283, 1000000,-144259, 1000000, -85966, 1000000, \ 517 -202789, 1000000, 736563, 1000000, 73008, 1000000, \ 518 -27130, 1000000, 107702, 1000000, 264543, 1000000 519 520 #define cam_CalibrationIlluminant1 1 // Daylight 521 // cropping 522 #define CAM_JPEG_WIDTH 3072 523 #define CAM_JPEG_HEIGHT 2304 524 #define CAM_ACTIVE_AREA_X1 38 525 #define CAM_ACTIVE_AREA_Y1 14 526 #define CAM_ACTIVE_AREA_X2 3146 527 #define CAM_ACTIVE_AREA_Y2 2338 528 // camera name 529 #define PARAM_CAMERA_NAME 4 // parameter number for GetParameterData 530 531 #define DNG_EXT_FROM ".DPS" 532 #define CAM_EXT_TV_RANGE 1 532 533 //---------------------------------------------------------- 533 534 -
trunk/platform/a570/kbd.c
r515 r911 17 17 static KeyMap keymap[]; 18 18 static long last_kbd_key = 0; 19 static long alt_mode_key_mask = 0x00000800; 19 20 static int usb_power=0; 20 21 static int remote_key, remote_count; … … 234 235 physw_status[1] = kbd_new_state[1]; 235 236 physw_status[2] = kbd_new_state[2]; 236 //physw_status[1] |= alt_mode_key_mask;237 physw_status[1] |= alt_mode_key_mask; 237 238 238 239 } else { … … 279 280 } 280 281 281 /*void kbd_set_alt_mode_key_mask(long key)282 void kbd_set_alt_mode_key_mask(long key) 282 283 { 283 284 int i; … … 288 289 } 289 290 } 290 } */291 } 291 292 292 293 void kbd_key_press(long key)
Note: See TracChangeset
for help on using the changeset viewer.