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 434E8493D3 for ; Sat, 10 Aug 2024 00:09:37 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 640ED68D9BD; Sat, 10 Aug 2024 03:09:34 +0300 (EEST) Received: from EUR05-DB8-obe.outbound.protection.outlook.com (mail-db8eur05olkn2070.outbound.protection.outlook.com [40.92.89.70]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id A0A5868D97E for ; Sat, 10 Aug 2024 03:09:27 +0300 (EEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=Cw4u/KbbxJGs56IF1PL06iv0AUD2IVbLGMDse0tdpYsVGqjsBqcoi6Rq9LA+AZnS7A7ej1+HPan3z/TQiwqGS5rHh9eCJGL69T+Ef8lAjypQC59zmGQK/s+PmNTCYDXTTCje/Ib/xKbmvROk8xgA0WSyclXyI50LKkf3WGKoPH1ZxDci7XL19qkE9VrdmXDvYGaCsDRlSKcDg2eux4h8KX0U0RvN0sOUX7KpIL/xYLonmn1lRAQo5//kRfobZz0dbjJ8oiJ8UtMZ62c7aRztVMn6AYEjCalivof6wPBMaMPji+DJUpoo2X6cyLuI0mQhNReBTscrHn0tXXqoTNqb6A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=5VmzgZIKZcL3VKN1h8rPsL+HfMg5fNzEsvdC6VqJbHY=; b=bUCToECvGoX3MYq3NcVZwitzewQKkt6px27qmWSX1WZXEyILzk9E5Q38ibTaPxxEIOKH87EFRcyWK6IdLTeb6EptfWxGN7DeQZqauJrPLYAmI+l7L0gDQq/HEXgaQhxYjHZSLHk+KRODKmxQF4IkoglUXSlozKlNuFN87QBbqMQVEAWr3QRP7/77arlY1Qtz9PxXFK1J/YBlSTKceYYu7bRgxHfbO6pqpsZmhT+cS1vC49IEnqOnIYMxwrC+RhxqcklXYPPwQOxNqAFnKVKz+LqSZMY5I7xMsI1jq3a3KzTCknQXXmbxrZu89p5IOHo7NikDbeoUxDKfWOQoxCjD6Q== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=outlook.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=5VmzgZIKZcL3VKN1h8rPsL+HfMg5fNzEsvdC6VqJbHY=; b=uxeYSwFGvERq/qVXTZcpag2QS1yxPPUJuIbHdj8Zbt6xsn6L4E/VVs11YogD1d+rYvfX4owWyMzmQOz9FEYhfZdFliAOYw0tZlYpKyCjHCRsF71Yyxdv/WYzNuCYoX+tneBQk63yTlG7KhUyWXYj3MXdrWTCAG85qCrx6M/RQt5NOxsRa2O1H0iS9s2nT7I/mS3kSzjCM4XWrcj5Fl/REc4mkExiiS3alykbnJQ5hAfG33CR7r+nJiNTQnq9znGvbRAbQXPctDk+FCVSvyllniK2JuQhf0nZhT9+QADckT/wR9nllCpCmRt1aGENSdT4GN9Yq2zEq3v32wAegqmbtA== Received: from AS8P250MB0744.EURP250.PROD.OUTLOOK.COM (2603:10a6:20b:541::14) by DU2P250MB0368.EURP250.PROD.OUTLOOK.COM (2603:10a6:10:27d::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7849.17; Sat, 10 Aug 2024 00:09:21 +0000 Received: from AS8P250MB0744.EURP250.PROD.OUTLOOK.COM ([fe80::384d:40d4:ecb7:1c9]) by AS8P250MB0744.EURP250.PROD.OUTLOOK.COM ([fe80::384d:40d4:ecb7:1c9%3]) with mapi id 15.20.7828.023; Sat, 10 Aug 2024 00:09:21 +0000 Message-ID: Date: Sat, 10 Aug 2024 02:09:19 +0200 User-Agent: Mozilla Thunderbird To: ffmpeg-devel@ffmpeg.org References: <20240716171155.31838-1-anton@khirnov.net> <20240716171155.31838-36-anton@khirnov.net> Content-Language: en-US From: Andreas Rheinhardt In-Reply-To: <20240716171155.31838-36-anton@khirnov.net> X-TMN: [OcFu3Pt2VtJ5uirrtZS9Jat+6Ps2mDH+wm4eMLCnTF8=] X-ClientProxiedBy: ZR0P278CA0008.CHEP278.PROD.OUTLOOK.COM (2603:10a6:910:16::18) To AS8P250MB0744.EURP250.PROD.OUTLOOK.COM (2603:10a6:20b:541::14) X-Microsoft-Original-Message-ID: MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AS8P250MB0744:EE_|DU2P250MB0368:EE_ X-MS-Office365-Filtering-Correlation-Id: 1b2b1b68-f3cd-40f3-d6f4-08dcb8d0af33 X-Microsoft-Antispam: BCL:0; ARA:14566002|15080799003|5072599009|8060799006|19110799003|461199028|3412199025|440099028; X-Microsoft-Antispam-Message-Info: kz4V16rQU7kixJ5GrfJcblyFbBlJrV1urcmEZHoBKL1CEn9u5Ra/ScTz7tDGI/muqyjQXCnET8AA7dSQn4cjyLF0WLCilj84z2tz63Cz8rk2rhZN6VkKj+ZG+NRJXpw5srDCVZJX2EYhzItS3WirUC4D5jveNr8mvbzFyJ6W6ea+gT+6Ho4BrghZwPwNXHaBhKF5ppAgvZJiNttT3ZmeXep7fRAPEo1Eo0TbaAddcvHDteDct3dyOO3sEdxQWHb13KJp7wG3ZZZcEYzqbyDfl//RCBecBXkZLSALkvCiL/s0dxE4vwAjXYeLzeFiA7vltjVwJeflYaIr9SLBLTanJfqzotcu/ppgq5xUfu4okMskHReCJSVR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hkbGdhcWFkOW51?= =?utf-8?B?M1BhTURvZ3BIT0FyRXJuYWRqeHVycHNrQ0VDaW1Ed3JQZ25DbnhERWF2azVM?= =?utf-8?B?V2xQNUNBMWRZclVRWTgrSzByOFdJeklXVW9EVGNHaVp1L1NQczVVRHFabVdr?= =?utf-8?B?RCs2aDZlR01hbnBkZ2lQR0swZ3VQOUdubDFhTUFVR2Jmb1dxNHBweDhXOEhz?= =?utf-8?B?RG56b1RtalZDRXJrQnJNeEVRajBBSUdIdEhmQWxoRFlGNzNXRmFOVzkxOHdV?= =?utf-8?B?K2w0NnpCeUpRcmgxcGsvS1lpaE5FNFRpRHhCc0FReVJyOWhsYUVqczNnPT0=?= X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 1b2b1b68-f3cd-40f3-d6f4-08dcb8d0af33 X-MS-Exchange-CrossTenant-AuthSource: AS8P250MB0744.EURP250.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 10 Aug 2024 00:09:21.4045 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DU2P250MB0368 Subject: Re: [FFmpeg-devel] [PATCH 36/39] lavc: add private container FIFO 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: Anton Khirnov: > It provides a FIFO for "container" objects like AVFrame/AVPacket and > features an integrated FFRefStructPool-based pool to avoid allocating an > freeing them repeatedly. > --- > libavcodec/container_fifo.c | 195 ++++++++++++++++++++++++++++++++++++ > libavcodec/container_fifo.h | 87 ++++++++++++++++ > 2 files changed, 282 insertions(+) > create mode 100644 libavcodec/container_fifo.c > create mode 100644 libavcodec/container_fifo.h > > diff --git a/libavcodec/container_fifo.c b/libavcodec/container_fifo.c > new file mode 100644 > index 0000000000..86ed15627b > --- /dev/null > +++ b/libavcodec/container_fifo.c > @@ -0,0 +1,195 @@ > +/* > + * This file is part of FFmpeg. > + * > + * FFmpeg is free software; you can redistribute it and/or > + * modify it under the terms of the GNU Lesser General Public > + * License as published by the Free Software Foundation; either > + * version 2.1 of the License, or (at your option) any later version. > + * > + * FFmpeg is distributed in the hope that it will be useful, > + * but WITHOUT ANY WARRANTY; without even the implied warranty of > + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU > + * Lesser General Public License for more details. > + * > + * You should have received a copy of the GNU Lesser General Public > + * License along with FFmpeg; if not, write to the Free Software > + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA > + */ > + > +#include "libavutil/error.h" > +#include "libavutil/fifo.h" > +#include "libavutil/frame.h" > +#include "libavutil/mem.h" > + > +#include "container_fifo.h" > +#include "refstruct.h" > + > +struct ContainerFifo { > + AVFifo *fifo; > + FFRefStructPool *pool; > + > + void* (*container_alloc)(void); > + void (*container_reset)(void *obj); > + void (*container_free) (void *obj); > + int (*fifo_write) (void *dst, void *src); > + int (*fifo_read) (void *dst, void *src); > + > +}; > + > +static int container_fifo_init_entry(FFRefStructOpaque opaque, void *obj) > +{ > + ContainerFifo *cf = opaque.nc; > + void **pobj = obj; > + > + *pobj = cf->container_alloc(); > + if (!*pobj) > + return AVERROR(ENOMEM); > + > + return 0; > +} > + > +static void container_fifo_reset_entry(FFRefStructOpaque opaque, void *obj) > +{ > + ContainerFifo *cf = opaque.nc; > + cf->container_reset(*(void**)obj); > +} > + > +static void container_fifo_free_entry(FFRefStructOpaque opaque, void *obj) > +{ > + ContainerFifo *cf = opaque.nc; > + cf->container_free(*(void**)obj); > +} container_fifo_(init|reset|free)_entry seem unnecessary if you simply expected the user to already provide a RefStruct-compatible callback. > + > +ContainerFifo* > +ff_container_fifo_alloc(void* (*container_alloc)(void), > + void (*container_reset)(void *obj), > + void (*container_free) (void *obj), > + int (*fifo_write) (void *dst, void *src), > + int (*fifo_read) (void *dst, void *src)) > +{ > + ContainerFifo *cf; > + > + cf = av_mallocz(sizeof(*cf)); > + if (!cf) > + return NULL; > + > + cf->container_alloc = container_alloc; > + cf->container_reset = container_reset; > + cf->container_free = container_free; > + cf->fifo_write = fifo_write; > + cf->fifo_read = fifo_read; > + > + cf->fifo = av_fifo_alloc2(1, sizeof(void*), AV_FIFO_FLAG_AUTO_GROW); > + if (!cf->fifo) > + goto fail; > + > + cf->pool = ff_refstruct_pool_alloc_ext(sizeof(void*), 0, cf, > + container_fifo_init_entry, > + container_fifo_reset_entry, > + container_fifo_free_entry, > + NULL); > + if (!cf->pool) > + goto fail; > + > + return cf; > +fail: > + ff_container_fifo_free(&cf); > + return NULL; > +} > + > +void ff_container_fifo_free(ContainerFifo **pcf) > +{ > + ContainerFifo *cf; > + > + if (!*pcf) > + return; > + > + cf = *pcf; > + > + if (cf->fifo) { > + void *obj; > + while (av_fifo_read(cf->fifo, &obj, 1) >= 0) > + ff_refstruct_unref(&obj); > + av_fifo_freep2(&cf->fifo); > + } > + > + ff_refstruct_pool_uninit(&cf->pool); > + > + av_freep(pcf); > +} > + > +int ff_container_fifo_read(ContainerFifo *cf, void *obj) > +{ > + void **psrc; > + int ret; > + > + ret = av_fifo_read(cf->fifo, &psrc, 1); > + if (ret < 0) > + return ret; > + > + ret = cf->fifo_read(obj, *psrc); > + ff_refstruct_unref(&psrc); > + > + return ret; > +} > + > +int ff_container_fifo_write(ContainerFifo *cf, void *obj) > +{ > + void **pdst; > + int ret; > + > + pdst = ff_refstruct_pool_get(cf->pool); > + if (!pdst) > + return AVERROR(ENOMEM); > + > + ret = cf->fifo_write(*pdst, obj); This API design presumes that one never one to "move" an object into the fifo. This need not be true at all (indeed, the reference from the frame_grain frame could be directly moved; it is not used for the decoding process). > + if (ret < 0) > + goto fail; > + > + ret = av_fifo_write(cf->fifo, &pdst, 1); > + if (ret < 0) > + goto fail; > + > + return 0; > +fail: > + ff_refstruct_unref(&pdst); > + return ret; > +} > + > +size_t ff_container_fifo_can_read(ContainerFifo *cf) > +{ > + return av_fifo_can_read(cf->fifo); > +} > + > +static void* frame_alloc(void) Inconsistent placement of * > +{ > + return av_frame_alloc(); > +} > + > +static void frame_reset(void *obj) > +{ > + av_frame_unref(obj); > +} > + > +static void frame_free(void *obj) > +{ > + AVFrame *frame = obj; > + av_frame_free(&frame); > +} > + > +static int frame_ref(void *dst, void *src) > +{ > + return av_frame_ref(dst, src); > +} > + > +static int frame_move_ref(void *dst, void *src) > +{ > + av_frame_move_ref(dst, src); > + return 0; > +} > + > +ContainerFifo *ff_container_fifo_alloc_avframe(unsigned flags) > +{ > + return ff_container_fifo_alloc(frame_alloc, frame_reset, frame_free, > + frame_ref, frame_move_ref); > +} > diff --git a/libavcodec/container_fifo.h b/libavcodec/container_fifo.h > new file mode 100644 > index 0000000000..75a8f9e86b > --- /dev/null > +++ b/libavcodec/container_fifo.h > @@ -0,0 +1,87 @@ > +/* > + * This file is part of FFmpeg. > + * > + * FFmpeg is free software; you can redistribute it and/or > + * modify it under the terms of the GNU Lesser General Public > + * License as published by the Free Software Foundation; either > + * version 2.1 of the License, or (at your option) any later version. > + * > + * FFmpeg is distributed in the hope that it will be useful, > + * but WITHOUT ANY WARRANTY; without even the implied warranty of > + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU > + * Lesser General Public License for more details. > + * > + * You should have received a copy of the GNU Lesser General Public > + * License along with FFmpeg; if not, write to the Free Software > + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA > + */ > + > +#ifndef AVCODEC_CONTAINER_FIFO_H > +#define AVCODEC_CONTAINER_FIFO_H > + > +/** > + * ContainerFifo is a FIFO for "containers" - dynamically allocated reusable > + * structs (e.g. AVFrame or AVPacket). ContainerFifo uses an internal pool of > + * such containers to avoid allocating and freeing them repeatedly. > + */ > +typedef struct ContainerFifo ContainerFifo; > + > +/** > + * Allocate a new ContainerFifo for the container type defined by provided > + * callbacks. > + * > + * @param container_alloc allocate a new container instance and return a pointer > + * to it, or NULL on failure > + * @param container_reset reset the provided container instance to a clean state > + * @param container_free free the provided container instance > + * @param fifo_write transfer the contents of src to dst, where src is a > + * container instance provided to ff_container_fifo_write() > + * @param fifo_read transfer the contents of src to dst in other cases > + * > + * @note fifo_read() and fifo_write() are different parameters in order to allow > + * fifo_write() implementations that make a new reference in dst, leaving > + * src untouched (see e.g. ff_container_fifo_alloc_avframe()) > + */ > +ContainerFifo* > +ff_container_fifo_alloc(void* (*container_alloc)(void), > + void (*container_reset)(void *obj), > + void (*container_free) (void *obj), > + int (*fifo_write) (void *dst, void *src), > + int (*fifo_read) (void *dst, void *src)); > + > +/** > + * Allocate a ContainerFifo instance for AVFrames. > + * Note that ff_container_fifo_write() will call av_frame_ref() on src, making a > + * new reference in dst and leaving src untouched. > + * > + * @param flags unused currently > + */ > +ContainerFifo *ff_container_fifo_alloc_avframe(unsigned flags); > + > +/** > + * Free a ContainerFifo and everything in it. > + */ > +void ff_container_fifo_free(ContainerFifo **pf); > + > +/** > + * Write the contents of obj to the FIFO. > + * > + * The fifo_write() callback previously provided to ff_container_fifo_alloc() > + * will be called with obj as src in order to perform the actual transfer. > + */ > +int ff_container_fifo_write(ContainerFifo *pf, void *obj); > + > +/** > + * Read the next available object from the FIFO into obj. > + * > + * The fifo_read() callback previously provided to ff_container_fifo_alloc() > + * will be called with obj as dst in order to perform the actual transfer. > + */ > +int ff_container_fifo_read(ContainerFifo *pf, void *obj); > + > +/** > + * @return number of objects available for reading > + */ > +size_t ff_container_fifo_can_read(ContainerFifo *pf); > + > +#endif // AVCODEC_CONTAINER_FIFO_H _______________________________________________ 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".