From patchwork Mon Nov 6 17:38:39 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rostislav Pehlivanov X-Patchwork-Id: 5892 Delivered-To: ffmpegpatchwork@gmail.com Received: by 10.2.161.90 with SMTP id m26csp3152635jah; Mon, 6 Nov 2017 09:44:03 -0800 (PST) X-Google-Smtp-Source: ABhQp+TC6bGiUy/xqFaKIhE89QYK/z8V3PqJprle2H/UdFbZTLo++PMpFe7vDtUw1CEHLIn028HZ X-Received: by 10.28.21.4 with SMTP id 4mr5297670wmv.84.1509990243792; Mon, 06 Nov 2017 09:44:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1509990243; cv=none; d=google.com; s=arc-20160816; b=z0U9XyVcn0YURTqqwXAlrAcBSWy93d1+lWvdSqxruL3RcnApm/h3oLHsc3Y2gPSH+J 4hUZCce2MlwyV9liXvUpANW0Ksc0k0Sp2tlrvmcxrfg5wqVf/rn7tasaSgJxzH8NCSBd 7vG7IsZEeV+ImlhvujhOv4Yh/x3aWkQP+unfwjpzWvDV8nA1mwJHlWzGte2It7bFBR5z kURpaQ26C7smIJW352J+fmimJqAVcIGyIgW63PD6cOowJHqMTRbrJbunwdFJNw+mFsvu 43HHhf4Yb9Jh1R5+zsxRIgRpw7LlD8tsYpT7qYdZndDbDVQxylw9e/w4gaKxH6QrnImm 9kUg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:mime-version:cc:reply-to :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:message-id:date:to:from:dkim-signature :delivered-to:arc-authentication-results; bh=Qcz1zZ1BHEoNM2/3I17cHAELCI8MW01LeHhg0szDIFk=; b=pkF9TX+N5jSSdzfahtu09Um3Npnag5dUMAyT+M5pM1DWjG9v38zutASKT0ITKPxvbz IlEz+IPy+7BbkfxvXfCnl04CBhDxK2uS/ZUIqVOZ/s+KNaeDlDv3/wT434m5JaCkQup6 /nYqOQpq4wtRQBImX4utXarV8YrYfqmp1VziAQcJC1RVY76dpSPgT8axxqW+70UXWu4C HbAPCkd/w6Y0Y2Oo3X1uETCaUjlU0s9x9dglZFW+5vkv8e0rPBekje3G8BZoFh6RCkJt SfcbLN9ysSi7U/0EJx8zjEQE8ynT442fPzv9NYjA4vDs+uABr5CAusY3+28y4aGydYMX Pm+w== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=RiybUzK8; spf=pass (google.com: domain of ffmpeg-devel-bounces@ffmpeg.org designates 79.124.17.100 as permitted sender) smtp.mailfrom=ffmpeg-devel-bounces@ffmpeg.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=gmail.com Return-Path: Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org. [79.124.17.100]) by mx.google.com with ESMTP id p143si7339273wmg.272.2017.11.06.09.44.01; Mon, 06 Nov 2017 09:44:03 -0800 (PST) Received-SPF: pass (google.com: domain of ffmpeg-devel-bounces@ffmpeg.org designates 79.124.17.100 as permitted sender) client-ip=79.124.17.100; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=RiybUzK8; spf=pass (google.com: domain of ffmpeg-devel-bounces@ffmpeg.org designates 79.124.17.100 as permitted sender) smtp.mailfrom=ffmpeg-devel-bounces@ffmpeg.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=gmail.com Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 941B068972D; Mon, 6 Nov 2017 19:43:47 +0200 (EET) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from mail-wm0-f65.google.com (mail-wm0-f65.google.com [74.125.82.65]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id ADAC8688395 for ; Mon, 6 Nov 2017 19:43:40 +0200 (EET) Received: by mail-wm0-f65.google.com with SMTP id y83so15853734wmc.4 for ; Mon, 06 Nov 2017 09:43:52 -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; bh=7SetG1byVzUQN3vTmI9WKnYKPstV039h7XSesxMqlTg=; b=RiybUzK88fWVbbwlqMNFr8WTzVCdMv89KbmWGk8GSGzXM2ujCj4CTizRznoD4o6qHK rlsAFlSr4vovGY8BFAo1flHjXo7k3HuDZqVnqrixNNHRuDv3lrec9+R0HNfnB5a45v+B 529zAtWK7P3zwARmHp4VqlTkH1WuqdE9ov8nic+JRSR4a3emSEnpzioQZXzDsbKmcpvM RZbXXkxzOV9pV6YvZpGRwbN13cHxpH6PwEBqC1Gw9pN7e/nQgesFG+YblQ3GQ/SjAsYf b84Erwe43iXNJPoqRM8zvFUwjCZ3AaNelTtp20MiUeJF0fdXmajOq3GxiJVfvvt3xYQi dNXA== 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; bh=7SetG1byVzUQN3vTmI9WKnYKPstV039h7XSesxMqlTg=; b=DQEZb1mlCjf5k/2V/lnAuBlXfea6LpXhyI73w/CsGfJ024U3flwh+CvU5XuSx5c3NL 35c/AJdJuO9yEE2ksH1IQDmNo5YVPz6YJ9pjK0QGoE9xefJ5+u9kBSDn4DDCgzZKK4XF QAg+naWfoFTIOLzeKsg0fKAo5y8eAo+6N16KoRlt5yXarMU3Ht5qvi8gbgE6RjxRsOC3 pE1xIv5WsU22ewjz0zqMjWeE/x2J+w8glEJcQvkenbxDG4QTqP+vQM1/pwv9nGLIcQFT LIiGB22zZy3U4texri4vjl7pfc9qyCb/UVBjOa1lZeG4/VHNmNXQT3srfaf58av2CwtT nDiA== X-Gm-Message-State: AJaThX7T2i36TvkKYy6kJV610Qc4URy/gpgVtRjnELP1IufnpsOzV+kF E/050ksvki7csHcPwBh830UifDXb X-Received: by 10.28.140.15 with SMTP id o15mr5575884wmd.8.1509989923478; Mon, 06 Nov 2017 09:38:43 -0800 (PST) Received: from moonbase.pars.ee ([2a00:23c4:7c83:f700:2cea:8719:88e1:dc1b]) by smtp.gmail.com with ESMTPSA id n2sm25573927wmd.39.2017.11.06.09.38.41 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 06 Nov 2017 09:38:42 -0800 (PST) From: Rostislav Pehlivanov To: ffmpeg-devel@ffmpeg.org Date: Mon, 6 Nov 2017 17:38:39 +0000 Message-Id: <20171106173839.3648-1-atomnuker@gmail.com> X-Mailer: git-send-email 2.15.0.403.gc27cc4dac6 Subject: [FFmpeg-devel] [PATCH v3] lavu: add an AV_FRAME_DATA_GAMMA side data type 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: Rostislav Pehlivanov MIME-Version: 1.0 Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Signed-off-by: Rostislav Pehlivanov --- doc/APIchanges | 3 +++ libavutil/frame.h | 6 ++++++ libavutil/version.h | 2 +- 3 files changed, 10 insertions(+), 1 deletion(-) diff --git a/doc/APIchanges b/doc/APIchanges index 1490d67f27..75051deaf8 100644 --- a/doc/APIchanges +++ b/doc/APIchanges @@ -15,6 +15,9 @@ libavutil: 2017-10-21 API changes, most recent first: +2017-11-06 - xxxxxxx - lavu 56.01.100 - frame.h + Add the AV_FRAME_DATA_GAMMA side data type. + -------- 8< --------- FFmpeg 3.4 was cut here -------- 8< --------- 2017-09-28 - b6cf66ae1c - lavc 57.106.104 - avcodec.h diff --git a/libavutil/frame.h b/libavutil/frame.h index 0c6aab1c02..64dcf3a397 100644 --- a/libavutil/frame.h +++ b/libavutil/frame.h @@ -141,6 +141,12 @@ enum AVFrameSideDataType { * metadata key entry "name". */ AV_FRAME_DATA_ICC_PROFILE, + + /** + * The data contains an AVRational which describes the exponent needed to + * compensate for nonlinearity in the input signal. + */ + AV_FRAME_DATA_GAMMA, }; enum AVActiveFormatDescription { diff --git a/libavutil/version.h b/libavutil/version.h index 1bc4b2a6cb..cf8ec498e4 100644 --- a/libavutil/version.h +++ b/libavutil/version.h @@ -80,7 +80,7 @@ #define LIBAVUTIL_VERSION_MAJOR 56 -#define LIBAVUTIL_VERSION_MINOR 0 +#define LIBAVUTIL_VERSION_MINOR 1 #define LIBAVUTIL_VERSION_MICRO 100 #define LIBAVUTIL_VERSION_INT AV_VERSION_INT(LIBAVUTIL_VERSION_MAJOR, \