From patchwork Wed Mar 27 22:21:42 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Antoine Soulier X-Patchwork-Id: 47549 Delivered-To: ffmpegpatchwork2@gmail.com Received: by 2002:a05:6a20:9f96:b0:1a3:b6bb:3029 with SMTP id mm22csp939955pzb; Wed, 27 Mar 2024 15:22:01 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCW3dXUgAJhg18pWjPzWWOII2pT1IL1Tn1RJLwCeqN9p6+Mg/eqlqD5vT0byVFyRaPKmnvsApC4Zo3K66nqVFtHBZkSq3yfZYJhBkQ== X-Google-Smtp-Source: AGHT+IEHGQhlMoXLHsq7de45wnpa+wEQWwOa86Ld/3AEBHM1O2qAoHolol5vPNtd6XLOOPAiJ4Ef X-Received: by 2002:a50:9b02:0:b0:56b:9f91:d0ee with SMTP id o2-20020a509b02000000b0056b9f91d0eemr885237edi.2.1711578121279; Wed, 27 Mar 2024 15:22:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1711578121; cv=none; d=google.com; s=arc-20160816; b=wbr+VTrGpmR9x6w58cVwa5nli+jT31LvSd35vaLiFUecAsbT7y2Ve9/AfBNG+vru2Q A+ZyaUwFDK7iqjk1O+XK6X/QGbHje1nMriKuVSfNhQGkvmawrC9ATa3hR9Nbqn7WjYpb AWBF/OGm3MP/nrmPiisyVScgZM1eepcCD5htdH49UlFzAkttV7fMAjCn874Zzoca1pAy DuTSnwl9HQhkT6CS2jfhcUEP9hk0ZvjL7umoF7evipUTixYumymn0/kCh5gfgJDy9u5K yw9sY+rWp0Y3D4JX1lQMdhR7IzRWyA9Z4nklQMie73oZQZGI6swGpZq4oqrZ1dAZWUbR vdtQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:cc:reply-to:from :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:to:message-id:mime-version:date :delivered-to; bh=N5scmekfXE9xxtFBrESL5eL3X7RUT/EZIOp09byrjik=; fh=eZJQwGgFNmhG1aNRPvwNmWJ7Br90d3O+ZTyD+wYtFmA=; b=FMAP35zVSal38O48KdLWehQOw2eS1nbfS7fpUL6bAtz69LuDTv/yL5HTopcJTmAIJB tkSJHxl4LorY4WLOCHpRU/AmL9G46LeFGw+EjZptx2FGtn1J6b2+9hsOH9rhlV7r4VGd TWe6in1jcB3s/CLXjRSzZJ5dvzrhDFL2+GSC0ITzTZ67cN7jFx39P0mff9paRnMmKUKW qeRlyObgqXoMh/9tfCHyMYU9pa1+B9m/nHkbq6Tz04ZezCR4LaRFqNZkqk772tXzsD4Z psQmGa7ieMa8z0qilPfRpmqnEbcb92dkVCiqkFYlYdUf+Fw7x7yj6RN3XYddDDfDKUZI 8gdw==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org. [79.124.17.100]) by mx.google.com with ESMTP id a18-20020a05640213d200b0056bcd7a0097si64057edx.622.2024.03.27.15.22.00; Wed, 27 Mar 2024 15:22:01 -0700 (PDT) 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; 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 Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 30C7768D5BC; Thu, 28 Mar 2024 00:21:57 +0200 (EET) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from mail-yb1-f202.google.com (mail-yb1-f202.google.com [209.85.219.202]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 5982468D521 for ; Thu, 28 Mar 2024 00:21:50 +0200 (EET) Received: by mail-yb1-f202.google.com with SMTP id 3f1490d57ef6-dcc0bcf9256so392827276.3 for ; Wed, 27 Mar 2024 15:21:50 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711578108; x=1712182908; h=cc:to:from:subject:message-id:mime-version:date:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=6g/Ikp9Opl4U819Llk+QrKS3Xjqgu/oBE64KGmTL89s=; b=ITWOSBffG0ab5LIYTZ5ALDAg6UWOQaZhxkKb+zeawoJVJsIlOR8Zv6zvzNcArm1Dfj IW4EwgscSSPXe4jXkq9mGQHN9u2Oh5oWyZIPsfOwqyDp5QAKNPxcLvxn/RdviUEIMJwQ qpm6QEJtdh4CfGZ0NDxK4EIPTDsMYufkrE5slyNmH6/Y0f5pw3LVGSH9t3AXUO2rUT5l BND9+GwI8CLCZJwmPUygw6eHRH1Rb+8AKbLTyikZDEw7dwLmiT7LEVo6jjQ1F6ZsV1ml zeVRP83WcPBZn5j3cEgGvAccjs2TAic9BEL7y080GLL9Zwsm3u1jBCUnQQG6qrV/0bEM 94mg== X-Gm-Message-State: AOJu0YxoLhPwOSpp4drCm2VJ5CJ8VMkPo9UZk3PvXPa/FPkmpUol2WNX wWlUp1YLc+0qtN0K1y9IoaXnUTwZSsHe28E960+RHMU/N4cpPawaNBujsfkxwG2OnzYTkMURftF rJH9GlSHpydedxJIF/FR+S3cXGZlXiW1oiJU2I+8eyBwY7rz1k7MUABfOV8V+ejhE6F1GqSEFqr 88Hys1geV/qfXDyQUnCaFkQaNd24w10poa/iAPKrg0d+Jx X-Received: from asoulier-us.c.googlers.com ([fda3:e722:ac3:cc00:20:ed76:c0a8:f79]) (user=asoulier job=sendgmr) by 2002:a05:6902:150a:b0:dcd:59a5:7545 with SMTP id q10-20020a056902150a00b00dcd59a57545mr129282ybu.10.1711578108415; Wed, 27 Mar 2024 15:21:48 -0700 (PDT) Date: Wed, 27 Mar 2024 22:21:42 +0000 Mime-Version: 1.0 X-Mailer: git-send-email 2.44.0.478.gd926399ef9-goog Message-ID: <20240327222145.601148-1-asoulier@google.com> To: ffmpeg-devel@ffmpeg.org Subject: [FFmpeg-devel] [PATCH 1/4] configure: Add option for enabling LC3/LC3plus wrapper 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: , X-Patchwork-Original-From: Antoine Soulier via ffmpeg-devel From: Antoine Soulier Reply-To: FFmpeg development discussions and patches Cc: Antoine Soulier Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" X-TUID: S23sA+3eGGJo Signed-off-by: Antoine Soulier --- configure | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/configure b/configure index 2a1d22310b..4262b96117 100755 --- a/configure +++ b/configure @@ -244,6 +244,7 @@ External library support: --enable-libjxl enable JPEG XL de/encoding via libjxl [no] --enable-libklvanc enable Kernel Labs VANC processing [no] --enable-libkvazaar enable HEVC encoding via libkvazaar [no] + --enable-liblc3 enable LC3 de/encoding via liblc3 [no] --enable-liblensfun enable lensfun lens correction [no] --enable-libmodplug enable ModPlug via libmodplug [no] --enable-libmp3lame enable MP3 encoding via libmp3lame [no] @@ -1926,6 +1927,7 @@ EXTERNAL_LIBRARY_LIST=" libjxl libklvanc libkvazaar + liblc3 libmodplug libmp3lame libmysofa @@ -3499,6 +3501,9 @@ libilbc_encoder_deps="libilbc" libjxl_decoder_deps="libjxl libjxl_threads" libjxl_encoder_deps="libjxl libjxl_threads" libkvazaar_encoder_deps="libkvazaar" +liblc3_decoder_deps="liblc3" +liblc3_encoder_deps="liblc3" +liblc3_encoder_select="audio_frame_queue" libmodplug_demuxer_deps="libmodplug" libmp3lame_encoder_deps="libmp3lame" libmp3lame_encoder_select="audio_frame_queue mpegaudioheader" @@ -6869,6 +6874,7 @@ enabled libjxl && require_pkg_config libjxl "libjxl >= 0.7.0" jxl/dec require_pkg_config libjxl_threads "libjxl_threads >= 0.7.0" jxl/thread_parallel_runner.h JxlThreadParallelRunner enabled libklvanc && require libklvanc libklvanc/vanc.h klvanc_context_create -lklvanc enabled libkvazaar && require_pkg_config libkvazaar "kvazaar >= 2.0.0" kvazaar.h kvz_api_get +enabled liblc3 && require_pkg_config liblc3 "lc3 >= 1.1.0" lc3.h lc3_hr_setup_encoder enabled liblensfun && require_pkg_config liblensfun lensfun lensfun.h lf_db_create if enabled libmfx && enabled libvpl; then