[FFmpeg-devel] [PATCH] Add interleaved 4:2:2 8/10-bit formats

Michael Niedermayer michaelni at gmx.at
Sun Sep 22 11:51:34 CEST 2013


On Tue, Sep 17, 2013 at 04:30:48PM -0500, Kieran Kunhya wrote:
> ---
>  libavutil/pixdesc.c |   36 ++++++++++++++++++++++++++++++++++++
>  libavutil/pixfmt.h  |    4 ++++
>  2 files changed, 40 insertions(+)
>
> diff --git a/libavutil/pixdesc.c b/libavutil/pixdesc.c
> index 3ac5785..c44bc16 100644
> --- a/libavutil/pixdesc.c
> +++ b/libavutil/pixdesc.c
> @@ -1392,6 +1392,42 @@ const AVPixFmtDescriptor av_pix_fmt_descriptors[AV_PIX_FMT_NB] = {
>         },
>          .flags = AV_PIX_FMT_FLAG_BE,
>      },
> +    [AV_PIX_FMT_NV16] = {
> +        .name = "nv16",
> +        .nb_components = 3,
> +        .log2_chroma_w = 1,
> +        .log2_chroma_h = 0,
> +        .comp = {
> +            { 0, 0, 1, 0, 7 },        /* Y */
> +            { 1, 1, 1, 0, 7 },        /* U */
> +            { 1, 1, 2, 0, 7 },        /* V */
> +        },
> +        .flags = AV_PIX_FMT_FLAG_PLANAR,
> +    },
> +    [AV_PIX_FMT_NV20LE] = {
> +        .name = "nv20le",
> +        .nb_components = 3,
> +        .log2_chroma_w = 1,
> +        .log2_chroma_h = 0,
> +        .comp = {
> +            { 0, 0, 1, 0, 9 },        /* Y */
> +            { 1, 1, 1, 0, 9 },        /* U */
> +            { 1, 1, 3, 0, 9 },        /* V */
> +        },
> +        .flags = AV_PIX_FMT_FLAG_PLANAR,
> +    },
> +    [AV_PIX_FMT_NV20BE] = {
> +        .name = "nv20be",
> +        .nb_components = 3,
> +        .log2_chroma_w = 1,
> +        .log2_chroma_h = 0,
> +        .comp = {
> +            { 0, 0, 1, 0, 9 },        /* Y */
> +            { 1, 1, 1, 0, 9 },        /* U */
> +            { 1, 1, 3, 0, 9 },        /* V */

these are inconsistent

fixed that

patch applied

[...]

Thanks
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

No human being will ever know the Truth, for even if they happen to say it
by chance, they would not even known they had done so. -- Xenophanes
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20130922/8ba46d39/attachment.asc>


More information about the ffmpeg-devel mailing list