[FFmpeg-devel] [PATCH 02/15] Add pixel formats for 9- and 10-bit yuv420p.
Fri Mar 11 01:08:06 CET 2011
On Thu, Mar 10, 2011 at 11:53:44PM +0000, Carl Eugen Hoyos wrote:
> Oskar Arvidsson <arvidsson.oskar <at> gmail.com> writes:
> > Also add support for these formats in libswscale.
> Any reason the decoder does not output PIX_FMT_YUV420P16?
If we convert the output to yuv420p16, we'd need to downconvert it again
when doing e.g. prediction.
Maybe we could output yuv420p16 with avctx->bits_per_raw_sample and use
the value of avctx->bits_per_raw_sample to do the conversion in swscale
instead. However, in this case the pixfmt wouldn't be self-contained.
> Carl Eugen
> ffmpeg-devel mailing list
> ffmpeg-devel at mplayerhq.hu
oskar at irock.se
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 836 bytes
Desc: not available
More information about the ffmpeg-devel