Skip to content
Snippets Groups Projects
Commit fda891e1 authored by Philip de Nier's avatar Philip de Nier Committed by Luca Barbato
Browse files

mxfdec: set pixel format for cdci picture formats


The properties of the CDCI Descriptor are insufficient to specify
the pixel format for uncompressed picture data. SMPTE 377-1 and
RP224v10 have defined a set of picture coding labels to indicate what
formatting was used.

This patch uses 2 labels to detect UYVY422 or YUYV422 pixel formats.

It defaults to UYVY422 for 8-bit 4:2:2 pictures to support files
that were created before the coding labels were introduced ~2008

The codec pix_fmt default was changed from 0 (PIX_FMT_YUV420P) to
-1 (PIX_FMT_NONE)

Reviewed-by: default avatarBaptiste Coudurier <baptiste.coudurier@gmail.com>
Signed-off-by: default avatarMichael Niedermayer <michaelni@gmx.at>
parent dfefede0
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment