From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org [79.124.17.100]) by master.gitmailbox.com (Postfix) with ESMTP id 4F1EA412B9 for ; Wed, 16 Feb 2022 08:53:17 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id B328268B2F2; Wed, 16 Feb 2022 10:53:15 +0200 (EET) Received: from smtpbg.qq.com (smtpbg127.qq.com [109.244.180.96]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 8DFFD68B0E9 for ; Wed, 16 Feb 2022 10:53:08 +0200 (EET) X-QQ-mid: bizesmtp74t1645001511tguna4il Received: from localhost (unknown [103.107.216.231]) by bizesmtp.qq.com (ESMTP) with id ; Wed, 16 Feb 2022 16:51:50 +0800 (CST) X-QQ-SSF: 01100000002000Z0Z000B00A0000000 X-QQ-FEAT: 58s9QYSgpDiJmpthqb6HLQ35O6zwK2JaR+ro/HcjFhQFYP14z7ahbDgN34yrp Y52ICxJuV4+xuuufMqB241HOdYEso+H8p46KcOqISFrKaJDH7GN5NeQBgH/7KxZP5yt5O/S 4ITJXy7+cdnR9YzvmQE0zOEuH5aBrp9iJYBAUxgmL9TOJWPfh7ifkj3Wr5RLnbAf7CN/lH7 V2XvLOW02OhkZOJeItl7YqTaA8PlI3LrpGxj/WiboV2o1BcWVMazE7MLxpcdoh0rQDukYN5 QA+Gji6UU3HKx7auXMI/1UvZYOMYraCTI2wcJkKB3LdD8ZmN5RFdtjDSFG5P3UvKSnSpYcp xGDCu8d X-QQ-GoodBg: 0 From: Steven Liu To: ffmpeg-devel@ffmpeg.org Date: Wed, 16 Feb 2022 16:51:46 +0800 Message-Id: <20220216085146.26078-2-lq@chinaffmpeg.org> X-Mailer: git-send-email 2.25.0 In-Reply-To: <20220216085146.26078-1-lq@chinaffmpeg.org> References: <20220216085146.26078-1-lq@chinaffmpeg.org> MIME-Version: 1.0 X-QQ-SENDSIZE: 520 Feedback-ID: bizesmtp:chinaffmpeg.org:qybgspam:qybgspam1 Subject: [FFmpeg-devel] [PATCH 2/2] fate/h264: add test case for h264-loss_packet_for_prev_frame_num_offset X-BeenThere: ffmpeg-devel@ffmpeg.org X-Mailman-Version: 2.1.29 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: Steven Liu Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Archived-At: List-Archive: List-Post: From: Steven Liu Signed-off-by: Steven Liu --- tests/fate/h264.mak | 2 ++ ...h264-loss_packet_for_prev_frame_num_offset | 23 +++++++++++++++++++ 2 files changed, 25 insertions(+) create mode 100644 tests/ref/fate/h264-loss_packet_for_prev_frame_num_offset diff --git a/tests/fate/h264.mak b/tests/fate/h264.mak index e075b6f67f..142a4ea708 100644 --- a/tests/fate/h264.mak +++ b/tests/fate/h264.mak @@ -195,6 +195,7 @@ FATE_H264 := $(FATE_H264:%=fate-h264-conformance-%) \ fate-h264-lossless \ fate-h264-3386 \ fate-h264-missing-frame \ + fate-h264-loss_packet_for_prev_frame_num_offset \ fate-h264-ref-pic-mod-overflow \ fate-h264-timecode \ fate-h264-encparams @@ -442,6 +443,7 @@ fate-h264-twofields-packet: CMD = framecrc -i $(TARGET_SAM fate-h264-unescaped-extradata: CMD = framecrc -i $(TARGET_SAMPLES)/h264/unescaped_extradata.mp4 -an -frames 10 fate-h264-3386: CMD = framecrc -i $(TARGET_SAMPLES)/h264/bbc2.sample.h264 fate-h264-missing-frame: CMD = framecrc -i $(TARGET_SAMPLES)/h264/nondeterministic_cut.h264 +fate-h264-loss_packet_for_prev_frame_num_offset: CMD = framecrc -i $(TARGET_SAMPLES)/h264/loss_packet_for_prev_frame_num_offset.h264 fate-h264-timecode: CMD = framecrc -i $(TARGET_SAMPLES)/h264/crew_cif_timecode-2.h264 fate-h264-reinit-%: CMD = framecrc -i $(TARGET_SAMPLES)/h264/$(@:fate-h264-%=%).h264 -vf scale,format=yuv444p10le,scale=w=352:h=288 diff --git a/tests/ref/fate/h264-loss_packet_for_prev_frame_num_offset b/tests/ref/fate/h264-loss_packet_for_prev_frame_num_offset new file mode 100644 index 0000000000..df8a88f5d4 --- /dev/null +++ b/tests/ref/fate/h264-loss_packet_for_prev_frame_num_offset @@ -0,0 +1,23 @@ +#tb 0: 1/25 +#media_type 0: video +#codec_id 0: rawvideo +#dimensions 0: 1280x720 +#sar 0: 0/1 +0, 0, 0, 1, 1382400, 0xa21b9a12 +0, 1, 1, 1, 1382400, 0x9f266c66 +0, 2, 2, 1, 1382400, 0x08604d2c +0, 3, 3, 1, 1382400, 0x0f59c63a +0, 4, 4, 1, 1382400, 0xe9588c5d +0, 5, 5, 1, 1382400, 0x01c3559a +0, 6, 6, 1, 1382400, 0x40791f04 +0, 7, 7, 1, 1382400, 0x2047c562 +0, 8, 8, 1, 1382400, 0x24f7b450 +0, 9, 9, 1, 1382400, 0xfa3d00ed +0, 10, 10, 1, 1382400, 0x8c3384ed +0, 11, 11, 1, 1382400, 0xfa7c59e0 +0, 12, 12, 1, 1382400, 0x0d16c5d1 +0, 13, 13, 1, 1382400, 0x665bd32c +0, 14, 14, 1, 1382400, 0xe8771b9d +0, 15, 15, 1, 1382400, 0xd9824ab1 +0, 16, 16, 1, 1382400, 0xa7264481 +0, 17, 17, 1, 1382400, 0xdcaec99a -- 2.25.0 _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe".