Allow hw_frames_ctx to be recreated instead of just return if it exists.
Move hw_frames_ctx check outside ff_decode_get_hw_frames_ctx, and check
in relevant code.
Signed-off-by: Linjie Fu
---
libavcodec/decode.c | 2 +-
libavcodec/dxva2.c | 8 +---
libavcodec/vdpau.c | 9 +
3
mall_420_8.h264 -pix_fmt nv12
-f rawvideo -vsync passthrough -vframes 47 -y out.yuv
Signed-off-by: Linjie Fu
---
libavcodec/pthread_frame.c | 7 +++
1 file changed, 7 insertions(+)
diff --git a/libavcodec/pthread_frame.c b/libavcodec/pthread_frame.c
index 36ac0ac..8bdd735 100644
-
Doesn't change the logic, modify to keep it consistent with
7.3.8.8 in spec to avoid some misunderstandings.
Signed-off-by: Linjie Fu
---
libavcodec/hevcdec.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavcodec/hevcdec.c b/libavcodec/hevcdec.c
index 8f1c162..fb
VP9 decoder should be able to handle resolution changing on inter
frame without re-initialization. For hardware decoder, re-allocate hardware
frame surface.
Fix #8068 for VA-API.
Signed-off-by: Linjie Fu
---
Request for comments.
This works for VA-API, however for dxva2 it didn't cove
Linjie Fu (8):
lavu/pix_fmt: add new pixel format y210
swscale: Add swscale input support for Y210
lavu/hwcontext_vaapi: add vaapi_format_map support for Y210
lavc/vaapi_hevc: Add HEVC Rext parameter for VAPicture and VASlice
lavc/hevc_ps: parse constraint flags for HEVC REXT
lavc
Add some packed 4:2:2 10-bit pixel formats for hardware decode support
in VAAPI and QSV.
Signed-off-by: Linjie Fu
---
libavutil/pixdesc.c | 23 +++
libavutil/pixfmt.h | 5 +
libavutil/version.h | 2 +-
tests/ref/fate/sws-pixdesc
pixel_format Y210.
This is fundamental for both VA-API and QSV.
Signed-off-by: Linjie Fu
---
libavutil/hwcontext_vaapi.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/libavutil/hwcontext_vaapi.c b/libavutil/hwcontext_vaapi.c
index cf11764..cfcfc46 100644
--- a/libavutil/hwcontext_vaapi.c
Add swscale input support for Y210, output support and fate
test could be added later if there is requirement for software
CSC to this packed format.
Signed-off-by: Linjie Fu
---
libswscale/input.c | 48
libswscale/utils.c | 2 ++
2 files
Add VAPictureParameterBufferHEVCRext and VASliceParameterBufferHEVCRext.
Pass Range Extension flags to support the decode for HEVC REXT.
Signed-off-by: Linjie Fu
---
libavcodec/vaapi_hevc.c | 79 +++--
1 file changed, 76 insertions(+), 3 deletions
Parse all the constraint flags according to ITU-T Rec. H.265 (02/2018).
They have to be passed to hw decoders to determine the exact profile for Range
Extension HEVC.
Signed-off-by: Linjie Fu
---
libavcodec/hevc_ps.c | 44
libavcodec/hevc_ps.h | 13
Add vaapi_parse_rext_profile and use profile constraint flags to
determine the exact va_profile for HEVC_REXT.
Add build object in Makefile for h265_profile_level dependency.
Signed-off-by: Linjie Fu
---
libavcodec/Makefile | 2 +-
libavcodec/vaapi_hevc.c | 69
Add function pointer field in vaapi_profile_map[], set profile_parser
for HEVC_REXT to find the exact va_profile.
Also add format map support.
Signed-off-by: Linjie Fu
---
libavcodec/vaapi_decode.c | 77 +--
1 file changed, 47 insertions(+), 30
Add decode support for 4:2:2 8-bt and 10-bit HEVC Range Extension clips.
Signed-off-by: Linjie Fu
---
libavcodec/hevcdec.c | 6 ++
1 file changed, 6 insertions(+)
diff --git a/libavcodec/hevcdec.c b/libavcodec/hevcdec.c
index 19b0cd8..f60bcf6 100644
--- a/libavcodec/hevcdec.c
+++ b
Default to use multiplication factors for Main profile.
Introduced since cd3578a8e4e11e0ba021e621367a7974d6de5da0.
Fixed the notation at the same time.
Signed-off-by: Linjie Fu
---
libavcodec/h265_profile_level.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a
Default to use multiplication factors for Main profile.
Introduced since cd3578a8e4e11e0ba021e621367a7974d6de5da0.
Fixed the notation at the same time.
Signed-off-by: Linjie Fu
---
libavcodec/h265_profile_level.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a
ormat=yuv420p'
-f rawvideo -vsync passthrough -vframes 10 -y aa.yuv
Reviewed-by: Zhong Li
Signed-off-by: Linjie Fu
---
libavutil/hwcontext_vaapi.c | 14 +++---
1 file changed, 11 insertions(+), 3 deletions(-)
diff --git a/libavutil/hwcontext_vaapi.c b/libavutil/hwcontext_vaapi.c
ind
Add some packed 4:2:2 10-bit pixel formats for hardware decode support
in VAAPI and QSV.
Signed-off-by: Linjie Fu
---
libavutil/pixdesc.c | 23 +++
libavutil/pixfmt.h | 5 +
libavutil/version.h | 2 +-
tests/ref/fate/sws-pixdesc
Add swscale input support for Y210LE, output support and fate
test could be added later if there is requirement for software
CSC to this packed format.
Signed-off-by: Linjie Fu
---
libswscale/input.c | 24
libswscale/utils.c | 1 +
2 files changed, 25 insertions
pixel_format Y210.
This is fundamental for both VA-API and QSV.
Signed-off-by: Linjie Fu
---
libavutil/hwcontext_vaapi.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/libavutil/hwcontext_vaapi.c b/libavutil/hwcontext_vaapi.c
index cf11764..cfcfc46 100644
--- a/libavutil/hwcontext_vaapi.c
Extend ParameterBufferHEVC to ParameterBufferHEVCExtension for both
VAPicture and VASlice.
Pass Range Extension flags to support the decode for HEVC REXT.
Signed-off-by: Linjie Fu
---
libavcodec/vaapi_hevc.c | 104 +++-
1 file changed, 85 insertions
Add vaapi_parse_rext_profile and use profile constraint flags to
determine the exact va_profile for HEVC_REXT.
If profile mismatch is allowed, select Main profile by default.
Add build object in Makefile for h265_profile_level dependency.
Signed-off-by: Linjie Fu
---
libavcodec/Makefile
Parse all the constraint flags according to ITU-T Rec. H.265 (02/2018).
They have to be passed to hw decoders to determine the exact profile for Range
Extension HEVC.
Signed-off-by: Linjie Fu
---
libavcodec/hevc_ps.c | 42 ++
libavcodec/hevc_ps.h | 13
Signed-off-by: Linjie Fu
---
libavcodec/vaapi_decode.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/libavcodec/vaapi_decode.c b/libavcodec/vaapi_decode.c
index 16a68ca..fc3e13e 100644
--- a/libavcodec/vaapi_decode.c
+++ b/libavcodec/vaapi_decode.c
@@ -385,6 +385,8 @@ static const struct
Add function pointer field in vaapi_profile_map[], set profile_parser
for HEVC_REXT to find the exact va_profile.
Also add format map support.
Signed-off-by: Linjie Fu
---
libavcodec/vaapi_decode.c | 29 ++---
1 file changed, 22 insertions(+), 7 deletions(-)
diff --git
Add decode support for 4:2:2 8-bt and 10-bit HEVC Range Extension clips.
Signed-off-by: Linjie Fu
---
libavcodec/hevcdec.c | 6 ++
1 file changed, 6 insertions(+)
diff --git a/libavcodec/hevcdec.c b/libavcodec/hevcdec.c
index 19b0cd8..f60bcf6 100644
--- a/libavcodec/hevcdec.c
+++ b
icate whether auto inserting the scale
filter in the filter graph:
-noautoscale or -autoscale 0:
disable the default auto scale filter inserting.
Update docs.
Signed-off-by: U. Artie Eoff
Signed-off-by: Linjie Fu
---
doc/ffmpeg.texi | 16
fftools/ffmpeg.c
While using scale_qsv together with lookahead, extra_hw_frames is
required to allocate enough memory.
Fix #8379.
Signed-off-by: Linjie Fu
---
libavfilter/vf_scale_qsv.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/libavfilter/vf_scale_qsv.c b/libavfilter/vf_scale_qsv.c
index 1cf5367
Null Frame would be sent to MSDK to flush the encoder, hence add
a NULL check before using frame->interlaced_frame to prevent the
potential crash, regardless of the return value of
MFXVideoENCODE_EncodeFrameAsync().
Signed-off-by: Linjie Fu
---
libavcodec/qsvenc.c | 2 +-
1 file changed
Signed-off-by: Linjie Fu
---
libavcodec/qsv.c | 7 +--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/libavcodec/qsv.c b/libavcodec/qsv.c
index db98c75..563b780 100644
--- a/libavcodec/qsv.c
+++ b/libavcodec/qsv.c
@@ -391,7 +391,10 @@ int ff_qsv_init_internal_session
Signed-off-by: Linjie Fu
---
libavfilter/qsvvpp.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/libavfilter/qsvvpp.c b/libavfilter/qsvvpp.c
index 8d5ff2e..0006f48 100644
--- a/libavfilter/qsvvpp.c
+++ b/libavfilter/qsvvpp.c
@@ -311,12 +311,11 @@ static QSVFrame
Class name is used in show_help_children(avfilter_get_class(),...)
to prompt the available filters.
$ ffmpeg -h full
Before:
qsvscale AVOptions:
After:
scale_qsv AVOptions:
Signed-off-by: Linjie Fu
---
libavfilter/vf_scale_qsv.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff
ff-by: Linjie Fu
---
Suggested by Mark, attach autoscale option to output.
doc/ffmpeg.texi | 16
fftools/ffmpeg.h| 3 +++
fftools/ffmpeg_filter.c | 2 +-
fftools/ffmpeg_opt.c| 8
4 files changed, 24 insertions(+), 5 deletions(-)
diff --git
Enables option for hevc_qsv encoder:
-extbrc
Improvements in BD-Rate could be observed with extbrc on.
Signed-off-by: Linjie Fu
---
Details for extbrc:
https://github.com/Intel-Media-SDK/MediaSDK/blob/master/doc/mediasdk-man.md#external-bit-rate-control
The improvement differs depending on
ff-by: Linjie Fu
---
Using autoscale as an output option and fix the missing spaces.
doc/ffmpeg.texi | 16
fftools/ffmpeg.h| 3 +++
fftools/ffmpeg_filter.c | 2 +-
fftools/ffmpeg_opt.c| 8
4 files changed, 24 insertions(+), 5 deletions(-)
diff --
ff-by: Linjie Fu
---
doc/ffmpeg.texi | 16
fftools/ffmpeg.h| 3 +++
fftools/ffmpeg_filter.c | 2 +-
fftools/ffmpeg_opt.c| 5 +
4 files changed, 21 insertions(+), 5 deletions(-)
diff --git a/doc/ffmpeg.texi b/doc/ffmpeg.texi
index 29753f0..aebafb3 100644
Hi Haihao,
On Mon, May 17, 2021 at 11:30 AM Haihao Xiang wrote:
>
> ---
> libavfilter/vf_vpp_qsv.c | 8 ++--
> 1 file changed, 6 insertions(+), 2 deletions(-)
>
> diff --git a/libavfilter/vf_vpp_qsv.c b/libavfilter/vf_vpp_qsv.c
> index 29ba220665..ec35f85b04 100644
> --- a/libavfilter/vf_vpp
On Mon, May 17, 2021 at 11:30 AM Haihao Xiang wrote:
>
> NV12 and P010 are added
>
> $ ffmpeg -init_hw_device qsv -c:v h264_qsv -i input.h264 -vf
> "scale_qsv=format=p010" -f null -
> ---
> libavfilter/vf_vpp_qsv.c | 5 -
> 1 file changed, 4 insertions(+), 1 deletion(-)
>
> diff --git a/libav
From: Linjie Fu
Skip the logic of frame rate emulation until the input reaches the
specified start time.
Test CMD:
$ffmpeg -re -ss 30 -i input.mp4 -pix_fmt yuv420p -f sdl2 -
Before the patch:
first time to got frame, it takes 257305 us
After this patch:
first time to got frame, it takes
From: Linjie Fu
Skip the logic of frame rate emulation until the input reaches the
specified start time.
Test CMD:
$ffmpeg -re -ss 30 -i input.mp4 -pix_fmt yuv420p -f sdl2 -
Before the patch:
first time to got frame, it takes 257305 us
After this patch:
first time to got frame, it takes
On Sun, Jul 4, 2021 at 10:50 PM Linjie Fu wrote:
>
> From: Linjie Fu
>
> Skip the logic of frame rate emulation until the input reaches the
> specified start time.
>
> Test CMD:
>$ffmpeg -re -ss 30 -i input.mp4 -pix_fmt yuv420p -f sdl2 -
>
> Before the patch:
On Wed, Jul 7, 2021 at 9:42 AM Linjie Fu wrote:
>
> On Sun, Jul 4, 2021 at 10:50 PM Linjie Fu wrote:
> >
> > From: Linjie Fu
> >
> > Skip the logic of frame rate emulation until the input reaches the
> > specified start time.
> >
> > Test CMD:
Hi Haihao,
On Wed, Jun 9, 2021 at 3:36 PM Haihao Xiang wrote:
>
> Include hstack_qsv, vstack_qsv and xstack_qsv, some code is copy and
> pasted from other filters
>
> Example:
> $> ffmpeg -hwaccel qsv -c:v hevc_qsv -i input.h265 -filter_complex
> "[0:v][0:v]hstack_qsv" -f null -
> ---
> configur
Hi Gyan,
On Sun, Jul 18, 2021 at 12:24 PM Gyan Doshi wrote:
>
>
>
> On 2021-07-18 09:32, Linjie Fu wrote:
> > On Wed, Jul 7, 2021 at 9:42 AM Linjie Fu wrote:
> >> On Sun, Jul 4, 2021 at 10:50 PM Linjie Fu wrote:
> >>> From: Linjie Fu
> >>>
>
On Sun, Jul 18, 2021 at 1:21 PM Gyan Doshi wrote:
>
>
>
> On 2021-07-18 10:42, Linjie Fu wrote:
> > Hi Gyan,
> > On Sun, Jul 18, 2021 at 12:24 PM Gyan Doshi wrote:
> >>
> >>
> >> On 2021-07-18 09:32, Linjie Fu wrote:
> >>> On Wed
On Sun, Jul 18, 2021 at 5:26 PM Gyan Doshi wrote:
>
>
>
> On 2021-07-18 13:35, Linjie Fu wrote:
> > On Sun, Jul 18, 2021 at 1:21 PM Gyan Doshi wrote:
> >>
> >>
> >> On 2021-07-18 10:42, Linjie Fu wrote:
> >>> Hi Gyan,
> >>>
On Sun, Jul 18, 2021 at 8:57 PM Gyan Doshi wrote:
>
>
>
> On 2021-07-18 15:37, Linjie Fu wrote:
> > On Sun, Jul 18, 2021 at 5:26 PM Gyan Doshi wrote:
> >>
> >>
> >> On 2021-07-18 13:35, Linjie Fu wrote:
> >>> On Sun, Jul 18, 2021 at 1:2
On Mon, Jul 19, 2021 at 3:32 PM Gyan Doshi wrote:
>
>
> On 2021-07-19 12:48, Gyan Doshi wrote:
> >
> >
> > On 2021-07-18 22:23, Linjie Fu wrote:
> >> On Sun, Jul 18, 2021 at 8:57 PM Gyan Doshi wrote:
> >>>
> >>>
> >>> On 2
From: Linjie Fu
Currently the default swscale flags for simple filter graph is bicubic,
however for complex filter graph it uses bilinear as decleared in scale
filter.
$ffmpeg -v verbose -i input.mp4 -vf format=yuv420p,scale=800x600 -an -f null -
[Parsed_scale_1 @ 0x7f86d2c160c0] w:1920 h:1080
From: Linjie Fu
Pass sws_flags to scale filter through scale_sws_opts and correct the
dumped flags information.
CMD:
$ffmpeg -v verbose -i input.mp4 -sws_flags lanczos+bitexact+accurate_rnd \
-vf format=yuv420p,scale=800x600 -an -vframes 10 -f md5 -
Before:
[auto_scaler_0
On Sun, Aug 1, 2021 at 9:25 PM Nicolas George wrote:
> Linjie Fu (12021-08-01):
> > From: Linjie Fu
> >
> > Currently the default swscale flags for simple filter graph is bicubic,
> > however for complex filter graph it uses bilinear as decleared in scale
> >
On Sun, Aug 1, 2021 at 10:13 PM Gyan Doshi wrote:
>
>
> On 2021-08-01 19:19, Linjie Fu wrote:
> > On Sun, Aug 1, 2021 at 9:25 PM Nicolas George wrote:
> >
> >> Linjie Fu (12021-08-01):
> >>> From: Linjie Fu
> >>>
> >>> Curr
ATE:
ffmpeg -i hevc-conformance/WPP_A_ericsson_MAIN10_2.bit -c copy -flags \
+bitexact hevc-mp4.mov
ffmpeg -i hevc-mp4.mov -c:v copy -fflags +bitexact -f hevc hevc.out
Signed-off-by: Linjie Fu
---
[v2]: Update FATE checksum.
[v3]: Cope with more leading_zero_8bits cases.
[v4]: f
Report the detailed log with buf_size in parse_nal_units to provide
more information when picture could not be found.
Match the behaviour in h264_parser.
Signed-off-by: Linjie Fu
---
libavcodec/hevc_parser.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavcodec
Add support for VAAPI AVC Trellis Quantization with limitation:
- VA-API version >= (1, 0, 0)
Use option "-trellis off/I/P/B" to disable or enable Trellis
quantization for I/P/B frames.
Signed-off-by: Linjie Fu
---
libavcodec/vaapi_encod
:
Media SDK >= 1.26
Signed-off-by: Linjie Fu
---
libavfilter/vf_vpp_qsv.c | 22 +-
1 file changed, 21 insertions(+), 1 deletion(-)
diff --git a/libavfilter/vf_vpp_qsv.c b/libavfilter/vf_vpp_qsv.c
index 41a9f38962..f89844 100644
--- a/libavfilter/vf_vpp_qsv.c
++
: Linjie Fu
---
libavfilter/qsvvpp.c | 6 --
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/libavfilter/qsvvpp.c b/libavfilter/qsvvpp.c
index 06efdf5089..1a10d16788 100644
--- a/libavfilter/qsvvpp.c
+++ b/libavfilter/qsvvpp.c
@@ -714,8 +714,10 @@ int ff_qsvvpp_filter_frame
Add support for VBR/CBR mode in mpeg2_vaapi encode.
Fix #7650.
Signed-off-by: Linjie Fu
---
libavcodec/vaapi_encode_mpeg2.c | 7 +++
1 file changed, 7 insertions(+)
diff --git a/libavcodec/vaapi_encode_mpeg2.c b/libavcodec/vaapi_encode_mpeg2.c
index 22d7e306bb..a625b15461 100644
--- a
driver.
Fix the quality issue in #7650.
Signed-off-by: Linjie Fu
---
libavcodec/vaapi_encode.c | 8 +---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/libavcodec/vaapi_encode.c b/libavcodec/vaapi_encode.c
index eda8a36299..c932d9d7fb 100644
--- a/libavcodec/vaapi_encode.c
change.
Signed-off-by: Linjie Fu
---
libavcodec/qsvdec.c | 8 +---
libavcodec/qsvdec.h | 2 ++
2 files changed, 7 insertions(+), 3 deletions(-)
diff --git a/libavcodec/qsvdec.c b/libavcodec/qsvdec.c
index 4a0be811fb..b29f869366 100644
--- a/libavcodec/qsvdec.c
+++ b/libavcodec/qsvdec.c
@@ -523,9
to
match the CheckInputPicStruct in MSDK.
Fix #7701.
Signed-off-by: Linjie Fu
---
Is it acceptable to add the TFF or BFF to PicStruct according to the
attribute of the input frames, even if it's not interlaced?
Or it should be fixed in MSDK level to support more PicStruct?
libavf
Set specific field for repeat in PicStruct if the frame has repeat
flag.
Match the CheckInputPicStruct in MSDK.
Fix #7701.
Signed-off-by: Linjie Fu
---
libavfilter/vf_deinterlace_qsv.c | 6 --
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/libavfilter/vf_deinterlace_qsv.c b
264
ffmpeg -hwaccel qsv -v verbose -c:v h264_qsv -i input.h264
-vf 'format=qsv,vpp_qsv=mirror=1' -c:v h264_qsv output.h264
ffmpeg -hwaccel qsv -v verbose -c:v h264_qsv -i input.h264
-vf 'format=qsv,vpp_qsv=rotation=2,vpp_qsv=mirror=1' -c:v h264_qsv
output.h264
Signed-off-b
in MediaSDK]
Signed-off-by: Linjie Fu
---
libavfilter/qsvvpp.c | 34 +-
1 file changed, 29 insertions(+), 5 deletions(-)
diff --git a/libavfilter/qsvvpp.c b/libavfilter/qsvvpp.c
index 06efdf5089..0edd10044a 100644
--- a/libavfilter/qsvvpp.c
+++ b/libavfilter/qsvvp
v -i input.h264
-vf 'format=qsv,vpp_qsv=transpose=clock' -c:v h264_qsv output.h264
ffmpeg -init_hw_device qsv=hw -filter_hw_device hw -c:v h264_qsv -i input.h264
-vf 'hwupload=extra_hw_frames=64,format=qsv,vpp_qsv=transpose=cclock_hflip'
-f rawvi
Always exposes low_power option for h264 qsv, and reports a warning
if VDENC is not supported with current version of MSDK.
Signed-off-by: Linjie Fu
---
libavcodec/qsvenc.c | 11 ++-
libavcodec/qsvenc_h264.c | 2 --
2 files changed, 10 insertions(+), 3 deletions(-)
diff --git a
> >
>
> > The full support could be accessed in:
>
> > https://github.com/intel-media-ci/ffmpeg/pull/231
>
> >
>
> > The VAAPI part would be provided later once the implementations of
>
> > native parsing and reference management are all decent.
&
On Mon, Oct 26, 2020 at 10:29 PM Guangxin Xu wrote:
> The bug reporter confirmed the fix.
> https://trac.ffmpeg.org/ticket/8932
>
> ping for review and merge.
> thanks
>
> On Fri, Oct 16, 2020 at 9:57 PM Xu Guangxin wrote:
>
> > fix ticket: 8932
> >
> > For poc 2, we have tile boundary at x = 64
On Thu, Oct 29, 2020 at 7:16 PM wrote:
> From: Limin Wang
>
> Signed-off-by: Limin Wang
> ---
> libavfilter/unsharp.h| 3 +
> libavfilter/vf_unsharp.c | 162
> +--
> 2 files changed, 90 insertions(+), 75 deletions(-)
>
> diff --git a/libavfilte
On Fri, Oct 30, 2020 at 9:18 AM wrote:
> On Thu, Oct 29, 2020 at 09:09:00PM +0800, Linjie Fu wrote:
> > On Thu, Oct 29, 2020 at 7:16 PM wrote:
> >
> > > From: Limin Wang
> > >
> > > Signed-off-by: Limin Wang
> > > ---
> > > liba
On Thu, Nov 19, 2020 at 5:50 AM Michael Niedermayer
wrote:
> On Thu, Oct 29, 2020 at 02:57:13PM +0100, Christophe Gisquet wrote:
> > Hi,
> >
> > Le mar. 29 sept. 2020 à 17:55, Linjie Fu a
> écrit :
> > > I didn’t see such plans for now, hence adding sufficient
From: Linjie Fu
According to 7.3.2.2.3 in T-REC-H.265-201911.
Signed-off-by: Linjie Fu
Signed-off-by: Haihao Xiang
---
libavcodec/hevc.h| 3 +++
libavcodec/hevc_ps.c | 44 +---
libavcodec/hevc_ps.h | 15 +++
3 files changed, 59
From: Linjie Fu
Signed-off-by: Linjie Fu
Signed-off-by: Haihao Xiang
---
libavcodec/hevc_ps.c | 70 +++-
libavcodec/hevc_ps.h | 17 +++
2 files changed, 86 insertions(+), 1 deletion(-)
diff --git a/libavcodec/hevc_ps.c b/libavcodec/hevc_ps.c
From: Linjie Fu
uint8_t is big enough and keep consistent with the definition in
cbs_h265.h.
Signed-off-by: Linjie Fu
---
libavcodec/hevcdec.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavcodec/hevcdec.h b/libavcodec/hevcdec.h
index 1164af2862..464eb7cd3c 100644
cording to 8-8/9/10.
Add a check for native decoder to quit while self-referencing is detected,
since it's not supported yet.
Signed-off-by: Linjie Fu
---
libavcodec/hevc_refs.c | 27 +--
libavcodec/hevcdec.c | 6 +-
2 files changed, 30 insertions(+), 3 del
From: Linjie Fu
Signed-off-by: Linjie Fu
---
libavcodec/avcodec.h | 1 +
libavcodec/hevc_ps.c | 2 ++
libavcodec/profiles.c | 1 +
3 files changed, 4 insertions(+)
diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h
index 20af3ef00d..2e853bfdef 100644
--- a/libavcodec/avcodec.h
+++ b
PPS id out of range: 0
After:
PPS id out of range or empty pps_list[0]: 0
Since 0 is within the range of pps_id, it's more clear that there is
an invalid pps_list.
Signed-off-by: Linjie Fu
---
libavcodec/hevc_parser.c | 2 +-
libavcodec/hevcdec.c | 2 +-
2 files changed, 2 insertions
mail threads.
Previous comments:
https://www.mail-archive.com/ffmpeg-devel@ffmpeg.org/msg110151.html
Linjie Fu (8):
lavc/avcodec: Add FF_PROFILE_HEVC_SCC for screen content coding
lavc/hevc_ps: Add sps parse support for HEVC SCC extension syntax
lavc/hevc_ps: Add pps parse support for HEVC
From: Linjie Fu
Signed-off-by: Linjie Fu
---
libavcodec/hevcdec.c | 6 ++
libavcodec/hevcdec.h | 4
2 files changed, 10 insertions(+)
diff --git a/libavcodec/hevcdec.c b/libavcodec/hevcdec.c
index 699c13bbcc..7074a0760a 100644
--- a/libavcodec/hevcdec.c
+++ b/libavcodec/hevcdec.c
full support could be accessed in:
> > https://github.com/intel-media-ci/ffmpeg/pull/231
> >
> > The VAAPI part would be provided later once the implementations of
> > native parsing and reference management are all decent.
> >
> > Linjie Fu (7):
> >lavc/avcodec
From: Linjie Fu
According to 7.3.6.1, use_integer_mv_flag should be parsed if
motion_vector_resolution_control_idc equals to 2.
Otherwise wrong parameters in the subsequent parsing procedures
would be got.
Signed-off-by: Linjie Fu
---
libavcodec/hevcdec.c | 8
libavcodec/hevcdec.h
On Thu, Dec 10, 2020 at 2:09 PM Joose Sainio wrote:
>
> The standalone version of Kvazaar sets a default ratecontrol algorithm when
> bitrate is set. Mirror this behaviour.
>
> Signed-off-by: Joose Sainio
> ---
> libavcodec/libkvazaar.c | 3 +++
> 1 file changed, 3 insertions(+)
>
> diff --git
On Thu, Dec 10, 2020 at 2:07 PM wrote:
>
> From: Wenbinc-Bin
>
> Add low latency P-pyramid support for qsv, and it relates to a new
> command line parameter "-p_strategy". To enable this flag, user also
> need to set "-bf" to -1 or 0.
IMO correcting the related options and prompting a warning wo
On Thu, Nov 26, 2020 at 1:30 PM Haihao Xiang wrote:
>
> ---
> libavcodec/qsvdec.h | 13 +
> libavcodec/qsvdec_h2645.c | 12 ++--
> libavcodec/qsvdec_other.c | 6 +-
> 3 files changed, 16 insertions(+), 15 deletions(-)
>
> diff --git a/libavcodec/qsvdec.h b/libavcode
On Thu, Dec 10, 2020 at 1:50 PM Haihao Xiang wrote:
>
> It is a copy of the relevant part in lavc/qsv.
>
> Signed-off-by: Haihao Xiang
> ---
> To avoid duplicated tables in the same library after applying patch '
> lavc/qsv: make some functions inline', use a local copy of the relevant
> code in
Hi Guangxin,
On Sun, Nov 15, 2020 at 11:07 AM Xu Guangxin wrote:
>
> you can download it from:
> https://www.itu.int/wftp3/av-arch/jctvc-site/bitstream_exchange/draft_conformance/RExt/WPP_HIGH_TP_444_8BIT_RExt_Apple_2.zip
>
> Signed-off-by: Xu Guangxin
> ---
> tests/fate/hevc.mak
Hi,
On Fri, Dec 11, 2020 at 3:58 PM Steven Liu wrote:
>
>
>
> > 2020年12月11日 下午3:55,俞林杰 写道:
> >
> > a new arch called csky
>
> How should we test your code for this arch?
>
Previous discussion in mail thread[1] about adding new hardware implementation,
which you may want to refer to.
[1] https:
On Fri, Dec 11, 2020 at 6:31 PM Steven Liu wrote:
>
>
>
> > 2020年12月11日 下午5:52,Linjie Fu 写道:
> >
> > Hi,
> >
> > On Fri, Dec 11, 2020 at 3:58 PM Steven Liu wrote:
> >>
> >>
> >>
> >>> 2020年12月11日 下午3:55,俞林杰 写道:
>
On Thu, Dec 10, 2020 at 3:28 PM Linjie Fu wrote:
>
> On Thu, Dec 10, 2020 at 2:09 PM Joose Sainio wrote:
> >
> > The standalone version of Kvazaar sets a default ratecontrol algorithm when
> > bitrate is set. Mirror this behaviour.
> >
> > Signed-off-by: Jo
On Mon, Dec 14, 2020 at 5:49 PM Guangxin Xu wrote:
>
> Hi Lingjie
> thanks for the review.
> The stream has the feature but not used.
>
> the decoded yuv's md5 is 3c94b5ebc0aed0abae4e619b9dcca9cc
> it's matched with the WPP_HIGH_TP_444_8BIT_RExt_Apple_2.md5
>
Double checked, md5 is matched, and
Guangxin:
On Thu, Nov 26, 2020 at 6:21 PM Xu Guangxin wrote:
>
> ---
> libavcodec/qsvdec_other.c | 188 --
> 1 file changed, 36 insertions(+), 152 deletions(-)
>
> diff --git a/libavcodec/qsvdec_other.c b/libavcodec/qsvdec_other.c
> index 2775e07955..266ac9f2e
On Fri, Jan 1, 2021 at 9:39 PM Linjie Fu wrote:
>
> On Mon, Dec 14, 2020 at 5:49 PM Guangxin Xu wrote:
> >
> > Hi Lingjie
> > thanks for the review.
> > The stream has the feature but not used.
> >
> > the decoded yuv's md5 is 3c94b5ebc0a
On Fri, Jan 1, 2021 at 9:55 PM Linjie Fu wrote:
>
> On Thu, Dec 10, 2020 at 3:28 PM Linjie Fu wrote:
> >
> > On Thu, Dec 10, 2020 at 2:09 PM Joose Sainio wrote:
> > >
> > > The standalone version of Kvazaar sets a default ratecontrol algorithm
> >
Haihao:
On Tue, Jan 5, 2021 at 3:03 PM Haihao Xiang wrote:
>
> It is a copy of the relevant part in lavc/qsv but use different function
> names to avoid multiple definition when linking lavc and lavf statically.
>
> Signed-off-by: Haihao Xiang
> ---
> v4: rename the new functions to avoid multip
Guangxin:
On Tue, Jan 5, 2021 at 10:44 AM Xu Guangxin wrote:
>
> ---
> libavcodec/qsvdec.c | 29 +++--
> 1 file changed, 11 insertions(+), 18 deletions(-)
>
> diff --git a/libavcodec/qsvdec.c b/libavcodec/qsvdec.c
> index 3ca16dafae..d10f90a0db 100644
> --- a/libavcodec/q
On Mon, Dec 7, 2020 at 8:56 PM Linjie Fu wrote:
>
> Add parsing support and reference management for HEVC SCC, as part of
> the fully decoding support for hardware(vaapi).
>
> v3:
> - addressed the hang issue in multi-threads
> - prompted more logs to prompt scc is not ful
From: Linjie Fu
Regression since 87f0c8280.
If the extradata of a stream could not be extracted correctly,
codec_info_nb_frames would remain zero, while st->event_flag would still
be marked as AVSTREAM_EVENT_FLAG_NEW_PACKETS since it's a new packet
indeed.
The two expressions
and calculate the correct score.
Fix #9029.
Signed-off-by: Linjie Fu
---
libavformat/utils.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/libavformat/utils.c b/libavformat/utils.c
index 6f100294a1..de397a209e 100644
--- a/libavformat/utils.c
+++ b/libavformat/utils.c
@@ -389
On Sun, Jan 24, 2021 at 9:38 PM James Almer wrote:
>
> On 1/24/2021 10:00 AM, Linjie Fu wrote:
> > From: Linjie Fu
> >
> > Regression since 87f0c8280.
> >
> > If the extradata of a stream could not be extracted correctly,
> > codec_info_nb_frames wou
On Mon, Jan 25, 2021 at 12:49 AM Anton Khirnov wrote:
>
> Quoting Linjie Fu (2021-01-24 16:05:56)
> > Regression since 87f0c8280.
> >
> > If the extradata of a stream could not be extracted correctly,
> > codec_info_nb_frames would remain zero, while st->event_
On Mon, Jan 25, 2021 at 9:08 PM Anton Khirnov wrote:
>
> Quoting Linjie Fu (2021-01-25 04:49:21)
> > On Mon, Jan 25, 2021 at 12:49 AM Anton Khirnov wrote:
> > >
> > > Quoting Linjie Fu (2021-01-24 16:05:56)
> > > > Regression since 87f0c8280.
> >
301 - 400 of 460 matches
Mail list logo