Re: [FFmpeg-devel] [PATCH] lavc/vaapi_encode_av1: Always use slot 0 with 1 l0 ref

2025-03-03 Thread Wang, Fei W
On Mon, 2025-03-03 at 14:47 +0100, David Rosca wrote: > On Wed, Jan 15, 2025 at 10:41 PM David Rosca > wrote: > > > > Don't need to alternate when only one reference is used. > > Fixes fail after bf9f921ef7 ("avcodec/hw_base_encode: restrict size > > of next_prev") > > due to AV1 writer complaini

Re: [FFmpeg-devel] [PATCH 2/3] lavc/vvcdec: remove unneeded VVCContext->pix_fmt

2025-01-26 Thread Wang, Fei W
On Sun, 2025-01-26 at 11:10 +0800, Nuo Mi wrote: > AVCodecContext->sw_pix_fmt is used to hold the software pixel format. > > Co-authored-by: Frank Plowman > --- >  libavcodec/vvc/dec.c | 17 ++--- >  libavcodec/vvc/dec.h |  2 -- >  2 files changed, 6 insertions(+), 13 deletions(-) > >

Re: [FFmpeg-devel] [PATCH v2] lavc/vvc: Set both s->pix_fmt & c->pix_fmt in set_output_format

2025-01-14 Thread Wang, Fei W
On Mon, 2025-01-13 at 13:10 +, Frank Plowman wrote: > The logic in export_frame_params relies on the assumption that > s->pix_fmt and c->pix_fmt always correspond to one another (although > they are not necessarily equal to one another in the case of > hardware-accelerated decoders).  Consequen

Re: [FFmpeg-devel] [PATCH] lavc/vvc: Fix pix_fmt change detection

2025-01-12 Thread Wang, Fei W
nge. > > -    if (s->pix_fmt != sps->pix_fmt || c->coded_width != pps->width > > || c->coded_height != pps->height) { > > +    if (c->pix_fmt != sps->pix_fmt || c->coded_width != pps->width > > || c->coded_height != pps->height) { > >

Re: [FFmpeg-devel] [PATCH] lavfi/qsvvpp: Copy frame props before modify it

2024-11-24 Thread Wang, Fei W
On Mon, 2024-11-25 at 02:31 +, Xiang, Haihao wrote: > On Vr, 2024-11-22 at 13:18 +0800, > fei.w.wang-at-intel@ffmpeg.org wrote: > > From: Fei Wang > > > > The changes to output frame props in query_frame overlapped since > > b14ed6ea58. Move the copy frame props before the changes. > > I

Re: [FFmpeg-devel] qsvenc.c & AV_CODEC_FLAG_INTERLACED_DCT

2024-11-21 Thread Wang, Fei W
On Thu, 2024-11-21 at 11:50 +0300, Andrew Randrianasulu wrote: > Hello. > > > Recently I teached cinelerra-gg to use qsv encoders in ffmpeg > (libavcodec) > and some test were working but some not. > > We nailed it down to top-field first  material, like HDV files. bff > files > like consumer ve

Re: [FFmpeg-devel] [PATCH v2] libavutil/hwcontext_{d3d11va, dxva2}: Support Y212/XV36 pixel format

2024-11-04 Thread Wang, Fei W
On Mon, 2024-11-04 at 10:15 -0300, James Almer wrote: > On 11/4/2024 12:53 AM, fei.w.wang-at-intel@ffmpeg.org wrote: > > From: Fei Wang > > > > Use DXGI/D3DFMT 16bit pixel format to compatible with 12bit > > Y212/XV36 > > since there is no 12bit pixel defined in D3D11/D3D9. > > > > Fix cmdli

Re: [FFmpeg-devel] [PATCH] libavutil/hwcontext_d3d11va: Support Y212/XV36 pixel format

2024-11-03 Thread Wang, Fei W
On Thu, 2024-10-31 at 11:33 -0300, James Almer wrote: > > On 10/31/2024 9:45 AM, fei.w.wang-at-intel@ffmpeg.org wrote: > > > > From: Fei Wang > > > > > > > > Use DXGI 16bit pixel format to compatible with 12bit Y212/XV36 > > > > > > since > > > > there is no 12bit pixel defined in D3D11. > >

Re: [FFmpeg-devel] [PATCH v3 7/8] lavc/vvc_dec: Add hardware decode API

2024-10-28 Thread Wang, Fei W
On Mon, 2024-10-28 at 01:18 +, Xiang, Haihao wrote: > On Wo, 2024-09-25 at 10:15 +0800, > fei.w.wang-at-intel@ffmpeg.org wrote: > > From: Fei Wang > > > > Signed-off-by: Fei Wang > > --- > >  libavcodec/vvc/dec.c  | 90 --- > > > >  libavcodec/vvc/

Re: [FFmpeg-devel] [PATCH v5 1/2] configure, lavu, lavc, lavfi: Remove libva 1.x support

2024-10-08 Thread Wang, Fei W
On Wed, 2024-06-12 at 02:55 +, Xiang, Haihao wrote: > On Wo, 2024-06-05 at 21:13 +0100, Mark Thompson wrote: > > libva 2.0 was released in 2017 and the 2.x versions are included in > > all > > supported distributions nowadays.  Various features no longer need > > any > > configure check after t

Re: [FFmpeg-devel] [PATCH v2 7/8] lavc/vvc_dec: Add hardware decode API

2024-09-23 Thread Wang, Fei W
On Mon, 2024-09-23 at 06:37 +0200, Anton Khirnov wrote: > Quoting fei.w.wang-at-intel@ffmpeg.org (2024-09-18 09:10:30) > >  static void export_frame_params(VVCContext *s, const > > VVCFrameContext *fc) > >  { > > AVCodecContext *c = s->avctx; > > const VVCSPS *sps = fc->ps.sps; > >   

Re: [FFmpeg-devel] [PATCH 1/5] libavcodec/qsvenc: enable Alpha Encode for HEVC

2024-09-23 Thread Wang, Fei W
On Mon, 2024-09-23 at 09:21 +0200, Anton Khirnov wrote: > Why should this be an option, as opposed to always being on when > available? hevc_qsv also support encode RGBA by using regular Main 444 profile which will discard Alpha channel. So it's better to use an option to distinguish them. Thanks

Re: [FFmpeg-devel] [PATCH] avcodec/vaapi_encode_h265: fix missing slice_block_cols assignment

2024-09-19 Thread Wang, Fei W
On Thu, 2024-09-19 at 20:01 +0200, Marvin Scholz wrote: > Instead of assigning to unit_opts.slice_block_cols, the > slice_block_cols > value from the context was incorrectly assigned to slice_block_rows. > > Regression from 12f158ca8f2ecc172f27569af88426d0e39ce995 > > Fixes CID1619479 Unused valu

Re: [FFmpeg-devel] [PATCH 3/3] scale_qsv frame crop support

2024-09-12 Thread Wang, Fei W
On Tue, 2024-09-10 at 11:10 -0700, Koushik Dutta wrote: > The crop filter has no effect on scale_qsv: > > -vf crop=100:100,scale_qsv=300x300 > How about to use vpp_qsv filter directly? It support both scale and crop via its options which is much more easy to use. Thanks Fei > Hardware frames (

Re: [FFmpeg-devel] [PATCH] cbs_av1: Copy loop filter and segment parameters of repeat frame from its mapped frame

2024-09-02 Thread Wang, Fei W
On Tue, 2024-09-03 at 01:20 +, Dai, Jianhui J wrote: > > > > -Original Message- > > From: ffmpeg-devel On Behalf Of > > fei.w.wang-at-intel@ffmpeg.org > > Sent: Wednesday, August 28, 2024 8:02 PM > > To: ffmpeg-devel@ffmpeg.org > > C

Re: [FFmpeg-devel] [PATCH] lavc/qsvdec: Add vvc_mp4toannexb bsf for QSV VVC decoder

2024-08-14 Thread Wang, Fei W
On Wed, 2024-08-14 at 06:41 +, Xiang, Haihao wrote: > On Di, 2024-08-13 at 16:01 +0800, > fei.w.wang-at-intel@ffmpeg.org wrote: > > From: Fei Wang > > > > Fix error: > > $ ffmpeg -hwaccel qsv -i input.mp4 -f null - > > .. > > [vvc_qsv @ 026890D966C0] Error decoding stream header: unkn

Re: [FFmpeg-devel] [PATCH v3 2/2] lavc/hevcdec: Update slice index before hwaccel decode slice

2024-07-09 Thread Wang, Fei W
> -Original Message- > From: Anton Khirnov > Sent: Tuesday, June 25, 2024 3:45 PM > To: FFmpeg development discussions and patches > Cc: Wang, Fei W > Subject: Re: [FFmpeg-devel] [PATCH v3 2/2] lavc/hevcdec: Update slice index > before hwaccel decode slice >

Re: [FFmpeg-devel] [PATCH v3 3/3] lavc/vaapi_hevc: Don't require exact profiles

2024-07-09 Thread Wang, Fei W
On Wed, 2024-06-05 at 20:59 +0100, Mark Thompson wrote: > Rather than turning the constraint flags into a single profile and > then > searching for that profile (and failing if it doesn't match any > profile > exactly), instead search all supported profiles and use the first one > which supports th

Re: [FFmpeg-devel] [PATCH] MAINTAINERS: add myself to the general developers list

2024-07-07 Thread Wang, Fei W
> -Original Message- > From: Wang, Fei W > Sent: Sunday, June 30, 2024 2:18 PM > To: ffmpeg-devel@ffmpeg.org > Cc: Wang, Fei W > Subject: [FFmpeg-devel][PATCH] MAINTAINERS: add myself to the general > developers list > > From: Fei Wang > > Signed-off-

Re: [FFmpeg-devel] [PATCH v2 2/2] lavc/hevcdec: Update slice index before use it to construct slice RPL

2024-06-23 Thread Wang, Fei W
On Fri, 2024-06-21 at 10:48 +0200, Anton Khirnov wrote: > Quoting fei.w.wang-at-intel@ffmpeg.org (2024-06-19 04:27:22) > > From: Fei Wang > > > > Fixes regression from 47d34ba7fbb81 > > "fix bug" is not a meaningful description of the problem Added more explanation in V3. Thanks. Fei >

Re: [FFmpeg-devel] [PATCH v2 1/2] lavc/hevcdec: Put slice address checking after hwaccel decode slice

2024-06-20 Thread Wang, Fei W
On Wed, 2024-06-19 at 10:27 +0800, fei.w.w...@intel.com wrote: > From: Fei Wang > > Slice address tab only been updated in software decode slice data. > > Fixes hwaccel decoding after > d725c737fe2a19091b481d4d115fd939e0a674b2. > > Signed-off-by: Fei Wang > --- >  libavcodec/hevc/hevcdec.c | 1

Re: [FFmpeg-devel] [PATCH v1] lavc/hevcdec: Put slice address checking after hwaccel decode slice

2024-06-18 Thread Wang, Fei W
On Mon, 2024-06-17 at 10:05 +0200, Anton Khirnov wrote: > Quoting fei.w.wang-at-intel@ffmpeg.org (2024-06-14 10:18:19) > > From: Fei Wang > > > > Slice address tab only been updated in software decode slice data. > > > > Fixes hwaccel decoding after > > d725c737fe2a19091b481d4d115fd939e0a674

Re: [FFmpeg-devel] [PATCH v1] lavc/qsvdec: Add VVC decoder

2024-06-12 Thread Wang, Fei W
On Wed, 2024-06-12 at 20:12 +0800, Nuo Mi wrote: > Hi Fei, > Thank you for the patch. > Which hardware supports this? Could you provide the link? Lunar Lake will. Libvpl will update the supported HW in its code repo later https://github.com/intel/libvpl. Here is a video on overview of Lunar Lake:

Re: [FFmpeg-devel] [PATCH 37/39] lavc/hevcdec: move some frame-end code to hevc_frame_end()

2024-06-12 Thread Wang, Fei W
On Fri, 2024-06-07 at 15:01 +0200, Anton Khirnov wrote: > Specifically, calling hwaccel end_frame, verifying frame checksum, > and printing the frame-was-decoded message. > --- > libavcodec/hevc/hevcdec.c | 187 +++- > -- > libavcodec/hevc/hevcdec.h | 1 - > 2 fil

Re: [FFmpeg-devel] [PATCH v1] lavc/qsvdec: Add VVC decoder

2024-06-12 Thread Wang, Fei W
On Wed, 2024-06-12 at 14:59 +0800, fei.w.w...@intel.com wrote: > From: Fei Wang Sorry for duplicate version. Please ignore this one. Thanks > > Signed-off-by: Fei Wang > --- > Changelog | 1 + > configure | 1 + > doc/decoders.texi | 2 +- > libavcodec/allcodec

Re: [FFmpeg-devel] [PATCH v3 1/2] lavc/vaapi_encode_h265: Map HEVC AV REXT profile to VA REXT profile

2024-04-18 Thread Wang, Fei W
On Tue, 2024-04-16 at 04:57 +, Wang, Fei W wrote: > On Mon, 2024-04-15 at 23:07 +0100, Mark Thompson wrote: > > On 15/04/2024 02:21, Xiang, Haihao wrote: > > > On Ma, 2024-03-18 at 12:21 +0800, > > > fei.w.wang-at-intel@ffmpeg.org wrote: > > > > Fr

Re: [FFmpeg-devel] [PATCH v3 1/2] lavc/vaapi_encode_h265: Map HEVC AV REXT profile to VA REXT profile

2024-04-15 Thread Wang, Fei W
On Mon, 2024-04-15 at 23:07 +0100, Mark Thompson wrote: > On 15/04/2024 02:21, Xiang, Haihao wrote: > > On Ma, 2024-03-18 at 12:21 +0800, > > fei.w.wang-at-intel@ffmpeg.org wrote: > > > From: Fei Wang > > > > > > There is no Main8/10 profile defined in HEVC REXT profiles. Use > > > Main12 >

Re: [FFmpeg-devel] [PATCH v1 7/7] lavc/vaapi_dec: Add VVC decoder

2024-04-02 Thread Wang, Fei W
On Tue, 2024-04-02 at 20:48 +0800, Nuo Mi wrote: > > > On Thu, Mar 28, 2024 at 9:27 AM > wrote: > > From: Fei Wang > > > > Signed-off-by: Fei Wang > > --- > > Changelog | 4 + > > configure | 3 + > > libavcodec/Makefile | 1 + > > libavcodec/hwacc

Re: [FFmpeg-devel] [PATCH v1 6/7] lavc/vvc_dec: Add hardware decode API

2024-04-01 Thread Wang, Fei W
On Thu, 2024-03-28 at 03:04 +0100, Andreas Rheinhardt wrote: > fei.w.wang-at-intel@ffmpeg.org: > > From: Fei Wang > > > > Signed-off-by: Fei Wang > > --- > > libavcodec/vvc/vvc_refs.c | 6 > > libavcodec/vvc/vvcdec.c | 67 > > +++ > > libavcodec/v

Re: [FFmpeg-devel] [PATCH v1 1/7] lavc/vaapi_dec: Create VA parameters dynamically

2024-04-01 Thread Wang, Fei W
On Mon, 2024-04-01 at 20:52 +0100, Mark Thompson wrote: > On 28/03/2024 01:26, fei.w.wang-at-intel@ffmpeg.org wrote: > > From: Fei Wang > > > > Signed-off-by: Fei Wang > > --- > > libavcodec/vaapi_decode.c | 29 ++--- > > libavcodec/vaapi_decode.h | 7 ++- > >

Re: [FFmpeg-devel] [PATCH v3 2/2] lavc/vaapi_encode_h265: Set general_*_constriaint flags with profile

2024-04-01 Thread Wang, Fei W
On Mon, 2024-04-01 at 21:02 +0100, Mark Thompson wrote: > On 20/03/2024 08:44, Wang, Fei W wrote: > > On Mon, 2024-03-18 at 21:22 +, Mark Thompson wrote: > > > On 18/03/2024 04:21, fei.w.wang-at-intel@ffmpeg.org wrote: > > > > From: Fei Wang > > > &g

Re: [FFmpeg-devel] [PATCH v3 2/2] lavc/vaapi_encode_h265: Set general_*_constriaint flags with profile

2024-03-31 Thread Wang, Fei W
On Wed, 2024-03-20 at 16:44 +0800, Fei Wang wrote: > On Mon, 2024-03-18 at 21:22 +, Mark Thompson wrote: > > On 18/03/2024 04:21, fei.w.wang-at-intel@ffmpeg.org wrote: > > > From: Fei Wang > > > > > > According to Table A.2 in spec. > > > > > > Signed-off-by: Fei Wang > > > --- > > >

Re: [FFmpeg-devel] [PATCH v3 2/2] lavc/vaapi_encode_h265: Set general_*_constriaint flags with profile

2024-03-20 Thread Wang, Fei W
On Mon, 2024-03-18 at 21:22 +, Mark Thompson wrote: > On 18/03/2024 04:21, fei.w.wang-at-intel@ffmpeg.org wrote: > > From: Fei Wang > > > > According to Table A.2 in spec. > > > > Signed-off-by: Fei Wang > > --- > > libavcodec/vaapi_encode_h265.c | 176 +++- > >

Re: [FFmpeg-devel] [PATCH v3 1/2] lavc/vaapi_encode_h265: Map HEVC AV REXT profile to VA REXT profile

2024-03-20 Thread Wang, Fei W
On Mon, 2024-03-18 at 21:11 +, Mark Thompson wrote: > On 18/03/2024 04:21, fei.w.wang-at-intel@ffmpeg.org wrote: > > From: Fei Wang > > > > There is no Main8/10 profile defined in HEVC REXT profiles. Use > > Main12 > > which is compatible with 8/10bit. > > > > Signed-off-by: Fei Wang >

Re: [FFmpeg-devel] [PATCH v2 2/2] lavc/vaapi_encode_h265: Set general_*_constriaint flags with profile

2024-03-17 Thread Wang, Fei W
On Fri, 2024-03-15 at 02:22 +, Xiang, Haihao wrote: > On Vr, 2024-03-08 at 16:47 +0800, fei.w.wang-at-intel@ffmpeg.org > wrote: > > From: Fei Wang > > > > According to Table A.2 in spec. > > > > Signed-off-by: Fei Wang > > --- > > libavcodec/vaapi_encode_h265.c | 181 ++

Re: [FFmpeg-devel] [PATCH] lavc/vvc: AVERROR_PATCHWELCOME for subpictures

2024-03-11 Thread Wang, Fei W
On Mon, 2024-03-11 at 21:57 -0300, James Almer wrote: > On 3/11/2024 9:49 PM, Michael Niedermayer wrote: > > On Mon, Mar 11, 2024 at 06:53:31PM +, Frank Plowman wrote: > > > VVC's subpictures feature is not yet implemented in the native > > > decoder. > > > Throw an AVERROR_PATCHWELCOME when tr

Re: [FFmpeg-devel] [PATCH v1 2/2] lavc/vvc_ps: Correct NoOutputBeforeRecoveryFlag of IDR

2024-03-10 Thread Wang, Fei W
On Sat, 2024-03-09 at 19:59 +0800, Nuo Mi wrote: Hi Fei, Thank you fei, Better provide more comments Added in V2. Is there any clip fail for this? No, just notice the defect when I check why recovering frames been outputted in GDR_D_ERICSSON_1.bit. Thanks Fei On Fri, Mar 8, 2024 at 8:55 AM

Re: [FFmpeg-devel] [PATCH v1 1/2] lavc/vvcdec: Add missed chroma sampling factor for crop offset

2024-03-10 Thread Wang, Fei W
On Sat, 2024-03-09 at 19:57 +0800, Nuo Mi wrote: Thank you, Fei, Do you happen to know why the following clips are still failing? CROP_A_Panasonic_4.bit Ffmepg decode doesn't apply crop strictly. It will adjust crop for alignment, see av_frame_apply_cropping(). Thanks Fei CROP_B_Panasonic_4.b

Re: [FFmpeg-devel] [PATCH v2] lavc/vaapi_encode: Enable Macroblock based bitrate control

2024-02-25 Thread Wang, Fei W
On Sun, 2024-02-25 at 19:15 +, Mark Thompson wrote: > On 23/02/2024 07:14, fei.w.wang-at-intel@ffmpeg.org wrote: > > From: Fei Wang > > > > Signed-off-by: Fei Wang > > --- > > update: > > Print mbbrc status with "ON/OFF" instead of "0/1". > > > > doc/encoders.texi | 3 +++ > >

Re: [FFmpeg-devel] [PATCH v1] lavc/vaapi_encode: Enable Macroblock based bitrate control

2024-02-22 Thread Wang, Fei W
On Fri, 2024-02-23 at 05:11 +, Xiang, Haihao wrote: > On Wo, 2024-02-07 at 08:40 +0800, fei.w.wang-at-intel@ffmpeg.org > wrote: > > From: Fei Wang > > > > Signed-off-by: Fei Wang > > --- > > doc/encoders.texi | 3 +++ > > libavcodec/vaapi_encode.c | 11 ++- > > libavcod

Re: [FFmpeg-devel] [PATCH v1 1/2] avcodec/av1dec: Move message of OBU info back to the beginning

2023-12-27 Thread Wang, Fei W
On Wed, 2023-12-27 at 05:35 +, Xiang, Haihao wrote: > On Di, 2023-12-26 at 11:31 +0800, fei.w.wang-at-intel@ffmpeg.org > wrote: > > From: Fei Wang > > > > So that can show OBU info even it doesn't have decomposed content. > > > > Signed-off-by: Fei Wang > > --- > > libavcodec/av1dec.c

Re: [FFmpeg-devel] [PATCH v1] avcodec/av1dec: Add tile list OBU to decompose list

2023-12-25 Thread Wang, Fei W
On Fri, 2023-12-22 at 08:41 +0100, Andreas Rheinhardt wrote: > Wang, Fei W: > > On Thu, 2023-12-21 at 20:14 +0100, Andreas Rheinhardt wrote: > > > Wang, Fei W: > > > > On Wed, 2023-12-20 at 17:11 +0100, Andreas Rheinhardt wrote: > > > > > fei.w.wang-a

Re: [FFmpeg-devel] [PATCH v1] avcodec/av1dec: Add tile list OBU to decompose list

2023-12-21 Thread Wang, Fei W
On Thu, 2023-12-21 at 20:14 +0100, Andreas Rheinhardt wrote: > Wang, Fei W: > > On Wed, 2023-12-20 at 17:11 +0100, Andreas Rheinhardt wrote: > > > fei.w.wang-at-intel@ffmpeg.org: > > > > From: Fei Wang > > > > > > > > Show th

Re: [FFmpeg-devel] [PATCH v1] avcodec/av1dec: Add tile list OBU to decompose list

2023-12-20 Thread Wang, Fei W
On Wed, 2023-12-20 at 17:11 +0100, Andreas Rheinhardt wrote: > fei.w.wang-at-intel@ffmpeg.org: > > From: Fei Wang > > > > Show the unsupported message and return unsupported for clips > > contain > > tile list OBU since it hasn't been implemented. Otherwise, decoding > > maybe successful but

Re: [FFmpeg-devel] [PATCH v1] lavc/vaapi_encode_av1: Add qp option explicitly to set base q index

2023-12-18 Thread Wang, Fei W
On Tue, 2023-11-28 at 03:15 +, Xiang, Haihao wrote: > On Ma, 2023-11-27 at 13:36 +, Mark Thompson wrote: > > On 27/11/2023 00:58, fei.w.wang-at-intel@ffmpeg.org wrote: > > > From: Fei Wang > > > > > > Keep same way with librav1e/libsvtav1/qsv_av1.. to make it more > > > acceptable ins

Re: [FFmpeg-devel] [PATCH v2] cbs_av1: Make fake OBU size length field a write option

2023-09-26 Thread Wang, Fei W
On Tue, 2023-09-26 at 21:30 +0100, Mark Thompson wrote: > This is an option to modify the behaviour of the writer, not a syntax > field. > --- > On 26/09/2023 03:34, Wang, Fei W wrote: > > On Mon, 2023-09-25 at 14:53 +0100, Mark Thompson wrote: > > > ... &g

Re: [FFmpeg-devel] [PATCH] cbs_av1: Make fake OBU size length field a write option

2023-09-25 Thread Wang, Fei W
On Mon, 2023-09-25 at 14:53 +0100, Mark Thompson wrote: > This is an option to modify the behaviour of the writer, not a syntax > field. > --- > Tested by hacking av1_metadata. For example, adding: > > av_opt_set_int(ctx->common.output->priv_data, > "fixed_obu_size_length", 7, 0); > > gets you O

Re: [FFmpeg-devel] [PATCH v4 7/8] lavc/vaapi_encode: Add VAAPI AV1 encoder

2023-09-04 Thread Wang, Fei W
On Thu, 2023-08-31 at 15:21 +0800, fei.w.w...@intel.com wrote: > From: Fei Wang > > Signed-off-by: Fei Wang > --- > Fixed the discussions in V3. @Mark, any more comment on this version? Thanks > > Changelog | 1 + > configure | 3 + > doc/encoders

Re: [FFmpeg-devel] [PATCH v3 6/6] lavc/vaapi_encode: Add VAAPI AV1 encoder

2023-08-16 Thread Wang, Fei W
On Sun, 2023-08-13 at 22:43 +0100, Mark Thompson wrote: > On 10/08/2023 03:54, Wang, Fei W wrote: > > On Mon, 2023-08-07 at 22:21 +0100, Mark Thompson wrote: > > > On 03/08/2023 07:01, fei.w.wang-at-intel@ffmpeg.org wrote: > > > > From: Fei Wang > >

Re: [FFmpeg-devel] [PATCH v3 6/6] lavc/vaapi_encode: Add VAAPI AV1 encoder

2023-08-09 Thread Wang, Fei W
On Mon, 2023-08-07 at 22:21 +0100, Mark Thompson wrote: > On 03/08/2023 07:01, fei.w.wang-at-intel@ffmpeg.org wrote: > > From: Fei Wang > > > > Signed-off-by: Fei Wang > > --- > > Changelog |1 + > > configure |3 + > > doc/encoders.texi

Re: [FFmpeg-devel] [PATCH v2 6/6] lavc/vaapi_encode: Add VAAPI AV1 encoder

2023-07-31 Thread Wang, Fei W
On Mon, 2023-07-31 at 22:51 +0100, Neal Gompa wrote: > On Mon, Jul 31, 2023 at 9:04 PM Neal Gompa > wrote: > > On Tue, Jul 18, 2023 at 4:13 AM Fei Wang > > wrote: > > > Signed-off-by: Fei Wang > > > --- > > > update > > > 1. set color_range in sequence header. > > > > > > Changelog

Re: [FFmpeg-devel] [PATCH v1 6/6] lavc/vaapi_encode: Add VAAPI AV1 encoder

2023-07-17 Thread Wang, Fei W
On Mon, 2023-07-17 at 13:12 +0200, David Rosca wrote: > On Mon, Jul 10, 2023 at 9:40 AM Fei Wang > wrote: > > Signed-off-by: Fei Wang > > --- > > Changelog |1 + > > configure |3 + > > doc/encoders.texi | 13 + > > libavcodec/Makefil

Re: [FFmpeg-devel] [PATCH v1] fftools/ffmpeg_dec: Don't keep sending frame to filters in flushing

2023-06-26 Thread Wang, Fei W
On Mon, 2023-06-26 at 05:01 +, Xiang, Haihao wrote: > On So, 2023-06-25 at 06:20 +, Xiang, Haihao wrote: > > On Ma, 2023-06-12 at 11:33 +0800, Fei Wang wrote: > > > Filter may has a limited frame pool size. Do not always send > > > frame to > > > filters without reaping. > > > > > > Fix th

Re: [FFmpeg-devel] [PATCH v1 3/3] lavfi/{denoise, procamp, scale, sharpness}_vaapi: Add passthrough mode

2023-06-13 Thread Wang, Fei W
On Tue, 2023-06-13 at 16:17 +, Eoff, Ullysses A wrote: > > -Original Message- > > From: ffmpeg-devel On Behalf Of > > Fei Wang > > Sent: Monday, May 29, 2023 8:30 PM > > To: ffmpeg-devel@ffmpeg.org > > Subject: [FFmpeg-devel] [PATCH v1 3/3] lavfi/{denoise, procamp, > > scale, sharpness

Re: [FFmpeg-devel] [PATCH v1 3/3] lavfi/{denoise, procamp, scale, sharpness}_vaapi: Add passthrough mode

2023-06-13 Thread Wang, Fei W
On Mon, 2023-06-12 at 07:25 +, Xiang, Haihao wrote: > On Di, 2023-05-30 at 08:29 +0800, Fei Wang wrote: > > Signed-off-by: Fei Wang > > --- > > libavfilter/vaapi_vpp.c| 15 --- > > libavfilter/vaapi_vpp.h| 2 ++ > > libavfilter/vf_misc_vaapi.c| 9 + >

Re: [FFmpeg-devel] [PATCH 22/36] fftools/ffmpeg: drop an obsolete hack

2023-05-25 Thread Wang, Fei W
On Wed, 2023-05-17 at 12:20 +0200, Anton Khirnov wrote: > This special handling for decoder flushing has not been needed since > af1761f7b5, as the filtergraph actually is drained after that commit. > --- > fftools/ffmpeg.c | 11 --- > 1 file changed, 11 deletions(-) > > diff --git a/ffto

Re: [FFmpeg-devel] [PATCH v5 01/10] lavc/avcodec: Add HEVC Screen Content Coding Extensions profile

2023-02-15 Thread Wang, Fei W
On Tue, 2023-02-14 at 11:11 +0100, Anton Khirnov wrote: > Quoting Fei Wang (2023-02-06 06:44:49) > > From: Linjie Fu > > > > Described in HEVC spec A.3.7. > > > > Signed-off-by: Linjie Fu > > Signed-off-by: Fei Wang > > --- > > 1. fix compile warning with VAAPI version less than 1.2.0 > > > >

Re: [FFmpeg-devel] [PATCH v3 08/11] lavc/vaapi_hevc: Pass SCC parameters Through VA-API

2023-01-10 Thread Wang, Fei W
> -Original Message- > From: Wang, Fei W > Sent: Tuesday, January 3, 2023 9:00 PM > To: ffmpeg-devel@ffmpeg.org > Cc: Linjie Fu ; Linjie Fu ; > Wang, > Fei W > Subject: [FFmpeg-devel][PATCH v3 08/11] lavc/vaapi_hevc: Pass SCC parameters > Through

Re: [FFmpeg-devel] [PATCH v3 10/11] lavc/vaapi_hevc: Set correct rps type for scc

2023-01-10 Thread Wang, Fei W
> -Original Message- > From: Wang, Fei W > Sent: Tuesday, January 3, 2023 9:00 PM > To: ffmpeg-devel@ffmpeg.org > Cc: Linjie Fu ; Linjie Fu ; > Wang, > Fei W > Subject: [FFmpeg-devel][PATCH v3 10/11] lavc/vaapi_hevc: Set correct rps type > for scc > > F

Re: [FFmpeg-devel] [PATCH v2 09/13] lavc/vaapi_hevc: Add vaapi profile parse support for SCC

2023-01-03 Thread Wang, Fei W
On Tue, 2023-01-03 at 07:08 +, Xiang, Haihao wrote: > On Ma, 2022-12-05 at 14:09 +0800, Fei Wang wrote: > > From: Linjie Fu > > > > Note that Screen-Extended Main 4:4:4 and 4:4:4 10 supports > > chroma_format_idc from 0, 1 or 3, hence both 420 and 444 are > > supported. > > > > Signed-off-by

Re: [FFmpeg-devel] [PATCH v2 13/13] lavc/vaapi_hevc: Remove duplicate code

2022-12-21 Thread Wang, Fei W
On Mon, 2022-12-05 at 14:09 +0800, Fei Wang wrote: > Signed-off-by: Fei Wang > --- > libavcodec/vaapi_hevc.c | 6 -- > 1 file changed, 6 deletions(-) > > diff --git a/libavcodec/vaapi_hevc.c b/libavcodec/vaapi_hevc.c > index ca14052d56..b3ff2f7344 100644 > --- a/libavcodec/vaapi_hevc.c > +++

Re: [FFmpeg-devel] [PATCH v2 01/13] lavc/hevc_ps: remove profile limitation of pps_range_extensions()

2022-12-13 Thread Wang, Fei W
On Mon, 2022-12-05 at 14:09 +0800, Fei Wang wrote: > Follow spec 7.3.2.3.1. > > Signed-off-by: Fei Wang > --- > update: > 1. fix uninitialized variable which may cause segment fault. Ping for review this patchset. Confirmed with Qemu locally for Loongarch64 with: https://github.com/sunhaiyong19

Re: [FFmpeg-devel] [PATCH v5 2/2] lavc/vaapi_decode: add support for HWACCEL_CAP_RESET_WITHOUT_UNINIT

2022-12-06 Thread Wang, Fei W
On Thu, 2022-12-01 at 09:55 +0800, Fei Wang wrote: > On Mon, 2022-11-28 at 13:20 +, Mark Thompson wrote: > > On 14/11/2022 01:16, Fei Wang wrote: > > > This can fix vp9 decode image corruption when the frame size is > > > change, > > > but the pervious frames still be referenced. > > > > > > S

Re: [FFmpeg-devel] [PATCH v1 03/13] lavc/hevc_ps: Add SPS/PPS parse support for HEVC extension syntax

2022-12-04 Thread Wang, Fei W
On Thu, 2022-12-01 at 22:52 -0300, James Almer wrote: > On 12/1/2022 5:13 AM, Fei Wang wrote: > > +static void colour_mapping_octants(GetBitContext *gb, HEVCPPS > > *pps, int inp_depth, > > + int idx_y, int idx_cb, int > > idx_cr, int inp_length) > > +{ > > +ui

Re: [FFmpeg-devel] [PATCH v1 03/13] lavc/hevc_ps: Add SPS/PPS parse support for HEVC extension syntax

2022-12-01 Thread Wang, Fei W
On Fri, 2022-12-02 at 01:21 +0100, Michael Niedermayer wrote: > On Thu, Dec 01, 2022 at 04:13:58PM +0800, Fei Wang wrote: > > From: Linjie Fu > > > > 1. Add extension syntax according to 7.3.2.2.3/7.3.2.3.3 in T-REC- > > H.265-201911. > > 2. Keep using parsed PPS when bitstream overread for compa

Re: [FFmpeg-devel] [PATCH v5 2/2] lavc/vaapi_decode: add support for HWACCEL_CAP_RESET_WITHOUT_UNINIT

2022-11-30 Thread Wang, Fei W
On Mon, 2022-11-28 at 13:20 +, Mark Thompson wrote: > On 14/11/2022 01:16, Fei Wang wrote: > > This can fix vp9 decode image corruption when the frame size is > > change, > > but the pervious frames still be referenced. > > > > Surfaces don't need to be bound to vaContext only after VAAPI > >

Re: [FFmpeg-devel] [PATCH v5 1/2] lavc: add HWACCEL_CAP_RESET_WITHOUT_UNINIT capacity for hwaccel

2022-11-15 Thread Wang, Fei W
On Mon, 2022-11-14 at 09:16 +0800, Fei Wang wrote: > The capacity can avoid hwaccel being uninited when do the reset. It > provides the method for hwaccel if it still want to use the previous > initialized configuration after reset. And the configuration can be > updated in AVHWAccel.init() if need

Re: [FFmpeg-devel] [PATCH v4 2/2] lavc/vaapi_decode: add support for HWACCEL_CAP_RESET_WITHOUT_UNINIT

2022-11-13 Thread Wang, Fei W
On Fri, 2022-11-11 at 03:45 +, Xiang, Haihao wrote: > On Tue, 2022-11-08 at 19:45 +0800, Fei Wang wrote: > > This can fix vp9 decode image corruption when the frame size is > > change, > > but the pervious frames still be referenced. > > > > Surfaces don't need to be bound to vaContext only af

Re: [FFmpeg-devel] [PATCH v3 2/3] lavc/decode: Add internal surface re-allocate method for hwaccel

2022-11-08 Thread Wang, Fei W
On Mon, 2022-09-19 at 14:08 +0800, Fei Wang wrote: > On Wed, 2022-09-07 at 22:56 +0100, Mark Thompson wrote: > > On 23/08/2022 09:19, Fei Wang wrote: > > > From: Linjie Fu > > > > > > Add HWACCEL_CAP_INTERNAL_ALLOC flag to indicate hwaccels are able > > > to > > > re-allocate surface internally t

Re: [FFmpeg-devel] [PATCH v3] avcodec/av1_vaapi: fixed a decoding corruption issue

2022-11-02 Thread Wang, Fei W
On Wed, 2022-11-02 at 15:35 -0400, Ruijing Dong wrote: > In av1_spec.pdf page 38/669, there is a sentence below: > > if ( frame_type == KEY_FRAME && show_frame ) { >for ( i = 0; i < NUM_REF_FRAMES; i++) { > RefValid[ i ] = 0 > .. >} >.. > } > > This shows that the

Re: [FFmpeg-devel] [PATCH] avcodec/av1_vaapi: fixed a decoding corruption issue

2022-11-01 Thread Wang, Fei W
On Mon, 2022-10-31 at 22:32 -0400, Ruijing Dong wrote: > v2: update commit message Updates shouldn't appear in commit message. You can use "--annotate" of git send-email, then add your updates below "---" after sign-off. Thus the patch can be applied without updates. For example: https://patchwork

Re: [FFmpeg-devel] [PATCH] avcodec/av1: fixed an vaapi decoding corruption issue

2022-10-31 Thread Wang, Fei W
On Mon, 2022-10-31 at 11:46 -0400, Ruijing Dong wrote: The title should be "avcodec/av1_vaapi: ". > [problem] > When decoding an av1 bitstream, it shows image corruption > in the middle of the bitstream around key frames. > > [analysis] > In av1_spec.pdf page 38/669, there is a sentence

Re: [FFmpeg-devel] [PATCH v3 2/3] lavc/decode: Add internal surface re-allocate method for hwaccel

2022-09-18 Thread Wang, Fei W
On Wed, 2022-09-07 at 22:56 +0100, Mark Thompson wrote: > On 23/08/2022 09:19, Fei Wang wrote: > > From: Linjie Fu > > > > Add HWACCEL_CAP_INTERNAL_ALLOC flag to indicate hwaccels are able > > to > > re-allocate surface internally through ff_decode_get_hw_frames_ctx. > > So that hwaccels don't ne

Re: [FFmpeg-devel] [PATCH v3 1/3] lavc/decode: Warp get_hw_config function

2022-08-30 Thread Wang, Fei W
On Tue, 2022-08-23 at 16:19 +0800, Fei Wang wrote: > From: Linjie Fu > > Wrap the procedure of getting the hardware config from a pixel format > into a function. > > Signed-off-by: Linjie Fu > Signed-off-by: Fei Wang > --- > libavcodec/decode.c | 31 +++ > 1 file c

Re: [FFmpeg-devel] [PATCH v1 1/3] lavc/decode: Add get_hw_config function

2022-08-17 Thread Wang, Fei W
On Tue, 2022-08-16 at 13:22 +0200, Anton Khirnov wrote: > The commit message is misleading - you are not adding code, you are > moving code. > > Quoting Fei Wang (2022-08-12 14:55:43) > > From: Linjie Fu > > > > Wrap the procedure of getting the hardware config from a pixel > > format > > into a

Re: [FFmpeg-devel] [PATCH v1 2/2] lavfi/overlay_vaapi: Set defalut alpha value as 1.0

2022-08-04 Thread Wang, Fei W
On Wed, 2022-07-27 at 18:51 +0530, Gyan Doshi wrote: > Typo in title. > > > > On 2022-07-27 06:06 pm, Fei Wang wrote: > > Previous default value 0.0 means 100% transparency for overlaid > > video, > > which make overlaid invisible. Change to 1.0 will let output video > > much > > more clear and

Re: [FFmpeg-devel] [PATCH 1/2] lavc/vaapi_decode: add missing flag when picking best pixel format

2022-08-04 Thread Wang, Fei W
On Thu, 2022-08-04 at 20:59 -0700, Philip Langdale wrote: > vaapi_decode_find_best_format currently does not set the > VA_SURFACE_ATTRIB_SETTABLE flag on the pixel format attribute that it > returns. > > Without this flag, the attribute will be ignored by vaCreateSurfaces, > meaning that the drive

Re: [FFmpeg-devel] [PATCH v2 2/4] lavc/hevcdec: do not let missing ref frames invovled in dpb process

2022-07-14 Thread Wang, Fei W
On Thu, 2022-07-14 at 03:56 +, Xiang, Haihao wrote: > On Tue, 2022-06-14 at 09:23 +0800, Fei Wang wrote: > > From: Xu Guangxin > > > > We will generate a new frame for a missed reference. The frame can > > only > > be used for reference. We assign an invalid decode sequence to it, > > so > >

Re: [FFmpeg-devel] [PATCH v1 2/4] lavc/hevcdec: do not let missing ref frames invovled in dpb process

2022-06-13 Thread Wang, Fei W
invovled in dpb process > > On Thu, Jun 09, 2022 at 05:34:47AM +, Wang, Fei W wrote: > > > -Original Message- > > > From: ffmpeg-devel On Behalf Of > > > Michael Niedermayer > > > Sent: Tuesday, June 7, 2022 8:07 PM > > > To: FFmpeg

Re: [FFmpeg-devel] [PATCH v1] lavc/vaapi_hevc: fill rext luma/chroma offset in the right way

2022-06-10 Thread Wang, Fei W
> -Original Message- > From: Xiang, Haihao > Sent: Friday, June 10, 2022 11:49 AM > To: ffmpeg-devel@ffmpeg.org > Cc: Wang, Fei W ; Xu, Guangxin > ; linjie.justin...@gmail.com > Subject: Re: [FFmpeg-devel] [PATCH v1] lavc/vaapi_hevc: fill rext luma/chroma > offset

Re: [FFmpeg-devel] [PATCH v1 2/4] lavc/hevcdec: do not let missing ref frames invovled in dpb process

2022-06-08 Thread Wang, Fei W
> -Original Message- > From: ffmpeg-devel On Behalf Of > Michael Niedermayer > Sent: Tuesday, June 7, 2022 8:07 PM > To: FFmpeg development discussions and patches > Subject: Re: [FFmpeg-devel] [PATCH v1 2/4] lavc/hevcdec: do not let missing > ref > frames invovled in dpb process > > On

Re: [FFmpeg-devel] [PATCH v7 1/2] lavc/vaapi_encode: add support for maxframesize

2022-05-22 Thread Wang, Fei W
> -Original Message- > From: ffmpeg-devel On Behalf Of Fei > Wang > Sent: Thursday, May 5, 2022 5:07 PM > To: ffmpeg-devel@ffmpeg.org > Cc: Wang, Fei W ; Linjie Fu > Subject: [FFmpeg-devel] [PATCH v7 1/2] lavc/vaapi_encode: add support for > maxframesize >

Re: [FFmpeg-devel] [PATCH v6 1/2] lavc/vaapi_encode: add support for maxframesize

2022-05-05 Thread Wang, Fei W
> -Original Message- > From: ffmpeg-devel On Behalf Of Mark > Thompson > Sent: Saturday, April 30, 2022 10:56 PM > To: ffmpeg-devel@ffmpeg.org > Subject: Re: [FFmpeg-devel] [PATCH v6 1/2] lavc/vaapi_encode: add support for > maxframesize > > On 29/04/2022 08:31, Fei Wang wrote: > > From:

Re: [FFmpeg-devel] [PATCH v5 1/2] lavc/vaapi_encode: add support for maxframesize

2022-04-29 Thread Wang, Fei W
> -Original Message- > From: Xiang, Haihao > Sent: Friday, April 29, 2022 1:18 PM > To: ffmpeg-devel@ffmpeg.org > Cc: Wang, Fei W ; linjie...@intel.com > Subject: Re: [FFmpeg-devel] [PATCH v5 1/2] lavc/vaapi_encode: add support for > maxframesize > > On Fri

Re: [FFmpeg-devel] [PATCH v4 1/2] lavc/vaapi_encode: add support for maxframesize

2022-03-30 Thread Wang, Fei W
> -Original Message- > From: Xiang, Haihao > Sent: Tuesday, March 29, 2022 8:07 PM > To: ffmpeg-devel@ffmpeg.org > Cc: Wang, Fei W ; linjie...@intel.com > Subject: Re: [FFmpeg-devel] [PATCH v4 1/2] lavc/vaapi_encode: add support for > maxframesize > > On Tue

Re: [FFmpeg-devel] [PATCH v4 1/2] lavc/vaapi_encode: add support for maxframesize

2022-03-27 Thread Wang, Fei W
> -Original Message- > From: Andriy Gelman > Sent: Saturday, March 26, 2022 11:21 PM > To: Wang, Fei W > Cc: ffmpeg-devel@ffmpeg.org > Subject: Re: [PATCH v4 1/2] lavc/vaapi_encode: add support for maxframesize > > On Wed, 23. Mar 08:51, Wang, Fei W wrote: >

Re: [FFmpeg-devel] [PATCH v4 1/2] lavc/vaapi_encode: add support for maxframesize

2022-03-23 Thread Wang, Fei W
> -Original Message- > From: Wang, Fei W > Sent: Tuesday, March 22, 2022 10:11 PM > To: ffmpeg-devel@ffmpeg.org > Cc: Linjie Fu ; Wang, Fei W > Subject: [PATCH v4 1/2] lavc/vaapi_encode: add support for maxframesize > > From: Linjie Fu > >

Re: [FFmpeg-devel] [PATCH v4 1/4] lavc/vaapi_encode_h265: Add GPB frame support for hevc_vaapi

2022-03-14 Thread Wang, Fei W
> -Original Message- > From: ffmpeg-devel On Behalf Of Xiang, > Haihao > Sent: Monday, March 14, 2022 10:15 AM > To: ffmpeg-devel@ffmpeg.org > Subject: Re: [FFmpeg-devel] [PATCH v4 1/4] lavc/vaapi_encode_h265: Add GPB > frame support for hevc_vaapi > > On Sun, 2022-03-13 at 20:45 +

Re: [FFmpeg-devel] [PATCH v2 1/4] lavc/vaapi_encode_h265: Add P frame to GPB frame support for hevc_vaapi

2022-03-04 Thread Wang, Fei W
On Wed, 2022-02-23 at 13:33 +, Wang, Fei W wrote: > > -Original Message- > > From: ffmpeg-devel On Behalf Of > > Wang, > > Fei W > > Sent: Tuesday, February 22, 2022 4:49 PM > > To: ffmpeg-devel@ffmpeg.org > > Subject: Re: [FFmpeg-devel] [PAT

Re: [FFmpeg-devel] [PATCH v2 1/4] lavc/vaapi_encode_h265: Add P frame to GPB frame support for hevc_vaapi

2022-02-23 Thread Wang, Fei W
> -Original Message- > From: ffmpeg-devel On Behalf Of Wang, > Fei W > Sent: Tuesday, February 22, 2022 4:49 PM > To: ffmpeg-devel@ffmpeg.org > Subject: Re: [FFmpeg-devel] [PATCH v2 1/4] lavc/vaapi_encode_h265: Add P > frame to GPB frame support for hevc_vaapi &g

Re: [FFmpeg-devel] [PATCH v2 1/4] lavc/vaapi_encode_h265: Add P frame to GPB frame support for hevc_vaapi

2022-02-22 Thread Wang, Fei W
On Tue, 2022-02-22 at 05:46 +, Xiang, Haihao wrote: > On Mon, 2022-02-21 at 12:06 +, Mark Thompson wrote: > > On 21/02/2022 02:13, Fei Wang wrote: > > > From: Linjie Fu > > > > > > Use GPB frames to replace regular P frames if backend driver does > > > not > > > support it. > > > > > > -

Re: [FFmpeg-devel] [PATCH v1 4/4] vaapi_encode_h265: Query encoding block sizes and features

2022-02-20 Thread Wang, Fei W
On Fri, 2022-02-18 at 04:38 +, Xiang, Haihao wrote: > On Fri, 2022-02-18 at 09:43 +0800, Fei Wang wrote: > > From: Mark Thompson > > > > Signed-off-by: Fei Wang > > --- > > libavcodec/vaapi_encode_h265.c | 107 > > +++-- > > 1 file changed, 102 insertions(+), 5 d

Re: [FFmpeg-devel] [PATCH v1] avcodec/av1_parser: ensure only one show frame packed data parsered

2021-12-05 Thread Wang, Fei W
On Fri, 2021-12-03 at 09:36 -0300, James Almer wrote: > On Fri, Dec 3, 2021 at 5:12 AM Fei Wang wrote: > > > Split packed data when it contains multiple show frames in some > > non-standard bitstream. This can benefit downstream decoder which > > can > > decode continuously instead of interrupt w

Re: [FFmpeg-devel] [PATCH v1] avcodec/av1_parser: ensure only one show frame packed data parsered

2021-12-05 Thread Wang, Fei W
On Fri, 2021-12-03 at 11:51 +0100, Michael Niedermayer wrote: > On Fri, Dec 03, 2021 at 04:09:20PM +0800, Fei Wang wrote: > > Split packed data when it contains multiple show frames in some > > non-standard bitstream. This can benefit downstream decoder which > > can > > decode continuously instead

Re: [FFmpeg-devel] [PATCH v1] avfilter: add overlay vaapi filter

2021-11-22 Thread Wang, Fei W
On Fri, 2021-11-19 at 15:14 +, Soft Works wrote: > > -Original Message- > > From: ffmpeg-devel On Behalf Of > > Wang, Fei W > > Sent: Friday, November 19, 2021 2:15 AM > > To: ffmpeg-devel@ffmpeg.org > > Cc: Sun, Xinpeng ; Zhou, Zachary > >

Re: [FFmpeg-devel] [PATCH v1] avfilter: add overlay vaapi filter

2021-11-18 Thread Wang, Fei W
On Thu, 2021-11-18 at 21:55 +, Soft Works wrote: > > -Original Message- > > From: ffmpeg-devel On Behalf Of > > Fei > > Wang > > Sent: Tuesday, June 30, 2020 5:58 AM > > To: ffmpeg-devel@ffmpeg.org > > Cc: Xinpeng Sun ; Zachary Zhou > > ; Fei Wang > > Subject: [FFmpeg-devel] [PATCH v1

Re: [FFmpeg-devel] [PATCH v5 1/9] cbs_av1: fix incorrect data type

2021-10-14 Thread Wang, Fei W
On Tue, 2021-10-12 at 16:23 +0800, Fei Wang wrote: > Since order_hint_bits_minus_1 range is 0~7, cur_frame_hint can be > most 128. And similar return value for cbs_av1_get_relative_dist. > So if plus them and use int8_t for the result may lose its precision. > > Signed-off-by: Fei Wang > --- > up

Re: [FFmpeg-devel] [PATCH v1] avcodec/av1dec: check if hwaccel is specificed

2021-08-29 Thread Wang, Fei W
On Fri, 2021-08-27 at 19:09 +0200, Hendrik Leppkes wrote: > On Fri, Aug 27, 2021 at 1:54 PM Fei Wang > wrote: > > > > Since av1 decoder is only available for hw acceleration. This will > > gives out more accurate information if this decoder used but > > doesn't > > specificed a hwaccel. > > > >

Re: [FFmpeg-devel] [PATCH] avcodec/av1dec: Adjust incorrect error output

2021-08-26 Thread Wang, Fei W
gt; > > -Original Message- > > From: ffmpeg-devel On Behalf Of > > Wang, Fei W > > Sent: Friday, 27 August 2021 06:39 > > To: FFmpeg development discussions and patches > de...@ffmpeg.org> > > Subject: Re: [FFmpeg-devel] [PATCH] avcodec/av1dec: A

Re: [FFmpeg-devel] [PATCH] avcodec/av1dec: Adjust incorrect error output

2021-08-26 Thread Wang, Fei W
gt; > > -Original Message- > > From: ffmpeg-devel On Behalf Of > > Wang, Fei W > > Sent: Friday, 27 August 2021 05:05 > > To: FFmpeg development discussions and patches > de...@ffmpeg.org> > > Subject: Re: [FFmpeg-devel] [PATCH] avcodec/av1dec: Adjust in

  1   2   >