[FFmpeg-devel] [PATCH 2/5] pnmenc: use bits_per_raw_sample

Christophe Gisquet christophe.gisquet at gmail.com
Sun Aug 24 10:16:37 CEST 2014


2014-08-20 10:10 GMT+02:00 Christophe Gisquet <christophe.gisquet at gmail.com>:
> This allows writing actual bitdepth in RGB48 when it isn't actually 16.

irrespective of its patchset, I think this patch has merit, if
bits_per_raw_sample is correct.

We are currently marking 12 bits as 16 bits, and when e.g. the decoder
reads that, it doesn't rescale to actual 16 bits.


More information about the ffmpeg-devel mailing list