#include "camera_info.h"
#include "conf.h"
#include "modes.h"
#include "viewport.h"
#include "ptp_chdk.h"
#include "live_view.h"
gehe zum Quellcode dieser Datei
int live_view_get_data |
( |
ptp_data * |
data, |
|
|
int |
flags |
|
) |
| |
Definiert in Zeile 28 der Datei live_view.c.
88 lv.bmo.margin_left = lv.bmo.margin_right = lv.bmo.margin_top = lv.bmo.margin_bot = 0;
92 int total_size =
sizeof(
lv_hdr);
96 char *pal_data =
NULL;
107 if(pal_data > (
char *)0x1000) {
110 total_size += pal_size;
139 total_size += vp_size;
158 total_size += bm_size;
170 lv.bmo.data_start = total_size;
171 bmo_size = lv.bmo.buffer_width*lv.bmo.visible_height;
172 total_size += bmo_size;
176 lv.bmo.data_start = 0;