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
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
> > > > :
> > > >
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] [PAT
> -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 2
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 form
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...
Carl Eugen
__
On 19/06/2020 08:21, Hendrik Leppkes wrote:
On Fri, Jun 19, 2020 at 3:53 AM Fei Wang wrote:
P012 is 12bit planner format which is similar to NV12. It using two
bytes to store 12bit valid data and 4bit zero in LSB. This format
will be used for hardware decode/encode in VAAPI and QSV.
P012 is
> -Original Message-
> From: ffmpeg-devel On Behalf Of Carl
> Eugen Hoyos
> Sent: Saturday, June 20, 2020 12:59 AM
> To: FFmpeg development discussions and patches
> Subject: Re: [FFmpeg-devel] [PATCH v1 1/9] lavu/pix_fmt: add P012 pixel
> format
>
> Am Fr.,
Am Fr., 19. Juni 2020 um 10:27 Uhr schrieb Wang, Fei W :
>
>
>
> > -Original Message-
> > From: ffmpeg-devel On Behalf Of
> > Hendrik Leppkes
> > Sent: Friday, June 19, 2020 3:21 PM
> > To: FFmpeg development discussions and patches
> > Su
> -Original Message-
> From: ffmpeg-devel On Behalf Of
> Hendrik Leppkes
> Sent: Friday, June 19, 2020 3:21 PM
> To: FFmpeg development discussions and patches
> Subject: Re: [FFmpeg-devel] [PATCH v1 1/9] lavu/pix_fmt: add P012 pixel
> format
>
> On Fri,
On Fri, Jun 19, 2020 at 3:53 AM Fei Wang wrote:
>
> P012 is 12bit planner format which is similar to NV12. It using two
> bytes to store 12bit valid data and 4bit zero in LSB. This format
> will be used for hardware decode/encode in VAAPI and QSV.
>
P012 is not required, you can just use P016. Al
P012 is 12bit planner format which is similar to NV12. It using two
bytes to store 12bit valid data and 4bit zero in LSB. This format
will be used for hardware decode/encode in VAAPI and QSV.
Signed-off-by: Fei Wang
---
libavutil/pixdesc.c | 24
libavutil/pi
12 matches
Mail list logo