[FFmpeg-devel] [PATCH]lavc/mjpegdec: Support 2:3 subsampling

Michael Niedermayer michael at niedermayer.cc
Wed Oct 17 18:51:25 EEST 2018


On Wed, Oct 17, 2018 at 12:22:51AM +0200, Carl Eugen Hoyos wrote:
> Hi!
> 
> Attached patch allows decoding the sample from ticket #7495.
> 
> Please review, Carl Eugen

>  mjpegdec.c |   17 ++++++++++++++---
>  1 file changed, 14 insertions(+), 3 deletions(-)
> 8f0d03a533b42c35f2bd8d5bdae4dabd24b18f4c  0001-lavc-mjpegdec-Support-2-3-subsampling.patch
> From 0e9d2ec4e0cba36ba03a6b7470a707c0a3f88b8c Mon Sep 17 00:00:00 2001
> From: Carl Eugen Hoyos <ceffmpeg at gmail.com>
> Date: Wed, 17 Oct 2018 00:21:26 +0200
> Subject: [PATCH] lavc/mjpegdec: Support 2:3 subsampling.
> 
> Fixes ticket #7495.
> ---
>  libavcodec/mjpegdec.c |   17 ++++++++++++++---
>  1 file changed, 14 insertions(+), 3 deletions(-)

breaks 
make -j12 fate-tdsc
TEST    tdsc
--- ./tests/ref/fate/tdsc	2018-10-13 04:06:44.053253996 +0200
+++ tests/data/fate/tdsc	2018-10-17 17:49:41.575647118 +0200
@@ -3,44 +3,44 @@
 #codec_id 0: rawvideo
 #dimensions 0: 1440x900
 #sar 0: 0/1
-0,          0,          0,        1,  3888000, 0x9c498657
-0,          7,          7,        1,  3888000, 0x72a2ae22
-0,          8,          8,        1,  3888000, 0x72a2ae22
-0,         10,         10,        1,  3888000, 0x72a2ae22
-0,         16,         16,        1,  3888000, 0x72a2ae22
...

[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

If you think the mosad wants you dead since a long time then you are either
wrong or dead since a long time.
-------------- 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/20181017/d8fd9083/attachment.sig>


More information about the ffmpeg-devel mailing list