We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Guys,
I'm not sure this is right.
* [ Bh ] [ Gh ] [ Bl | Gl ] ... * [ Gh ] [ Rh ] [ Gl | Rl ] ...
<read a byte> cur_row[x+0] = byte << 8; <read a byte> cur_row[x+1] = byte << 8; <read a byte> cur_row[x+0] |= static_cast<uint16_t>((byte & 0x0F) << 4); cur_row[x+1] |= static_cast<uint16_t>((byte & 0xF0) << 0);
Are those lower order bytes given to the correct column in cur_row? It looks like they may be the wrong way around?
The text was updated successfully, but these errors were encountered:
According to this, the code is right but the comment is wrong https://www.strollswithmydog.com/open-raspberry-pi-high-quality-camera-raw/
Sorry, something went wrong.
No branches or pull requests
Guys,
I'm not sure this is right.
Are those lower order bytes given to the correct column in cur_row? It looks like they may be the wrong way around?
The text was updated successfully, but these errors were encountered: