[FFmpeg-devel] avcodec/proresdec : add 12b decoding support

Michael Niedermayer michael at niedermayer.cc
Wed Nov 28 21:30:07 EET 2018


On Tue, Nov 27, 2018 at 11:03:50PM +0100, Martin Vignali wrote:
>  utils.c |    4 ++++
>  1 file changed, 4 insertions(+)
> 16e7e76e9bde70f7604c3df1a5ec42828e38555b  0001-avcodec-utils-add-YUVA444P12-and-YUVA422P12-to-pixfm.patch
> From db7fb1bd052ff3dba0fe3510912214aa6e66d56b Mon Sep 17 00:00:00 2001
> From: Martin Vignali <martin.vignali at gmail.com>
> Date: Tue, 27 Nov 2018 22:21:47 +0100
> Subject: [PATCH 01/10] avcodec/utils : add YUVA444P12 and YUVA422P12 to pixfmt
>  who need height padding in avcodec_align_dimensions2
> 
> ---
>  libavcodec/utils.c | 4 ++++
>  1 file changed, 4 insertions(+)
> 
> diff --git a/libavcodec/utils.c b/libavcodec/utils.c
> index 1661d48b90..c4c64a6ca4 100644
> --- a/libavcodec/utils.c
> +++ b/libavcodec/utils.c
> @@ -214,6 +214,8 @@ void avcodec_align_dimensions2(AVCodecContext *s, int *width, int *height,
>      case AV_PIX_FMT_YUVA422P9BE:
>      case AV_PIX_FMT_YUVA422P10LE:
>      case AV_PIX_FMT_YUVA422P10BE:
> +    case AV_PIX_FMT_YUVA422P12LE:
> +    case AV_PIX_FMT_YUVA422P12BE:
>      case AV_PIX_FMT_YUVA422P16LE:
>      case AV_PIX_FMT_YUVA422P16BE:
>      case AV_PIX_FMT_YUV440P10LE:
> @@ -234,6 +236,8 @@ void avcodec_align_dimensions2(AVCodecContext *s, int *width, int *height,
>      case AV_PIX_FMT_YUVA444P9BE:
>      case AV_PIX_FMT_YUVA444P10LE:
>      case AV_PIX_FMT_YUVA444P10BE:
> +    case AV_PIX_FMT_YUVA444P12LE:
> +    case AV_PIX_FMT_YUVA444P12BE:
>      case AV_PIX_FMT_YUVA444P16LE:
>      case AV_PIX_FMT_YUVA444P16BE:
>      case AV_PIX_FMT_GBRP9LE:

LGTM

thx

[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

The real ebay dictionary, page 1
"Used only once"    - "Some unspecified defect prevented a second use"
"In good condition" - "Can be repaird by experienced expert"
"As is" - "You wouldnt want it even if you were payed for it, if you knew ..."
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20181128/e55eb729/attachment.sig>


More information about the ffmpeg-devel mailing list