repo.or.cz
/
frameshot.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Use strcpy() to change extension.
[frameshot.git]
/
common.h
blob
643e7d3893dc8724d6946df8dbd7bf16b48fe007
1
2
typedef
void
*
hnd_t
;
3
4
typedef
struct
5
{
6
int
i_csp
;
7
8
int
i_plane
;
9
int
i_stride
[
4
];
10
uint8_t
*
plane
[
4
];
11
}
image_t
;
12
13
typedef
struct
14
{
15
/* pts of picture */
16
int64_t
i_pts
;
17
18
/* In: raw data */
19
image_t img
;
20
}
picture_t
;
21
22
typedef
struct
23
{
24
uint32_t
i_width
,
i_height
;
25
}
config_t
;