Skip to content
New issue

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

API: deprecate 'bpp' member in favor of 'prec' #1383

Merged
merged 2 commits into from
Oct 21, 2021

Conversation

rouault
Copy link
Collaborator

@rouault rouault commented Oct 21, 2021

in opj_image_comp and opj_image_comptparm structures.

bpp was redundant with prec, and almost never set by the library, except
by opj_image_create(). This change should hopefully not impact existing,
working, users of the API, which should already have used prec to get
things working.

Fixes #1379

in opj_image_comp and opj_image_comptparm structures.

bpp was redundant with prec, and almost never set by the library, except
by opj_image_create(). This change should hopefully not impact existing,
working, users of the API, which should already have used prec to get
things working.

Fixes uclouvain#1379
@rouault
Copy link
Collaborator Author

rouault commented Oct 21, 2021

Actually https://github.com/FFmpeg/FFmpeg/blob/master/libavcodec/libopenjpegenc.c#L256 same in *dec.c

yes there might be people setting them, but that had no effect.
https://github.com/FFmpeg/FFmpeg/blob/master/libavcodec/libopenjpegdec.c doesn't use bpp

@rouault rouault merged commit 9f70bf0 into uclouvain:master Oct 21, 2021
intel-media-ci pushed a commit to intel-media-ci/gstreamer that referenced this pull request May 26, 2023
mengker33 pushed a commit to mengker33/gstreamer that referenced this pull request Aug 31, 2023
kmilos added a commit to kmilos/libheif that referenced this pull request Oct 10, 2023
thochstein pushed a commit to nxp-imx/gst-plugins-bad that referenced this pull request Jun 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

the docs don't describe bpp and prec in opj_image_comp very well
1 participant