From patchwork Sat Dec 17 23:02:12 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pavel Koshevoy X-Patchwork-Id: 1846 Delivered-To: ffmpegpatchwork@gmail.com Received: by 10.103.65.86 with SMTP id o83csp492322vsa; Sat, 17 Dec 2016 15:02:42 -0800 (PST) X-Received: by 10.194.57.180 with SMTP id j20mr7848126wjq.165.1482015762428; Sat, 17 Dec 2016 15:02:42 -0800 (PST) Return-Path: Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org. [79.124.17.100]) by mx.google.com with ESMTP id dp20si13130994wjb.2.2016.12.17.15.02.41; Sat, 17 Dec 2016 15:02:42 -0800 (PST) Received-SPF: pass (google.com: domain of ffmpeg-devel-bounces@ffmpeg.org designates 79.124.17.100 as permitted sender) client-ip=79.124.17.100; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com; spf=pass (google.com: domain of ffmpeg-devel-bounces@ffmpeg.org designates 79.124.17.100 as permitted sender) smtp.mailfrom=ffmpeg-devel-bounces@ffmpeg.org; dmarc=fail (p=NONE dis=NONE) header.from=gmail.com Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 89C1A689BAF; Sun, 18 Dec 2016 01:02:32 +0200 (EET) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from mail-pg0-f66.google.com (mail-pg0-f66.google.com [74.125.83.66]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 110D36897F7 for ; Sun, 18 Dec 2016 01:02:25 +0200 (EET) Received: by mail-pg0-f66.google.com with SMTP id a1so6819561pgf.3 for ; Sat, 17 Dec 2016 15:02:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=W4hCkmKV1FRAMuGkZyXMvyv5QknZfnI9n4P0p2NYGFM=; b=Sval/76aZ3710ZHTrM1ISy6ARrS9HDpCXi98HE5m7X9wO6qm7Z10mhZYgPlbWchlFS 2zFANyBGgEOlVhoIKXW5W5fGqhGvEOgxb6rLyOPDjttCWvZ4vHsSRoknuvV3g3d8xSUw 3GReNRQ0OGJgIrNGq1INXmqbONd8MWnOAkPpLkYlVpSqrJU3+mWp6o1j445bPTUyUi+v 1Rn+o/KhZlftd5LWqGKK/OVkHhEXNF2p9hj1OmaHKhmUhrMwen9ws7Z/km3NZzcjxpSz c8qu7bW/779wi6lpTGAA+ZzHEy+iyRFmgSoQOJiVAgAiIUd5qXzlz4viNYZT/PZokJTz T1GQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=W4hCkmKV1FRAMuGkZyXMvyv5QknZfnI9n4P0p2NYGFM=; b=S0dO753Kmf8HhfVddS7sE7O6pkph2TQ5bUzGmKB3/Cl42wRULtA6i1ZxhHOnsWD3GB sb7Frjr+ykki3yJu1kdwAjDAvU3AhUVoDxoyGyZ0w6wv2GqZcEjKS6gy5ffpaHj14kfn 3EwMg+caATSz9zsASZexAn+Rs/Dq9qVwostZ1HQLYA7ksfWp+oKfRZrUTfb5WeucVgai v82gOYnfc0kc5blyGZzJmkHoUCNgefWLAOgHRGDT8hBVkUlJjOXXn35kLo8lheecnYtQ Y6vQSgb411+s/vhuToo9h6FBXaVIRtJmFxtBi21GvuFGVH+Qfwdi6YgtQHg18tbuCVx4 Zklg== X-Gm-Message-State: AKaTC03DVJ4BKqbMO9XPb1CdfZU/Svp54YQ8afOCKRMCc/C3TMy0nr4Qxez5o/JDU/4n8w== X-Received: by 10.99.196.70 with SMTP id m6mr17608880pgg.118.1482015751179; Sat, 17 Dec 2016 15:02:31 -0800 (PST) Received: from homestead.aragog.com ([136.60.170.51]) by smtp.gmail.com with ESMTPSA id f132sm21041625pfa.72.2016.12.17.15.02.30 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sat, 17 Dec 2016 15:02:30 -0800 (PST) From: pkoshevoy@gmail.com To: ffmpeg-devel@ffmpeg.org Date: Sat, 17 Dec 2016 16:02:12 -0700 Message-Id: <1482015732-28221-1-git-send-email-pkoshevoy@gmail.com> X-Mailer: git-send-email 2.6.6 In-Reply-To: <20161217174459.GW4749@nb4> References: <20161217174459.GW4749@nb4> Subject: [FFmpeg-devel] [PATCH] Add fate test for ticket 6024, truncated decoding mode X-BeenThere: ffmpeg-devel@ffmpeg.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: FFmpeg development discussions and patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: FFmpeg development discussions and patches Cc: Pavel Koshevoy MIME-Version: 1.0 Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" From: Pavel Koshevoy --- tests/fate/video.mak | 3 +++ tests/ref/fate/mpeg2-ticket6024 | 27 +++++++++++++++++++++++++++ 2 files changed, 30 insertions(+) create mode 100644 tests/ref/fate/mpeg2-ticket6024 diff --git a/tests/fate/video.mak b/tests/fate/video.mak index f893688..b939185 100644 --- a/tests/fate/video.mak +++ b/tests/fate/video.mak @@ -239,6 +239,9 @@ FATE_VIDEO-$(call DEMDEC, MPEGTS, MPEG2VIDEO) += fate-mpeg2-field-enc fate-mpeg2 fate-mpeg2-field-enc: CMD = framecrc -flags +bitexact -idct simple -i $(TARGET_SAMPLES)/mpeg2/mpeg2_field_encoding.ts -an -vframes 30 fate-mpeg2-ticket186: CMD = framecrc -flags +bitexact -idct simple -i $(TARGET_SAMPLES)/mpeg2/t.mpg -an +FATE_VIDEO-$(call DEMDEC, MPEGPS, MPEG2VIDEO) += fate-mpeg2-ticket6024 +fate-mpeg2-ticket6024: CMD = framecrc -flags truncated -i $(TARGET_SAMPLES)/mpeg2/matrixbench_mpeg2.lq1.mpg -an + FATE_VIDEO-$(call DEMDEC, MV, MVC1) += fate-mv-mvc1 fate-mv-mvc1: CMD = framecrc -i $(TARGET_SAMPLES)/mv/posture.mv -an -frames 25 -pix_fmt rgb555le diff --git a/tests/ref/fate/mpeg2-ticket6024 b/tests/ref/fate/mpeg2-ticket6024 new file mode 100644 index 0000000..bd41624 --- /dev/null +++ b/tests/ref/fate/mpeg2-ticket6024 @@ -0,0 +1,27 @@ +#tb 0: 1/25 +#media_type 0: video +#codec_id 0: rawvideo +#dimensions 0: 716x236 +#sar 0: 1/1 +0, 2, 2, 1, 253464, 0xc51a46f9 +0, 4, 4, 1, 253464, 0xd0661651 +0, 5, 5, 1, 253464, 0x38a213b3 +0, 6, 6, 1, 253464, 0x038a5118 +0, 7, 7, 1, 253464, 0xebd8de64 +0, 8, 8, 1, 253464, 0x0b319ee0 +0, 9, 9, 1, 253464, 0x37b03a45 +0, 10, 10, 1, 253464, 0x5f9c89ae +0, 11, 11, 1, 253464, 0x88ad9c08 +0, 12, 12, 1, 253464, 0x387198bc +0, 13, 13, 1, 253464, 0xf3933eb6 +0, 14, 14, 1, 253464, 0x9bd27b98 +0, 15, 15, 1, 253464, 0x9442c538 +0, 16, 16, 1, 253464, 0x330be2a4 +0, 17, 17, 1, 253464, 0xb4b8c1df +0, 18, 18, 1, 253464, 0xc97ded34 +0, 19, 19, 1, 253464, 0xcad936e0 +0, 20, 20, 1, 253464, 0x11a2850d +0, 21, 21, 1, 253464, 0x2545ad23 +0, 22, 22, 1, 253464, 0xa5e17c47 +0, 23, 23, 1, 253464, 0x39452689 +0, 24, 24, 1, 253464, 0x1daefd72