summaryrefslogtreecommitdiffhomepage
path: root/video-ps3eye/PS3EYEDriver/constants.hpp
blob: 5ae8d30c18ac9fdad77482be4b4c4c66a30c6e40 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#pragma once

#include <cstdint>

extern const uint8_t sensor_start_qvga[8][2];
extern const uint8_t bridge_start_qvga[9][2];
extern const uint8_t sensor_start_vga[8][2];
extern const uint8_t bridge_start_vga[9][2];
extern const uint8_t ov772x_reg_initdata[35][2];
extern const uint8_t ov534_reg_initdata[47][2];

extern const struct rate_s rate_0[14];
extern const struct rate_s rate_1[22];

struct rate_s {
    uint16_t fps;
    uint8_t r11;
    uint8_t r0d;
    uint8_t re5;
};