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 F16694037C for ; Sun, 23 Jan 2022 00:09:46 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 1409F68AFC0; Sun, 23 Jan 2022 02:09:44 +0200 (EET) Received: from mail-pj1-f46.google.com (mail-pj1-f46.google.com [209.85.216.46]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 9DFCE68ADE6 for ; Sun, 23 Jan 2022 02:09:37 +0200 (EET) Received: by mail-pj1-f46.google.com with SMTP id b1-20020a17090a990100b001b14bd47532so12719861pjp.0 for ; Sat, 22 Jan 2022 16:09:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=JD3oMotzMgXB+tgWnNlp2DZ4Ai35zY6sTWdjBU8qb38=; b=YOJWhsiQmDqY9HS0JlMv2v8yjXgn8Zg8Bdy90pxz9LyzuI9ZHMEyIghlJBGzW6ZPfM n52mJAKysW53Il6I8oDVO8U5QYDymPfZnKZ1ai5AdUE5V1CcfSEcPTM/jFfYbc1DkyJo lABg+4PYOhI5KAOSqSVTMoRufPSflK24jpeiHSZ1bVsaAEELSrx5xFMQ+Q6vHX1yYYMa pHSfmGpQGOZYJm116qGcUjcPAM/u3Q4AJJy71JoXV3FHU18KqiEY0Rtqbm7pJwjPUAGw O3s5wbom3qBzgIiQ42G2AZZJCC1CqqN/To1Rm12IWkIZSBpvLtOpthG8TIFwkI1PiP2C bBsQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=JD3oMotzMgXB+tgWnNlp2DZ4Ai35zY6sTWdjBU8qb38=; b=bFCKY1pjMMbyClhCKRQXWeMIXNJODo8CqVLIm6ptYfZ2fWFcqAmF/mY1dzy9pRRgsC fMmHn1Qt7cIm3JMdlKrwqxKe1D1u9VfM6zqI7w7PfTXbItVxsQlcnt/5oa2HfPHuRdiU qz/H9xKzF9mTKfIHzOlkoKsbpYaPFYOMMWBhB0EpJxxMBZR/aB9O9AZ+YORL+HiWdxof RsxyJlnTG8Ay4HJZ0tOsipniqIF5Wrh3YhZOoV8BxZ5mikfpdGeTF3fh9g27zJxOxEBl Ng0/GFu0+WA4GNBO6yqcX5HX0+IsegXHTymywXQqn3sp2b+1OpUedACmHs1Nq2OrnDup xD3w== X-Gm-Message-State: AOAM530sGbNT2wLVUCkrps8XmHddSDRSxSglecyVA+f/NjZJMslc2QwP ENKcgjE5KsMfU50RSr7g1WNdSKLk3MtnnRNYS0OCaULBlWw= X-Google-Smtp-Source: ABdhPJx/N/FP3q1MDuAupSTTXodiPY03G2JK1cYl3bikLZTQN+MBu8OeicOYGoFpjRSwzKtgQ1KKmro2Dzj/D98hQCw= X-Received: by 2002:a17:90a:bc84:: with SMTP id x4mr6926163pjr.230.1642896575064; Sat, 22 Jan 2022 16:09:35 -0800 (PST) MIME-Version: 1.0 References: <20200619015248.21873-1-fei.w.wang@intel.com> <3655b2de-b1b4-7bd6-6b5d-40fd7e1022a3@jkqxz.net> <3c400dee9fc251dd1c35864952ead7c91d90bee5.camel@intel.com> In-Reply-To: From: Carl Eugen Hoyos Date: Sun, 23 Jan 2022 01:06:05 +0100 Message-ID: To: FFmpeg development discussions and patches Subject: Re: [FFmpeg-devel] [PATCH v1 1/9] lavu/pix_fmt: add P012 pixel format 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: Am Fr., 21. Jan. 2022 um 06:56 Uhr schrieb Xiang, Haihao : > > > -----Original Message----- > > From: ffmpeg-devel On Behalf Of Xiang, > > Haihao > > Sent: Tuesday, June 30, 2020 15:34 > > To: ffmpeg-devel@ffmpeg.org > > Subject: Re: [FFmpeg-devel] [PATCH v1 1/9] lavu/pix_fmt: add P012 pixel > > format > > > > > Am So., 28. Juni 2020 um 23:01 Uhr schrieb Mark Thompson : > > > > > > > FFmpeg has always used pixfmt as defining both the memory layout > > > > and which bits are used in that (so, for example, ARGB and 0RGB > > > > are not the same thing) > > > > > > But they have the same bitdepth per component... > > > Agree with Mark. P012 and P016 have different significant bits, we should use > > different pixfmts, otherwise an extra field in AVFrame is needed for bit depth. > > > > BTW there are the YUV420P variants for 10 / 12 / 14 / 16 bit in FFmpeg, it > > would be better to follow FFmpeg's style to introduce P012 format instead > > of reusing P016. I was under the impression that YUV420P12 is much more different from YUV420P16 than P012 from P016: Did I misunderstand? (Reading the thread again, I don't think I did) > Sorry for picking up this old thread. > > We'd like to add the support for 12bit decoding / encoding in VAAPI and QSV. > Is there any other concern if adding P012 in FFmpeg ? Did you already explain why you cannot use P016 or in which situation it would create a different output? Carl Eugen _______________________________________________ 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".