root/platform/ixusizoom_sd30/sub/100g/lib.c

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

DEFINITIONS

This source file includes following definitions.
  1. hook_raw_fptr
  2. hook_raw_ret_addr
  3. hook_raw_image_addr
  4. vid_get_viewport_live_fb
  5. vid_get_bitmap_fb
  6. vid_get_viewport_fb
  7. vid_get_viewport_fb_d
  8. vid_get_viewport_height
  9. camera_jpeg_count_str

   1 #include "platform.h"
   2 
   3 void *hook_raw_fptr()
   4 {
   5     return (void*)0x3F898; //OK  ROM:FF8C7794
   6 }
   7 
   8 void *hook_raw_ret_addr()
   9 {
  10     return (void*)0xFF8D2C94; //OK      =aTgtool_getregi
  11 }
  12 
  13 char *hook_raw_image_addr()
  14 {
  15     return (char*)0x10584DF4; //OK      =aA08x_crw  Found @  0xff91e35c
  16 }
  17 
  18 // buffer of live picture when shoot button is not pressed
  19 void *vid_get_viewport_live_fb()
  20 {
  21         return (void*)0;        //????????????????????????????
  22 }
  23 
  24 /**
  25  * OSD screen
  26   */
  27 void *vid_get_bitmap_fb()
  28 {
  29     return (void*) 0x103C79A0; //OK             =aA08x_dat
  30 }
  31 
  32 /**
  33  * IMG viewport in 'rec' mode
  34  */
  35 // buffer of live picture when shoot button is (half-)pressed.
  36 void *vid_get_viewport_fb()
  37 {
  38     return (void*)0x106027C8;   //OK    loc_FF921AD0
  39 }
  40 
  41 /**
  42  * IMG viewport in 'play' mode
  43  */
  44 // buffer of picture in play mode
  45 void *vid_get_viewport_fb_d()
  46 {
  47         return (void*)0x7B6A8;  //OK    sub_FF9243CC
  48 }
  49 
  50 long vid_get_viewport_height()
  51 {
  52     return ((mode_get()&MODE_MASK) == MODE_PLAY)?240:230;
  53 }
  54 
  55 char *camera_jpeg_count_str()
  56 {
  57     return (char*)0x88860; //OK
  58 }

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