root/platform/ixus55_sd450/sub/100c/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_bitmap_fb
  5. vid_get_viewport_fb
  6. vid_get_viewport_fb_d
  7. vid_get_viewport_height
  8. vid_get_viewport_live_fb
  9. camera_jpeg_count_str

   1 #include "platform.h"
   2 
   3 void *hook_raw_fptr()
   4 {
   5     return (void*)0x3FCF0; // check could be f0,f4,or maybe ec fc ...
   6 }
   7 
   8 void *hook_raw_ret_addr()
   9 {
  10     return (void*)0xFF998998; // BL nullsub_100
  11 }
  12 
  13 char *hook_raw_image_addr()
  14 {
  15     return (char*)0x1058EBD4; // ( found on aA08x_crw)
  16 }
  17 
  18 /**
  19  * OSD screen
  20  */
  21 void *vid_get_bitmap_fb()
  22 {
  23     return (void*)0x103C79A0; // (found on aBmpddev_c)
  24 }
  25 
  26 /**
  27  * IMG viewport in 'rec' mode
  28  */
  29 void *vid_get_viewport_fb()
  30 {
  31         return (void*)0x105F1370; // found at aImgddev_c
  32 }
  33 
  34 /**
  35  * IMG viewport in 'play' mode
  36  */
  37 void *vid_get_viewport_fb_d()
  38 {
  39     return (void*)(*(int*)0x7BAD8); // found on aImageplayer_c
  40 }
  41 
  42 long vid_get_viewport_height()
  43 {
  44      return ((mode_get()&MODE_MASK) == MODE_PLAY)?240:230;
  45 }
  46 
  47 void *vid_get_viewport_live_fb()
  48 {
  49     return (void*)0x0;
  50 }
  51 
  52 char *camera_jpeg_count_str()
  53 {
  54     return (char*)0x9B58;
  55 }

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