root/platform/a2200/sub/100d/lib.c

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

DEFINITIONS

This source file includes following definitions.
  1. get_flash_params_count
  2. camera_jpeg_count_str
  3. hook_raw_image_addr
  4. hook_alt_raw_image_addr
  5. vid_get_bitmap_fb

   1 #include "platform.h"           
   2 
   3 int get_flash_params_count(void) {
   4         
   5         return 0xA0;                            // Found @0xFF98E5AC
   6 }
   7 
   8 char *camera_jpeg_count_str() {
   9         
  10         return (char*)0x000B3B14;       // Found @0xFF9F71C8
  11 }       
  12 
  13 char *hook_raw_image_addr() {
  14         
  15                 return (char*) 0x421316C0;
  16 }               
  17 
  18 char *hook_alt_raw_image_addr() {
  19         
  20                 return (char*) 0x421316C0;
  21 }
  22 
  23 void *vid_get_bitmap_fb() {
  24         
  25         return (void*)0x403F1000;       // Found @0xFF85B81C
  26 }       
  27 // Those functions were replaced by their generic implementation in ../lib.c
  28 /*
  29 void *vid_get_viewport_live_fb() {
  30         
  31         return (void*)(*(int*)(0x20D0+0x138));          //FF850C88 + FF850CD8
  32         // and selected value that gave the fastest Motion Detect response using http://dataghost.com/chdk/md_meter.html.
  33 }
  34 
  35 void *vid_get_viewport_fb() {
  36         
  37         return (void*)0x40546B80;       // Found @0xFFB17310
  38 }
  39                 
  40 void *vid_get_viewport_fb_d() {
  41         
  42         return (void*)(*(int*)(0x29A0+0x58));     // FF870CB0 +  FF870D38
  43 }

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