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 E13AE44069 for ; Mon, 24 Oct 2022 14:07:45 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id C06BA68BB85; Mon, 24 Oct 2022 17:07:41 +0300 (EEST) Received: from mail-ed1-f44.google.com (mail-ed1-f44.google.com [209.85.208.44]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 8DB6968BA38 for ; Mon, 24 Oct 2022 17:07:35 +0300 (EEST) Received: by mail-ed1-f44.google.com with SMTP id r14so31726275edc.7 for ; Mon, 24 Oct 2022 07:07:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=spin-digital-com.20210112.gappssmtp.com; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=EtCtyH4dIfCdEWQN8mCg+wdh2nn1I1AmjfVgYKxWH0Y=; b=qOmNFZwpBRWXqLS0/oXEXfFq/Q2Snf+jpEae4PLIrrMyCmLYwKy8q1arZ6XGveB7Jh Jhb+KySUh81mRtJIzyZu0283fUQTTi0ndfA1vlHwMdrH2+RFwwDBblPjHBid5U4ZDd7s Ix3PckQyDN4M32DeBdbc+4CffIv/wdw9UASWQvEzYZB03AR1fcpiinhPhOIUGVJ0LYte ilmkpdvtgblK9v0ljUviKzsu4zRSMM4FaNyFccbl5ilNaEH9w+/EJZy9XgjpzIvDOl3N 4T64ZZLypaB3aFetMk7Go/7q8DUpZ8r7qlzLhl0iJCBL4G3toUTxr12NxFuqcDlEhg2V uTpw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=EtCtyH4dIfCdEWQN8mCg+wdh2nn1I1AmjfVgYKxWH0Y=; b=ieNwfJ0Px397mu+64lSoPP/5hbd53+Rzbc+nS6FFj5y45zyLD8lUXxHjgYo4dt8umV Yy8JnBZCBxdqxqPmDaWaEPmKSeTMcX5bcbo3+BaRgyfqqtGS3fY1fOeLMcgIhflqm6eI IOsu+3rcscRkyMhfiqtrQ2UdMeYbD14Weq2/ZwV8b1IL/FBDPzHE99OSEMu0k0fXQk62 7eOeiY6LiOjimo6h3pfkvwcaCLT8cC+soKVZFmRcBITklKzVMW/FKI6Wb7jaCwmDC0fj 84tiUR//Ocf5dw2SWUKYG/LZkCHiTB5VVI6i7MtCcipw+A58oCIqda/jkzhq5ZvyUaqK /Sjg== X-Gm-Message-State: ACrzQf1sVIYvBs35WSXUSlm/aIMZWi5AYfQCU+uJYsLbZy/RXkjkDWPT 3VZCa6NKGq+Dxvcet0S4sokpwTwxVqGMPg== X-Google-Smtp-Source: AMsMyM4hHCdPYPEFUclbVAskLDWDQPL6LyCrL1Z5OkTvO+y0BK7QSxyAbpmkOapnVHIK7tGrw9ttWg== X-Received: by 2002:a17:906:9b86:b0:73d:72cf:72af with SMTP id dd6-20020a1709069b8600b0073d72cf72afmr27476810ejc.440.1666620454571; Mon, 24 Oct 2022 07:07:34 -0700 (PDT) Received: from thomas-win.localdomain ([213.138.44.237]) by smtp.gmail.com with ESMTPSA id s19-20020a170906455300b0079800b81709sm6056436ejq.219.2022.10.24.07.07.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 24 Oct 2022 07:07:34 -0700 (PDT) From: Thomas Siedel To: ffmpeg-devel@ffmpeg.org Date: Mon, 24 Oct 2022 16:06:35 +0200 Message-Id: <20221024140645.4945-1-thomas.ff@spin-digital.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Subject: [FFmpeg-devel] [PATCH v2 00/10] Add support for H266/VVC 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: Thomas Siedel 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: This patch set adds H266/VVC support. This includes parsing, muxing, demuxing, decoding and encoding. Decoding is done using the external library VVdeC (https://github.com/fraunhoferhhi/vvdec.git) and can be enabled with --enable-libvvdec. Encoding is done using the external library VVenC (https://github.com/fraunhoferhhi/vvenc.git) and can be enabled with --enable-libvvenc. Changes since v1: PATCH 03/10 - mv libavcodec/Makefile cbs changes into patch 3 to make it compilable - cleanup cbs_h266_unit_types (adapt cbs_h266_unit_types to current syntax) PATCH 05/10 libavformat/vvc.c - change gci_general_constraints from unsigned __int128 to uint8_t[9] - change uint8_t *general_constraint_info to general_constraint_info[9] - set correct constraints information in general_constraint_info - vvcc_write fix indent of log output PATCH 07/10 libavcodec/vvc_parse_extradata.c - remove warning for sublayer_level_idc PATCH 09/10 libavcodec/libvvenc.c - set correct hdr mode, depending on color primaries Thomas Siedel (10): avcodec: add enum types for H266/VVC avcodec: add cbs for H266/VVC avcodec: add bitstream parser for H266/VVC avcodec: add MP4 to annexb support for H266/VVC avformat: add demuxer and probe support for H266/VVC avformat: add muxer support for H266/VVC avcodec: add external decoder libvvdec for H266/VVC avcodec: add external encoder libvvenc for H266/VVC avformat: add ts stream types for H266/VVC avcodec: increase minor version for H266/VVC configure | 16 +- libavcodec/Makefile | 6 + libavcodec/allcodecs.c | 2 + libavcodec/bitstream_filters.c | 2 + libavcodec/cbs.c | 6 + libavcodec/cbs_h2645.c | 373 ++- libavcodec/cbs_h266.h | 791 +++++++ libavcodec/cbs_h266_syntax_template.c | 3010 +++++++++++++++++++++++++ libavcodec/cbs_internal.h | 1 + libavcodec/cbs_sei.c | 29 + libavcodec/h2645_parse.c | 71 +- libavcodec/h266_metadata_bsf.c | 145 ++ libavcodec/libvvdec.c | 511 +++++ libavcodec/libvvenc.c | 442 ++++ libavcodec/parsers.c | 1 + libavcodec/version.h | 2 +- libavcodec/vvc.h | 142 ++ libavcodec/vvc_mp4toannexb_bsf.c | 318 +++ libavcodec/vvc_paramset.c | 972 ++++++++ libavcodec/vvc_paramset.h | 429 ++++ libavcodec/vvc_parse_extradata.c | 241 ++ libavcodec/vvc_parse_extradata.h | 36 + libavcodec/vvc_parser.c | 588 +++++ libavformat/Makefile | 8 +- libavformat/allformats.c | 2 + libavformat/demux.c | 7 +- libavformat/isom.c | 1 + libavformat/isom_tags.c | 3 + libavformat/mov.c | 6 + libavformat/movenc.c | 41 +- libavformat/mpeg.c | 3 + libavformat/mpeg.h | 1 + libavformat/mpegts.c | 2 + libavformat/mpegts.h | 1 + libavformat/mpegtsenc.c | 65 + libavformat/rawenc.c | 23 + libavformat/vvc.c | 919 ++++++++ libavformat/vvc.h | 99 + libavformat/vvcdec.c | 61 + 39 files changed, 9365 insertions(+), 11 deletions(-) create mode 100644 libavcodec/cbs_h266.h create mode 100644 libavcodec/cbs_h266_syntax_template.c create mode 100644 libavcodec/h266_metadata_bsf.c create mode 100644 libavcodec/libvvdec.c create mode 100644 libavcodec/libvvenc.c create mode 100644 libavcodec/vvc.h create mode 100644 libavcodec/vvc_mp4toannexb_bsf.c create mode 100644 libavcodec/vvc_paramset.c create mode 100644 libavcodec/vvc_paramset.h create mode 100644 libavcodec/vvc_parse_extradata.c create mode 100644 libavcodec/vvc_parse_extradata.h create mode 100644 libavcodec/vvc_parser.c create mode 100644 libavformat/vvc.c create mode 100644 libavformat/vvc.h create mode 100644 libavformat/vvcdec.c -- 2.25.1 _______________________________________________ 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".