[FFmpeg-devel] [PATCH]Fix pnm encoding with bpc set
Carl Eugen Hoyos
cehoyos at ag.or.at
Sun Aug 24 12:54:06 CEST 2014
Christophe Gisquet <christophe.gisquet <at> gmail.com> writes:
> Otherwise, this shift would undo scaling performed
> elsewhere or actually remove bits from the actual
> value, which would be incorrect.
It would undo the shift done in the decoder because we
(luckily!!) do not have PIX_FMT_RGB12 and PIX_FMT_GRAY12
(and similar). I thought this was your goal, as said I
am not claiming this patch is a good idea (it just
fixes a regression).
More information about the ffmpeg-devel