Ok thanks for your explanation, now it's clear.
This notion is not included in OpenFX, since the full/legal range is a legacy from the video world.
So the color range needs to be managed by reader/writer at the library level (inside the plugins). After few research, it appears that ffmpeg manages color range, so our reader based on ffmpeg does too, with color range option and its values:
"unspecified" auto
"mpeg" 16-235
"jpeg" 0-255
Example:
sam do avreader input v_color_range="mpeg" // viewer
But according to ffmpeg issue tracker, it appears that this option has several bugs (
https://trac.ffmpeg.org/ticket/443).
Could you test this option with your data and tell us your results?
Maybe an other solution to this issue could be to create an OpenFX plugin which applies the color transform, according to input parameters, to an input image from legal range to full range (and vice versa)?