From patchwork Thu Aug 27 05:03:38 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: hwren X-Patchwork-Id: 21946 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 0782F44AC47 for ; Thu, 27 Aug 2020 08:34:54 +0300 (EEST) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id DD3B4688379; Thu, 27 Aug 2020 08:34:53 +0300 (EEST) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from m15113.mail.126.com (m15113.mail.126.com [220.181.15.113]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 7E8026804B5 for ; Thu, 27 Aug 2020 08:34:42 +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=vC9/l OJId7KEnaknsCDW437u8qe4z3L9osWkc0C+OJ0=; b=oGBvdzdgDndGmFb01OD5y UXk+87G5WmIHYv4mtpucgSxVultc9zAqJIi1us9PBTpjqcACh3DF+CwNhUXkvdTh mLBsQDEuQX+xxjINmAqRnZ/rY1U7//Yhi6hHxPZGBomAXqTyhoVlXLKi4cRBafO0 Iad5bxPUI+w6MKusFT6Lgg= Received: from localhost.localdomain (unknown [111.34.130.225]) by smtp3 (Coremail) with SMTP id DcmowACX7fG6PkdfH2AxJA--.17687S2; Thu, 27 Aug 2020 13:03:57 +0800 (CST) From: hwrenx@126.com To: ffmpeg-devel@ffmpeg.org Date: Thu, 27 Aug 2020 13:03:38 +0800 Message-Id: <20200827050343.1425-1-hwrenx@126.com> X-Mailer: git-send-email 2.23.0.windows.1 In-Reply-To: <20200824030241.1737-1-hwrenx@126.com> References: <20200824030241.1737-1-hwrenx@126.com> MIME-Version: 1.0 X-CM-TRANSID: DcmowACX7fG6PkdfH2AxJA--.17687S2 X-Coremail-Antispam: 1Uf129KBjvJXoWxCr17CFWxZw1xZFWUJr1rXrb_yoW5GFy7pw 17Cw1fGry7Aa97Aw4ftr18Wa4rurWrXFy8Xw12qr18ArWaqry8XrWqyr45C3s7G34qq3W5 XrnY9w1jgr1UJaDanT9S1TB71UUUUUUqnTZGkaVYY2UrUUUUjbIjqfuFe4nvWSU5nxnvy2 9KBjDUYxBIdaVFxhVjvjDU0xZFpf9x07jxjjkUUUUU= X-Originating-IP: [111.34.130.225] X-CM-SenderInfo: pkzuv0b06rjloofrz/1tbiZgWN6VpD-KP4PAABsE Subject: [FFmpeg-devel] [PATCH v8 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 *** Pickup missing changes from previous version. *** 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. 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 | 4 + libavcodec/allcodecs.c | 1 + libavcodec/avs3.c | 95 ++++++++++++++ libavcodec/avs3.h | 52 ++++++++ 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 | 2 +- libavformat/Makefile | 1 + libavformat/allformats.c | 1 + libavformat/avs3dec.c | 68 ++++++++++ libavformat/version.h | 2 +- 18 files changed, 709 insertions(+), 2 deletions(-) create mode 100644 libavcodec/avs3.c 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