root/platform/ixus50_sd400/sub/101a/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*)0x2F490;
   6         return (void*)0x2EC10; // find on "taskcreate_ImageSensorTask" 
   7 }
   8 
   9 void *hook_raw_ret_addr()
  10 {
  11     //return (void*)0xFF8D8BDC;
  12         return (void*)0xFF8E0EEC; // From inside the TgTool_Delete
  13 }
  14 
  15 char *hook_raw_image_addr()
  16 {
  17     //return (char*)(0x10400000+0x160000+0x3A80); // Loc FF8B6AB0
  18         return (char*)0x10595D54; // function below aWaitgetaeinteg
  19 }
  20 
  21 // buffer of live picture when shoot button is not pressed
  22 void *vid_get_viewport_live_fb()
  23 {
  24     return (void*)0x0;
  25 }
  26 
  27 /**
  28  * OSD screen
  29   */
  30 void *vid_get_bitmap_fb()
  31 {
  32     return (void*)0x103CEB20; // (found on aBmpddev_c)
  33 }
  34 
  35 /**
  36  * IMG viewport in 'rec' mode
  37  */
  38 // buffer of live picture when shoot button is (half-)pressed.
  39 void *vid_get_viewport_fb()
  40 {
  41 //    return (void*)0x104B6C20;
  42 //    return (void*)0x10559670;
  43     return (void*)0x105F84F0; // Next function after CreateImagePhysicalVramForStitch
  44 }
  45 
  46 /**
  47  * IMG viewport in 'play' mode
  48  */
  49 // buffer of picture in play mode
  50 void *vid_get_viewport_fb_d()
  51 {
  52 //    return (void*)(*(int*)0x5BAEC);
  53  return (void*)(*(int*)0x6EAD0); // found on aImageplayer_c
  54  //return (void*)(*(int*)0x104B6C20);
  55 }
  56 
  57 long vid_get_viewport_height()
  58 {
  59     return ((mode_get()&MODE_MASK) == MODE_PLAY)?240:230;
  60 }
  61 
  62 char *camera_jpeg_count_str()
  63 {
  64     return (char*)0x75EC0;
  65 }

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