From patchwork Mon Jan 25 14:15:01 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nuo Mi X-Patchwork-Id: 25169 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 E536044900B for ; Mon, 25 Jan 2021 16:23:55 +0200 (EET) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id CDFC46881B7; Mon, 25 Jan 2021 16:23:55 +0200 (EET) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from mail-qv1-f45.google.com (mail-qv1-f45.google.com [209.85.219.45]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 573856880ED for ; Mon, 25 Jan 2021 16:23:47 +0200 (EET) Received: by mail-qv1-f45.google.com with SMTP id p5so6203226qvs.7 for ; Mon, 25 Jan 2021 06:23:47 -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=FMVIQ9Qe3zbtBEW1sdKkA8xaFwRZM0HJWQMwYZ+PQCbAUrSPLro3Cti6DcLbpwtXrw QhnbelGEOXNxazSz5rJ2DzAbBi2vmsq61m3vuDefepmOVSQ4Ze6pgHF4yaMzScchzJNw zxn89HTLzf09KJgLCwZaIAw1KHUQHqlR/EV0wI5jgc+V2F2h97oGHlbTjjdDT6Sgn99c FA671i9vfFyH82PlKaxDlr08+kZ0RDTkXDyvwS7dZWm+3gCe4r/izS79t9FNeWQcH6Il 0YmsYUz9UOpCfgHe0T6Amy/+H2nn5s1bi2GIRFGzgL0chM7kFMGO0OGhaHehE9eUPYjk oLNQ== 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=K/zFwiEl18RMYhbXe1hjijTUBe3ercMVFhnPXzgj6xs4unv7LAzomlYGaxB30HjQht zrGVeKKO5EVJe/ElTncDJuCNjupqmsRFfyVcd500sZPxT1yH39qX1rmia1+vOoA0SD5X CgcabAPSOdLZsPGqdtVmAKnDc6qLhll1EILx0SLC4ZiFq0bY59BA2JoH98aSBM4rgBOX 93iKSppRZ4CtmEOiC9NrlP1DgIdQR2a9Dzl7lYuXrGtpihPJ+GVjQUH11qXaGCYm9a// /J93Hq20TNfTPLCrPU2MSx0Gbj5RyCWcWyllQcPsLxtRL0tbIu5c4oLjluHp8zbyhloU DSyw== X-Gm-Message-State: AOAM533suDOgzLaF32kSqgHwW3SITbBTLaIr8GzYzAI8zTT6j5biJeMs 5831alt6Y+R+ihWIQfofvWLc49dG3dA= X-Google-Smtp-Source: ABdhPJw5J5nYYTD44ZfR/t6PcTkGHZeoNs0vW5Jf9+NdlunoAzTfNILqW+l80FIjCkWITBzz0290aw== X-Received: by 2002:a62:32c3:0:b029:1bc:7e0:ae66 with SMTP id y186-20020a6232c30000b02901bc07e0ae66mr595063pfy.53.1611584212821; Mon, 25 Jan 2021 06:16:52 -0800 (PST) Received: from smith.tendawifi.com (23.83.245.51.16clouds.com. [23.83.245.51]) by smtp.gmail.com with ESMTPSA id z6sm5523328pfr.133.2021.01.25.06.16.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 25 Jan 2021 06:16:52 -0800 (PST) From: Nuo Mi To: ffmpeg-devel@ffmpeg.org Date: Mon, 25 Jan 2021 22:15:01 +0800 Message-Id: <20210125141507.11012-4-nuomi2021@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210125141507.11012-1-nuomi2021@gmail.com> References: <20210111152357.3965-1-nuomi2021@gmail.com> <20210125141507.11012-1-nuomi2021@gmail.com> MIME-Version: 1.0 Subject: [FFmpeg-devel] [PATCH v4 3/9] 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 */