root/platform/ixus990_sd970/wrappers.c

/* [<][>][^][v][top][bottom][index][help] */

DEFINITIONS

This source file includes following definitions.
  1. lens_get_focus_pos
  2. lens_get_focus_pos_from_lens
  3. lens_get_target_distance
  4. DoMFLock
  5. UnlockMF

   1 #include "../generic/wrappers.c"
   2 
   3 long lens_get_focus_pos()
   4 {
   5         return _GetFocusLensSubjectDistance();
   6 }
   7 
   8 long lens_get_focus_pos_from_lens()
   9 {
  10         return _GetFocusLensSubjectDistanceFromLens(); 
  11 }
  12 
  13 long lens_get_target_distance()
  14 {
  15         return _GetCurrentTargetDistance();
  16 }
  17 
  18 int DoMFLock(void)
  19 {
  20   if (!camera_info.state.mode_play) {
  21      _PT_MFOn();
  22      return(1);
  23   }
  24   return(0);
  25 }
  26  
  27 int UnlockMF(void)
  28 {
  29   if (!camera_info.state.mode_play) {
  30      _PT_MFOff();
  31      return(1);
  32   }
  33   return(0);
  34 }

/* [<][>][^][v][top][bottom][index][help] */