root/platform/s5is/sub/101a/lib.c

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

DEFINITIONS

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

   1 #include "platform.h"
   2 
   3 // Documentation stripped, please refer to the S5IS 1.01b lib.c if you
   4 // need it, or wait until someone feels like updating the documentation for this
   5 // particular model.
   6 
   7 char *hook_raw_image_addr()
   8 {
   9         return (char*)0x1163B8E0;
  10 }
  11 
  12 void *vid_get_viewport_live_fb()
  13 {
  14         return (void*)0x0;
  15 }
  16 
  17 void *vid_get_bitmap_fb()
  18 {
  19         return (void*)0x10361000; 
  20 }
  21 
  22 void *vid_get_viewport_fb()
  23 {
  24         return (void*)0x10D29360;
  25 }
  26 
  27 void *vid_get_viewport_fb_d()
  28 {
  29         return (void*)(*(int*)0x5724);  // 0x56D8 + 0x4C
  30 }
  31 
  32 long vid_get_viewport_height()
  33 {
  34         return 240;
  35 }
  36 
  37 char *camera_jpeg_count_str()
  38 {
  39         return (char*)0x58304;
  40 }

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