[FFmpeg-devel] [PATCH] DNxHD 10-bit support v5

Thomas Worth dev at rarevision.com
Fri Jun 10 19:37:40 CEST 2011


On Fri, Jun 10, 2011 at 10:26 AM, Michael Niedermayer <michaelni at gmx.at> wrote:
> On Fri, Jun 10, 2011 at 07:33:09AM -0700, Thomas Worth wrote:
>> On Fri, Jun 10, 2011 at 7:25 AM, Michael Niedermayer <michaelni at gmx.at> wrote:
>> > On Fri, Jun 10, 2011 at 09:58:02AM +0100, Joseph Artsimovich wrote:
>> >> On 09/06/2011 21:03, Baptiste Coudurier wrote:
>> >>> While you were gone, PIX_FMT_YUV422P10 was introduced :)
>> >>> It should simplify a lot of code.
>> >>>
>> >> According to pixfmt.h, 10-bit formats are deprecated:
>> >
>> > yes, in an ideal world we would have just the 16bit format and store
>> > the bits seperately.I guess the deprecation is a bit too strongly
>> > worded. Its unlikely they will be removed.
>>
>> For what it's worth, 10 bit packed formats are native for DPX,
>
> Above is about planar not packed formats

I'm just saying you could be in a situation where you are dealing with
code values in the 0-1023 range (this is common when dealing with SDI
sources, for example), so it is is more convenient to read/write 10
bit values rather than 16 bit values. Convenient, and also common
enough that I'd think it'd be good to keep the 10 bit pix formats
around.


More information about the ffmpeg-devel mailing list