[FFmpeg-devel] [PATCH 02/15] Add pixel formats for 9- and 10-bit yuv420p.

Oskar Arvidsson oskar
Fri Mar 11 01:08:06 CET 2011


Hi,

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.
Thoughts?

Oskar Arvidsson

> 
> Carl Eugen
> 
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at mplayerhq.hu
> https://lists.mplayerhq.hu/mailman/listinfo/ffmpeg-devel

-- 
Oskar Arvidsson
+46 (0)701-766451
oskar at irock.se
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20110311/bd129d62/attachment.pgp>



More information about the ffmpeg-devel mailing list