-
Notifications
You must be signed in to change notification settings - Fork 0
Allow MSE and peak error testing against source images #17
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
base: master
Are you sure you want to change the base?
Conversation
Assuming the patch that fixes UBSAN, I got another UBSAN.
for p1_02 and p1_03. |
I have tested the patch on a 32-bit environment. I got the following error.
|
Can you run just this one: fate-jpeg2000dec-p1_04 |
Looks good (No error was generated). Do you know the reason? |
I implemented the MSE and peak error comparison only for that one! Look at the make file. |
58cd569
to
3d4a0c0
Compare
Where can I see the thresholds for the lossy codestreams? |
Cosmetic change in preparation for the next commit. Signed-off-by: James Almer <[email protected]>
…upported but conversion is not required Values in csp, prim, trc, etc, are irrelevant if there's no conversion needed. Reviewed-by: Niklas Haas <[email protected]> Signed-off-by: James Almer <[email protected]>
Look at line 72 at tests/fate/jpeg2000.mak |
Signed-off-by: Rémi Denis-Courmont <[email protected]>
Make the checker functions available for all codecs. Signed-off-by: Marton Balint <[email protected]>
The comments supposed to track the possible value of the qmat and qmat16 matrices, but they were not updated properly in the long history of the mpegvideo encoder. Also they wrongly assumed the usage of built-in quantizer matrices and linear quantization. Signed-off-by: Marton Balint <[email protected]>
…is_c and dct_quantize_c Fixes corruption with: ffmpeg -t 1 -filter_complex "sine=f=21,showwaves=scale=cbrt:mode=line:colors=white:draw=full" -c:v mpeg2video -non_linear_quant 1 -qmin 1 -qmax 1 -cpuflags 0 out.mpg or ffmpeg -t 1 -filter_complex "sine=f=21,showwaves=scale=cbrt:mode=line:colors=white:draw=full" -c:v mpeg2video -non_linear_quant 1 -qmin 1 -qmax 1 -trellis 1 out.mpg Signed-off-by: Marton Balint <[email protected]>
…nfigurations This was disabled in da60b99 and then accidentally re-enabled in 172b0e2. The code in question was never properly adapted for litte-endian mode. refs: trac/10955 Signed-off-by: Michael Niedermayer <[email protected]>
codec37 operates on 2 buffers, which must be considered private to the codec and must therefore not be changed by subsequent FOBJs. Let codec37 therefore operate on frm1/2 instead of frm0/2, but copy the decoded image to frm0 where other codecs operate on. Fixes artifacts encountered in Full Throttle "dazed.san" and also in a lot of Rebel Assault II gameplay videos: these videos consist of frames with an initial codec37 FOBJ image to set the stage, and optional codec1-23 FOBJs overlaid on top of that image. Signed-off-by: Manuel Lauss <[email protected]> Signed-off-by: Michael Niedermayer <[email protected]>
…xtension_picky mode" The next commit implements the hls fix in a way that doesnt need this This reverts commit 54897da.
This blocks disallowed extensions from probing It also requires all available segments to have matching extensions to the format mpegts is treated independent of the extension It is recommended to set the whitelists correctly instead of depending on extensions, but this should help a bit, and this is easier to backport Fixes: CVE-2023-6602 II. HLS Force TTY Demuxer Fixes: CVE-2023-6602 IV. HLS XBIN Demuxer DoS Amplification The other parts of CVE-2023-6602 have been fixed by prior commits Found-by: Harvey Phillips of Amazon Element55 (element55) Signed-off-by: Michael Niedermayer <[email protected]>
This will be used to propagate global side data through the filterchain. Signed-off-by: James Almer <[email protected]>
This will be used to propagate global side data through the filterchain. Signed-off-by: James Almer <[email protected]>
This will be used to get global side data that was propagated through the filterchain. Signed-off-by: James Almer <[email protected]>
…he filterchain Global side data as exported by a decoder may no longer apply if a filter in the chain altered the frames in some form, like changing color, dimensions, or channel layout information. After this change, any such changes in side data will be taken into account by the encoder futher in the process. Signed-off-by: James Almer <[email protected]>
Signed-off-by: James Almer <[email protected]>
… types Signed-off-by: James Almer <[email protected]>
…esent Signed-off-by: James Almer <[email protected]>
…ta changed between frames Signed-off-by: James Almer <[email protected]>
Signed-off-by: James Almer <[email protected]>
3d4a0c0
to
66fe0eb
Compare
On 32-bit machine, I got the following:
|
c1p1_04-0.j2c
must be added tofate-suite\jpeg2000\itu-iso\codestreams_profile1
c1p1_04-0.zip