pedrocr / pedrocr/rawloader

random tile decoding problems

Open
#47 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Rust
Stars
379
Forks
75
PR merge metrics
No merged PRs in 30d

Description

heya,

i'm using rawloader through a thin c-bindings layer (which you can find here).

when running this code on a sequence of dng files, i get random tile decoding issues which manifest themselves like so:

2023-09-27-152613_1131x709_scrot

or so:

2023-09-27-153744_955x694_scrot

jumping around the images. looks like a threading issue to me (?). is this a bug? am i calling it wrong? do i have to wait before reading out the buffer after calling rawloader::decode_file()?

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the linked vkdt c-bindings layer at src/pipe/modules/i-raw/rawloader-c and the rawloader::decode_file() call, then reproduce the issue with a sequence of DNG files. Investigate whether tile decoding or buffer access is affected by threading or timing. Done means the sequence decodes without randomly corrupted or jumping tiles, with the required buffer-reading behavior clarified.

Written by the indexing model from the issue text.

Assessment

Tech stack
c, rust
Domain
computer-vision
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.