-
Notifications
You must be signed in to change notification settings - Fork 27
Open
Description
I found a decoding error when using openapv v0.2.0.4.
Files encoded with this version fail to decode properly. The issue occurs for both 10-bit and 12-bit encoding, and seems to happen when the symbol length during encoding exceeds 32.
This problem does not occur in the previous version (v0.1.13), so it appears to be a regression introduced in the latest release.
Steps to Reproduce:
-
Extract the attached ZIP file to obtain pattern_yuv444p10le_128x128.yuv.
pattern_yuv444p10le_128x128.zip -
Encode a YUV file using the following commands.
- 10-bit encoding:
oapv_app_enc -i pattern_yuv444p10le_128x128.yuv -w 128 -h 128 -d 10 -z 30 --input-csp 3 --profile 444-10 -q 0 --q-matrix-c0 "4 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1" -o encoded.apv - 12-bit encoding:
oapv_app_enc -i pattern_yuv444p10le_128x128.yuv -w 128 -h 128 -d 10 -z 30 --input-csp 3 --profile 444-12 -q 0 -o encoded.apv
- Attempt to decode the generated encoded.apv file.
Behavior:
- When built in Release mode, decoding seems to complete, but the resulting YUV output is visibly corrupted and not displayed correctly.
- When built in Debug mode, the decoder fails with an error during decoding.
Please review and confirm whether this is a known bug or a regression in the encoding process.
Metadata
Metadata
Assignees
Labels
No labels