1 typedef unsigned char __uint8_t
;
2 typedef __uint8_t
uint8_t;
3 typedef struct plane_t
{
15 void __attribute__((noipa
))
16 picture_Clone(picture_t
*picture
, picture_t
*res
)
18 for (int i
= 0; i
< N
; i
++) {
19 res
->p
[i
].p_pixels
= picture
->p
[i
].p_pixels
;
20 res
->p
[i
].i_lines
= picture
->p
[i
].i_lines
;
21 res
->p
[i
].i_pitch
= picture
->p
[i
].i_pitch
;
29 uint8_t pixels
[10] = {1, 1, 1, 1, 1, 1, 1, 1};
31 for (unsigned i
= 0; i
< N
; i
++)
32 aaa
.p
[i
].p_pixels
= pixels
;
34 picture_Clone (&aaa
, &bbb
);
37 for (unsigned i
= 0; i
< N
; i
++)
38 c
+= bbb
.p
[i
].p_pixels
[0];