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 E93C144752 for ; Thu, 22 Sep 2022 14:57:18 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 04FEF68BBC6; Thu, 22 Sep 2022 17:57:16 +0300 (EEST) Received: from mail-ej1-f48.google.com (mail-ej1-f48.google.com [209.85.218.48]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id BFA6868B8C8 for ; Thu, 22 Sep 2022 17:57:09 +0300 (EEST) Received: by mail-ej1-f48.google.com with SMTP id r18so21601395eja.11 for ; Thu, 22 Sep 2022 07:57:09 -0700 (PDT) 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; bh=uRCcqt6+ce9/W+QgclsY94hPoGgifTdCfCLSAxRR/Zo=; b=BWZxyb6Yp9xxcgsrQLhFZtHCugiHF6prxZW2ncI5+wNW+1jMhyzVRBlu9hryA8PPSh 2Xh2jFbJ4oSXFN2No8rpG32TuZGpFw9PTR5q1cyMeK1QRj6/+W0CXLUxG/IPDyw6J/PN Ibi3i1gbILTerd8JcVNphR3yX8bOmj1hABRKsxp8aQySrDiOcm+ghh2QkW+8CrL04zEf 0F2yzg/LLLf9mkHLl+5JGIMDgFnN9+EvtXI+7/L3S+AGGjoewpmlJzn4UejPt25r+MdL f0zArNm6xlBg8s/jyBK8PKDg7yVoYYKsTNomkWLfO08otU9H/tfJ6qpZsrHpw/HXnXmq Qirw== 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; bh=uRCcqt6+ce9/W+QgclsY94hPoGgifTdCfCLSAxRR/Zo=; b=h277wtWLY3Cjn/aQIQt7xy3SBCWe8iGc5I0/YiMIqcfw5jUML9qNykQaI+4XKf3y6L JtqZS9yWJx82T8ExfTrLbsLC4BoVfkteRiotdPQXoBqFmmXv9kQ5/WVhxizGywGevJoX xuZbpPGbzEaTvjYQl4ojyUel0XeCwgn91dk137u/EBx3yGPxn+PaBLjj81kS+m1fcEgP rjV/jP1PWC+vHj0CKoLge3ynldJAgU3c0aYsMH150pppbINPCNC++tgdpU2+GfkiQdhp AklcDmlRzZS1vfre2UZrDEumsIC0rvPDwNU8XsWJlcghyYMQhzTkJbcn+qWRA0qY7H1g V3tg== X-Gm-Message-State: ACrzQf2og78ZKgXpgaVgoyjUPVjZ69jiJhSq8sZHBNC3pNeYMjO5Ym+W 1uS4icuIAk97HoVLKQ+GtvLyDSRw35e29RNNmggwESgE X-Google-Smtp-Source: AMsMyM7MV/Q6pMPVSQRuQxRCmyWHQ/cRZJDLc/TpojLPCd5Nbtnmeagrg/dCMYE4/B0utkwzT/M0SJFBjlAlO2GfEmc= X-Received: by 2002:a17:906:5a4d:b0:76f:bb35:48f4 with SMTP id my13-20020a1709065a4d00b0076fbb3548f4mr3034031ejc.686.1663858628187; Thu, 22 Sep 2022 07:57:08 -0700 (PDT) MIME-Version: 1.0 References: <20220920175021.60790-1-rcombs@rcombs.me> <20220920175021.60790-2-rcombs@rcombs.me> <166385455135.26932.15655335566683997187@lain.khirnov.net> In-Reply-To: <166385455135.26932.15655335566683997187@lain.khirnov.net> From: "Ronald S. Bultje" Date: Thu, 22 Sep 2022 10:56:56 -0400 Message-ID: To: FFmpeg development discussions and patches X-Content-Filtered-By: Mailman/MimeDel 2.1.29 Subject: Re: [FFmpeg-devel] [PATCH 1/7] lavu/cpu: add av_cpu_job_count() 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 Thu, Sep 22, 2022 at 9:49 AM Anton Khirnov wrote: > It is very nonobvious to me that it makes sense to define a global job > count that is independent of the task at hand. > I agree with Anton here. This is very heuristical and dependent on the type of job. This therefore belongs as an implementation detail where it is used, not as a global public API. 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".