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
Currently, JpegEncoder extends to support extended color space(BGR/BGEX) with JCS_EXTENSIONS.
However old codes for libjpeg are left, so it is not easy to read.
I think to refactor it is needed for future works.
For non-continuous source, I think updating to use Mat::ptr() insted of Mat::data + bias is better way.
- uchar *data = img.data + img.step*y, *ptr = data; + uchar *data = const_cast<uchar*>(img.ptr<uchar>(y));
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Describe the feature and motivation
Currently, JpegEncoder extends to support extended color space(BGR/BGEX) with JCS_EXTENSIONS.
However old codes for libjpeg are left, so it is not easy to read.
I think to refactor it is needed for future works.
Additional context
For non-continuous source, I think updating to use Mat::ptr() insted of Mat::data + bias is better way.
The text was updated successfully, but these errors were encountered: