File tree 2 files changed +5
-2
lines changed
2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change 40
40
sort -u)
41
41
42
42
# Handle the case if two docker images were declared for one distro
43
- # e.g. rolling moving from one Ubuntu Focal to Ubuntu Jammy
43
+ # e.g. rolling moving from one Ubuntu Jammy to Ubuntu Noble
44
44
docker_image_arr=($docker_image)
45
45
46
46
DISTRO_STR+="\"${distro}\", "
Original file line number Diff line number Diff line change @@ -80,13 +80,15 @@ class UYVY2RGB : public pixel_format_base
80
80
// /
81
81
// / Source: https://www.linuxtv.org/downloads/v4l-dvb-apis-old/V4L2-PIX-FMT-YUYV.html
82
82
// /
83
+ // Use `INDENT-OFF` here to disable uncrustify for this function due to
84
+ // differing uncrustify formats for different distros
85
+ // *INDENT-OFF*
83
86
void convert (const char * & src, char * & dest, const int & bytes_used) override
84
87
{
85
88
(void )bytes_used; // not used by this conversion method
86
89
int i, j;
87
90
unsigned char y0 , y1 , u, v;
88
91
unsigned char r, g, b;
89
-
90
92
for (i = 0 , j = 0 ; i < (static_cast <int >(m_number_of_pixels) << 1 ); i += 4 , j += 6 ) {
91
93
u = (unsigned char )src[i + 0 ];
92
94
y0 = (unsigned char )src[i + 1 ];
@@ -102,6 +104,7 @@ class UYVY2RGB : public pixel_format_base
102
104
dest[j + 5 ] = b;
103
105
}
104
106
}
107
+ // *INDENT-ON*
105
108
106
109
private:
107
110
size_t m_number_of_pixels;
You can’t perform that action at this time.
0 commit comments