root/platform/ixus80_sd1100/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 
   3 void *hook_raw_fptr()
   4 {
   5     return (void*)0;
   6 }
   7 
   8 void *hook_raw_ret_addr()
   9 {
  10     return (void*)0;
  11 }
  12 
  13 char *hook_raw_image_addr()
  14 {
  15     return (char*)0x10f3f400;
  16 }
  17 
  18 void *vid_get_viewport_live_fb()
  19 {
  20         //21d0 // 00007040 found at ff8c4c70 "LiveImage.c"
  21         //2084 // 00006ebc found at ff8c4a6c
  22     void **fb=(void **)0x7040;
  23     unsigned char buff = *((unsigned char*)0x6ebc);
  24     if (buff == 0) {
  25         buff = 2;
  26     }
  27     else {
  28         buff--;
  29     }
  30     return fb[buff];
  31 }
  32 
  33 void *vid_get_bitmap_fb()
  34 {
  35     return (void*)0x10361000;
  36 }
  37 
  38 void *vid_get_viewport_fb()
  39 {
  40     return ((void **)0x7040)[*((unsigned char*)0x6ebc)];
  41 }
  42 
  43 void *vid_get_viewport_fb_d()
  44 {
  45     return (void*)(*(int*)0x18a68);
  46 }
  47 
  48 long vid_get_viewport_height()
  49 {
  50     return 240;
  51 }
  52 char *camera_jpeg_count_str()
  53 {
  54     return (char*)0x4c2c4;
  55 }

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