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 D48F6468E7 for ; Sun, 21 Jan 2024 14:19:13 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 7B62C68CED1; Sun, 21 Jan 2024 16:19:10 +0200 (EET) Received: from mail-pg1-f181.google.com (mail-pg1-f181.google.com [209.85.215.181]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 819B168CBFD for ; Sun, 21 Jan 2024 16:19:03 +0200 (EET) Received: by mail-pg1-f181.google.com with SMTP id 41be03b00d2f7-5cdf76cde78so952255a12.1 for ; Sun, 21 Jan 2024 06:19:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1705846741; x=1706451541; darn=ffmpeg.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=BEH7AsBHyzY0rXianDZvQgFBhPZGdCQZE4lkFzoNyh0=; b=cOedrLxj1fl/3OFAUTI44HDww9TmnUe6hDBk43fFPkQshhiKNIBAa5ouM9pSJiT+dT qMFHo2vc8Zxbl2rbAJSZNN2uv7BEkH8Z43luY3QE74Et6xunZDsg5IcfIvGiMEaIB92c 5gKg3uV3KWx/7A1mzm6sF5IFA8bB8ywMzXGB8ZFgdW87+CEAkDBtx9JQQ1PdRIjxETyl CP5oMH0CSti8S0f74Nxfhluu2Y5yWnMsOi7glVDmIwrfXKY8Om1SCVWXafjPqiLF19sI OQSoOh0y2DZHi5oIGRQDM7SN0nxNRKJCPXKzN2q6IbRFrnXz6YkPfL9uWmw/jcUJC1eY r/lA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1705846741; x=1706451541; 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=BEH7AsBHyzY0rXianDZvQgFBhPZGdCQZE4lkFzoNyh0=; b=ONcFF+2CnywJ2akrwD2debd4bD1w6nS2rvl7lyZQjYwuywpmQrhwn8cluJ+fDUJCcz EJGZwPlOCSaTC//kEFZ0YPW/SvZS0j3YSeglgWG+1uP5v66NF0eTQ+CoVcmfKBp8WRes n5xu9JmZ+jfSLRIMa/M0dHPhDNZVt0nJRYqJ2skR/4kjjOX0aIDZdk+HB6ca9HXxPRJ9 aJUp83W1JQmE/cgb21Fg8aGtOTh01XSvoiEWyCxJBmiRmVwicoD7yAMXoF4gDBrGr/7c 58ZTZTlODWehvFCsZAYT/jUzq1g0AAouKe1MSUnWxme4AtRTV/Be4Eg90nUyEsmbCa9d fBow== X-Gm-Message-State: AOJu0YwsDEbZesW0Ikg0pJQ/rzbNSrzTObvL+64tYsLrl7bG/zVJpPq3 /3pO+5IE9NvxASqcK6jtv0Ygnsz030g/+i+DaWxmYh3L7rEEU72cCiWiIRUBAWspbw== X-Google-Smtp-Source: AGHT+IFbStqXuAc/6HXxIGupaFevMcp8v+Veikk/82ocyU/3jLVvwW+aGGaoUEc7N+EpzQDTFHipSw== X-Received: by 2002:a17:902:82cb:b0:1d6:96b:5de with SMTP id u11-20020a17090282cb00b001d6096b05demr1270737plz.51.1705846741103; Sun, 21 Jan 2024 06:19:01 -0800 (PST) Received: from localhost.localdomain ([183.242.63.6]) by smtp.gmail.com with ESMTPSA id bg4-20020a1709028e8400b001d4b73f60e4sm5840726plb.149.2024.01.21.06.18.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 21 Jan 2024 06:19:00 -0800 (PST) From: "jianfeng.zheng" X-Google-Original-From: "jianfeng.zheng" To: ffmpeg-devel@ffmpeg.org Date: Sun, 21 Jan 2024 22:18:40 +0800 Message-Id: <20240121141846.4077778-1-jianfeng.zheng@mthreads.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Subject: [FFmpeg-devel] [vaapi-cavs 1/7] cavs: add cavs profile defs 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: "jianfeng.zheng" 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: Signed-off-by: jianfeng.zheng --- libavcodec/defs.h | 3 +++ libavcodec/profiles.c | 6 ++++++ libavcodec/profiles.h | 1 + 3 files changed, 10 insertions(+) diff --git a/libavcodec/defs.h b/libavcodec/defs.h index 00d840ec19..d59816a70f 100644 --- a/libavcodec/defs.h +++ b/libavcodec/defs.h @@ -192,6 +192,9 @@ #define AV_PROFILE_EVC_BASELINE 0 #define AV_PROFILE_EVC_MAIN 1 +#define AV_PROFILE_CAVS_JIZHUN 0x20 +#define AV_PROFILE_CAVS_GUANGDIAN 0x48 + #define AV_LEVEL_UNKNOWN -99 diff --git a/libavcodec/profiles.c b/libavcodec/profiles.c index 5bb8f150e6..b312f12281 100644 --- a/libavcodec/profiles.c +++ b/libavcodec/profiles.c @@ -200,4 +200,10 @@ const AVProfile ff_evc_profiles[] = { { AV_PROFILE_UNKNOWN }, }; +const AVProfile ff_cavs_profiles[] = { + { AV_PROFILE_CAVS_JIZHUN, "Jizhun" }, + { AV_PROFILE_CAVS_GUANGDIAN, "Guangdian" }, + { AV_PROFILE_UNKNOWN }, +}; + #endif /* !CONFIG_SMALL */ diff --git a/libavcodec/profiles.h b/libavcodec/profiles.h index 270430a48b..9a2b348ad4 100644 --- a/libavcodec/profiles.h +++ b/libavcodec/profiles.h @@ -75,5 +75,6 @@ extern const AVProfile ff_prores_profiles[]; extern const AVProfile ff_mjpeg_profiles[]; extern const AVProfile ff_arib_caption_profiles[]; extern const AVProfile ff_evc_profiles[]; +extern const AVProfile ff_cavs_profiles[]; #endif /* AVCODEC_PROFILES_H */ -- 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".