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 30C4140605 for ; Wed, 26 Jan 2022 22:30:48 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 5AF8068AF8A; Thu, 27 Jan 2022 00:30:46 +0200 (EET) Received: from mail-pf1-f181.google.com (mail-pf1-f181.google.com [209.85.210.181]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 0A28268AE64 for ; Thu, 27 Jan 2022 00:30:40 +0200 (EET) Received: by mail-pf1-f181.google.com with SMTP id 192so958498pfz.3 for ; Wed, 26 Jan 2022 14:30:39 -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=YurVnqOUyjnL0OyDWSuTqOawZhJWuE5Plsj8IHzEEy4=; b=SWGPVSkHiEFMXnK2dBsyYgs19BSgP7iTWNgPFLP1AjJLYKIfWJsZ4qMomecjsepuvT ZV2Q2JAUFmc/PXiAp5JmGvq7kWOJq1QOz6QonW4bWwELciPG6Ra/j/YssGShqRVFtG0p JKpH/WpF15zoR0Q+LWck4JfvlJRH6cYOcZU0DmrHuXS6AIP1gvLOyGBdpOMui997KU4Y HLDdyImdeonj6Gh93EMXK2vAMd53hFpPF7zLU3vDQj1EIlgfpsRvxvP37G7J4JNxVnPG Z19wU39HX7og6tYgQluYlxgt/gtwJkkpcrrC1z7Nl3O0ofSNKNmh4H+aGRxPF9TN18Kp m+Fw== 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=YurVnqOUyjnL0OyDWSuTqOawZhJWuE5Plsj8IHzEEy4=; b=SnljwpaDteStVqOrl+tTrmBYiOaVImbqc/zj948wNlJtO9vDACSYBQkrYESsTWgphA JP33bsIWcB/2pxYLZwUEruvEm4uVec1CfcY2W7b906iTbG8e1yAlFy2LNgY68fZ8lfwt 9N3Y8xbrgeWYePo9kVK21eeZBuUK1mN2N1Rf1J/WSeDxNKM6PwgXAQSH/NVqlxSRdNJr 2SIEg6U6Bcjz6RRLARBdG/wnL9EF/B4ACuDYpP2LoG92kumGKk0aEACMNzCFyFnNSFXw LIWYEC2dm7Ev5EpD1tc0TpNpPd/eEF98Z7TRWun3jm/BshYeoXZ5zRLLfAxLi+wr3JCY WgGw== X-Gm-Message-State: AOAM5334cjdthAnt/x3zmdS/cMxFH2+zwZrNAfRZudyctBseLK+KSgCm 8bvmW6HzWKFxhcNzaELMv7HNrDdCO6vmVervmIqCcFLfex4= X-Google-Smtp-Source: ABdhPJy20mR/nnrsOA0hb8rwJ7X31kKG4A0nYjW0dK7yI0gpehf22As4Fg9IStHBV3dXGgLD8tw4w3IC6rd+iKQG/dI= X-Received: by 2002:a63:4345:: with SMTP id q66mr731484pga.358.1643236237693; Wed, 26 Jan 2022 14:30:37 -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> <32f6de089d7c6c536396970b68089d74dc2d7204.camel@intel.com> In-Reply-To: <32f6de089d7c6c536396970b68089d74dc2d7204.camel@intel.com> From: Carl Eugen Hoyos Date: Wed, 26 Jan 2022 23:30:26 +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 Mi., 26. Jan. 2022 um 09:33 Uhr schrieb Xiang, Haihao : > > Did you already explain why you cannot use P016 or in which situation > > it would create a different output? > > $ ffmpeg -hwaccel vaapi -f rawvideo -pix_fmt p016 -s 1920x1080 -i input.yuv > -vf "hwupload,format=vaapi" -c:v hevc_vaapi -f null - > > If using P016, how will we know the input is 12bit indeed Thank you for explaining this, at least I didn't realize this reason earlier! I hope we can find another solution than to add an additional pix_fmt. I believe I had suggested an additional property bit_depth for raw video a long time ago. 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".