Here is RAW data histogram of Here is RAW data histogram of the RAW image you sent: https://www.dropbox.com/s/bapkupc7bw3m220/Screenshot%202023-04-24%2012.0... (black subtraction is turned off). As you can see, the maximum value is 16500, slightly above 16383 (2^14-1) If you scale data before recording by multiplying to 4 (to get 65535 range you mentioned above) this will result into 16-bit overflow. If you do NOT scale data you'll never see ~65535 range because camera data range is (about) 0-2^14 -- Alex Tutubalin @LibRaw LLC reply
Here is RAW data histogram of the RAW image you sent: https://www.dropbox.com/s/bapkupc7bw3m220/Screenshot%202023-04-24%2012.0...
(black subtraction is turned off).
As you can see, the maximum value is 16500, slightly above 16383 (2^14-1)
If you scale data before recording by multiplying to 4 (to get 65535 range you mentioned above) this will result into 16-bit overflow.
If you do NOT scale data you'll never see ~65535 range because camera data range is (about) 0-2^14