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

Submitted by Michael Niedermayer on Oct. 17, 2018, 3:51 p.m.

Details

Message ID 20181017155125.GV26838@michaelspb
State New
Headers show

Commit Message

Michael Niedermayer Oct. 17, 2018, 3:51 p.m.
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@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

Patch hide | download patch | download mbox

--- ./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.