From patchwork Mon May 6 21:02:23 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mark Thompson X-Patchwork-Id: 13015 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 A4EAF4421C1 for ; Tue, 7 May 2019 00:11:38 +0300 (EEST) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 9CD6268ADE4; Tue, 7 May 2019 00:02:44 +0300 (EEST) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from mail-wm1-f42.google.com (mail-wm1-f42.google.com [209.85.128.42]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 2D24068AD77 for ; Tue, 7 May 2019 00:02:37 +0300 (EEST) Received: by mail-wm1-f42.google.com with SMTP id b10so17586758wmj.4 for ; Mon, 06 May 2019 14:02:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jkqxz-net.20150623.gappssmtp.com; s=20150623; h=from:to:subject:date:message-id:in-reply-to:references:mime-version :content-transfer-encoding; bh=n+POfB6ZUV6wbDUCXTgysxK74Q3WGC1UKKRxKUek8+8=; b=LPO5fUZozOyOFspT0KE0dlTMsNQuXt+Rn34jBJi0IWiMYT1XkWpAMC4N843IKt4Qbx JyywfsM/skqprMFBJNrWQlIv34Y3zK0NY70QYfbEUV51YwXuEIFjyOxNzXGXDmZ6ieKf ZaJ2kOykhY0qeRVD0AxDy4b4iHv6k9u+IQCBC9qpWj0UPMnLK+L+ItmjDUgoqCDwz5bm TJTUzhDVs5hPJJHMayotDNJJwWA32e3Hadh5VA3a42xLa62/8MILjb5aIKzgC5BCt3Mx a2QHBAAiaxdSRbKp1/PIb09IxcTz/NyXB007nupqEYtWRTiYd69KCwYrUXUlYrb5FDx+ Ywdg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=n+POfB6ZUV6wbDUCXTgysxK74Q3WGC1UKKRxKUek8+8=; b=hTOY6Yiubg3mS70k+oruvfVWATeBpNPlSwTwa9iPoNv4bl2mHEfujJp8g6NrgjKXOv IDDcrdl3UdCHPpwSRBBgC2Cx958q5psLTT/H5ENl2sE91f3s7a59ML/4W08k0TW7E8Ig HNGqPdjVLS4e8nqsHaVPJk8Ffv8X/ev95I5IYoshI6R/JnK0UEqofInHcnVStVFAno6z xAB36cQ5AHagReNKYnC+D97PDLYrckjL/0hqGCGNwj8GK6mraL8PqLnhY6WlBt8YvMVl j02u+nxjFc8U4bUhAdWpM9ukzmwThjhXnnaiQg56v5Iz+BltKLv3ACmSeCDRLZh+YEKi YGHA== X-Gm-Message-State: APjAAAWxKdAo9QKk889x865QCC20zyMgVHBEgRgVic0zjtgGgxBPsk8E T9gh/o8W0oW5SQAAmdUiQfWZ7/nQQSM= X-Google-Smtp-Source: APXvYqxu0w3mbYCBW/hYM1irFI5X35hq6SFDzrKlxGzhnypj3Gs19rurB1sjjUXGz/fn6p1GUQLiBA== X-Received: by 2002:a1c:4602:: with SMTP id t2mr17678124wma.120.1557176556352; Mon, 06 May 2019 14:02:36 -0700 (PDT) Received: from rywe.jkqxz.net (cpc91242-cmbg18-2-0-cust650.5-4.cable.virginm.net. [82.8.130.139]) by smtp.gmail.com with ESMTPSA id u11sm20777747wmu.15.2019.05.06.14.02.35 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 06 May 2019 14:02:35 -0700 (PDT) From: Mark Thompson To: ffmpeg-devel@ffmpeg.org Date: Mon, 6 May 2019 22:02:23 +0100 Message-Id: <20190506210223.25159-5-sw@jkqxz.net> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190506210223.25159-1-sw@jkqxz.net> References: <20190506210223.25159-1-sw@jkqxz.net> MIME-Version: 1.0 Subject: [FFmpeg-devel] [PATCH v4 5/5] lavc/h265_profile_level: Add new profiles 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 Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Monochrome 10 and Main 10 Still Picture profiles are added by the 2018 version of the standard. --- libavcodec/h265_profile_level.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/libavcodec/h265_profile_level.c b/libavcodec/h265_profile_level.c index 126f8dbc2a..70db1a52f6 100644 --- a/libavcodec/h265_profile_level.c +++ b/libavcodec/h265_profile_level.c @@ -47,6 +47,8 @@ static const H265ProfileDescriptor h265_profiles[] = { // | | | 10bit | | | intra | | | FormatCapabilityFactor { "Monochrome", // | | | | | | | | | | | 4, 0, 2, 1, 1, 1, 1, 1, 1, 0, 0, 1, 667, 733, 1.000, 1.0, 6 }, + { "Monochrome 10", + 4, 0, 2, 1, 1, 0, 1, 1, 1, 0, 0, 1, 833, 917, 1.250, 1.0, 6 }, { "Monochrome 12", 4, 0, 2, 1, 0, 0, 1, 1, 1, 0, 0, 1, 1000, 1100, 1.500, 1.0, 6 }, { "Monochrome 16", @@ -56,13 +58,15 @@ static const H265ProfileDescriptor h265_profiles[] = { { "Screen-Extended Main", 9, 0, 1, 1, 1, 1, 1, 1, 0, 0, 0, 1, 1000, 1100, 1.500, 1.0, 7 }, { "Main 10", - 2, 0, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 1000, 1100, 1.875, 1.0, 6 }, + 2, 0, 2, 2, 2, 2, 2, 2, 2, 2, 0, 2, 1000, 1100, 1.875, 1.0, 6 }, { "Screen-Extended Main 10", 9, 0, 1, 1, 1, 0, 1, 1, 0, 0, 0, 1, 1000, 1100, 1.875, 1.0, 7 }, { "Main 12", 4, 0, 2, 1, 0, 0, 1, 1, 0, 0, 0, 1, 1500, 1650, 2.250, 1.0, 6 }, { "Main Still Picture", 3, 0, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 1000, 1100, 1.500, 1.0, 6 }, + { "Main 10 Still Picture", + 2, 0, 2, 2, 2, 2, 2, 2, 2, 2, 1, 2, 1000, 1100, 1.875, 1.0, 6 }, { "Main 4:2:2 10", 4, 0, 2, 1, 1, 0, 1, 0, 0, 0, 0, 1, 1667, 1833, 2.500, 0.5, 6 }, { "Main 4:2:2 12",