|
@@ -210,7 +210,8 @@ ia_css_mipi_frame_calculate_size(const unsigned int width,
|
|
|
*/
|
|
|
|
|
|
|
|
|
- words_per_odd_line = (odd_line_bytes + 3) >> 2; /* ceil(odd_line_bytes/4); word = 4 bytes */
|
|
|
+ words_per_odd_line = (odd_line_bytes + 3) >> 2;
|
|
|
+ /* ceil(odd_line_bytes/4); word = 4 bytes */
|
|
|
words_per_even_line = (even_line_bytes + 3) >> 2;
|
|
|
words_for_first_line = words_per_odd_line + 2 + (hasSOLandEOL ? 1 : 0);
|
|
|
/* + SOF +packet header + optionally (SOL), but (EOL) is not in the first line */
|