root/platform/a550/sub/100c/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
  10. _EnterToCompensationEVF
  11. _ExitFromCompensationEVF

   1 #include "platform.h"
   2 #include "keyboard.h"
   3 
   4 void *hook_raw_fptr()
   5 {
   6     return (void*)0x42990;      //sync with a630
   7 }
   8 
   9 void *hook_raw_ret_addr()
  10 {
  11     return (void*)0x0;
  12 }
  13 
  14 char *hook_raw_image_addr()
  15 {
  16     return (char*)0x10563530;   //sync with a630
  17 }
  18 
  19 void *vid_get_viewport_live_fb() // 0x105F0000 + 0xF20 + 0x7E000 + 0x900 (find on "VRAM Address  : %p")
  20 {
  21     return (void*)0x1066F820;
  22 }
  23 
  24 void *vid_get_bitmap_fb()
  25 {
  26     return (void*)0x10361000; //(0x10360000 + 0x1000)   //sync with ixus70 (on forum)
  27 }
  28 
  29 void *vid_get_viewport_fb()
  30 {
  31         return (void*)0x10559120; //sync with a610      
  32 }
  33 
  34 void *vid_get_viewport_fb_d()
  35 {
  36     return (void*)(*(int*)0x3C2E0); //sync with a540 and ixus70 (on forum)
  37 }
  38 
  39 long vid_get_viewport_height()
  40 {
  41     return 240;         //((mode_get()&MODE_MASK) == MODE_PLAY)?240:230;
  42 }
  43 
  44 char *camera_jpeg_count_str()
  45 {
  46     return (char*)0xF840;               //find on "DCB "9999",0"
  47 }
  48 
  49 void _EnterToCompensationEVF() {} // Dummy function. To be removed after stub is found. See stubs_entry_2.S.
  50 void _ExitFromCompensationEVF() {} // Dummy function. To be removed after stub is found. See stubs_entry_2.S.

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