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 B0A7C450BC for ; Sat, 4 Feb 2023 16:28:08 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id E25A668BDD2; Sat, 4 Feb 2023 18:28:04 +0200 (EET) Received: from mail-ed1-f45.google.com (mail-ed1-f45.google.com [209.85.208.45]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 836AD68BB04 for ; Sat, 4 Feb 2023 18:27:58 +0200 (EET) Received: by mail-ed1-f45.google.com with SMTP id u21so7871211edv.3 for ; Sat, 04 Feb 2023 08:27:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :from:to:cc:subject:date:message-id:reply-to; bh=Jjux9S6l2QmqYucM1XgrLeTuSUYL1H0ENDBYhtt93Cc=; b=Og+/ZjFmu+T7rKCOMg+gkM0e7ZJ8L0fe8DRjYBwovQFHhrvbyizBp24xy+H0efAP7D XPXf5QfBnO7UMtrRvuJuL5EoTiVa0hzv5RZW1+OmCoiC6NNvHXHLH9NJM8SOcrhwXNwS LoA6f2ITuMGz+8RnWuhM8K+faQBsjKXgg8tEffIHwmx3byELunRmeThAAVb4LmEYhNIF 1+jTlGOtHkdKFe3WJIZVXgSZyKgg1a/O7ssYKiU7bc/GwT5dBghq5ypFngNdbngk+tKt yTXCuvzUjQelSizN5dYO0eDpK0MrhVnhZpzgVQaeRxT9f8wjcSXEIVCjS68Z8Y7tZXdb aLwA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=Jjux9S6l2QmqYucM1XgrLeTuSUYL1H0ENDBYhtt93Cc=; b=S7f6LlDGji986vy/znYjEQW1WBsBCfgxtHbf+249U9hDkXDYgFFJrrMRVsZ4r880gj d/q70nY9YiqNZPMpj5AgPcp7tyd4aRP9sAsAgvuVvRn8hb/8/9SQK1lSksN5KNpOFU1W c8mB17meTK+FFCyQsFLT6XJ5/5tK6t8O5utZb+eeSgzCgtJh4tWAexol2iHIDs8jbnrd xuRjOLDfLTgiJ8flBjX3DwFpDUdS4dIDq5aeVW3s9pJrtJQkIBks0GzaHEiLKLtTonf6 svJGrC1Dd8eHIgUndGhUom3szFtUH/s1TfamNuBtZSynOKNkXPSq+Iwf5OBqU++wHuU2 eMBQ== X-Gm-Message-State: AO0yUKU/WyTsk3Gjpue2l+Wsw2svYAymF3PLaBJIosZ81fjid1aSJyw2 MWAsAqegRNpHEYcgn1pWKOIj3bY++gUHUNURDZvqIbSVl2o= X-Google-Smtp-Source: AK7set8ySKOpkeTHPq/45rRzQGNdjakZvSctm7U+8H/j/Wj2hOz2zoEhq8UE2l6y1eOnVWdcCsfYYNRy/7LvLpENNtg= X-Received: by 2002:a05:6402:22d7:b0:4a2:2b5c:1ddf with SMTP id dm23-20020a05640222d700b004a22b5c1ddfmr3995050edb.75.1675528077401; Sat, 04 Feb 2023 08:27:57 -0800 (PST) MIME-Version: 1.0 References: <20230204104204.20721-1-anton@khirnov.net> <20230204104204.20721-30-anton@khirnov.net> In-Reply-To: <20230204104204.20721-30-anton@khirnov.net> From: "Ronald S. Bultje" Date: Sat, 4 Feb 2023 17:27:46 +0100 Message-ID: To: FFmpeg development discussions and patches X-Content-Filtered-By: Mailman/MimeDel 2.1.29 Subject: Re: [FFmpeg-devel] [PATCH v2 29/33] avutil/{color_utils, csp}: merge color_utils into csp and expose API 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 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: Hi, On Sat, Feb 4, 2023 at 11:50 AM Anton Khirnov wrote: > From: Leo Izen > > libavutil/color_utils contains some avpriv_ symbols that map > enum AVTransferCharacteristic values to gamma-curve approximations and > to the actual transfer functions to invert them (i.e. -> linear). > > There's two issues with this: > (1) avpriv is evil and should be avoided whenever possible > (2) libavutil/csp.h exposes a public API for handling color that > already handles primaries and matricies > > I don't see any reason this API has to be private, so this commit takes > the functionality from avutil/color_utils and merges it into avutil/csp > with an exposed av_ API rather than the previous avpriv_ API. > > Every reference to the previous API has been updated to point to the > new one. color_utils.h has been deleted as well. This should not break > any applications as it only contained avpriv_ symbols in the first > place, so nothing in that header could be referenced by other > applications. > Ok with me. Ronald _______________________________________________ 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".