From patchwork Mon Jan 11 16:33:12 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nuo Mi X-Patchwork-Id: 24909 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 ABED1449FA8 for ; Mon, 11 Jan 2021 18:42:09 +0200 (EET) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 9628C68ABBA; Mon, 11 Jan 2021 18:42:09 +0200 (EET) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from mail-pl1-f174.google.com (mail-pl1-f174.google.com [209.85.214.174]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 999F168ABA3 for ; Mon, 11 Jan 2021 18:42:02 +0200 (EET) Received: by mail-pl1-f174.google.com with SMTP id s15so110673plr.9 for ; Mon, 11 Jan 2021 08:42:02 -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 :mime-version:content-transfer-encoding; bh=TdDnjczr+F1pk0F6TetGMGqyzCNDUUOnRGZva22Wryk=; b=pioSvZpAwIk+DLASnNcoKyBSiDEM2vCARGDniMUr/gkBl8qgL17A09YnHgXMm864Yg JPEvauvz4DG3+oIyNU8DokgVuTJmxVZQmqRhoPIz5PDiCKn2tbHpRtDTB/1V7I9n1uFj bQbX6wgrIvddPeQ9Cjilo6Xje9hz7JvHoMuPX5uJ0+SsKbOnvG8CcjJ/StjfSoIn6xIY /2hhiqDOm5xYYAlf0B7KJhOIDG1Ki0oDf8i66+MxrW8IGTQUBeeUCqWeqVswAda3g6Ix pOFdUaybzXGJ7YyO8PXzQXngoa8CgiDoZT9SDrAa33c7SqhK13FSekCnzd2FTqwgYaHD K9aA== 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:mime-version:content-transfer-encoding; bh=TdDnjczr+F1pk0F6TetGMGqyzCNDUUOnRGZva22Wryk=; b=d3qAXz+vZMlnujhS90CYYZHRUwdCvadtEHoVX8a3+iR8mpQzyfb6JlB6bcLSlA9oli wTeEJExbWHwJ+JC7Qg+AdQ74huhqo8vRQRIMUihbsr4wuYx6QqzTUuWVHsLcFHjvlopD Zu2pSJg707Pv7CAQZxALQry9fcWQwchgwxdIgEnLcMa1VCiujcwWNf1xP74qhjXzrvAd ugW7wtQJo07V4WK8tKVxsyxO87on+17qQWGmsejZWiNjLkx2XWN5y1fcEJu+NRhnDWpm 6nZz91vyskH7oDycK1dI9kgXsre4vdtruxXGZIzXJ13ge/Vr5t/2FmVYKq4B4+Bhwy2g iIDA== X-Gm-Message-State: AOAM533V9KSaylKYJg/qfUjzQ+s7GE4naO5AUN49K4FXtryq+olQDmOe oEYgeSG2FwYZs9AzUEby4K8ipb4/V5IdPw== X-Google-Smtp-Source: ABdhPJxaELxJHM0hO2JeTxo8b2B7xv1hdSaprACigxZTDpcE8NcjQdghgQVKwsK/tNQG7Hk7cr22CA== X-Received: by 2002:aa7:818f:0:b029:1ae:6a6a:e131 with SMTP id g15-20020aa7818f0000b02901ae6a6ae131mr169797pfi.38.1610382827687; Mon, 11 Jan 2021 08:33:47 -0800 (PST) Received: from smith.tendawifi.com (23.83.245.51.16clouds.com. [23.83.245.51]) by smtp.gmail.com with ESMTPSA id x21sm203205pgi.75.2021.01.11.08.33.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 11 Jan 2021 08:33:47 -0800 (PST) From: Nuo Mi To: ffmpeg-devel@ffmpeg.org Date: Tue, 12 Jan 2021 00:33:12 +0800 Message-Id: <20210111163319.13387-5-nuomi2021@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210111163319.13387-1-nuomi2021@gmail.com> References: <20210109073421.23721-1-nuomi2021@gmail.com> <20210111163319.13387-1-nuomi2021@gmail.com> MIME-Version: 1.0 Subject: [FFmpeg-devel] [PATCH v3 04/11] avcodec: add SEI enum for vvc 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: Nuo Mi Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" --- libavcodec/vvc_sei.h | 47 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 libavcodec/vvc_sei.h diff --git a/libavcodec/vvc_sei.h b/libavcodec/vvc_sei.h new file mode 100644 index 0000000000..90724669de --- /dev/null +++ b/libavcodec/vvc_sei.h @@ -0,0 +1,47 @@ +/* + * H.266/VVC Supplementary Enhancement Information messages + * + * This file is part of FFmpeg. + * + * FFmpeg is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * FFmpeg is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with FFmpeg; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ + +#ifndef AVCODEC_VVC_SEI_H +#define AVCODEC_VVC_SEI_H + +/** + * SEI message types + */ +typedef enum { + VVC_SEI_TYPE_BUFFERING_PERIOD = 0, + VVC_SEI_TYPE_PICTURE_TIMING = 1, + VVC_SEI_TYPE_PAN_SCAN_RECT = 2, + VVC_SEI_TYPE_FILLER_PAYLOAD = 3, + VVC_SEI_TYPE_USER_DATA_REGISTERED_ITU_T_T35 = 4, + VVC_SEI_TYPE_USER_DATA_UNREGISTERED = 5, + VVC_SEI_TYPE_FILM_GRAIN_CHARACTERISTICS = 19, + VVC_SEI_TYPE_FRAME_PACKING = 45, + VVC_SEI_TYPE_PARAMETER_SETS_INCLUSION_INDICATION = 129, + VVC_SEI_TYPE_DECODING_UNIT_INFO = 130, + VVC_SEI_TYPE_DECODED_PICTURE_HASH = 132, + VVC_SEI_TYPE_SCALABLE_NESTING = 133, + VVC_SEI_TYPE_REGION_REFRESH_INFO = 134, + VVC_SEI_TYPE_TIME_CODE = 136, + VVC_SEI_TYPE_MASTERING_DISPLAY_INFO = 137, + VVC_SEI_TYPE_CONTENT_LIGHT_LEVEL_INFO = 144, + VVC_SEI_TYPE_ALTERNATIVE_TRANSFER_CHARACTERISTICS = 147, +} VVC_SEI_Type; + +#endif /* AVCODEC_VVC_SEI_H */