root/platform/sx20/sub/102d/lib.c

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

DEFINITIONS

This source file includes following definitions.
  1. hook_raw_image_addr
  2. vid_get_bitmap_fb
  3. vid_get_viewport_fb
  4. vid_get_viewport_fb_d
  5. vid_get_viewport_width
  6. vid_get_viewport_height
  7. camera_jpeg_count_str

   1 #include "platform.h"
   2 
   3 char *hook_raw_image_addr()
   4 {
   5         return (char*) 0x41F723E0; // found at (0xFF8B8564) near _sub_FF8B8560__EvfCaptureSystem.c
   6 }
   7 
   8 void *vid_get_bitmap_fb()
   9 {
  10         return (void*)0x403F1000; // sub_FF90A394 
  11 }
  12 
  13 void *vid_get_viewport_fb()
  14 {
  15         return (void*)0x41020120; // sub_FF8CB958
  16 }
  17 
  18 void *vid_get_viewport_fb_d()
  19 {
  20         return (void*)(*(int*)(0x2A30+0x58)); // sub_FF871920
  21 }
  22 
  23 int vid_get_viewport_width()
  24 {
  25     return 360;                                               // stays at 360 as IN SD990
  26 }
  27 
  28 long vid_get_viewport_height()
  29 {
  30         return 240;
  31 }
  32 
  33 char *camera_jpeg_count_str()
  34 {
  35         return (char*)0x72DFC; // loc_FF9F735C
  36 }

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