root/platform/ixus75_sd750/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 #include "keyboard.h"
   3 
   4 void *hook_raw_fptr()
   5 {
   6     return (void*)0; 
   7 }
   8 
   9 void *hook_raw_ret_addr()
  10 {
  11     return (void*)0; 
  12 }
  13 
  14 // Found at 0xFFA6F66C
  15 char *hook_raw_image_addr()
  16 {
  17     return (char*)0x10E706A0; 
  18 }
  19 
  20 void *vid_get_viewport_live_fb()
  21 {
  22     void **fb=(void **)0x709C; // from sub_FF9CE798
  23     unsigned char buff = *((unsigned char*)0x70AC);
  24     if (buff == 0) {
  25         buff = 2;
  26     }
  27     else {
  28         buff--;
  29     }
  30     return fb[buff];
  31 }
  32 
  33 // Found at FFA302E0, aBmpddev_c
  34 void *vid_get_bitmap_fb()
  35 {
  36     return (void*)0x10361000; 
  37 }
  38 
  39 // Found at FFA2ED70, aImgddev_c
  40 void *vid_get_viewport_fb()
  41 {
  42     return (void*)(0x1065BA50); 
  43 }
  44 
  45 // Found at , aImageplayer_c
  46 void *vid_get_viewport_fb_d()
  47 {
  48     return (void*)(*(int*)0x94AE8); 
  49 }
  50 
  51 long vid_get_viewport_height()
  52 {
  53     return ((mode_get()&MODE_MASK) == MODE_PLAY)?240:230;
  54 }
  55 
  56 // Found at FF8F95F4
  57 char *camera_jpeg_count_str()
  58 {
  59     return (char*)0x12600;
  60 }

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