Revision ac3568d3794926fd1a91e5e06e4d4d46456af7dc authored by hudson@kremvax on 27 June 2009, 04:18:08 UTC, committed by hudson@kremvax on 27 June 2009, 04:18:08 UTC
1 parent 8418353
camera.h
/** \file
* Camera engine interface.
*
* WARNING: This file is perhaps the most dangerous.
* Nothing in here is supported by Canon and has all been
* reverse engineered from random dumps of memory addresses
* and firmware code.
*
* IT MIGHT NOT BE RIGHT.
*/
#ifndef _camera_h_
#define _camera_h_
#include "arm-mcr.h"
struct camera_engine
{
uint32_t off_0x00;
uint32_t off_0x04;
uint32_t off_0x08;
uint32_t off_0x0c;
uint32_t off_0x10;
uint32_t off_0x14;
uint32_t off_0x18;
uint32_t off_0x1c;
uint32_t off_0x20;
uint32_t off_0x24;
uint32_t off_0x28;
uint32_t off_0x2c;
uint32_t off_0x30;
uint32_t off_0x34;
uint32_t off_0x38;
uint32_t off_0x3c;
uint32_t off_0x40;
uint32_t off_0x44;
uint32_t off_0x48;
uint32_t off_0x4c;
uint32_t off_0x50;
uint32_t off_0x54;
uint32_t off_0x58;
uint32_t off_0x5c;
uint32_t off_0x60;
uint32_t off_0x64;
uint32_t off_0x68;
uint32_t off_0x6c;
// 0x121 == LCD, 0x120 == composite video
uint32_t av_jack; // off_0x70;
uint32_t off_0x74;
uint32_t off_0x78;
uint32_t off_0x7c;
};
SIZE_CHECK_STRUCT( camera_engine, 0x80 );
extern struct camera_engine camera_engine;
/** FA functions can be called to do stuff */
extern void FA_StartLiveView( void );
#endif
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...