root/platform/ixus40_sd300/sub/100j/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*)0x2F7E8; //0x2F490;
   6 }
   7 
   8 void *hook_raw_ret_addr()
   9 {
  10     return (void*)0xFF8D0824; //OK
  11 }
  12 
  13 char *hook_raw_image_addr()
  14 {
  15 return (char*)0x10A795A8; //OK: 0x10A795A8
  16 }
  17 
  18 // buffer of live picture when shoot button is not pressed
  19 void *vid_get_viewport_live_fb()
  20 {
  21 //there seem to be 3 buffers:
  22 //pointer -> buffer
  23 //0x52E4  -> 0x109CBD20
  24 //0x52F0  -> 0x10A6A760
  25 //0x52FC  -> 0x10B02560
  26 return (void*)0x10B02560;
  27 }
  28 
  29 /**
  30  * OSD screen
  31   */
  32 void *vid_get_bitmap_fb()
  33 {
  34     return (void*) 0x108CEB20; //OK!!!
  35 }
  36 
  37 /**
  38  * IMG viewport in 'rec' mode
  39  */
  40 // buffer of live picture when shoot button is (half-)pressed.
  41 void *vid_get_viewport_fb()
  42 {
  43     return (void*)0x10B02560; //OK!!!
  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*)0x10A6A760; //OK!
  53         return (void*)0x109CBD20; //OK as well ?!
  54 }
  55 
  56 long vid_get_viewport_height()
  57 {
  58     return ((mode_get()&MODE_MASK) == MODE_PLAY)?240:230;
  59 }
  60 
  61 char *camera_jpeg_count_str()
  62 {
  63     return (char*)0x75F30; //ok
  64 }

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