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 38736486CF for ; Thu, 15 Feb 2024 07:41:08 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 87FDD68D237; Thu, 15 Feb 2024 09:41:06 +0200 (EET) Received: from mail-lj1-f182.google.com (mail-lj1-f182.google.com [209.85.208.182]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id F323768D1CC for ; Thu, 15 Feb 2024 09:40:59 +0200 (EET) Received: by mail-lj1-f182.google.com with SMTP id 38308e7fff4ca-2d0e5212559so6384281fa.0 for ; Wed, 14 Feb 2024 23:40:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1707982859; x=1708587659; darn=ffmpeg.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=YEeWILrueKwEs+yDQJMXkItLgQ1dVMdsbE6nah4Sg1Q=; b=j/mmKTiN6fN5/xnBmRAPL54f0xvoJcbR8Vuh58b8GEqXFoXuC+4BsTe3Rpzd56g9+X 9KNEc9T4RG+lh10xVRaBrZkxDCbG2DXhHFksfQVsyU0BM/Rir4hAhlIoF3J3fJDQgQi0 Kw5KknP2C29NgsQgFGrTYhcOqN16ihAwyl5f4yYPA2WHLqGnnh2fa4k0j04vMMHMTGwo xooBbz3cXiUUqLAIXUmmMLgxCGTL+Pcy2xExwrVui/NoiA9P6p+I5ca5Vv65eJQyH/tW /pc1Dq7ccRoknya3T3DmiRB/ynTJIA74dib7FaHeEgFH78h3Tx6ZvKq4elT1ir2UA2GW i4Kw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1707982859; x=1708587659; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=YEeWILrueKwEs+yDQJMXkItLgQ1dVMdsbE6nah4Sg1Q=; b=nBwLDfh+B69da5E8TLFEL2sXvpJJnlDu2DJ/Jc40AmdsZI3MxLQTM8wttILDRbOy7Q Ztnvo0AGveVFUjW5bYzBMqVKcuMN0R5u774xd01oYNTc6bq91HLw1FrGg98AXLX/uw/c mxew0S79MrYm6pEhX40nknMelVAux1mAENUQbpeMRcjJMvewwPPjUZi/FrHlAHeJBdCQ lwlENmTT0dlIaeJubiJ/vLy25VozMAII9h0eusJIlg8IU8Wd9EV1riW5TRCURXwoKgom V6vnsJjOKLfWnB7+vQnDPj+mGIcUzIwsu1OvGZ/TfGiVWM3mCM4MtlJXFgAjax3iTSW9 9NEQ== X-Gm-Message-State: AOJu0Yw2czHIKiAVSXdaQ+fcLtM7S0ioO1W+1os6qixGZMfQXeHXcZHh an6KnadPUWnX6v9nvyQmzjwAaqHfU7XnlOGehKHmQ8Q01zGDbUYd+J80HwOd X-Google-Smtp-Source: AGHT+IHhJaqA73pu+mkCAUo1Hgshl7MAgchTJ0b06xjjbn6PNdRusD3vsTt7Ig0+tHwsbiSvwPniLg== X-Received: by 2002:a2e:be08:0:b0:2d1:4a2:4667 with SMTP id z8-20020a2ebe08000000b002d104a24667mr680620ljq.52.1707982858971; Wed, 14 Feb 2024 23:40:58 -0800 (PST) Received: from kusa (2a01cb040b6872000000000000000afa.ipv6.abo.wanadoo.fr. [2a01:cb04:b68:7200::afa]) by smtp.gmail.com with ESMTPSA id a8-20020a056000100800b0033cef5812f6sm879155wrx.109.2024.02.14.23.40.58 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 14 Feb 2024 23:40:58 -0800 (PST) Date: Thu, 15 Feb 2024 08:40:57 +0100 From: Matthieu Bouron To: FFmpeg development discussions and patches Message-ID: References: <20240213230418.457056-1-matthieu.bouron@gmail.com> <20240213230418.457056-2-matthieu.bouron@gmail.com> <2c27d942-1807-408a-8181-894b49218364@jkqxz.net> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <2c27d942-1807-408a-8181-894b49218364@jkqxz.net> Subject: Re: [FFmpeg-devel] [PATCH 1/7] avcodec: move ffjni to avutil/jniutils 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: On Wed, Feb 14, 2024 at 11:31:21PM +0000, Mark Thompson wrote: > On 13/02/2024 22:50, Matthieu Bouron wrote: > > This will allow to use the jni utils in libavformat. This will be mostly useful > > to add Android content-uri support. > > > > This deprecates avcodec/jni.h functions in favor of the ones from avutil/jni.h. > > --- > > doc/APIchanges | 6 + > > libavcodec/Makefile | 3 +- > > libavcodec/jni.c | 48 +---- > > libavcodec/jni.h | 8 + > > libavcodec/mediacodec.c | 6 +- > > libavcodec/mediacodec_surface.c | 6 +- > > libavcodec/mediacodec_wrapper.c | 200 ++++++++++----------- > > libavcodec/mediacodecdec.c | 3 +- > > libavutil/Makefile | 4 + > > libavutil/jni.c | 78 ++++++++ > > libavutil/jni.h | 46 +++++ > > libavcodec/ffjni.c => libavutil/jniutils.c | 36 ++-- > > libavcodec/ffjni.h => libavutil/jniutils.h | 26 ++- > > 13 files changed, 283 insertions(+), 187 deletions(-) > > create mode 100644 libavutil/jni.c > > create mode 100644 libavutil/jni.h > > rename libavcodec/ffjni.c => libavutil/jniutils.c (88%) > > rename libavcodec/ffjni.h => libavutil/jniutils.h (84%) > > Why? > > libavformat already depends on libavcodec. Since both libavformat and libavcodec will use it, it seems more logical to put the code in libavutil. It could also benefits libavutil/hwcontext_mediacodec. [...] _______________________________________________ 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".