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 9B96344F26 for ; Wed, 8 Feb 2023 14:28:16 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 0591468067F; Wed, 8 Feb 2023 16:28:13 +0200 (EET) Received: from mail-yw1-f177.google.com (mail-yw1-f177.google.com [209.85.128.177]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 5486768067F for ; Wed, 8 Feb 2023 16:28:05 +0200 (EET) Received: by mail-yw1-f177.google.com with SMTP id 00721157ae682-52be9c49c07so20751827b3.3 for ; Wed, 08 Feb 2023 06:28:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ltnglobal-com.20210112.gappssmtp.com; s=20210112; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :from:to:cc:subject:date:message-id:reply-to; bh=nei+Ju02PC/8rSXTbD8CD1mmDAthF9kgk/6DpYVcDnE=; b=3S5+wfo9khfx4+w6sEZvZyb2Q3/zk37dnbL6FwmLsNxoopCxGgLIdX0Z2292vetP8r CzLTiWAF59aozvkucr7i+abqCa388JUDiq0NMHZ/aq6fkN3DFlH1v33VxhMm724TrxJB tDMozY9jlhkZnmiY+fUMqPqrQVxp3xACCpa+PBCNk+lddUzkuieIZphUxdZ6Q9jCJNYM FZJQ0BGpPjSBF/xJXz2gow07oNJ6oGoJqTkzfuCcXCh/gsLe67dKj1HsrbzTCrgN9/hY odgm5DurP+LSw9zc8SApHgwBCV95euMiytlBGg/mhD/3/d/6GhzhO5MqJjZ40mAMHNSW TODw== 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:message-id:reply-to; bh=nei+Ju02PC/8rSXTbD8CD1mmDAthF9kgk/6DpYVcDnE=; b=Siobcz0G+nXF2i9vmI+6SmTCl7Z7YYfVGidlTFC2rTuiMB9RxLHaMwDfnopYLENS0g cK0WudTnGOIsdm6Htg0hdI8Jz1ed2Nef+qefZI4CdYV9Vshnryd1+reoDpIV7ZYGcPBs cWLm48isT45nzSdcFT1HKyjsiWcvjL6ABTVrD45CR5EsxhvaCM+gQSF/aDbdhMJWHLWF PGkb/1zvuSRJhPyKT3IV6vvD+RcDZ3F3Gp4PqCaI/za/HhYgzHJ06S8OrRVFMqbwiTv3 ld3X6dNgBTlW+k44+2UeQryCID1Bjr2mSDHOCPGuIujAxJE7WrPZDkhYaZlFF/QxxbJ0 sRPA== X-Gm-Message-State: AO0yUKVLd5+NtZRQSHFsW7mhypcTeyvuyudwKBtVgBkLSZve+pZg+qku 7+HgDg926JOdIcRkM868yw1GVv3rjKK3t0MPgvh02+258S8Hgw== X-Google-Smtp-Source: AK7set8Xk808P9V5tpfWXbsnEi6ihGB4X2z6ZBqx3eIFDZfUs0pqFlm/PKVYjLgReFe2lIEUlo5bG2/v+lPzzH+Afz0= X-Received: by 2002:a0d:d78d:0:b0:3ec:a0cb:550 with SMTP id z135-20020a0dd78d000000b003eca0cb0550mr731474ywd.3.1675866483570; Wed, 08 Feb 2023 06:28:03 -0800 (PST) MIME-Version: 1.0 References: <11883539.464738.1675698182977.JavaMail.zimbra@savoirfairelinux.com> <1957336886.510777.1675849652034.JavaMail.zimbra@savoirfairelinux.com> <4a190c5f-4f09-4009-9b19-dd7f637113cf@betaapp.fastmail.com> In-Reply-To: <4a190c5f-4f09-4009-9b19-dd7f637113cf@betaapp.fastmail.com> From: Devin Heitmueller Date: Wed, 8 Feb 2023 09:27:52 -0500 Message-ID: To: FFmpeg development discussions and patches Subject: Re: [FFmpeg-devel] Request for assistance with adding new pixel format (NV12_8L128) in FFmpeg 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 8, 2023 at 8:08 AM Jean-Baptiste Kempf wrote: > Do we really need those PIX_FMT in FFmpeg public API? Tiled formats are annoying, but not uncommon in popular embedded platforms (e.g. NXP iMX, TI Davinci). Of course ffmpeg could choose to ignore them, but it would effectively prevent it from being used on those platforms (and it's pretty essential to use the hardware blocks to do any real video processing). In the past there was an expectation that adding new pixel formats required the contributor to also add corresponding routines to swscale to convert to more common formats that ffmpeg works with. You could alternatively treat it as a packet format and require a decoder to do the conversion to something more common to ffmpeg, but this would both be expensive (in terms of CPU usage and memory copying) and effectively prevent you from being able to capture or decode in the native format and then hand off those buffers to other hardware blocks like encoders, colorspace conversion, etc. Devin -- Devin Heitmueller, Senior Software Engineer LTN Global Communications o: +1 (301) 363-1001 w: https://ltnglobal.com e: devin.heitmueller@ltnglobal.com _______________________________________________ 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".