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 0627E49648 for ; Wed, 14 Feb 2024 23:31:06 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 0CB9C68D211; Thu, 15 Feb 2024 01:31:04 +0200 (EET) Received: from mail-wr1-f41.google.com (mail-wr1-f41.google.com [209.85.221.41]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id A2FC768D1FF for ; Thu, 15 Feb 2024 01:30:57 +0200 (EET) Received: by mail-wr1-f41.google.com with SMTP id ffacd0b85a97d-33cda3dfa06so164163f8f.3 for ; Wed, 14 Feb 2024 15:30:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jkqxz-net.20230601.gappssmtp.com; s=20230601; t=1707953457; x=1708558257; darn=ffmpeg.org; h=content-transfer-encoding:in-reply-to:from:references:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=q5WV6FpD2Zx7QZlf5vcZpVmB2zPlQTKinLQN6NZ1InM=; b=YDbrODEkKM8OjU2IuhDoWwhtRTuJDQZ9i2KPL98fnvjCVRJu+wHpjhwGHjb9DBYK1G gH3rsbf5nm+Gtk091+32kTGOLY95b0LgV6T9NQ81UiTAHBEVbrKFheG09UztN0AlNdQ+ FZWsIY3JU43gIgN6bZrdb8jcJ4rI6SPBEnjY5NHC+svebtS/yuhAZjjr1BKm0t2AjBpZ eOVLIZsXzKe5nS+OeUigRpgUB0IwdjPgiwVPmWplv/RLo0SFdrY4dW0amOQu/sqWxXFB F3C10Kb3vozyHWoKhDlzUJT5Ql2USFA/j7h65PWJoZJQST8OlrNw/NlmnbBbHVft05qv FACA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1707953457; x=1708558257; h=content-transfer-encoding:in-reply-to:from:references:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=q5WV6FpD2Zx7QZlf5vcZpVmB2zPlQTKinLQN6NZ1InM=; b=hmo/e1BXjfvGvuRZHCYdTmX1YO178wuq3tMgwF0UOa/OwBG4hTkrQW2XsjhS1l+n1w q/SPudTYs6VoXiA5GY4ys6NUrFRknAaQvguyYcBCg72fpE1N8YFfN6czU6ezIfui4AsN K/aVNkOhwWU35PQ7c2NXigfujqsrpjW9+n8zSQKMrzvoyTbrYUo8AFgHddlnNqlMAtVX TQ/d//dP3JrlSAF/O7dJVWFtc+WsQRU7r2c7rV89Hj6uY7j1GB2/tPvpzP0TxtfVLiOr wkKs1l17xPdWHgEkcSufrltg0JkYHKHmiVe05rfK4EgFNZ7zwyTtrWIIfQgZjmc+dTYm tdNg== X-Gm-Message-State: AOJu0YxJUJg7skP++CzXNGMNyeLYrPgNsI+wd0vWOvBsa9QTiWgmoZkd vfAEZ+xnZY1hYByVmx6lv8wJRgQaeYSYp3KrmYho+yLGfx5oIYg0g+6wZupJ/uHYw2BgbyeYJL5 9 X-Google-Smtp-Source: AGHT+IH49tKnZHkiRB7CiE0bpoL/7+LplDMxejnnMmwZEsxkoezXQJzC5W8ssROpaSvmhSK8PSEooQ== X-Received: by 2002:adf:ee49:0:b0:33c:f627:2123 with SMTP id w9-20020adfee49000000b0033cf6272123mr56812wro.55.1707953456659; Wed, 14 Feb 2024 15:30:56 -0800 (PST) Received: from [192.168.0.15] (cpc92302-cmbg19-2-0-cust1183.5-4.cable.virginm.net. [82.1.212.160]) by smtp.gmail.com with ESMTPSA id l13-20020a056000022d00b0033b1b1da2adsm13637834wrz.99.2024.02.14.15.30.56 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 14 Feb 2024 15:30:56 -0800 (PST) Message-ID: <2c27d942-1807-408a-8181-894b49218364@jkqxz.net> Date: Wed, 14 Feb 2024 23:31:21 +0000 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Content-Language: en-US To: ffmpeg-devel@ffmpeg.org References: <20240213230418.457056-1-matthieu.bouron@gmail.com> <20240213230418.457056-2-matthieu.bouron@gmail.com> From: Mark Thompson In-Reply-To: <20240213230418.457056-2-matthieu.bouron@gmail.com> 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-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Archived-At: List-Archive: List-Post: 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. Thanks, - Mark _______________________________________________ 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".