From patchwork Mon Aug 31 15:07:35 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: hwren X-Patchwork-Id: 22021 Return-Path: X-Original-To: patchwork@ffaux-bg.ffmpeg.org Delivered-To: patchwork@ffaux-bg.ffmpeg.org Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org [79.124.17.100]) by ffaux.localdomain (Postfix) with ESMTP id 6F7FF44A364 for ; Mon, 31 Aug 2020 18:09:22 +0300 (EEST) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 51CC568AD22; Mon, 31 Aug 2020 18:09:22 +0300 (EEST) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from m15112.mail.126.com (unknown [220.181.15.112]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 02E9B68AAC7 for ; Mon, 31 Aug 2020 18:09:06 +0300 (EEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=126.com; s=s110527; h=From:Subject:Date:Message-Id:MIME-Version; bh=K2boi sDvoB1reykCLcdfl/3tlgZEF9HYxt1hl5sXVSg=; b=Hu4hnBLpN8O8pvebYNJpI v9zU/AGn4noa4OWOWx3Y2V0a6ausRAqA7YG8qTaL/+SD6dSICV8qzOnawiTBH0wq GAw4S594iC2mk0ggI6rNuWeeG4EqVy3JlSiVx2y+imApwGsjpE8+TkHtKdTmyyF0 tbO/fn+LVj8JzaMb+d5LFc= Received: from localhost.localdomain (unknown [111.34.130.225]) by smtp2 (Coremail) with SMTP id DMmowABXdiKBEk1f0URVGw--.17050S2; Mon, 31 Aug 2020 23:08:51 +0800 (CST) From: hwrenx@126.com To: ffmpeg-devel@ffmpeg.org Date: Mon, 31 Aug 2020 23:07:35 +0800 Message-Id: <20200831150740.593-1-hwrenx@126.com> X-Mailer: git-send-email 2.23.0.windows.1 In-Reply-To: References: MIME-Version: 1.0 X-CM-TRANSID: DMmowABXdiKBEk1f0URVGw--.17050S2 X-Coremail-Antispam: 1Uf129KBjvJXoWxXr4DCryDJF4UAFWDJw1fZwb_yoW5GFyxpw 17Cw1fKFy7Aa97Aw4ftr1Ig3WrurW8XFy8Xw12qr10yrWaqry8XrWqyr4Yk3s7G34qqa15 XFnY9w1jgr1UJaDanT9S1TB71UUUUUUqnTZGkaVYY2UrUUUUjbIjqfuFe4nvWSU5nxnvy2 9KBjDUYxBIdaVFxhVjvjDU0xZFpf9x07jxjjkUUUUU= X-Originating-IP: [111.34.130.225] X-CM-SenderInfo: pkzuv0b06rjloofrz/1tbi2wOR6V16IKFZFgAAsJ Subject: [FFmpeg-devel] [PATCH v9 0/5] Supplement AVS3-P2/IEEE1857.10 video decoding via libuavs3d 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: hwren Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" From: hwren *** Latest changes *** Put AVS3 related definitions in sigle avs3.h file. *** Historical changes *** === Version1 === These patches are to supplement the third generation of Audio Video Coding Standard, part 2: video (AVS3-P2), aka IEEE1857.10, decoding support via libuavs3d wrapper. The uAVS3d decoder could be found in https://github.com/uavs3/uavs3d AVS3 sample streams could be found in https://github.com/uavs3/avs3stream === Version 2 === Fix conflict with CAVS streams. Considering that there is no direct version flag in AVS. AVS3 demuxer only supports raw streams in format <*.avs3>. Fix API function conflict. === Version 3 === Rename parameter names that may be confused with AVS2 Reorder header files. === Version 4 === Add avs3_parser.h for some reusable definitions in AVS3 Refine avs3_parser.c and libuavs3d.c Fix some vague definitions and potential risks === Version 5 === Fix the wrong codec order in lavc/codec_desc.c Use additional lavc/avs3.h and lavc/avs3.c for common definitions Remove redundant description in the long name of libuavs3d. Update iteration information in lavf/version.h and lavc/version.h. === Version 6 === Fix incorrect code style problems. Remove confused comments. Add missing demuxer entry in Changelog. Add value check in lavc/libuavs3d.c === Version 7 === Supplement information in dec_frame, including pkt_pos, pkt_size, coded_picture_number and display_picture_number. === Version 8 === Pickup missing changes from previous version. Thanks. hwren (5): lavc: add AVS3 codec id and desc lavc/avs3: add AVS3 related definitions lavc/avs3_parser: add avs3 parser lavf/avs3dec: add raw avs3 demuxer lavc,doc: add libuavs3d video decoder wrapper Changelog | 2 + configure | 4 + doc/decoders.texi | 21 ++++ doc/general.texi | 8 ++ libavcodec/Makefile | 2 + libavcodec/allcodecs.c | 1 + libavcodec/avs3.h | 118 ++++++++++++++++++ libavcodec/avs3_parser.c | 179 ++++++++++++++++++++++++++ libavcodec/codec_desc.c | 7 ++ libavcodec/codec_id.h | 1 + libavcodec/libuavs3d.c | 262 +++++++++++++++++++++++++++++++++++++++ libavcodec/parsers.c | 1 + libavcodec/version.h | 4 +- libavformat/Makefile | 1 + libavformat/allformats.c | 1 + libavformat/avs3dec.c | 68 ++++++++++ libavformat/version.h | 2 +- 17 files changed, 679 insertions(+), 3 deletions(-) create mode 100644 libavcodec/avs3.h create mode 100644 libavcodec/avs3_parser.c create mode 100644 libavcodec/libuavs3d.c create mode 100644 libavformat/avs3dec.c